Lines Matching refs:readb
82 return (readb(slot->p_sm_slot + SMBIOS_SLOT_WIDTH) == 0x06) ? 1 : 0; in is_slot64bit()
87 return (readb(slot->p_sm_slot + SMBIOS_SLOT_TYPE) == 0x0E) ? 1 : 0; in is_slot66mhz()
107 temp1 = readb(fp); in detect_SMBIOS_pointer()
108 temp2 = readb(fp+1); in detect_SMBIOS_pointer()
109 temp3 = readb(fp+2); in detect_SMBIOS_pointer()
110 temp4 = readb(fp+3); in detect_SMBIOS_pointer()
145 number_of_slots = readb(ctrl->hpc_reg + SLOT_MASK) & 0x0F; in init_SERR()
224 p_temp += readb(curr + SMBIOS_GENERIC_LENGTH); in get_subsequent_smbios_entry()
231 if (!previous_byte && !(readb(p_temp))) in get_subsequent_smbios_entry()
234 previous_byte = readb(p_temp); in get_subsequent_smbios_entry()
274 if (readb(previous + SMBIOS_GENERIC_TYPE) != type) in get_SMBIOS_entry()
620 number_of_slots = readb(ctrl->hpc_reg + SLOT_MASK) & 0x0F; in ctrl_slot_setup()
621 slot_device = readb(ctrl->hpc_reg + SLOT_MASK) >> 4; in ctrl_slot_setup()
682 slot_device - (readb(ctrl->hpc_reg + SLOT_MASK) >> 4); in ctrl_slot_setup()
1142 (readb(ctrl->hpc_reg + SLOT_MASK) >> 4), in cpqhpc_probe()
1152 rc = cpqhp_save_config(ctrl, ctrl->bus, readb(ctrl->hpc_reg + SLOT_MASK)); in cpqhpc_probe()
1183 ctrl->slot_device_offset = readb(ctrl->hpc_reg + SLOT_MASK) >> 4; in cpqhpc_probe()
1237 num_of_slots = readb(ctrl->hpc_reg + SLOT_MASK) & 0x0F; in cpqhpc_probe()
1240 device = readb(ctrl->hpc_reg + SLOT_MASK) >> 4; in cpqhpc_probe()