Home
last modified time | relevance | path

Searched refs:temp_word (Results 1 – 4 of 4) sorted by relevance

/drivers/pci/hotplug/
Dcpqphp_ctrl.c57 u16 temp_word; in handle_switch_change() local
84 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() local
168 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 …]
Dcpqphp_core.c760 u16 temp_word; in cpqhpc_probe() local
1153 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()
Dcpqphp_pci.c161 u16 temp_word; in cpqhp_set_irq() local
184 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()
Dshpchp_hpc.c293 u16 temp_word; in shpc_write_cmd() local
305 temp_word = (t_slot << 8) | (cmd & 0xFF); in shpc_write_cmd()
311 shpc_writew(ctrl, CMD, temp_word); in shpc_write_cmd()