Home
last modified time | relevance | path

Searched refs:device (Results 3301 - 3325 of 29333) sorted by relevance

1...<<131132133134135136137138139140>>...1174

/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-ep93xx.c33 static int ep93xx_rtc_get_swcomp(struct device *dev, unsigned short *preload, in ep93xx_rtc_get_swcomp()
52 static int ep93xx_rtc_read_time(struct device *dev, struct rtc_time *tm) in ep93xx_rtc_read_time()
63 static int ep93xx_rtc_set_time(struct device *dev, struct rtc_time *tm) in ep93xx_rtc_set_time()
72 static int ep93xx_rtc_proc(struct device *dev, struct seq_file *seq) in ep93xx_rtc_proc()
90 static ssize_t comp_preload_show(struct device *dev, in comp_preload_show()
101 static ssize_t comp_delete_show(struct device *dev, in comp_delete_show()
/kernel/linux/linux-5.10/include/linux/fpga/
H A Dfpga-mgr.h89 * @dev: device that owns this
102 struct device *dev;
160 * @dev: fpga manager device
169 struct device dev;
179 struct fpga_image_info *fpga_image_info_alloc(struct device *dev);
190 struct fpga_manager *fpga_mgr_get(struct device *dev);
194 struct fpga_manager *fpga_mgr_create(struct device *dev, const char *name,
201 struct fpga_manager *devm_fpga_mgr_create(struct device *dev, const char *name,
/kernel/linux/linux-6.6/drivers/mmc/host/
H A Dof_mmc_spi.c12 #include <linux/device.h>
29 static struct of_mmc_spi *to_of_mmc_spi(struct device *dev) in to_of_mmc_spi()
34 static int of_mmc_spi_init(struct device *dev, in of_mmc_spi_init()
43 static void of_mmc_spi_exit(struct device *dev, void *mmc) in of_mmc_spi_exit()
53 struct device *dev = &spi->dev; in mmc_spi_get_pdata()
88 struct device *dev = &spi->dev; in mmc_spi_put_pdata()
/kernel/linux/linux-6.6/include/linux/
H A Dof_mdio.h11 #include <linux/device.h>
26 int __devm_of_mdiobus_register(struct device *dev, struct mii_bus *mdio,
29 static inline int devm_of_mdiobus_register(struct device *dev, in devm_of_mdiobus_register()
53 static inline int of_mdio_parse_addr(struct device *dev, in of_mdio_parse_addr()
91 static inline int devm_of_mdiobus_register(struct device *dev, in devm_of_mdiobus_register()
128 static inline int of_mdio_parse_addr(struct device *dev, in of_mdio_parse_addr()
H A Dintel-ish-client-if.h11 #include <linux/device.h>
32 * struct ishtp_cl_device - ISHTP device handle
34 * @name: Name of the device for probe
35 * @probe: driver callback for device probe
36 * @remove: driver callback on device removal
38 * Client drivers defines to get probed/removed for ISHTP client device.
79 int ishtp_register_event_cb(struct ishtp_cl_device *device,
82 /* Get the device * from ishtp device instance */
83 struct device *ishtp_devic
[all...]
H A Dnvmem-provider.h12 #include <linux/device/driver.h>
54 * @offset: Offset within the NVMEM device.
77 * struct nvmem_config - NVMEM device configuration
79 * @dev: Parent device.
81 * @id: Optional device ID used in full name. Ignored if name is NULL.
99 * @layout: Fixed layout associated with this nvmem device.
101 * Note: A default "nvmem<id>" name will be assigned to the device if
105 * Note: Specifying name and setting id to -1 implies a unique device
109 struct device *dev;
132 struct device *base_de
[all...]
/kernel/linux/linux-6.6/include/linux/pinctrl/
H A Dpinctrl.h16 struct device;
96 * @pin_dbg_show: optional debugfs display hook that will provide per-device
98 * @dt_node_to_map: parse a device tree "pin configuration node", and create
101 * omitted for pinctrl drivers that do not support device tree.
106 * not support device tree.
145 * @link_consumers: If true create a device link between pinctrl and its
169 struct device *dev, void *driver_data,
175 struct device *dev, void *driver_data);
179 extern int devm_pinctrl_register_and_init(struct device *dev,
185 extern struct pinctrl_dev *devm_pinctrl_register(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/thermal/
H A Dthermal_core.h12 #include <linux/device.h>
30 /* Initial state of a cooling device during binding */
82 * a certain cooling device on a certain trip point
101 unsigned int weight; /* The weight of the cooling device */
106 container_of(_dev, struct thermal_zone_device, device)
109 container_of(_dev, struct thermal_cooling_device, device)
133 ssize_t trip_point_show(struct device *, struct device_attribute *, char *);
134 ssize_t weight_show(struct device *, struct device_attribute *, char *);
135 ssize_t weight_store(struct device *, struct device_attribute *, const char *,
147 /* device tre
[all...]
/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-ep93xx.c33 static int ep93xx_rtc_get_swcomp(struct device *dev, unsigned short *preload, in ep93xx_rtc_get_swcomp()
52 static int ep93xx_rtc_read_time(struct device *dev, struct rtc_time *tm) in ep93xx_rtc_read_time()
63 static int ep93xx_rtc_set_time(struct device *dev, struct rtc_time *tm) in ep93xx_rtc_set_time()
72 static int ep93xx_rtc_proc(struct device *dev, struct seq_file *seq) in ep93xx_rtc_proc()
90 static ssize_t comp_preload_show(struct device *dev, in comp_preload_show()
101 static ssize_t comp_delete_show(struct device *dev, in comp_delete_show()
/kernel/linux/linux-6.6/drivers/power/reset/
H A Dvexpress-poweroff.c16 static void vexpress_reset_do(struct device *dev, const char *what) in vexpress_reset_do()
30 static struct device *vexpress_power_off_device;
38 static struct device *vexpress_restart_device;
53 static ssize_t vexpress_reset_active_show(struct device *dev, in vexpress_reset_active_show()
59 static ssize_t vexpress_reset_active_store(struct device *dev, in vexpress_reset_active_store()
91 static int _vexpress_register_restart_handler(struct device *dev) in _vexpress_register_restart_handler()
H A Dodroid-go-ultra-poweroff.c24 struct device *dev;
25 struct device *rk817;
26 struct device *rk818;
70 struct device *dev = data; in odroid_go_ultra_poweroff_put_pmic_device()
75 static int odroid_go_ultra_poweroff_get_pmic_device(struct device *dev, const char *compatible, in odroid_go_ultra_poweroff_get_pmic_device()
76 struct device **pmic) in odroid_go_ultra_poweroff_get_pmic_device()
144 /* Only create when running on the Odroid Go Ultra device */ in odroid_go_ultra_poweroff_init()
165 /* Only delete when running on the Odroid Go Ultra device */ in odroid_go_ultra_poweroff_exit()
/kernel/linux/linux-6.6/drivers/platform/x86/intel/ifs/
H A Difs.h20 * with a new platform-device instance-id.
130 #include <linux/device.h>
245 struct device *dev;
254 static inline struct ifs_data *ifs_get_data(struct device *dev) in ifs_get_data()
262 static inline const struct ifs_test_caps *ifs_get_test_caps(struct device *dev) in ifs_get_test_caps()
271 int ifs_load_firmware(struct device *dev);
272 int do_core_test(int cpu, struct device *dev);
H A Dsysfs.c22 static ssize_t details_show(struct device *dev, in details_show()
44 static ssize_t status_show(struct device *dev, in status_show()
63 static ssize_t run_test_store(struct device *dev, in run_test_store()
86 static ssize_t current_batch_store(struct device *dev, in current_batch_store()
110 static ssize_t current_batch_show(struct device *dev, in current_batch_show()
126 static ssize_t image_version_show(struct device *dev, in image_version_show()
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dehci-sysfs.c10 static ssize_t companion_show(struct device *dev, in companion_show()
37 static ssize_t companion_store(struct device *dev, in companion_store()
68 static ssize_t uframe_periodic_max_show(struct device *dev, in uframe_periodic_max_show()
81 static ssize_t uframe_periodic_max_store(struct device *dev, in uframe_periodic_max_store()
151 struct device *controller = ehci_to_hcd(ehci)->self.controller; in create_sysfs_files()
167 struct device *controller = ehci_to_hcd(ehci)->self.controller; in remove_sysfs_files()
/kernel/linux/linux-6.6/drivers/usb/misc/
H A Dusb4604.c24 struct device *dev;
39 struct device *dev = hub->dev; in usb4604_connect()
60 struct device *dev = hub->dev; in usb4604_switch_mode()
84 struct device *dev = hub->dev; in usb4604_probe()
114 static int __maybe_unused usb4604_i2c_suspend(struct device *dev) in usb4604_i2c_suspend()
124 static int __maybe_unused usb4604_i2c_resume(struct device *dev) in usb4604_i2c_resume()
/kernel/linux/linux-6.6/drivers/base/
H A Dphysical_location.c13 bool dev_add_physical_location(struct device *dev) in dev_add_physical_location()
42 static ssize_t panel_show(struct device *dev, struct device_attribute *attr, in panel_show()
73 static ssize_t vertical_position_show(struct device *dev, in vertical_position_show()
95 static ssize_t horizontal_position_show(struct device *dev, in horizontal_position_show()
117 static ssize_t dock_show(struct device *dev, struct device_attribute *attr, in dock_show()
125 static ssize_t lid_show(struct device *dev, struct device_attribute *attr, in lid_show()
/kernel/linux/linux-6.6/drivers/clk/uniphier/
H A Dclk-uniphier.h11 struct device;
126 struct clk_hw *uniphier_clk_register_cpugear(struct device *dev,
130 struct clk_hw *uniphier_clk_register_fixed_factor(struct device *dev,
133 struct clk_hw *uniphier_clk_register_fixed_rate(struct device *dev,
136 struct clk_hw *uniphier_clk_register_gate(struct device *dev,
140 struct clk_hw *uniphier_clk_register_mux(struct device *dev,
/kernel/linux/linux-6.6/include/sound/
H A Dintel-nhlt.h129 struct nhlt_acpi_table *intel_nhlt_init(struct device *dev);
133 int intel_nhlt_get_dmic_geo(struct device *dev, struct nhlt_acpi_table *nhlt);
142 intel_nhlt_get_endpoint_blob(struct device *dev, struct nhlt_acpi_table *nhlt,
148 static inline struct nhlt_acpi_table *intel_nhlt_init(struct device *dev) in intel_nhlt_init()
157 static inline int intel_nhlt_get_dmic_geo(struct device *dev, in intel_nhlt_get_dmic_geo()
180 intel_nhlt_get_endpoint_blob(struct device *dev, struct nhlt_acpi_table *nhlt, in intel_nhlt_get_endpoint_blob()
H A Dsoc-card.h67 unsigned short device) in snd_soc_card_set_pci_ssid()
70 card->pci_subsystem_device = device; in snd_soc_card_set_pci_ssid()
76 unsigned short *device) in snd_soc_card_get_pci_ssid()
82 *device = card->pci_subsystem_device; in snd_soc_card_get_pci_ssid()
89 unsigned short device) in snd_soc_card_set_pci_ssid()
95 unsigned short *device) in snd_soc_card_get_pci_ssid()
101 /* device driver data */
65 snd_soc_card_set_pci_ssid(struct snd_soc_card *card, unsigned short vendor, unsigned short device) snd_soc_card_set_pci_ssid() argument
74 snd_soc_card_get_pci_ssid(struct snd_soc_card *card, unsigned short *vendor, unsigned short *device) snd_soc_card_get_pci_ssid() argument
87 snd_soc_card_set_pci_ssid(struct snd_soc_card *card, unsigned short vendor, unsigned short device) snd_soc_card_set_pci_ssid() argument
93 snd_soc_card_get_pci_ssid(struct snd_soc_card *card, unsigned short *vendor, unsigned short *device) snd_soc_card_get_pci_ssid() argument
/kernel/linux/linux-6.6/drivers/devfreq/
H A Dimx-bus.c8 #include <linux/device.h>
22 static int imx_bus_target(struct device *dev, in imx_bus_target()
39 static int imx_bus_get_cur_freq(struct device *dev, unsigned long *freq) in imx_bus_get_cur_freq()
48 static void imx_bus_exit(struct device *dev) in imx_bus_exit()
57 static int imx_bus_init_icc(struct device *dev) in imx_bus_init_icc()
88 struct device *dev = &pdev->dev; in imx_bus_probe()
129 dev_err(dev, "failed to add devfreq device: %d\n", ret); in imx_bus_probe()
/kernel/linux/linux-6.6/drivers/dma/idxd/
H A Dcompat.c6 #include <linux/device.h>
7 #include <linux/device/bus.h>
10 extern int device_driver_attach(struct device_driver *drv, struct device *dev);
11 extern void device_driver_detach(struct device *dev);
20 struct device *dev; in unbind_store()
36 struct device *dev; in bind_store()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/include/
H A Dcgs_common.h85 * @cgs_device: opaque device handle
94 * @cgs_device: opaque device handle
103 * @cgs_device: opaque device handle
113 * @cgs_device: opaque device handle
130 #define CGS_WREG32_FIELD(device, reg, field, val) \
131 cgs_write_register(device, mm##reg, (cgs_read_register(device, mm##reg) & ~CGS_REG_FIELD_MASK(reg, field)) | (val) << CGS_REG_FIELD_SHIFT(reg, field))
133 #define CGS_WREG32_FIELD_IND(device, space, reg, field, val) \
134 cgs_write_ind_register(device, space, ix##reg, (cgs_read_ind_register(device, spac
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/qcom/camss/
H A Dcamss.h13 #include <linux/device.h>
16 #include <media/v4l2-device.h>
18 #include <media/media-device.h>
93 struct device *dev;
104 struct device **genpd;
129 struct device *dev);
/kernel/linux/linux-6.6/drivers/nubus/
H A Dbus.c7 #include <linux/device.h>
17 static int nubus_device_probe(struct device *dev) in nubus_device_probe()
27 static void nubus_device_remove(struct device *dev) in nubus_device_remove()
55 static struct device nubus_parent = {
70 static void nubus_device_release(struct device *dev) in nubus_device_release()
94 static int nubus_print_device_name_fn(struct device *dev, void *data) in nubus_print_device_name_fn()
/kernel/linux/linux-6.6/drivers/nvdimm/
H A Dregion.c8 #include <linux/device.h>
13 static int nd_region_probe(struct device *dev) in nd_region_probe()
30 dev_dbg(dev, "setting nr_cpus=%d may yield better libnvdimm device performance\n", in nd_region_probe()
77 static int child_unregister(struct device *dev, void *data) in child_unregister()
83 static void nd_region_remove(struct device *dev) in nd_region_remove()
116 static int child_notify(struct device *dev, void *data) in child_notify()
122 static void nd_region_notify(struct device *dev, enum nvdimm_event event) in nd_region_notify()

Completed in 14 milliseconds

1...<<131132133134135136137138139140>>...1174