Searched refs:temp_word (Results 1 – 4 of 4) sorted by relevance
57 u16 temp_word; in handle_switch_change() local84 temp_word = ctrl->ctrl_int_comp >> 16; in handle_switch_change()85 func->presence_save = (temp_word >> hp_slot) & 0x01; in handle_switch_change()86 func->presence_save |= (temp_word >> (hp_slot + 7)) & 0x02; in handle_switch_change()132 u16 temp_word; in handle_presence_change() local168 temp_word = ctrl->ctrl_int_comp >> 16; in handle_presence_change()169 temp_byte = (temp_word >> hp_slot) & 0x01; in handle_presence_change()170 temp_byte |= (temp_word >> (hp_slot + 7)) & 0x02; in handle_presence_change()201 temp_word = ctrl->ctrl_int_comp >> 16; in handle_presence_change()202 func->presence_save = (temp_word >> hp_slot) & 0x01; in handle_presence_change()[all …]
795 u16 temp_word; in cpqhpc_probe() local1188 temp_word = readw(ctrl->hpc_reg + MISC); in cpqhpc_probe()1189 temp_word |= 0x4006; in cpqhpc_probe()1190 writew(temp_word, ctrl->hpc_reg + MISC); in cpqhpc_probe()1227 temp_word = ctrl->ctrl_int_comp >> 16; in cpqhpc_probe()1228 func->presence_save = (temp_word >> hp_slot) & 0x01; in cpqhpc_probe()1229 func->presence_save |= (temp_word >> (hp_slot + 7)) & 0x02; in cpqhpc_probe()
161 u16 temp_word; in cpqhp_set_irq() local184 temp_word = inb(0x4d0); in cpqhp_set_irq()185 temp_word |= inb(0x4d1) << 8; in cpqhp_set_irq()187 temp_word |= 0x01 << irq_num; in cpqhp_set_irq()192 outb((u8) (temp_word & 0xFF), 0x4d0); outb((u8) ((temp_word & in cpqhp_set_irq()
298 u16 temp_word; in shpc_write_cmd() local310 temp_word = (t_slot << 8) | (cmd & 0xFF); in shpc_write_cmd()316 shpc_writew(ctrl, CMD, temp_word); in shpc_write_cmd()