/kernel/linux/linux-6.6/drivers/char/ |
H A D | ppdev.c | 87 static struct device *devices[PARPORT_MAX]; variable 796 if (devices[port->number]) in pp_attach() 807 devices[port->number] = ret; in pp_attach() 812 if (!devices[port->number]) in pp_detach() 816 devices[port->number] = NULL; in pp_detach()
|
/third_party/mesa3d/src/egl/drivers/dri2/ |
H A D | platform_ohos.c | 1159 drmDevicePtr device, devices[MAX_DRM_DEVICES] = {NULL}; in ohos_open_device() local 1170 num_devices = drmGetDevices2(0, devices, ARRAY_SIZE(devices)); in ohos_open_device() 1177 device = devices[i]; in ohos_open_device() 1221 drmFreeDevices(devices, num_devices); in ohos_open_device()
|
/kernel/linux/linux-6.6/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_main.c | 211 struct hisi_sas_device *sas_dev = &hisi_hba->devices[device_id]; in hisi_sas_slot_task_free() 667 if (hisi_hba->devices[i].dev_type == SAS_PHY_UNUSED) { in hisi_sas_alloc_dev() 671 hisi_hba->devices[i].device_id = i; in hisi_sas_alloc_dev() 672 sas_dev = &hisi_hba->devices[i]; in hisi_sas_alloc_dev() 679 INIT_LIST_HEAD(&hisi_hba->devices[i].list); in hisi_sas_alloc_dev() 839 dev_err(dev, "fail alloc dev: max support %d devices\n", in hisi_sas_dev_found() 1121 sas_dev = &hisi_hba->devices[i]; in hisi_sas_release_tasks() 1349 struct hisi_sas_device *sas_dev = &hisi_hba->devices[i]; in hisi_sas_refresh_port_id() 1423 sas_dev = &hisi_hba->devices[i]; in hisi_sas_reset_init_all_devices() 1468 struct hisi_sas_device *sas_dev = &hisi_hba->devices[ in hisi_sas_terminate_stp_reject() [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-pxa/ |
H A D | lubbock.c | 59 #include "devices.h" 361 static struct platform_device *devices[] __initdata = { 513 (void) platform_add_devices(devices, ARRAY_SIZE(devices)); in lubbock_init()
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | pci_common.c | 483 list_for_each_entry(pdev, &pbus->devices, bus_list) { in pci_scan_for_target_abort() 507 list_for_each_entry(pdev, &pbus->devices, bus_list) { in pci_scan_for_master_abort() 530 list_for_each_entry(pdev, &pbus->devices, bus_list) { in pci_scan_for_parity_error()
|
/kernel/linux/linux-5.10/arch/arm/mach-omap1/ |
H A D | board-htcherald.c | 406 /* Platform devices for the Herald */ 407 static struct platform_device *devices[] __initdata = { 558 /* Do board initialization before we register all the devices */ in htcherald_init() 561 platform_add_devices(devices, ARRAY_SIZE(devices)); in htcherald_init()
|
/kernel/linux/linux-5.10/arch/xtensa/platforms/iss/ |
H A D | network.c | 45 static LIST_HEAD(devices); 565 list_add(&lp->device_list, &devices); in iss_net_configure() 639 list_for_each(ele, &devices) { in iss_net_setup() 669 * Initialize all ISS Ethernet devices previously registered in iss_net_setup. 676 /* Walk through all Ethernet devices specified in the command line. */ in iss_net_init()
|
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | pci_common.c | 484 list_for_each_entry(pdev, &pbus->devices, bus_list) { in pci_scan_for_target_abort() 508 list_for_each_entry(pdev, &pbus->devices, bus_list) { in pci_scan_for_master_abort() 531 list_for_each_entry(pdev, &pbus->devices, bus_list) { in pci_scan_for_parity_error()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
H A D | intel_bios.c | 354 p_child = &(p_defs->devices[i]); in parse_sdvo_device_mapping() 447 DRM_DEBUG_KMS("No general definition block is found, no devices defined.\n"); in parse_device_mapping() 466 /* get the number of child devices that are present */ in parse_device_mapping() 468 p_child = &(p_defs->devices[i]); in parse_device_mapping() 481 DRM_DEBUG_KMS("No memory space for child devices\n"); in parse_device_mapping() 488 p_child = &(p_defs->devices[i]); in parse_device_mapping()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fw_reset.c | 265 list_for_each_entry(sdev, &bridge_bus->devices, bus_list) { in mlx5_pci_link_toggle() 277 list_for_each_entry(sdev, &bridge_bus->devices, bus_list) { in mlx5_pci_link_toggle() 319 list_for_each_entry(sdev, &bridge_bus->devices, bus_list) { in mlx5_pci_link_toggle()
|
/kernel/linux/linux-5.10/drivers/video/fbdev/via/ |
H A D | hw.h | 21 /* VIA output devices */ 634 void via_set_source(u32 devices, u8 iga); 635 void via_set_state(u32 devices, u8 state); 636 void via_set_sync_polarity(u32 devices, u8 polarity);
|
/kernel/linux/linux-6.6/drivers/video/fbdev/via/ |
H A D | hw.h | 21 /* VIA output devices */ 634 void via_set_source(u32 devices, u8 iga); 635 void via_set_state(u32 devices, u8 state); 636 void via_set_sync_polarity(u32 devices, u8 polarity);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/ |
H A D | intel_bios.c | 355 p_child = &(p_defs->devices[i]); in parse_sdvo_device_mapping() 448 DRM_DEBUG_KMS("No general definition block is found, no devices defined.\n"); in parse_device_mapping() 467 /* get the number of child devices that are present */ in parse_device_mapping() 469 p_child = &(p_defs->devices[i]); in parse_device_mapping() 482 DRM_DEBUG_KMS("No memory space for child devices\n"); in parse_device_mapping() 489 p_child = &(p_defs->devices[i]); in parse_device_mapping()
|
/kernel/linux/linux-6.6/drivers/vfio/pci/ |
H A D | vfio_pci_core.c | 38 #define DRIVER_DESC "core driver for VFIO based PCI devices" 232 * pci_set_power_state() wrapper handling devices which perform a soft reset on 416 * into the low power state. Also, for the devices which have in vfio_pci_core_runtime_suspend() 462 * for the devices which have NoSoftRst-. 587 * fail if the power state is non-D0. Also, for the devices which in vfio_pci_core_disable() 781 struct vfio_pci_dependent_device __user *devices; member 798 if (fill->devices >= fill->devices_end) in vfio_pci_fill_devs() 807 * hot-reset requires all affected devices be represented in in vfio_pci_fill_devs() 831 return -EPERM; /* Cannot reset non-isolated devices */ in vfio_pci_fill_devs() 837 if (copy_to_user(fill->devices, in vfio_pci_fill_devs() [all...] |
/kernel/linux/linux-5.10/arch/m68k/kernel/ |
H A D | pcibios.c | 24 * is reserved for motherboard devices that decode all 16 90 list_for_each_entry(dev, &bus->devices, bus_list) { in pcibios_fixup_bus()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
H A D | pci_dlpar.c | 36 /* Create EEH devices for the PHB */ in init_phb_dynamic() 61 if (!(list_empty(&b->children) && list_empty(&b->devices))) in remove_phb_dynamic() 64 /* We -know- there aren't any child devices anymore at this stage in remove_phb_dynamic()
|
/kernel/linux/linux-6.6/arch/m68k/kernel/ |
H A D | pcibios.c | 24 * is reserved for motherboard devices that decode all 16 90 list_for_each_entry(dev, &bus->devices, bus_list) { in pcibios_fixup_bus()
|
/kernel/linux/linux-6.6/arch/arm/mach-omap1/ |
H A D | Makefile | 8 serial.o devices.o dma.o omap-dma.o fb.o
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/ |
H A D | pci_dlpar.c | 40 /* Create EEH devices for the PHB */ in init_phb_dynamic() 65 if (!(list_empty(&b->children) && list_empty(&b->devices))) in remove_phb_dynamic() 68 /* We -know- there aren't any child devices anymore at this stage in remove_phb_dynamic()
|
/kernel/linux/linux-5.10/tools/testing/selftests/cpufreq/ |
H A D | main.sh | 56 CPUROOT=$SYSFS/devices/system/cpu
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | superhyway.h | 101 int superhyway_add_devices(struct superhyway_bus *bus, struct superhyway_device **devices, int nr_devices);
|
H A D | tc.h | 65 struct list_head devices; /* List of devices on this bus. */ member 81 struct list_head node; /* Node in list of all TC devices. */
|
H A D | sm501.h | 122 unsigned long devices; member
|
/kernel/linux/linux-5.10/include/sound/ |
H A D | i2c.h | 47 struct list_head devices; /* attached devices to this bus */ member
|
/kernel/linux/linux-5.10/fs/proc/ |
H A D | Makefile | 18 proc-y += devices.o
|