Home
last modified time | relevance | path

Searched refs:device (Results 4001 - 4025 of 29279) sorted by relevance

1...<<161162163164165166167168169170>>...1172

/kernel/linux/linux-5.10/sound/firewire/fireface/
H A Dff.c36 dev_name(&ff->unit->device), 100 << fw_dev->max_speed); in name_card()
55 err = snd_card_new(&ff->unit->device, -1, NULL, THIS_MODULE, 0, in do_registration()
95 dev_info(&ff->unit->device, in do_registration()
104 ff = devm_kzalloc(&unit->device, sizeof(struct snd_ff), GFP_KERNEL); in snd_ff_probe()
108 dev_set_drvdata(&unit->device, ff); in snd_ff_probe()
126 struct snd_ff *ff = dev_get_drvdata(&unit->device); in snd_ff_update()
140 struct snd_ff *ff = dev_get_drvdata(&unit->device); in snd_ff_remove()
/kernel/linux/linux-5.10/drivers/platform/chrome/
H A Dcros_usbpd_notify.c21 struct device *dev;
31 * "GOOG0003" ACPI device. On non-ACPI platforms this will filter mkbp events
59 * @ec_dev: EC device
100 static void cros_usbpd_get_event_and_notify(struct device *dev, in cros_usbpd_get_event_and_notify()
109 * have the updated device heirarchy. in cros_usbpd_get_event_and_notify()
113 "EC device inaccessible; sending 0 event status.\n"); in cros_usbpd_get_event_and_notify()
135 static void cros_usbpd_notify_acpi(acpi_handle device, u32 event, void *data) in cros_usbpd_notify_acpi() argument
145 struct device *dev = &pdev->dev; in cros_usbpd_notify_probe_acpi()
156 /* Get the EC device pointer needed to talk to the EC. */ in cros_usbpd_notify_probe_acpi()
161 * correct device heirarch in cros_usbpd_notify_probe_acpi()
[all...]
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-coh901331.c77 static int coh901331_read_time(struct device *dev, struct rtc_time *tm) in coh901331_read_time()
93 static int coh901331_set_time(struct device *dev, struct rtc_time *tm) in coh901331_set_time()
104 static int coh901331_read_alarm(struct device *dev, struct rtc_wkalrm *alarm) in coh901331_read_alarm()
117 static int coh901331_set_alarm(struct device *dev, struct rtc_wkalrm *alarm) in coh901331_set_alarm()
130 static int coh901331_alarm_irq_enable(struct device *dev, unsigned int enabled) in coh901331_alarm_irq_enable()
218 static int coh901331_suspend(struct device *dev) in coh901331_suspend()
239 static int coh901331_resume(struct device *dev) in coh901331_resume()
/kernel/linux/linux-5.10/drivers/staging/media/imx/
H A Dimx-media.h12 #include <media/v4l2-device.h>
135 /* an entry in a pad's video device list */
150 /* master video device list */
159 /* IC scaler/CSC mem2mem video device */
231 void imx_media_free_dma_buf(struct device *dev,
233 int imx_media_alloc_dma_buf(struct device *dev,
243 struct imx_media_dev *imx_media_dev_init(struct device *dev,
271 struct device *ipu_dev,
278 struct device *ipu_dev,
285 imx_media_capture_device_init(struct device *de
[all...]
/kernel/linux/linux-6.6/include/drm/
H A Ddrm_mipi_dsi.h12 #include <linux/device.h>
68 * @attach: attach DSI device to DSI host
69 * @detach: detach DSI device from DSI host
85 * host is in. Drivers that need the underlying device to be powered to
99 * struct mipi_dsi_host - DSI host device
100 * @dev: driver model device node for this DSI host
105 struct device *dev;
136 /* device supports non-continuous clock behavior (DSI spec 5.6.1) */
156 * @node: pointer to OF device node or NULL
159 * DSI device
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/imx/
H A Dimx-media.h12 #include <media/v4l2-device.h>
138 /* an entry in a pad's video device list */
153 /* master video device list */
162 /* IC scaler/CSC mem2mem video device */
219 void imx_media_free_dma_buf(struct device *dev,
221 int imx_media_alloc_dma_buf(struct device *dev,
231 struct imx_media_dev *imx_media_dev_init(struct device *dev,
257 struct device *ipu_dev,
264 struct device *ipu_dev,
271 imx_media_capture_device_init(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Draid_class.c34 struct device dev;
59 static int raid_match(struct attribute_container *cont, struct device *dev) in raid_match()
77 static int raid_setup(struct transport_container *tc, struct device *dev, in raid_setup()
78 struct device *cdev) in raid_setup()
94 static int raid_remove(struct transport_container *tc, struct device *dev, in raid_remove()
95 struct device *cdev) in raid_remove()
175 static ssize_t raid_show_##attr(struct device *dev, \
263 MODULE_DESCRIPTION("RAID device class");
/kernel/linux/linux-6.6/drivers/base/
H A Dsoc.c22 static ssize_t soc_info_show(struct device *dev, struct device_attribute *attr,
26 struct device dev;
42 struct device *soc_device_to_device(struct soc_device *soc_dev) in soc_device_to_device()
51 struct device *dev = kobj_to_dev(kobj); in soc_attribute_mode()
69 static ssize_t soc_info_show(struct device *dev, struct device_attribute *attr, in soc_info_show()
105 static void soc_release(struct device *dev) in soc_release()
233 static int soc_device_match_one(struct device *dev, void *arg) in soc_device_match_one()
248 * in cases where either no device tree is available or the information
249 * in a device node is insufficient to identify a particular variant
/kernel/linux/linux-6.6/drivers/bus/
H A Dbt1-axi.c15 #include <linux/device.h>
36 * @dev: Pointer to the device structure.
45 struct device *dev;
94 struct device *dev = &pdev->dev; in bt1_axi_create_data()
118 struct device *dev = axi->dev; in bt1_axi_request_regs()
195 static ssize_t count_show(struct device *dev, in count_show()
204 static ssize_t inject_error_show(struct device *dev, in inject_error_show()
210 static ssize_t inject_error_store(struct device *dev, in inject_error_store()
/kernel/linux/linux-6.6/drivers/char/xillybus/
H A Dxillybus_class.c10 #include <linux/device.h>
43 int xillybus_init_chrdev(struct device *dev, in xillybus_init_chrdev()
56 struct device *device; in xillybus_init_chrdev() local
126 device = device_create(&xillybus_class, in xillybus_init_chrdev()
133 if (IS_ERR(device)) { in xillybus_init_chrdev()
134 dev_err(dev, "Failed to create %s device. Aborting.\n", in xillybus_init_chrdev()
149 dev_info(dev, "Created %d device files.\n", num_nodes); in xillybus_init_chrdev()
176 struct device *dev) in xillybus_cleanup_chrdev()
205 dev_info(dev, "Removed %d device file in xillybus_cleanup_chrdev()
[all...]
/kernel/linux/linux-6.6/drivers/char/hw_random/
H A Dstm32-rng.c46 pm_runtime_get_sync((struct device *) priv->rng.priv); in stm32_rng_read()
60 dev_err((struct device *)priv->rng.priv, in stm32_rng_read()
79 pm_runtime_mark_last_busy((struct device *) priv->rng.priv); in stm32_rng_read()
80 pm_runtime_put_sync_autosuspend((struct device *) priv->rng.priv); in stm32_rng_read()
118 struct device *dev = &ofdev->dev; in stm32_rng_probe()
175 static int stm32_rng_runtime_suspend(struct device *dev) in stm32_rng_runtime_suspend()
184 static int stm32_rng_runtime_resume(struct device *dev) in stm32_rng_runtime_resume()
222 MODULE_DESCRIPTION("STMicroelectronics STM32 RNG device driver");
/kernel/linux/linux-6.6/drivers/cxl/
H A Dmem.c4 #include <linux/device.h>
24 * cxl_mem driver adds the device it is bound to as a CXL endpoint-port for use
40 struct device *dev = file->private; in cxl_mem_dpa_show()
48 static int devm_cxl_add_endpoint(struct device *host, struct cxl_memdev *cxlmd, in devm_cxl_add_endpoint()
107 static int cxl_mem_probe(struct device *dev) in cxl_mem_probe()
112 struct device *endpoint_parent; in cxl_mem_probe()
122 * Someone is trying to reattach this device after it lost its port in cxl_mem_probe()
185 * The kernel may be operating out of CXL memory on this device, in cxl_mem_probe()
186 * there is no spec defined way to determine whether this device in cxl_mem_probe()
192 * TODO: support suspend when all the regions this device i in cxl_mem_probe()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireguard/
H A Dtimers.c7 #include "device.h"
35 if (likely(netif_running(peer->device->dev) && in mod_peer_timer()
48 peer->device->dev->name, peer->internal_id, in wg_expired_retransmit_handshake()
66 peer->device->dev->name, peer->internal_id, in wg_expired_retransmit_handshake()
96 peer->device->dev->name, peer->internal_id, in wg_expired_new_handshake()
112 if (!queue_work(peer->device->handshake_send_wq, in wg_expired_zero_key_material()
128 peer->device->dev->name, peer->internal_id, in wg_queued_expired_zero_key_material()
156 if (likely(netif_running(peer->device->dev))) { in wg_timers_data_received()
/kernel/linux/linux-6.6/drivers/media/platform/nxp/imx-jpeg/
H A Dmxc-jpeg-hw.c21 void print_descriptor_info(struct device *dev, struct mxc_jpeg_desc *desc) in print_descriptor_info()
35 void print_cast_status(struct device *dev, void __iomem *reg, in print_cast_status()
63 void print_wrapper_info(struct device *dev, void __iomem *reg) in print_wrapper_info()
100 void mxc_jpeg_enc_mode_conf(struct device *dev, void __iomem *reg, u8 extseq) in mxc_jpeg_enc_mode_conf()
115 void mxc_jpeg_enc_mode_go(struct device *dev, void __iomem *reg, u8 extseq) in mxc_jpeg_enc_mode_go()
127 void mxc_jpeg_enc_set_quality(struct device *dev, void __iomem *reg, u8 quality) in mxc_jpeg_enc_set_quality()
135 void mxc_jpeg_dec_mode_go(struct device *dev, void __iomem *reg) in mxc_jpeg_dec_mode_go()
/kernel/linux/linux-6.6/drivers/parport/
H A Dprobe.c3 * Parallel port device probing code
20 { "", "Legacy device" },
23 { "NET", "Network device" },
26 { "MEDIA", "Multimedia device" },
31 { "", "Unknown device" },
37 static void pretty_print(struct parport *port, int device) in pretty_print() argument
39 struct parport_device_info *info = &port->probe_info[device + 1]; in pretty_print()
43 if (device >= 0) in pretty_print()
44 pr_cont(" (addr %d)", device); in pretty_print()
53 static void parse_data(struct parport *port, int device, cha argument
[all...]
/kernel/linux/linux-6.6/drivers/of/
H A Ddevice.c19 * of_match_device - Tell if a struct device matches an of_device_id list
20 * @matches: array of of device match structures to search in
21 * @dev: the of device structure to match against
27 const struct device *dev) in of_match_device()
36 of_dma_set_restricted_buffer(struct device *dev, struct device_node *np) in of_dma_set_restricted_buffer()
82 * @force_dma: Whether device is to be set up by of_dma_configure() even if
93 int of_dma_configure_id(struct device *dev, struct device_node *np, in of_dma_configure_id()
181 dev_dbg(dev, "device is%sdma coherent\n", in of_dma_configure_id()
193 dev_dbg(dev, "device is%sbehind an iommu\n", in of_dma_configure_id()
205 const void *of_device_get_match_data(const struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Daht10.c284 static int aht10_hwmon_read(struct device *dev, enum hwmon_sensor_types type, in aht10_hwmon_read()
301 static int aht10_hwmon_write(struct device *dev, enum hwmon_sensor_types type, in aht10_hwmon_write()
336 struct device *device = &client->dev; in aht10_probe() local
337 struct device *hwmon_dev; in aht10_probe()
344 data = devm_kzalloc(device, sizeof(*data), GFP_KERNEL); in aht10_probe()
372 hwmon_dev = devm_hwmon_device_register_with_info(device, in aht10_probe()
H A Dsht4x.c187 static int sht4x_hwmon_read(struct device *dev, enum hwmon_sensor_types type, in sht4x_hwmon_read()
204 static int sht4x_hwmon_write(struct device *dev, enum hwmon_sensor_types type, in sht4x_hwmon_write()
237 struct device *device = &client->dev; in sht4x_probe() local
238 struct device *hwmon_dev; in sht4x_probe()
251 data = devm_kzalloc(device, sizeof(*data), GFP_KERNEL); in sht4x_probe()
268 hwmon_dev = devm_hwmon_device_register_with_info(device, in sht4x_probe()
H A Dsht21.c17 #include <linux/device.h>
29 * struct sht21 - SHT21 device specific data
30 * @client: I2C client device
79 * sht21_update_measurements() - get updated measurements from device
80 * @dev: device
84 static int sht21_update_measurements(struct device *dev) in sht21_update_measurements()
118 * @dev: device
119 * @attr: device attribute
125 static ssize_t sht21_temperature_show(struct device *dev, in sht21_temperature_show()
140 * @dev: device
[all...]
H A Dg760a.c82 static struct g760a_data *g760a_update_client(struct device *dev) in g760a_update_client()
106 static ssize_t fan1_input_show(struct device *dev, in fan1_input_show()
120 static ssize_t fan1_alarm_show(struct device *dev, in fan1_alarm_show()
130 static ssize_t pwm1_show(struct device *dev, struct device_attribute *da, in pwm1_show()
138 static ssize_t pwm1_store(struct device *dev, struct device_attribute *da, in pwm1_store()
175 struct device *dev = &client->dev; in g760a_probe()
177 struct device *hwmon_dev; in g760a_probe()
H A Dad7414.c69 static struct ad7414_data *ad7414_update_device(struct device *dev) in ad7414_update_device()
106 static ssize_t temp_input_show(struct device *dev, in temp_input_show()
114 static ssize_t max_min_show(struct device *dev, struct device_attribute *attr, in max_min_show()
122 static ssize_t max_min_store(struct device *dev, in max_min_store()
149 static ssize_t alarm_show(struct device *dev, struct device_attribute *attr, in alarm_show()
174 struct device *dev = &client->dev; in ad7414_probe()
176 struct device *hwmon_dev; in ad7414_probe()
H A Dadcxx.c28 #include <linux/device.h>
40 struct device *hwmon_dev;
47 static ssize_t adcxx_show(struct device *dev, in adcxx_show()
84 static ssize_t adcxx_min_show(struct device *dev, in adcxx_min_show()
91 static ssize_t adcxx_max_show(struct device *dev, in adcxx_max_show()
108 static ssize_t adcxx_max_store(struct device *dev, in adcxx_max_store()
129 static ssize_t adcxx_name_show(struct device *dev, in adcxx_name_show()
H A Dlm73.c62 static ssize_t temp_store(struct device *dev, struct device_attribute *da, in temp_store()
81 static ssize_t temp_show(struct device *dev, struct device_attribute *da, in temp_show()
98 static ssize_t convrate_store(struct device *dev, struct device_attribute *da, in convrate_store()
133 static ssize_t convrate_show(struct device *dev, struct device_attribute *da, in convrate_show()
143 static ssize_t maxmin_alarm_show(struct device *dev, in maxmin_alarm_show()
190 /* device probe and removal */
195 struct device *dev = &client->dev; in lm73_probe()
196 struct device *hwmon_dev; in lm73_probe()
255 /* Check device ID */ in lm73_detect()
/kernel/linux/linux-6.6/drivers/media/cec/core/
H A Dcec-notifier.c26 struct device *hdmi_dev;
39 * device and connector tuple.
40 * @hdmi_dev: device that sends the events.
43 * If a notifier for device @dev already exists, then increase the refcount
52 cec_notifier_get_conn(struct device *hdmi_dev, const char *port_name) in cec_notifier_get_conn()
106 cec_notifier_conn_register(struct device *hdmi_dev, const char *port_name, in cec_notifier_conn_register()
149 cec_notifier_cec_adap_register(struct device *hdmi_dev, const char *port_name, in cec_notifier_cec_adap_register()
214 struct device *cec_notifier_parse_hdmi_phandle(struct device *dev) in cec_notifier_parse_hdmi_phandle()
217 struct device *hdmi_de in cec_notifier_parse_hdmi_phandle()
[all...]
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8192/
H A Dmt8192-afe-gpio.c104 static int mt8192_afe_gpio_select(struct device *dev, in mt8192_afe_gpio_select()
131 int mt8192_afe_gpio_init(struct device *dev) in mt8192_afe_gpio_init()
165 static int mt8192_afe_gpio_adda_dl(struct device *dev, bool enable) in mt8192_afe_gpio_adda_dl()
176 static int mt8192_afe_gpio_adda_ul(struct device *dev, bool enable) in mt8192_afe_gpio_adda_ul()
187 static int mt8192_afe_gpio_adda_ch34_dl(struct device *dev, bool enable) in mt8192_afe_gpio_adda_ch34_dl()
198 static int mt8192_afe_gpio_adda_ch34_ul(struct device *dev, bool enable) in mt8192_afe_gpio_adda_ch34_ul()
209 int mt8192_afe_gpio_request(struct device *dev, bool enable, in mt8192_afe_gpio_request()

Completed in 17 milliseconds

1...<<161162163164165166167168169170>>...1172