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 …]
760 u16 temp_word; in cpqhpc_probe() local1153 temp_word = readw(ctrl->hpc_reg + MISC); in cpqhpc_probe()1154 temp_word |= 0x4006; in cpqhpc_probe()1155 writew(temp_word, ctrl->hpc_reg + MISC); in cpqhpc_probe()1192 temp_word = ctrl->ctrl_int_comp >> 16; in cpqhpc_probe()1193 func->presence_save = (temp_word >> hp_slot) & 0x01; in cpqhpc_probe()1194 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); in cpqhp_set_irq()193 outb((u8)((temp_word & 0xFF00) >> 8), 0x4d1); in cpqhp_set_irq()
293 u16 temp_word; in shpc_write_cmd() local305 temp_word = (t_slot << 8) | (cmd & 0xFF); in shpc_write_cmd()311 shpc_writew(ctrl, CMD, temp_word); in shpc_write_cmd()