Searched refs:temp_word (Results 1 – 4 of 4) sorted by relevance
71 u16 temp_word; in handle_switch_change() local98 temp_word = ctrl->ctrl_int_comp >> 16; in handle_switch_change()99 func->presence_save = (temp_word >> hp_slot) & 0x01; in handle_switch_change()100 func->presence_save |= (temp_word >> (hp_slot + 7)) & 0x02; in handle_switch_change()146 u16 temp_word; in handle_presence_change() local182 temp_word = ctrl->ctrl_int_comp >> 16; in handle_presence_change()183 temp_byte = (temp_word >> hp_slot) & 0x01; in handle_presence_change()184 temp_byte |= (temp_word >> (hp_slot + 7)) & 0x02; in handle_presence_change()215 temp_word = ctrl->ctrl_int_comp >> 16; in handle_presence_change()216 func->presence_save = (temp_word >> hp_slot) & 0x01; in handle_presence_change()[all …]
815 u16 temp_word; in cpqhpc_probe() local1210 temp_word = readw(ctrl->hpc_reg + MISC); in cpqhpc_probe()1211 temp_word |= 0x4006; in cpqhpc_probe()1212 writew(temp_word, ctrl->hpc_reg + MISC); in cpqhpc_probe()1249 temp_word = ctrl->ctrl_int_comp >> 16; in cpqhpc_probe()1250 func->presence_save = (temp_word >> hp_slot) & 0x01; in cpqhpc_probe()1251 func->presence_save |= (temp_word >> (hp_slot + 7)) & 0x02; in cpqhpc_probe()
162 u16 temp_word; in cpqhp_set_irq() local185 temp_word = inb(0x4d0); in cpqhp_set_irq()186 temp_word |= inb(0x4d1) << 8; in cpqhp_set_irq()188 temp_word |= 0x01 << irq_num; in cpqhp_set_irq()193 outb((u8) (temp_word & 0xFF), 0x4d0); outb((u8) ((temp_word & in cpqhp_set_irq()
315 u16 temp_word; in shpc_write_cmd() local327 temp_word = (t_slot << 8) | (cmd & 0xFF); in shpc_write_cmd()333 shpc_writew(ctrl, CMD, temp_word); in shpc_write_cmd()