Home
last modified time | relevance | path

Searched refs:device (Results 4826 - 4850 of 28310) sorted by relevance

1...<<191192193194195196197198199200>>...1133

/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dearly-quirks.c8 Most PCI device specific workarounds can be done later and should be
214 u16 device; in intel_remapping_check() local
216 device = read_pci_config_16(num, slot, func, PCI_DEVICE_ID); in intel_remapping_check()
223 * revision 0x22 of device id 0x3405 has this problem. in intel_remapping_check()
227 else if (device == 0x3405 && revision == 0x22) in intel_remapping_check()
333 * (desktop) machines this is also mirrored in the bridge device at in gen3_stolen_base()
589 u16 device; in intel_graphics_quirks() local
599 device = read_pci_config_16(num, slot, func, PCI_DEVICE_ID); in intel_graphics_quirks()
604 if (intel_early_ids[i].device != device) in intel_graphics_quirks()
686 u32 device; global() member
744 u16 device; check_dev_quirk() local
[all...]
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dtime.c31 #include <linux/device.h>
732 static ssize_t ctn_id_show(struct device *dev, in ctn_id_show()
748 static ssize_t ctn_type_show(struct device *dev, in ctn_type_show()
763 static ssize_t dst_offset_show(struct device *dev, in dst_offset_show()
778 static ssize_t leap_seconds_show(struct device *dev, in leap_seconds_show()
793 static ssize_t leap_seconds_scheduled_show(struct device *dev, in leap_seconds_scheduled_show()
821 static ssize_t stratum_show(struct device *dev, in stratum_show()
836 static ssize_t time_offset_show(struct device *dev, in time_offset_show()
851 static ssize_t time_zone_offset_show(struct device *dev, in time_zone_offset_show()
866 static ssize_t timing_mode_show(struct device *de
[all...]
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dtime.c31 #include <linux/device.h>
724 static ssize_t ctn_id_show(struct device *dev, in ctn_id_show()
740 static ssize_t ctn_type_show(struct device *dev, in ctn_type_show()
755 static ssize_t dst_offset_show(struct device *dev, in dst_offset_show()
770 static ssize_t leap_seconds_show(struct device *dev, in leap_seconds_show()
785 static ssize_t leap_seconds_scheduled_show(struct device *dev, in leap_seconds_scheduled_show()
813 static ssize_t stratum_show(struct device *dev, in stratum_show()
828 static ssize_t time_offset_show(struct device *dev, in time_offset_show()
843 static ssize_t time_zone_offset_show(struct device *dev, in time_zone_offset_show()
858 static ssize_t timing_mode_show(struct device *de
[all...]
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-roccat-kone.c18 * device on the press of a mousebutton.
25 #include <linux/device.h>
92 /* kone_class is used for creating sysfs attributes via roccat char device */
269 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kone_sysfs_read_settings()
293 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kone_sysfs_write_settings()
339 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kone_sysfs_read_profilex()
359 struct device *dev = kobj_to_dev(kobj)->parent->parent; in kone_sysfs_write_profilex()
401 static ssize_t kone_sysfs_show_actual_profile(struct device *dev, in kone_sysfs_show_actual_profile()
410 static ssize_t kone_sysfs_show_actual_dpi(struct device *dev, in kone_sysfs_show_actual_dpi()
420 static ssize_t kone_sysfs_show_weight(struct device *de
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dlm80.c156 static struct lm80_data *lm80_update_device(struct device *dev) in lm80_update_device()
259 static ssize_t in_show(struct device *dev, struct device_attribute *attr, in in_show()
271 static ssize_t in_store(struct device *dev, struct device_attribute *attr, in in_store()
293 static ssize_t fan_show(struct device *dev, struct device_attribute *attr, in fan_show()
305 static ssize_t fan_div_show(struct device *dev, struct device_attribute *attr, in fan_div_show()
315 static ssize_t fan_store(struct device *dev, struct device_attribute *attr, in fan_store()
342 static ssize_t fan_div_store(struct device *dev, in fan_div_store()
401 static ssize_t temp_show(struct device *dev, struct device_attribute *devattr, in temp_show()
411 static ssize_t temp_store(struct device *dev, in temp_store()
431 static ssize_t alarms_show(struct device *de
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A Daha1740.c50 #include <linux/device.h>
190 device driver */ in aha1740_makecode()
320 struct aha1740_hostdata *host = HOSTDATA(SCpnt->device->host); in aha1740_queuecommand_lck()
348 spin_lock_irqsave(SCpnt->device->host->host_lock, flags); in aha1740_queuecommand_lck()
367 spin_unlock_irqrestore(SCpnt->device->host->host_lock, flags); in aha1740_queuecommand_lck()
421 host->ecb[ecbno].lun = SCpnt->device->lun; in aha1740_queuecommand_lck()
426 host->ecb[ecbno].senseptr = ecb_cpu_to_dma (SCpnt->device->host, in aha1740_queuecommand_lck()
428 host->ecb[ecbno].statusptr = ecb_cpu_to_dma (SCpnt->device->host, in aha1740_queuecommand_lck()
457 unsigned int base = SCpnt->device->host->io_port; in aha1740_queuecommand_lck()
460 spin_lock_irqsave(SCpnt->device in aha1740_queuecommand_lck()
[all...]
/kernel/linux/linux-5.10/drivers/sh/maple/
H A Dmaple.c15 #include <linux/device.h>
48 static struct device maple_bus;
116 * @dev: device responding
119 * @function: the function code for the device
137 static void maple_release_device(struct device *dev) in maple_release_device()
151 * @mdev: maple device
152 * @function: function on device being queried
206 dev_err(&mdev->dev, "could not allocate memory for device (%d, %d)\n", in maple_allocq()
311 /* check if there is a driver registered likely to match this device */
330 /* process initial MAPLE_COMMAND_DEVINFO for each device o
407 check_maple_device(struct device *device, void *portptr) check_maple_device() argument
419 setup_maple_commands(struct device *device, void *ignored) setup_maple_commands() argument
[all...]
/kernel/linux/linux-5.10/drivers/tty/serdev/
H A Dcore.c26 static ssize_t modalias_show(struct device *dev, in modalias_show()
45 static int serdev_device_uevent(struct device *dev, struct kobj_uevent_env *env) in serdev_device_uevent()
58 static void serdev_device_release(struct device *dev) in serdev_device_release()
70 static bool is_serdev_device(const struct device *dev) in is_serdev_device()
75 static void serdev_ctrl_release(struct device *dev) in serdev_ctrl_release()
86 static int serdev_device_match(struct device *dev, struct device_driver *drv) in serdev_device_match()
99 * serdev_device_add() - add a device previously constructed via serdev_device_alloc()
105 struct device *parent = serdev->dev.parent; in serdev_device_add()
110 /* Only a single slave device is currently supported. */ in serdev_device_add()
124 dev_dbg(&serdev->dev, "device in serdev_device_add()
[all...]
/kernel/linux/linux-5.10/drivers/thunderbolt/
H A Ddomain.c9 #include <linux/device.h>
49 static const struct tb_service_id *__tb_service_match(struct device *dev, in __tb_service_match()
72 static int tb_service_match(struct device *dev, struct device_driver *drv) in tb_service_match()
77 static int tb_service_probe(struct device *dev) in tb_service_probe()
89 static int tb_service_remove(struct device *dev) in tb_service_remove()
101 static void tb_service_shutdown(struct device *dev) in tb_service_shutdown()
123 static ssize_t boot_acl_show(struct device *dev, struct device_attribute *attr, in boot_acl_show()
165 static ssize_t boot_acl_store(struct device *dev, struct device_attribute *attr, in boot_acl_store()
241 static ssize_t iommu_dma_protection_show(struct device *dev, in iommu_dma_protection_show()
255 static ssize_t security_show(struct device *de
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
H A Dhdmi4.c334 DSSERR("failed to power on device\n"); in hdmi_display_enable()
390 DSSERR("failed to power on device\n"); in hdmi_core_enable()
433 DSSERR("failed to connect output to new device: %s\n", in hdmi_connect()
551 static int hdmi_audio_startup(struct device *dev, in hdmi_audio_startup()
552 void (*abort_cb)(struct device *dev)) in hdmi_audio_startup()
572 static int hdmi_audio_shutdown(struct device *dev) in hdmi_audio_shutdown()
585 static int hdmi_audio_start(struct device *dev) in hdmi_audio_start()
602 static void hdmi_audio_stop(struct device *dev) in hdmi_audio_stop()
618 static int hdmi_audio_config(struct device *dev, in hdmi_audio_config()
651 static int hdmi_audio_register(struct device *de
[all...]
H A Dhdmi5.c364 DSSERR("failed to power on device\n"); in hdmi_display_enable()
420 DSSERR("failed to power on device\n"); in hdmi_core_enable()
463 DSSERR("failed to connect output to new device: %s\n", in hdmi_connect()
583 static int hdmi_audio_startup(struct device *dev, in hdmi_audio_startup()
584 void (*abort_cb)(struct device *dev)) in hdmi_audio_startup()
604 static int hdmi_audio_shutdown(struct device *dev) in hdmi_audio_shutdown()
617 static int hdmi_audio_start(struct device *dev) in hdmi_audio_start()
634 static void hdmi_audio_stop(struct device *dev) in hdmi_audio_stop()
650 static int hdmi_audio_config(struct device *dev, in hdmi_audio_config()
684 static int hdmi_audio_register(struct device *de
[all...]
/kernel/linux/linux-5.10/drivers/xen/xenbus/
H A Dxenbus_probe.c81 /* If something in array of ids matches this device, return it. */
92 int xenbus_match(struct device *_dev, struct device_driver *_drv) in xenbus_match()
209 int xenbus_dev_probe(struct device *_dev) in xenbus_dev_probe()
265 int xenbus_dev_remove(struct device *_dev) in xenbus_dev_remove()
285 * If the toolstack has forced the device state to closing then set in xenbus_dev_remove()
322 static int cmp_dev(struct device *dev, void *data) in cmp_dev()
344 static int cleanup_dev(struct device *dev, void *data) in cleanup_dev()
379 static void xenbus_dev_release(struct device *dev) in xenbus_dev_release()
385 static ssize_t nodename_show(struct device *dev, in nodename_show()
392 static ssize_t devtype_show(struct device *de
[all...]
/kernel/linux/linux-5.10/drivers/nvme/host/
H A Dnvme.h81 * The controller needs a delay before starts checking the device
107 * Ignore device provided subnqn.
251 struct device *dev;
258 struct device ctrl_device;
259 struct device *device; /* char device */ member
261 struct device *hwmon_device;
371 struct device dev;
373 * Because we unregister the device o
[all...]
/kernel/linux/linux-5.10/drivers/remoteproc/
H A Dti_k3_dsp_remoteproc.c43 * @dev_addr: device address for the memory entry
51 * struct k3_dsp_dev_data - device data structure for a DSP
66 * @dev: cached device pointer
67 * @rproc: remoteproc device handle
73 * @data: pointer to DSP-specific device data
76 * @ti_sci_id: TI-SCI device identifier
81 struct device *dev;
114 struct device *dev = kproc->rproc->dev.parent; in k3_dsp_rproc_mbox_callback()
154 struct device *dev = rproc->dev.parent; in k3_dsp_rproc_kick()
168 struct device *de in k3_dsp_rproc_reset()
[all...]
/kernel/linux/linux-5.10/drivers/staging/iio/resolver/
H A Dad2s1210.c9 #include <linux/device.h>
199 static ssize_t ad2s1210_show_fclkin(struct device *dev, in ad2s1210_show_fclkin()
208 static ssize_t ad2s1210_store_fclkin(struct device *dev, in ad2s1210_store_fclkin()
238 static ssize_t ad2s1210_show_fexcit(struct device *dev, in ad2s1210_show_fexcit()
247 static ssize_t ad2s1210_store_fexcit(struct device *dev, in ad2s1210_store_fexcit()
275 static ssize_t ad2s1210_show_control(struct device *dev, in ad2s1210_show_control()
288 static ssize_t ad2s1210_store_control(struct device *dev, in ad2s1210_store_control()
330 static ssize_t ad2s1210_show_resolution(struct device *dev, in ad2s1210_show_resolution()
339 static ssize_t ad2s1210_store_resolution(struct device *dev, in ad2s1210_store_resolution()
385 static ssize_t ad2s1210_show_fault(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/misc/uacce/
H A Duacce.c15 * If the parent driver or the device disappears, the queue state is invalid and
314 static ssize_t api_show(struct device *dev, in api_show()
322 static ssize_t flags_show(struct device *dev, in flags_show()
330 static ssize_t available_instances_show(struct device *dev, in available_instances_show()
343 static ssize_t algorithms_show(struct device *dev, in algorithms_show()
351 static ssize_t region_mmio_size_show(struct device *dev, in region_mmio_size_show()
360 static ssize_t region_dus_size_show(struct device *dev, in region_dus_size_show()
369 static ssize_t isolate_show(struct device *dev, in isolate_show()
377 static ssize_t isolate_strategy_show(struct device *dev, struct device_attribute *attr, char *buf) in isolate_strategy_show()
387 static ssize_t isolate_strategy_store(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Daha1740.c50 #include <linux/device.h>
195 device driver */ in aha1740_makecode()
328 struct aha1740_hostdata *host = HOSTDATA(SCpnt->device->host); in aha1740_queuecommand_lck()
356 spin_lock_irqsave(SCpnt->device->host->host_lock, flags); in aha1740_queuecommand_lck()
375 spin_unlock_irqrestore(SCpnt->device->host->host_lock, flags); in aha1740_queuecommand_lck()
429 host->ecb[ecbno].lun = SCpnt->device->lun; in aha1740_queuecommand_lck()
434 host->ecb[ecbno].senseptr = ecb_cpu_to_dma (SCpnt->device->host, in aha1740_queuecommand_lck()
436 host->ecb[ecbno].statusptr = ecb_cpu_to_dma (SCpnt->device->host, in aha1740_queuecommand_lck()
465 unsigned int base = SCpnt->device->host->io_port; in aha1740_queuecommand_lck()
468 spin_lock_irqsave(SCpnt->device in aha1740_queuecommand_lck()
[all...]
/kernel/linux/linux-6.6/drivers/staging/iio/resolver/
H A Dad2s1210.c9 #include <linux/device.h>
200 static ssize_t ad2s1210_show_fclkin(struct device *dev, in ad2s1210_show_fclkin()
209 static ssize_t ad2s1210_store_fclkin(struct device *dev, in ad2s1210_store_fclkin()
239 static ssize_t ad2s1210_show_fexcit(struct device *dev, in ad2s1210_show_fexcit()
248 static ssize_t ad2s1210_store_fexcit(struct device *dev, in ad2s1210_store_fexcit()
276 static ssize_t ad2s1210_show_control(struct device *dev, in ad2s1210_show_control()
289 static ssize_t ad2s1210_store_control(struct device *dev, in ad2s1210_store_control()
331 static ssize_t ad2s1210_show_resolution(struct device *dev, in ad2s1210_show_resolution()
340 static ssize_t ad2s1210_store_resolution(struct device *dev, in ad2s1210_store_resolution()
386 static ssize_t ad2s1210_show_fault(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/tty/serdev/
H A Dcore.c26 static ssize_t modalias_show(struct device *dev, in modalias_show()
45 static int serdev_device_uevent(const struct device *dev, struct kobj_uevent_env *env) in serdev_device_uevent()
58 static void serdev_device_release(struct device *dev) in serdev_device_release()
70 static bool is_serdev_device(const struct device *dev) in is_serdev_device()
75 static void serdev_ctrl_release(struct device *dev) in serdev_ctrl_release()
86 static int serdev_device_match(struct device *dev, struct device_driver *drv) in serdev_device_match()
99 * serdev_device_add() - add a device previously constructed via serdev_device_alloc()
105 struct device *parent = serdev->dev.parent; in serdev_device_add()
110 /* Only a single slave device is currently supported. */ in serdev_device_add()
124 dev_dbg(&serdev->dev, "device in serdev_device_add()
[all...]
/kernel/linux/linux-6.6/drivers/soc/qcom/
H A Dapr.c7 #include <linux/device.h>
29 struct device *dev;
48 * apr_send_pkt() - Send a apr message from apr device
50 * @adev: Pointer to previously registered apr device.
90 gpr_port_t *gpr_alloc_port(struct apr_device *gdev, struct device *dev, in gpr_alloc_port()
154 static void apr_dev_release(struct device *dev) in apr_dev_release()
341 static int apr_device_match(struct device *dev, struct device_driver *drv) in apr_device_match()
364 static int apr_device_probe(struct device *dev) in apr_device_probe()
377 static void apr_device_remove(struct device *dev) in apr_device_remove()
390 static int apr_uevent(const struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/dss/
H A Dhdmi5.c362 DSSERR("failed to power on device\n"); in hdmi_display_enable()
418 DSSERR("failed to power on device\n"); in hdmi_core_enable()
461 DSSERR("failed to connect output to new device: %s\n", in hdmi_connect()
581 static int hdmi_audio_startup(struct device *dev, in hdmi_audio_startup()
582 void (*abort_cb)(struct device *dev)) in hdmi_audio_startup()
602 static int hdmi_audio_shutdown(struct device *dev) in hdmi_audio_shutdown()
615 static int hdmi_audio_start(struct device *dev) in hdmi_audio_start()
632 static void hdmi_audio_stop(struct device *dev) in hdmi_audio_stop()
648 static int hdmi_audio_config(struct device *dev, in hdmi_audio_config()
682 static int hdmi_audio_register(struct device *de
[all...]
H A Dhdmi4.c332 DSSERR("failed to power on device\n"); in hdmi_display_enable()
388 DSSERR("failed to power on device\n"); in hdmi_core_enable()
431 DSSERR("failed to connect output to new device: %s\n", in hdmi_connect()
549 static int hdmi_audio_startup(struct device *dev, in hdmi_audio_startup()
550 void (*abort_cb)(struct device *dev)) in hdmi_audio_startup()
570 static int hdmi_audio_shutdown(struct device *dev) in hdmi_audio_shutdown()
583 static int hdmi_audio_start(struct device *dev) in hdmi_audio_start()
600 static void hdmi_audio_stop(struct device *dev) in hdmi_audio_stop()
616 static int hdmi_audio_config(struct device *dev, in hdmi_audio_config()
649 static int hdmi_audio_register(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/base/power/
H A Dwakeup.c9 #include <linux/device.h>
214 struct wakeup_source *wakeup_source_register(struct device *dev, in wakeup_source_register()
306 * device_wakeup_attach - Attach a wakeup source object to a device object.
310 * This causes @dev to be treated as a wakeup device.
312 static int device_wakeup_attach(struct device *dev, struct wakeup_source *ws) in device_wakeup_attach()
327 * device_wakeup_enable - Enable given device to be a wakeup source.
332 int device_wakeup_enable(struct device *dev) in device_wakeup_enable()
360 * Attach a device wakeirq to the wakeup source so the device
364 * Call under the device'
[all...]
/kernel/linux/linux-6.6/drivers/dma/idxd/
H A Dcdev.c7 #include <linux/device.h>
58 static inline struct idxd_user_context *dev_to_uctx(struct device *dev) in dev_to_uctx()
65 static ssize_t cr_faults_show(struct device *dev, struct device_attribute *attr, char *buf) in cr_faults_show()
73 static ssize_t cr_fault_failures_show(struct device *dev, in cr_fault_failures_show()
82 static ssize_t pid_show(struct device *dev, struct device_attribute *attr, char *buf) in pid_show()
99 struct device *dev = container_of(kobj, typeof(*dev), kobj); in cdev_file_attr_visible()
119 static void idxd_file_dev_release(struct device *dev) in idxd_file_dev_release()
161 static void idxd_cdev_dev_release(struct device *dev) in idxd_cdev_dev_release()
226 struct device *dev, *fdev; in idxd_cdev_open()
309 dev_warn(dev, "file device ad in idxd_cdev_open()
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/solo6x10/
H A Dsolo6x10-core.c145 /* Now cleanup the PCI device */ in free_solo_dev()
159 static ssize_t eeprom_store(struct device *dev, struct device_attribute *attr, in eeprom_store()
189 static ssize_t eeprom_show(struct device *dev, struct device_attribute *attr, in eeprom_show()
204 static ssize_t p2m_timeouts_show(struct device *dev, in p2m_timeouts_show()
214 static ssize_t sdram_size_show(struct device *dev, in sdram_size_show()
224 static ssize_t tw28xx_show(struct device *dev, in tw28xx_show()
237 static ssize_t input_map_show(struct device *dev, in input_map_show()
272 static ssize_t p2m_timeout_store(struct device *dev, in p2m_timeout_store()
288 static ssize_t p2m_timeout_show(struct device *dev, in p2m_timeout_show()
298 static ssize_t intervals_show(struct device *de
[all...]

Completed in 29 milliseconds

1...<<191192193194195196197198199200>>...1133