Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/pci/hotplug/
Dcpqphp.h162 SLOT_POWER = offsetof(struct ctrl_reg, slot_power), enumerator
637 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in enable_slot_power()
639 writeb(slot_power, ctrl->hpc_reg + SLOT_POWER); in enable_slot_power()
646 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in disable_slot_power()
648 writeb(slot_power, ctrl->hpc_reg + SLOT_POWER); in disable_slot_power()
Dibmphp_core.c430 debug("SLOT_POWER = %x\n", SLOT_POWER(slot_cur->status)); in init_ops()
948 if ((SLOT_POWER(slot_cur->status)) && in enable_slot()
973 if (SLOT_POWER(slot_cur->status) && !(SLOT_PWRGD(slot_cur->status))) { in enable_slot()
977 if (SLOT_POWER(slot_cur->status) && (SLOT_BUS_SPEED(slot_cur->status))) { in enable_slot()
984 if (!(SLOT_POWER(slot_cur->status))) { in enable_slot()
Dcpqphp_ctrl.c1119 u8 slot_power = readb(ctrl->hpc_reg + SLOT_POWER); in set_controller_speed()
1286 temp_byte = readb(ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1287 writeb(0x00, ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1288 writeb(temp_byte, ctrl->hpc_reg + SLOT_POWER); in board_replaced()
1433 temp_byte = readb(ctrl->hpc_reg + SLOT_POWER); in board_added()
1434 writeb(0x00, ctrl->hpc_reg + SLOT_POWER); in board_added()
1435 writeb(temp_byte, ctrl->hpc_reg + SLOT_POWER); in board_added()
Dibmphp.h583 #define SLOT_POWER(s) ((u8) ((s & HPC_SLOT_POWER) \ macro