Home
last modified time | relevance | path

Searched refs:sub_sys_id (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/can/peak_canfd/
H A Dpeak_pciefd_main.c717 u16 sub_sys_id; in peak_pciefd_probe() local
731 err = pci_read_config_word(pdev, PCI_SUBSYSTEM_ID, &sub_sys_id); in peak_pciefd_probe()
736 pdev->vendor, pdev->device, sub_sys_id); in peak_pciefd_probe()
738 if (sub_sys_id >= 0x0012) in peak_pciefd_probe()
740 else if (sub_sys_id >= 0x0010) in peak_pciefd_probe()
742 else if (sub_sys_id >= 0x0004) in peak_pciefd_probe()
/kernel/linux/linux-5.10/drivers/net/can/sja1000/
H A Dpeak_pci.c552 u16 sub_sys_id, icr; in peak_pci_probe() local
563 err = pci_read_config_word(pdev, 0x2e, &sub_sys_id); in peak_pci_probe()
568 pdev->vendor, pdev->device, sub_sys_id); in peak_pci_probe()
574 if (sub_sys_id >= 12) in peak_pci_probe()
576 else if (sub_sys_id >= 10) in peak_pci_probe()
578 else if (sub_sys_id >= 4) in peak_pci_probe()
/kernel/linux/linux-6.6/drivers/net/can/peak_canfd/
H A Dpeak_pciefd_main.c716 u16 sub_sys_id; in peak_pciefd_probe() local
730 err = pci_read_config_word(pdev, PCI_SUBSYSTEM_ID, &sub_sys_id); in peak_pciefd_probe()
735 pdev->vendor, pdev->device, sub_sys_id); in peak_pciefd_probe()
737 if (sub_sys_id >= 0x0012) in peak_pciefd_probe()
739 else if (sub_sys_id >= 0x0010) in peak_pciefd_probe()
741 else if (sub_sys_id >= 0x0004) in peak_pciefd_probe()
/kernel/linux/linux-6.6/drivers/net/can/sja1000/
H A Dpeak_pci.c557 u16 sub_sys_id, icr; in peak_pci_probe() local
569 err = pci_read_config_word(pdev, 0x2e, &sub_sys_id); in peak_pci_probe()
574 pdev->vendor, pdev->device, sub_sys_id); in peak_pci_probe()
580 if (sub_sys_id >= 12) in peak_pci_probe()
582 else if (sub_sys_id >= 10) in peak_pci_probe()
584 else if (sub_sys_id >= 4) in peak_pci_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_hwmgr.c2207 uint32_t hw_revision, sub_vendor_id, sub_sys_id; in smu7_patch_voltage_workaround() local
2217 sub_sys_id = adev->pdev->subsystem_device; in smu7_patch_voltage_workaround()
2221 ((sub_sys_id == 0xb37 && sub_vendor_id == 0x1002) || in smu7_patch_voltage_workaround()
2222 (sub_sys_id == 0x4a8 && sub_vendor_id == 0x1043) || in smu7_patch_voltage_workaround()
2223 (sub_sys_id == 0x9480 && sub_vendor_id == 0x1682))) { in smu7_patch_voltage_workaround()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_hwmgr.c2498 uint32_t hw_revision, sub_vendor_id, sub_sys_id; in smu7_patch_voltage_workaround() local
2508 sub_sys_id = adev->pdev->subsystem_device; in smu7_patch_voltage_workaround()
2512 ((sub_sys_id == 0xb37 && sub_vendor_id == 0x1002) || in smu7_patch_voltage_workaround()
2513 (sub_sys_id == 0x4a8 && sub_vendor_id == 0x1043) || in smu7_patch_voltage_workaround()
2514 (sub_sys_id == 0x9480 && sub_vendor_id == 0x1682))) { in smu7_patch_voltage_workaround()
/kernel/linux/linux-5.10/drivers/scsi/
H A Ddc395x.c203 u8 sub_sys_id[2]; /* 2,3 Sub System ID */ member
4055 eeprom->sub_sys_id[0] = (u8)PCI_DEVICE_ID_TEKRAM_TRMS1040; in check_eeprom()
4056 eeprom->sub_sys_id[1] = in check_eeprom()
/kernel/linux/linux-6.6/drivers/scsi/
H A Ddc395x.c188 u8 sub_sys_id[2]; /* 2,3 Sub System ID */ member
4009 eeprom->sub_sys_id[0] = (u8)PCI_DEVICE_ID_TEKRAM_TRMS1040; in check_eeprom()
4010 eeprom->sub_sys_id[1] = in check_eeprom()

Completed in 29 milliseconds