Home
last modified time | relevance | path

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

/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]);
/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()
/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()
/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()
/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Dpcir.h7 u8 class_code[3]; member
/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()
Datioctl.h685 u8 class_code[3]; member
Desas2r.h344 u8 class_code[3]; member
/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
/drivers/net/ethernet/alacritech/
Dslic.h324 u8 class_code[3]; /* 07 Class Code */ member
/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);
/drivers/firmware/efi/
Dcper.c395 p = pcie->device_id.class_code; in cper_print_pcie()
/drivers/net/ethernet/sun/
Dniu.c3219 static int niu_set_flow_key(struct niu *np, unsigned long class_code, u64 key) in niu_set_flow_key() argument
3221 if (class_code < CLASS_CODE_USER_PROG1 || in niu_set_flow_key()
3222 class_code > CLASS_CODE_SCTP_IPV6) in niu_set_flow_key()
3225 nw64(FLOW_KEY(class_code - CLASS_CODE_USER_PROG1), key); in niu_set_flow_key()
3229 static int niu_set_tcam_key(struct niu *np, unsigned long class_code, u64 key) in niu_set_tcam_key() argument
3231 if (class_code < CLASS_CODE_USER_PROG1 || in niu_set_tcam_key()
3232 class_code > CLASS_CODE_SCTP_IPV6) in niu_set_tcam_key()
3235 nw64(TCAM_KEY(class_code - CLASS_CODE_USER_PROG1), key); in niu_set_tcam_key()
/drivers/acpi/
Dscan.c1311 acpi_add_id(pnp, info->class_code.string); in acpi_set_pnp_ids()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h166 __u8 class_code[3]; /* Class Code */ member