class_code 576 arch/ia64/include/asm/sal.h u8 class_code[3]; class_code 136 arch/powerpc/include/asm/eeh.h int class_code; /* Class code of the device */ class_code 192 arch/powerpc/include/asm/pci-bridge.h int class_code; /* Device class code */ class_code 92 arch/powerpc/kernel/pci_32.c const unsigned int *class_code, *reg; class_code 94 arch/powerpc/kernel/pci_32.c class_code = of_get_property(node, "class-code", NULL); class_code 95 arch/powerpc/kernel/pci_32.c if (!class_code || ((*class_code >> 8) != PCI_CLASS_BRIDGE_PCI && class_code 96 arch/powerpc/kernel/pci_32.c (*class_code >> 8) != PCI_CLASS_BRIDGE_CARDBUS)) class_code 309 arch/powerpc/kernel/pci_dn.c pdn->class_code = regs ? of_read_number(regs, 1) : 0; class_code 510 arch/powerpc/kernel/pci_dn.c pdn->vendor_id = pdn->device_id = pdn->class_code = 0; class_code 39 arch/powerpc/platforms/maple/pci.c const unsigned int *class_code; class_code 43 arch/powerpc/platforms/maple/pci.c class_code = of_get_property(node, "class-code", NULL); class_code 44 arch/powerpc/platforms/maple/pci.c if (!class_code || ((*class_code >> 8) != PCI_CLASS_BRIDGE_PCI && class_code 45 arch/powerpc/platforms/maple/pci.c (*class_code >> 8) != PCI_CLASS_BRIDGE_CARDBUS)) class_code 63 arch/powerpc/platforms/powermac/pci.c const unsigned int *class_code; class_code 67 arch/powerpc/platforms/powermac/pci.c class_code = of_get_property(node, "class-code", NULL); class_code 68 arch/powerpc/platforms/powermac/pci.c if (!class_code || ((*class_code >> 8) != PCI_CLASS_BRIDGE_PCI && class_code 69 arch/powerpc/platforms/powermac/pci.c (*class_code >> 8) != PCI_CLASS_BRIDGE_CARDBUS)) class_code 384 arch/powerpc/platforms/powernv/eeh-powernv.c if ((pdn->class_code >> 8) == PCI_CLASS_BRIDGE_ISA) class_code 390 arch/powerpc/platforms/powernv/eeh-powernv.c edev->class_code = pdn->class_code; class_code 396 arch/powerpc/platforms/powernv/eeh-powernv.c if ((edev->class_code >> 8) == PCI_CLASS_BRIDGE_PCI) { class_code 59 arch/powerpc/platforms/pseries/eeh_pseries.c pdn->class_code = pdev->class; class_code 247 arch/powerpc/platforms/pseries/eeh_pseries.c if (!pdn->vendor_id || !pdn->device_id || !pdn->class_code) class_code 251 arch/powerpc/platforms/pseries/eeh_pseries.c if ((pdn->class_code >> 8) == PCI_CLASS_BRIDGE_ISA) class_code 261 arch/powerpc/platforms/pseries/eeh_pseries.c edev->class_code = pdn->class_code; class_code 266 arch/powerpc/platforms/pseries/eeh_pseries.c if ((edev->class_code >> 8) == PCI_CLASS_BRIDGE_PCI) { class_code 478 drivers/acpi/acpica/acinterp.h void acpi_ex_pci_cls_to_string(char *dest, u8 class_code[3]); class_code 371 drivers/acpi/acpica/exutils.c void acpi_ex_pci_cls_to_string(char *out_string, u8 class_code[3]) class_code 378 drivers/acpi/acpica/exutils.c out_string[0] = acpi_ut_hex_to_ascii_char((u64)class_code[0], 4); class_code 379 drivers/acpi/acpica/exutils.c out_string[1] = acpi_ut_hex_to_ascii_char((u64)class_code[0], 0); class_code 380 drivers/acpi/acpica/exutils.c out_string[2] = acpi_ut_hex_to_ascii_char((u64)class_code[1], 4); class_code 381 drivers/acpi/acpica/exutils.c out_string[3] = acpi_ut_hex_to_ascii_char((u64)class_code[1], 0); class_code 382 drivers/acpi/acpica/exutils.c out_string[4] = acpi_ut_hex_to_ascii_char((u64)class_code[2], 4); class_code 383 drivers/acpi/acpica/exutils.c out_string[5] = acpi_ut_hex_to_ascii_char((u64)class_code[2], 0); class_code 428 drivers/acpi/acpica/nsxfname.c next_id_string = acpi_ns_copy_device_id(&info->class_code, class_code 347 drivers/acpi/acpica/utids.c u8 class_code[3] = { 0, 0, 0 }; class_code 366 drivers/acpi/acpica/utids.c class_code[0] = (u8)cls_objects[0]->integer.value; class_code 370 drivers/acpi/acpica/utids.c class_code[1] = (u8)cls_objects[1]->integer.value; class_code 374 drivers/acpi/acpica/utids.c class_code[2] = (u8)cls_objects[2]->integer.value; class_code 395 drivers/acpi/acpica/utids.c acpi_ex_pci_cls_to_string(cls->string, class_code); class_code 1279 drivers/acpi/scan.c acpi_add_id(pnp, info->class_code.string); class_code 383 drivers/firmware/efi/cper.c p = pcie->device_id.class_code; class_code 7 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/pcir.h u8 class_code[3]; class_code 60 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pcir.c info->class_code[0] = nvbios_rd08(bios, data + 0x0d); class_code 61 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pcir.c info->class_code[1] = nvbios_rd08(bios, data + 0x0e); class_code 62 drivers/gpu/drm/nouveau/nvkm/subdev/bios/pcir.c info->class_code[2] = nvbios_rd08(bios, data + 0x0f); class_code 146 drivers/misc/cxl/of.c u32 val = 0, class_code; class_code 231 drivers/misc/cxl/of.c &class_code); class_code 233 drivers/misc/cxl/of.c class_code >>= 8; class_code 235 drivers/misc/cxl/of.c i, class_code); class_code 324 drivers/net/ethernet/alacritech/slic.h u8 class_code[3]; /* 07 Class Code */ class_code 3219 drivers/net/ethernet/sun/niu.c static int niu_set_flow_key(struct niu *np, unsigned long class_code, u64 key) class_code 3221 drivers/net/ethernet/sun/niu.c if (class_code < CLASS_CODE_USER_PROG1 || class_code 3222 drivers/net/ethernet/sun/niu.c class_code > CLASS_CODE_SCTP_IPV6) class_code 3225 drivers/net/ethernet/sun/niu.c nw64(FLOW_KEY(class_code - CLASS_CODE_USER_PROG1), key); class_code 3229 drivers/net/ethernet/sun/niu.c static int niu_set_tcam_key(struct niu *np, unsigned long class_code, u64 key) class_code 3231 drivers/net/ethernet/sun/niu.c if (class_code < CLASS_CODE_USER_PROG1 || class_code 3232 drivers/net/ethernet/sun/niu.c class_code > CLASS_CODE_SCTP_IPV6) class_code 3235 drivers/net/ethernet/sun/niu.c nw64(TCAM_KEY(class_code - CLASS_CODE_USER_PROG1), key); class_code 54 drivers/net/wireless/realtek/rtw88/rtw8822b.h u8 class_code[3]; class_code 40 drivers/net/wireless/realtek/rtw88/rtw8822c.h u8 class_code[3]; class_code 2039 drivers/pci/hotplug/cpqphp_ctrl.c u8 device, class_code, header_type, BCR; class_code 2060 drivers/pci/hotplug/cpqphp_ctrl.c rc = pci_bus_read_config_byte(pci_bus, devfn, 0x0B, &class_code); class_code 2064 drivers/pci/hotplug/cpqphp_ctrl.c if (class_code == PCI_BASE_CLASS_DISPLAY) { class_code 2326 drivers/pci/hotplug/cpqphp_ctrl.c u8 class_code; class_code 2756 drivers/pci/hotplug/cpqphp_ctrl.c rc = pci_bus_read_config_byte(pci_bus, devfn, 0x0B, &class_code); class_code 2758 drivers/pci/hotplug/cpqphp_ctrl.c if (class_code == PCI_BASE_CLASS_DISPLAY) { class_code 2860 drivers/pci/hotplug/cpqphp_ctrl.c rc = pci_bus_read_config_byte(pci_bus, devfn, 0x0B, &class_code); class_code 2862 drivers/pci/hotplug/cpqphp_ctrl.c if (class_code == PCI_BASE_CLASS_STORAGE) class_code 300 drivers/pci/hotplug/cpqphp_pci.c u8 class_code; class_code 355 drivers/pci/hotplug/cpqphp_pci.c rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, 0), 0x0B, &class_code); class_code 438 drivers/pci/hotplug/cpqphp_pci.c rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, function), 0x0B, &class_code); class_code 467 drivers/pci/hotplug/cpqphp_pci.c u8 class_code; class_code 485 drivers/pci/hotplug/cpqphp_pci.c pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(new_slot->device, 0), 0x0B, &class_code); class_code 528 drivers/pci/hotplug/cpqphp_pci.c pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(new_slot->device, function), 0x0B, &class_code); class_code 36 drivers/pci/hotplug/ibmphp_pci.c static void assign_alt_irq(struct pci_func *cur_func, u8 class_code) class_code 41 drivers/pci/hotplug/ibmphp_pci.c switch (class_code) { class_code 71 drivers/pci/hotplug/ibmphp_pci.c u8 class_code; class_code 118 drivers/pci/hotplug/ibmphp_pci.c class_code = class >> 24; class_code 119 drivers/pci/hotplug/ibmphp_pci.c debug("hrd_type = %x, class = %x, class_code %x\n", hdr_type, class, class_code); class_code 133 drivers/pci/hotplug/ibmphp_pci.c assign_alt_irq(cur_func, class_code); class_code 146 drivers/pci/hotplug/ibmphp_pci.c assign_alt_irq(cur_func, class_code); class_code 173 drivers/pci/hotplug/ibmphp_pci.c assign_alt_irq(cur_func, class_code); class_code 240 drivers/pci/hotplug/ibmphp_pci.c assign_alt_irq(cur_func, class_code); class_code 685 drivers/scsi/esas2r/atioctl.h u8 class_code[3]; class_code 344 drivers/scsi/esas2r/esas2r.h u8 class_code[3]; class_code 652 drivers/scsi/esas2r/esas2r_flash.c || bh->class_code[2] != 0x01 class_code 653 drivers/scsi/esas2r/esas2r_flash.c || bh->class_code[1] != 0x04 class_code 654 drivers/scsi/esas2r/esas2r_flash.c || bh->class_code[0] != 0x00 class_code 756 drivers/scsi/esas2r/esas2r_ioctl.c u8 *class_code = (u8 *)&a->pcid->class; class_code 778 drivers/scsi/esas2r/esas2r_ioctl.c gai->pci.class_code[0] = class_code[0]; class_code 779 drivers/scsi/esas2r/esas2r_ioctl.c gai->pci.class_code[1] = class_code[1]; class_code 780 drivers/scsi/esas2r/esas2r_ioctl.c gai->pci.class_code[2] = class_code[2]; class_code 877 drivers/staging/rts5208/ms.c u8 val, *buf, class_code, device_type, sub_class, data[16]; class_code 1058 drivers/staging/rts5208/ms.c class_code = buf[sys_info_addr + 0]; class_code 1089 drivers/staging/rts5208/ms.c class_code, device_type, sub_class); class_code 1100 drivers/staging/rts5208/ms.c if (class_code != 0x03) class_code 1103 drivers/staging/rts5208/ms.c if (class_code != 0x02) class_code 1107 drivers/staging/rts5208/ms.c if (class_code != 0x02) class_code 1124 drivers/staging/rts5208/ms.c class_code, device_type, sub_class); class_code 1167 include/acpi/actypes.h struct acpi_pnp_device_id class_code; /* _CLS value */ class_code 503 include/linux/cper.h u8 class_code[3];