/linux/drivers/acpi/acpica/ |
A D | exutils.c | 371 void acpi_ex_pci_cls_to_string(char *out_string, u8 class_code[3]) in acpi_ex_pci_cls_to_string() 378 out_string[0] = acpi_ut_hex_to_ascii_char((u64)class_code[0], 4); in acpi_ex_pci_cls_to_string() 379 out_string[1] = acpi_ut_hex_to_ascii_char((u64)class_code[0], 0); in acpi_ex_pci_cls_to_string() 380 out_string[2] = acpi_ut_hex_to_ascii_char((u64)class_code[1], 4); in acpi_ex_pci_cls_to_string() 381 out_string[3] = acpi_ut_hex_to_ascii_char((u64)class_code[1], 0); in acpi_ex_pci_cls_to_string() 382 out_string[4] = acpi_ut_hex_to_ascii_char((u64)class_code[2], 4); in acpi_ex_pci_cls_to_string() 383 out_string[5] = acpi_ut_hex_to_ascii_char((u64)class_code[2], 0); in acpi_ex_pci_cls_to_string()
|
A D | utids.c | 344 u8 class_code[3] = { 0, 0, 0 }; in acpi_ut_execute_CLS() local 363 class_code[0] = (u8)cls_objects[0]->integer.value; in acpi_ut_execute_CLS() 367 class_code[1] = (u8)cls_objects[1]->integer.value; in acpi_ut_execute_CLS() 371 class_code[2] = (u8)cls_objects[2]->integer.value; in acpi_ut_execute_CLS() 392 acpi_ex_pci_cls_to_string(cls->string, class_code); in acpi_ut_execute_CLS()
|
A D | nsxfname.c | 428 (void)acpi_ns_copy_device_id(&info->class_code, in acpi_get_object_info()
|
A D | acinterp.h | 478 void acpi_ex_pci_cls_to_string(char *dest, u8 class_code[3]);
|
/linux/arch/powerpc/kernel/ |
A D | pci_32.c | 92 const unsigned int *class_code, *reg; in make_one_node_map() local 94 class_code = of_get_property(node, "class-code", NULL); in make_one_node_map() 95 if (!class_code || ((*class_code >> 8) != PCI_CLASS_BRIDGE_PCI && in make_one_node_map() 96 (*class_code >> 8) != PCI_CLASS_BRIDGE_CARDBUS)) in make_one_node_map()
|
A D | pci_dn.c | 314 pdn->class_code = regs ? of_read_number(regs, 1) : 0; in pci_add_device_node_info() 475 pdn->vendor_id = pdn->device_id = pdn->class_code = 0; in pci_devs_phb_init_dynamic()
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
A D | pcir.c | 60 info->class_code[0] = nvbios_rd08(bios, data + 0x0d); in nvbios_pcirTp() 61 info->class_code[1] = nvbios_rd08(bios, data + 0x0e); in nvbios_pcirTp() 62 info->class_code[2] = nvbios_rd08(bios, data + 0x0f); in nvbios_pcirTp()
|
/linux/arch/powerpc/platforms/maple/ |
A D | pci.c | 39 const unsigned int *class_code; in fixup_one_level_bus_range() local 43 class_code = of_get_property(node, "class-code", NULL); in fixup_one_level_bus_range() 44 if (!class_code || ((*class_code >> 8) != PCI_CLASS_BRIDGE_PCI && in fixup_one_level_bus_range() 45 (*class_code >> 8) != PCI_CLASS_BRIDGE_CARDBUS)) in fixup_one_level_bus_range()
|
/linux/drivers/misc/cxl/ |
A D | of.c | 146 u32 val = 0, class_code; in cxl_of_read_afu_properties() local 231 &class_code); in cxl_of_read_afu_properties() 233 class_code >>= 8; in cxl_of_read_afu_properties() 235 i, class_code); in cxl_of_read_afu_properties()
|
/linux/arch/powerpc/platforms/pseries/ |
A D | eeh_pseries.c | 58 pdn->class_code = pdev->class; in pseries_pcibios_bus_add_device() 392 if (!pdn->vendor_id || !pdn->device_id || !pdn->class_code) in pseries_eeh_init_edev() 396 if ((pdn->class_code >> 8) == PCI_CLASS_BRIDGE_ISA) in pseries_eeh_init_edev() 410 if ((pdn->class_code >> 8) == PCI_CLASS_BRIDGE_PCI) { in pseries_eeh_init_edev()
|
/linux/drivers/pci/hotplug/ |
A D | ibmphp_pci.c | 36 static void assign_alt_irq(struct pci_func *cur_func, u8 class_code) in assign_alt_irq() argument 41 switch (class_code) { in assign_alt_irq() 71 u8 class_code; in ibmphp_configure_card() local 118 class_code = class >> 24; in ibmphp_configure_card() 119 debug("hrd_type = %x, class = %x, class_code %x\n", hdr_type, class, class_code); in ibmphp_configure_card() 133 assign_alt_irq(cur_func, class_code); in ibmphp_configure_card() 146 assign_alt_irq(cur_func, class_code); in ibmphp_configure_card() 173 assign_alt_irq(cur_func, class_code); in ibmphp_configure_card() 240 assign_alt_irq(cur_func, class_code); in ibmphp_configure_card()
|
A D | cpqphp_pci.c | 302 u8 class_code; in cpqhp_save_config() local 357 rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, 0), 0x0B, &class_code); in cpqhp_save_config() 440 rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, function), 0x0B, &class_code); in cpqhp_save_config() 469 u8 class_code; in cpqhp_save_slot_config() local 487 pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(new_slot->device, 0), 0x0B, &class_code); in cpqhp_save_slot_config() 530 … pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(new_slot->device, function), 0x0B, &class_code); in cpqhp_save_slot_config()
|
A D | cpqphp_ctrl.c | 2039 u8 device, class_code, header_type, BCR; in cpqhp_process_SS() local 2060 rc = pci_bus_read_config_byte(pci_bus, devfn, 0x0B, &class_code); in cpqhp_process_SS() 2064 if (class_code == PCI_BASE_CLASS_DISPLAY) { in cpqhp_process_SS() 2326 u8 class_code; in configure_new_function() local 2756 rc = pci_bus_read_config_byte(pci_bus, devfn, 0x0B, &class_code); in configure_new_function() 2758 if (class_code == PCI_BASE_CLASS_DISPLAY) { in configure_new_function() 2860 rc = pci_bus_read_config_byte(pci_bus, devfn, 0x0B, &class_code); in configure_new_function() 2862 if (class_code == PCI_BASE_CLASS_STORAGE) in configure_new_function()
|
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
A D | pcir.h | 7 u8 class_code[3]; member
|
/linux/arch/powerpc/platforms/powermac/ |
A D | pci.c | 63 const unsigned int *class_code; in fixup_one_level_bus_range() local 67 class_code = of_get_property(node, "class-code", NULL); in fixup_one_level_bus_range() 68 if (!class_code || ((*class_code >> 8) != PCI_CLASS_BRIDGE_PCI && in fixup_one_level_bus_range() 69 (*class_code >> 8) != PCI_CLASS_BRIDGE_CARDBUS)) in fixup_one_level_bus_range()
|
/linux/drivers/scsi/esas2r/ |
A D | esas2r_ioctl.c | 756 u8 *class_code = (u8 *)&a->pcid->class; in hba_ioctl_callback() local 778 gai->pci.class_code[0] = class_code[0]; in hba_ioctl_callback() 779 gai->pci.class_code[1] = class_code[1]; in hba_ioctl_callback() 780 gai->pci.class_code[2] = class_code[2]; in hba_ioctl_callback()
|
A D | esas2r_flash.c | 652 || bh->class_code[2] != 0x01 in chk_boot() 653 || bh->class_code[1] != 0x04 in chk_boot() 654 || bh->class_code[0] != 0x00 in chk_boot()
|
/linux/drivers/net/wireless/realtek/rtw88/ |
A D | rtw8822b.h | 54 u8 class_code[3]; member
|
A D | rtw8821c.h | 34 u8 class_code[3]; member
|
A D | rtw8822c.h | 40 u8 class_code[3]; member
|
/linux/arch/powerpc/include/asm/ |
A D | pci-bridge.h | 196 int class_code; /* Device class code */ member
|
/linux/include/linux/ |
A D | cper.h | 523 u8 class_code[3]; member
|
/linux/Documentation/firmware-guide/acpi/apei/ |
A D | output_format.rst | 95 class_code: <integer>]
|
/linux/drivers/net/ethernet/alacritech/ |
A D | slic.h | 324 u8 class_code[3]; /* 07 Class Code */ member
|
/linux/drivers/staging/rts5208/ |
A D | ms.c | 877 u8 val, *buf, class_code, device_type, sub_class, data[16]; local 1058 class_code = buf[sys_info_addr + 0]; 1089 class_code, device_type, sub_class); 1100 if (class_code != 0x03) 1103 if (class_code != 0x02) 1107 if (class_code != 0x02) 1124 class_code, device_type, sub_class);
|