/drivers/pci/hotplug/ |
D | ibmphp_pci.c | 50 static void assign_alt_irq (struct pci_func * cur_func, u8 class_code) in assign_alt_irq() argument 55 switch (class_code) { in assign_alt_irq() 85 u8 class_code; in ibmphp_configure_card() local 132 class_code = class >> 24; in ibmphp_configure_card() 133 debug ("hrd_type = %x, class = %x, class_code %x\n", hdr_type, class, class_code); in ibmphp_configure_card() 147 assign_alt_irq (cur_func, class_code); in ibmphp_configure_card() 159 assign_alt_irq (cur_func, class_code); in ibmphp_configure_card() 186 assign_alt_irq (cur_func, class_code); in ibmphp_configure_card() 255 assign_alt_irq (cur_func, class_code); in ibmphp_configure_card()
|
D | cpqphp_pci.c | 301 u8 class_code; in cpqhp_save_config() local 355 rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, 0), 0x0B, &class_code); in cpqhp_save_config() 436 rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, function), 0x0B, &class_code); in cpqhp_save_config() 465 u8 class_code; in cpqhp_save_slot_config() local 483 pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(new_slot->device, 0), 0x0B, &class_code); in cpqhp_save_slot_config() 526 … pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(new_slot->device, function), 0x0B, &class_code); in cpqhp_save_slot_config()
|
D | cpqphp_ctrl.c | 2086 u8 device, class_code, header_type, BCR; in cpqhp_process_SS() local 2108 rc = pci_bus_read_config_byte (pci_bus, devfn, 0x0B, &class_code); in cpqhp_process_SS() 2112 if (class_code == PCI_BASE_CLASS_DISPLAY) { in cpqhp_process_SS() 2377 u8 class_code; in configure_new_function() local 2823 rc = pci_bus_read_config_byte (pci_bus, devfn, 0x0B, &class_code); in configure_new_function() 2825 if (class_code == PCI_BASE_CLASS_DISPLAY) { in configure_new_function() 2948 rc = pci_bus_read_config_byte (pci_bus, devfn, 0x0B, &class_code); in configure_new_function() 2950 if (class_code == PCI_BASE_CLASS_STORAGE) in configure_new_function()
|
/drivers/acpi/apei/ |
D | cper.c | 273 p = pcie->device_id.class_code; in cper_print_pcie()
|
/drivers/staging/rts_pstor/ |
D | ms.c | 827 u8 val, *buf, class_code, device_type, sub_class, data[16]; in ms_read_attribute_info() local 1012 class_code = buf[sys_info_addr + 0]; in ms_read_attribute_info() 1038 class_code, device_type, sub_class); in ms_read_attribute_info() 1049 if (class_code != 0x03) { in ms_read_attribute_info() 1053 if (class_code != 0x02) { in ms_read_attribute_info() 1058 if (class_code != 0x02) { in ms_read_attribute_info() 1077 class_code, device_type, sub_class); in ms_read_attribute_info()
|
/drivers/staging/rts5139/ |
D | ms.c | 909 u8 val, *buf, class_code, device_type, sub_class, data[16]; local 1101 class_code = buf[sys_info_addr + 0]; 1136 class_code, device_type, sub_class); 1148 if (class_code != 0x03) 1151 if (class_code != 0x02) 1155 if (class_code != 0x02) 1170 class_code, device_type, sub_class);
|
/drivers/net/ethernet/sun/ |
D | niu.c | 3237 static int niu_set_flow_key(struct niu *np, unsigned long class_code, u64 key) in niu_set_flow_key() argument 3239 if (class_code < CLASS_CODE_USER_PROG1 || in niu_set_flow_key() 3240 class_code > CLASS_CODE_SCTP_IPV6) in niu_set_flow_key() 3243 nw64(FLOW_KEY(class_code - CLASS_CODE_USER_PROG1), key); in niu_set_flow_key() 3247 static int niu_set_tcam_key(struct niu *np, unsigned long class_code, u64 key) in niu_set_tcam_key() argument 3249 if (class_code < CLASS_CODE_USER_PROG1 || in niu_set_tcam_key() 3250 class_code > CLASS_CODE_SCTP_IPV6) in niu_set_tcam_key() 3253 nw64(TCAM_KEY(class_code - CLASS_CODE_USER_PROG1), key); in niu_set_tcam_key()
|