| /arch/x86/platform/olpc/ |
| A D | olpc-xo15-sci.c | 138 static int xo15_sci_add(struct acpi_device *device) in xo15_sci_add() argument 144 if (!device) in xo15_sci_add() 147 strcpy(acpi_device_name(device), XO15_SCI_DEVICE_NAME); in xo15_sci_add() 148 strcpy(acpi_device_class(device), XO15_SCI_CLASS); in xo15_sci_add() 151 status = acpi_evaluate_integer(device->handle, "_GPE", NULL, &tmp); in xo15_sci_add() 158 xo15_sci_gpe_handler, device); in xo15_sci_add() 162 dev_info(&device->dev, "Initialized, GPE = 0x%lx\n", xo15_sci_gpe); in xo15_sci_add() 175 if (device->wakeup.flags.valid) in xo15_sci_add() 176 device_init_wakeup(&device->dev, true); in xo15_sci_add() 186 static void xo15_sci_remove(struct acpi_device *device) in xo15_sci_remove() argument [all …]
|
| /arch/x86/kernel/ |
| A D | probe_roms.c | 87 if (pdev->vendor == vendor && pdev->device == device) in match_id() 91 if (id->vendor == vendor && id->device == device) in match_id() 100 unsigned short device; in probe_list() local 103 if (get_kernel_nofault(device, rom_list) != 0) in probe_list() 104 device = 0; in probe_list() 106 if (device && match_id(pdev, vendor, device)) in probe_list() 110 } while (device); in probe_list() 112 return !!device; in probe_list() 122 unsigned short offset, vendor, device, list, rev; in find_oprom() local 135 if (get_kernel_nofault(device, rom + offset + 0x6) != 0) in find_oprom() [all …]
|
| /arch/mips/cavium-octeon/ |
| A D | dma-octeon.c | 31 dma_addr_t (*phys_to_dma)(struct device *dev, phys_addr_t paddr); 32 phys_addr_t (*dma_to_phys)(struct device *dev, dma_addr_t daddr); 51 static dma_addr_t octeon_gen1_phys_to_dma(struct device *dev, phys_addr_t paddr) in octeon_gen1_phys_to_dma() 58 static phys_addr_t octeon_gen1_dma_to_phys(struct device *dev, dma_addr_t daddr) in octeon_gen1_dma_to_phys() 73 static dma_addr_t octeon_gen2_phys_to_dma(struct device *dev, phys_addr_t paddr) in octeon_gen2_phys_to_dma() 88 static dma_addr_t octeon_big_phys_to_dma(struct device *dev, phys_addr_t paddr) in octeon_big_phys_to_dma() 100 static phys_addr_t octeon_big_dma_to_phys(struct device *dev, dma_addr_t daddr) in octeon_big_dma_to_phys() 115 static dma_addr_t octeon_small_phys_to_dma(struct device *dev, in octeon_small_phys_to_dma() 130 static phys_addr_t octeon_small_dma_to_phys(struct device *dev, in octeon_small_dma_to_phys() 171 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) in phys_to_dma() [all …]
|
| /arch/powerpc/platforms/pseries/ |
| A D | ibmebus.c | 81 static void ibmebus_free_coherent(struct device *dev, in ibmebus_free_coherent() 89 static dma_addr_t ibmebus_map_page(struct device *dev, in ibmebus_map_page() 99 static void ibmebus_unmap_page(struct device *dev, in ibmebus_unmap_page() 108 static int ibmebus_map_sg(struct device *dev, in ibmebus_map_sg() 124 static void ibmebus_unmap_sg(struct device *dev, in ibmebus_unmap_sg() 189 struct device *dev; in ibmebus_create_devices() 274 struct device *dev; in probe_store() 311 struct device *dev; in remove_store() 395 static ssize_t devspec_show(struct device *dev, in devspec_show() 405 static ssize_t name_show(struct device *dev, in name_show() [all …]
|
| A D | suspend.c | 18 static struct device suspend_dev; 75 static ssize_t store_hibernate(struct device *dev, in store_hibernate() 120 static ssize_t show_hibernate(struct device *dev, in show_hibernate() 145 static int pseries_suspend_sysfs_register(struct device *dev) in pseries_suspend_sysfs_register() 147 struct device *dev_root; in pseries_suspend_sysfs_register()
|
| /arch/powerpc/kernel/ |
| A D | dma-iommu.c | 17 bool arch_dma_map_page_direct(struct device *dev, phys_addr_t addr) in arch_dma_map_page_direct() 27 bool arch_dma_unmap_page_direct(struct device *dev, dma_addr_t dma_handle) in arch_dma_unmap_page_direct() 35 bool arch_dma_map_sg_direct(struct device *dev, struct scatterlist *sg, in arch_dma_map_sg_direct() 52 bool arch_dma_unmap_sg_direct(struct device *dev, struct scatterlist *sg, in arch_dma_unmap_sg_direct() 78 static void *dma_iommu_alloc_coherent(struct device *dev, size_t size, in dma_iommu_alloc_coherent() 87 static void dma_iommu_free_coherent(struct device *dev, size_t size, in dma_iommu_free_coherent() 99 static dma_addr_t dma_iommu_map_page(struct device *dev, struct page *page, in dma_iommu_map_page() 109 static void dma_iommu_unmap_page(struct device *dev, dma_addr_t dma_handle, in dma_iommu_unmap_page() 134 static bool dma_iommu_bypass_supported(struct device *dev, u64 mask) in dma_iommu_bypass_supported() 145 int dma_iommu_dma_supported(struct device *dev, u64 mask) in dma_iommu_dma_supported() [all …]
|
| A D | sysfs.c | 96 static ssize_t show_##NAME(struct device *dev, \ 183 static ssize_t show_dscr_default(struct device *dev, in show_dscr_default() 221 struct device *dev_root; in sysfs_create_dscr_default() 265 static ssize_t show_pw20_state(struct device *dev, in show_pw20_state() 293 static ssize_t store_pw20_state(struct device *dev, in store_pw20_state() 776 static ssize_t idle_purr_show(struct device *dev, in idle_purr_show() 806 static ssize_t idle_spurr_show(struct device *dev, in idle_spurr_show() 839 struct device *s = &c->dev; in register_cpu_online() 938 struct device *s = &c->dev; in unregister_cpu_online() 1073 struct device *dev; in cpu_add_dev_attr_group() [all …]
|
| /arch/um/drivers/ |
| A D | vfio_user.c | 74 int uml_vfio_user_get_group_id(const char *device) in uml_vfio_user_get_group_id() argument 84 sprintf(path, "/sys/bus/pci/devices/%s/iommu_group", device); in uml_vfio_user_get_group_id() 167 if (ioctl(device, VFIO_DEVICE_SET_IRQS, irq_set) < 0) { in vfio_set_irqs() 178 int group, const char *device) in uml_vfio_user_setup_device() argument 184 dev->device = ioctl(group, VFIO_GROUP_GET_DEVICE_FD, device); in uml_vfio_user_setup_device() 185 if (dev->device < 0) in uml_vfio_user_setup_device() 188 if (ioctl(dev->device, VFIO_DEVICE_GET_INFO, &device_info) < 0) { in uml_vfio_user_setup_device() 234 err = vfio_set_irqs(dev->device, 0, dev->irq_count, dev->irqfd); in uml_vfio_user_setup_device() 245 close(dev->device); in uml_vfio_user_setup_device() 253 close(dev->device); in uml_vfio_user_teardown_device() [all …]
|
| /arch/arm/boot/dts/samsung/ |
| A D | exynos5422-odroidxu3-common.dtsi | 95 cooling-device = <&fan0 0 1>; 99 cooling-device = <&fan0 1 2>; 103 cooling-device = <&fan0 2 3>; 112 cooling-device = <&cpu0 0 2>, 128 cooling-device = <&cpu0 3 8>, 178 cooling-device = <&fan0 0 1>; 182 cooling-device = <&fan0 1 2>; 186 cooling-device = <&fan0 2 3>; 190 cooling-device = <&cpu0 0 2>, 201 cooling-device = <&cpu0 3 8>, [all …]
|
| A D | exynos5422-odroidhc1.dts | 3 * Hardkernel Odroid HC1 board device tree source 61 cooling-device = <&cpu0 0 2>, 77 cooling-device = <&cpu0 3 8>, 110 cooling-device = <&cpu0 0 2>, 121 cooling-device = <&cpu0 3 8>, 154 cooling-device = <&cpu0 0 2>, 165 cooling-device = <&cpu0 3 8>, 198 cooling-device = <&cpu0 0 2>, 209 cooling-device = <&cpu0 3 8>, 242 cooling-device = <&gpu 0 2>; [all …]
|
| /arch/powerpc/include/asm/ |
| A D | iommu.h | 139 static inline void set_iommu_table_base(struct device *dev, in set_iommu_table_base() 145 static inline void *get_iommu_table_base(struct device *dev) in get_iommu_table_base() 150 extern int dma_iommu_dma_supported(struct device *dev, u64 mask); 215 struct device *dev); 225 int dev_has_iommu_table(struct device *dev, void *data); 235 struct device *dev) in iommu_add_device() 240 static inline int dev_has_iommu_table(struct device *dev, void *data) in dev_has_iommu_table() 246 u64 dma_iommu_get_required_mask(struct device *dev); 249 static inline void *get_iommu_table_base(struct device *dev) in get_iommu_table_base() 254 static inline int dma_iommu_dma_supported(struct device *dev, u64 mask) in dma_iommu_dma_supported() [all …]
|
| /arch/parisc/kernel/ |
| A D | drivers.c | 44 static struct device root = { 48 static inline int check_dev(struct device *dev) in check_dev() 58 static struct device * 63 int (*fn)(struct device *, void *); 292 const struct device *dev = &padev->dev; in find_pa_parent_type() 419 struct device *parent) in create_tree_node() 471 struct device *parent, char id) in alloc_tree_node() 485 struct device *parent = &root; in create_parisc_device() 697 struct device * dev; 731 static struct device * [all …]
|
| /arch/arm/include/asm/hardware/ |
| A D | scoop.h | 49 struct device *dev; /* Pointer to this socket's scoop device */ 60 void (*power_ctrl)(struct device *scoop, unsigned short cpr, int nr); 65 void reset_scoop(struct device *dev); 66 unsigned short read_scoop_reg(struct device *dev, unsigned short reg); 67 void write_scoop_reg(struct device *dev, unsigned short reg, unsigned short data);
|
| /arch/sh/drivers/dma/ |
| A D | dma-sysfs.c | 23 static ssize_t dma_show_devices(struct device *dev, in dma_show_devices() 48 struct device *dev_root; in dma_subsys_init() 64 static ssize_t dma_show_dev_id(struct device *dev, in dma_show_dev_id() 71 static ssize_t dma_store_dev_id(struct device *dev, in dma_store_dev_id() 82 static ssize_t dma_store_config(struct device *dev, in dma_store_config() 97 static ssize_t dma_show_mode(struct device *dev, in dma_show_mode() 104 static ssize_t dma_store_mode(struct device *dev, in dma_store_mode() 116 static ssize_t dma_show_##field(struct device *dev, \ 129 struct device *dev = &chan->dev; in dma_create_sysfs_files() 157 struct device *dev = &chan->dev; in dma_remove_sysfs_files()
|
| /arch/arm/mach-s3c/ |
| A D | Kconfig | 66 # device definitions to compile in 71 Compile in platform device definitions for HSMMC code 76 Compile in platform device definitions for HSMMC channel 1 81 Compile in platform device definitions for HSMMC channel 2 86 Compile in platform device definitions for HSMMC channel 3 91 Compile in platform device definitions for I2C channel 1 96 Compile in platform device definition for framebuffer 101 Compile in platform device definition for USB host. 111 Compile in platform device definitions for S3C64XX's type 117 Compile in platform device definitions for keypad [all …]
|
| /arch/x86/pci/ |
| A D | irq.c | 52 u16 vendor, device; member 976 switch (device) { in intel_router_probe() 1085 switch (device) { in via_router_probe() 1108 switch (device) { in vlsi_router_probe() 1122 switch (device) { in serverworks_router_probe() 1135 switch (device) { in sis_router_probe() 1152 switch (device) { in cyrix_router_probe() 1164 switch (device) { in opti_router_probe() 1176 switch (device) { in ite_router_probe() 1188 switch (device) { in ali_router_probe() [all …]
|
| A D | acpi.c | 317 switch (pdev->device) { in pcie_has_usb4_host_interface() 373 static int check_segment(u16 seg, struct device *dev, char *estr) in check_segment() 397 struct device *dev = &ci->bridge->dev; in setup_mcfg_map() 454 struct acpi_device *device = root->device; in pci_acpi_root_get_node() local 455 int node = acpi_get_node(device->handle); in pci_acpi_root_get_node() 460 …dev_info(&device->dev, FW_BUG "no _PXM; falling back to node %d from hardware (may be inconsistent… in pci_acpi_root_get_node() 502 struct acpi_device *device = ci->bridge; in pci_acpi_root_prepare_resources() local 517 dev_printk(KERN_DEBUG, &device->dev, in pci_acpi_root_prepare_resources() 558 .companion = root->device in pci_acpi_scan_root() 567 dev_err(&root->device->dev, in pci_acpi_scan_root() [all …]
|
| /arch/arm/boot/dts/vt8500/ |
| A D | wm8750.dtsi | 129 compatible = "via,vt8500-device-clock"; 136 compatible = "via,vt8500-device-clock"; 143 compatible = "via,vt8500-device-clock"; 150 compatible = "via,vt8500-device-clock"; 157 compatible = "via,vt8500-device-clock"; 165 compatible = "via,vt8500-device-clock"; 173 compatible = "via,vt8500-device-clock"; 205 compatible = "via,vt8500-device-clock"; 214 compatible = "via,vt8500-device-clock"; 224 compatible = "via,vt8500-device-clock"; [all …]
|
| A D | wm8505.dtsi | 119 compatible = "via,vt8500-device-clock"; 126 compatible = "via,vt8500-device-clock"; 133 compatible = "via,vt8500-device-clock"; 140 compatible = "via,vt8500-device-clock"; 147 compatible = "via,vt8500-device-clock"; 155 compatible = "via,vt8500-device-clock"; 163 compatible = "via,vt8500-device-clock"; 171 compatible = "via,vt8500-device-clock"; 179 compatible = "via,vt8500-device-clock"; 187 compatible = "via,vt8500-device-clock"; [all …]
|
| /arch/s390/include/asm/ |
| A D | ccwgroup.h | 26 struct device dev; 54 int ccwgroup_create_dev(struct device *root, struct ccwgroup_driver *gdrv, 67 bool dev_is_ccwgroup(struct device *dev); 69 static inline bool dev_is_ccwgroup(struct device *dev) in dev_is_ccwgroup()
|
| /arch/mips/sgi-ip22/ |
| A D | ip22-gio.c | 31 static void gio_bus_release(struct device *dev) in gio_bus_release() 36 static struct device gio_bus = { 65 struct device *tmp; in gio_dev_get() 91 void gio_release_dev(struct device *dev) in gio_release_dev() 114 static int gio_bus_match(struct device *dev, const struct device_driver *drv) in gio_bus_match() 122 static int gio_device_probe(struct device *dev) in gio_device_probe() 146 static void gio_device_remove(struct device *dev) in gio_device_remove() 155 static void gio_device_shutdown(struct device *dev) in gio_device_shutdown() 164 static ssize_t modalias_show(struct device *dev, struct device_attribute *a, in modalias_show() 173 static ssize_t name_show(struct device *dev, in name_show() [all …]
|
| /arch/arm64/boot/dts/exynos/ |
| A D | exynos5433-tmu.dtsi | 58 cooling-device = <&cpu4 1 2>, <&cpu5 1 2>, 64 cooling-device = <&cpu4 2 3>, <&cpu5 2 3>, 70 cooling-device = <&cpu4 3 4>, <&cpu5 3 4>, 76 cooling-device = <&cpu4 4 5>, <&cpu5 4 5>, 82 cooling-device = <&cpu4 5 7>, <&cpu5 5 7>, 88 cooling-device = <&cpu4 7 9>, <&cpu5 7 9>, 94 cooling-device = <&cpu4 9 14>, <&cpu5 9 14>, 232 cooling-device = <&cpu0 1 2>, <&cpu1 1 2>, 238 cooling-device = <&cpu0 2 3>, <&cpu1 2 3>, 244 cooling-device = <&cpu0 3 4>, <&cpu1 3 4>, [all …]
|
| /arch/arm/mach-omap2/ |
| A D | board-n8x0.c | 139 static struct device *mmc_device; 163 static int n8x0_mmc_set_power_menelaus(struct device *dev, int slot, in n8x0_mmc_set_power_menelaus() 232 static int n8x0_mmc_set_power(struct device *dev, int slot, int power_on, in n8x0_mmc_set_power() 243 static int n8x0_mmc_set_bus_mode(struct device *dev, int slot, int bus_mode) in n8x0_mmc_set_bus_mode() 267 static int n8x0_mmc_get_cover_state(struct device *dev, int slot) in n8x0_mmc_get_cover_state() 303 static int n8x0_mmc_late_init(struct device *dev) in n8x0_mmc_late_init() 360 static void n8x0_mmc_shutdown(struct device *dev) in n8x0_mmc_shutdown() 373 static void n8x0_mmc_cleanup(struct device *dev) in n8x0_mmc_cleanup() 474 static int n8x0_menelaus_late_init(struct device *dev) in n8x0_menelaus_late_init() 488 static int n8x0_menelaus_late_init(struct device *dev) in n8x0_menelaus_late_init()
|
| /arch/arm/include/asm/ |
| A D | dma-iommu.h | 27 arm_iommu_create_mapping(struct device *dev, dma_addr_t base, u64 size); 31 int arm_iommu_attach_device(struct device *dev, 33 void arm_iommu_detach_device(struct device *dev);
|
| /arch/sparc/kernel/ |
| A D | sysfs.c | 20 static ssize_t show_##NAME(struct device *dev, \ 123 static ssize_t show_mmustat_enable(struct device *s, in show_mmustat_enable() 131 static ssize_t store_mmustat_enable(struct device *s, in store_mmustat_enable() 154 static int register_mmu_stats(struct device *s) in register_mmu_stats() 163 static void unregister_mmu_stats(struct device *s) in unregister_mmu_stats() 173 static ssize_t show_##NAME(struct device *dev, \ 181 static ssize_t show_##NAME(struct device *dev, \ 211 struct device *s = &c->dev; in register_cpu_online() 225 struct device *s = &c->dev; in unregister_cpu_online()
|