Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/pci/hotplug/
H A Dcpqphp_core.c130 number_of_slots = readb(ctrl->hpc_reg + SLOT_MASK) & 0x0F; in init_SERR()
590 number_of_slots = readb(ctrl->hpc_reg + SLOT_MASK) & 0x0F; in ctrl_slot_setup()
591 slot_device = readb(ctrl->hpc_reg + SLOT_MASK) >> 4; in ctrl_slot_setup()
635 slot_device - (readb(ctrl->hpc_reg + SLOT_MASK) >> 4); in ctrl_slot_setup()
1081 (readb(ctrl->hpc_reg + SLOT_MASK) >> 4), in cpqhpc_probe()
1091 rc = cpqhp_save_config(ctrl, ctrl->bus, readb(ctrl->hpc_reg + SLOT_MASK)); in cpqhpc_probe()
1122 ctrl->slot_device_offset = readb(ctrl->hpc_reg + SLOT_MASK) >> 4; in cpqhpc_probe()
1176 num_of_slots = readb(ctrl->hpc_reg + SLOT_MASK) & 0x0F; in cpqhpc_probe()
1179 device = readb(ctrl->hpc_reg + SLOT_MASK) >> 4; in cpqhpc_probe()
H A Dcpqphp.h157 SLOT_MASK = offsetof(struct ctrl_reg, slot_mask), enumerator
H A Dcpqphp_ctrl.c160 p_slot = cpqhp_find_slot(ctrl, hp_slot + (readb(ctrl->hpc_reg + SLOT_MASK) >> 4)); in handle_presence_change()
2144 num_of_slots = readb(ctrl->hpc_reg + SLOT_MASK) & 0x0f; in cpqhp_hardware_test()
/OK3568_Linux_fs/u-boot/drivers/mmc/
H A Dxenon_sdhci.c270 #define SLOT_MASK(slot) BIT(slot) macro
278 var |= SLOT_MASK(slot) << SLOT_ENABLE_SHIFT; in xenon_mmc_enable_slot()
288 var |= SLOT_MASK(slot); in xenon_mmc_enable_parallel_tran()