Home
last modified time | relevance | path

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

/linux-4.19.296/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.c795 u16 temp_word; in cpqhpc_probe() local
1188 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()
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); outb((u8) ((temp_word & in cpqhp_set_irq()
Dshpchp_hpc.c298 u16 temp_word; in shpc_write_cmd() local
310 temp_word = (t_slot << 8) | (cmd & 0xFF); in shpc_write_cmd()
316 shpc_writew(ctrl, CMD, temp_word); in shpc_write_cmd()