Home
last modified time | relevance | path

Searched refs:class_code (Results 1 – 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/acpi/acpica/
Dexutils.c371 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()
Dutids.c344 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()
Dnsxfname.c428 (void)acpi_ns_copy_device_id(&info->class_code, in acpi_get_object_info()
Dacinterp.h478 void acpi_ex_pci_cls_to_string(char *dest, u8 class_code[3]);
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dpcir.c60 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()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dpci_32.c92 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()
Dpci_dn.c314 pdn->class_code = regs ? of_read_number(regs, 1) : 0; in pci_add_device_node_info()
515 pdn->vendor_id = pdn->device_id = pdn->class_code = 0; in pci_devs_phb_init_dynamic()
/kernel/linux/linux-5.10/arch/powerpc/platforms/maple/
Dpci.c39 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Dpcir.h7 u8 class_code[3]; member
/kernel/linux/linux-5.10/drivers/misc/cxl/
Dof.c146 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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Deeh_pseries.c58 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()
/kernel/linux/linux-5.10/drivers/pci/hotplug/
Dibmphp_pci.c36 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()
Dcpqphp_pci.c300 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()
438 rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, function), 0x0B, &class_code); in cpqhp_save_config()
467 u8 class_code; in cpqhp_save_slot_config() local
485 pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(new_slot->device, 0), 0x0B, &class_code); in cpqhp_save_slot_config()
528 … pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(new_slot->device, function), 0x0B, &class_code); in cpqhp_save_slot_config()
Dcpqphp_ctrl.c2039 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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
Dpci.c63 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()
/kernel/linux/linux-5.10/drivers/scsi/esas2r/
Desas2r_ioctl.c756 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()
Desas2r_flash.c652 || 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()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/
Drtw8822b.h54 u8 class_code[3]; member
Drtw8821c.h34 u8 class_code[3]; member
Drtw8822c.h40 u8 class_code[3]; member
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dpci-bridge.h192 int class_code; /* Device class code */ member
/kernel/linux/linux-5.10/Documentation/firmware-guide/acpi/apei/
Doutput_format.rst95 class_code: <integer>]
/kernel/linux/linux-5.10/include/linux/
Dcper.h523 u8 class_code[3]; member
/kernel/linux/linux-5.10/drivers/net/ethernet/alacritech/
Dslic.h324 u8 class_code[3]; /* 07 Class Code */ member
/kernel/linux/linux-5.10/drivers/staging/rts5208/
Dms.c877 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);

12