Home
last modified time | relevance | path

Searched refs:device (Results 2826 - 2850 of 25400) sorted by relevance

1...<<111112113114115116117118119120>>...1016

/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvkm/engine/
H A Dfalcon.h111 return nvkm_rd32(falcon->owner->device, falcon->addr + addr); in nvkm_falcon_rd32()
117 nvkm_wr32(falcon->owner->device, falcon->addr + addr, data); in nvkm_falcon_wr32()
123 struct nvkm_device *device = falcon->owner->device; in nvkm_falcon_mask() local
125 return nvkm_mask(device, falcon->addr + addr, mask, val); in nvkm_falcon_mask()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dltc4260.c37 static int ltc4260_get_value(struct device *dev, u8 reg) in ltc4260_get_value()
73 static ssize_t ltc4260_value_show(struct device *dev, in ltc4260_value_show()
85 static ssize_t ltc4260_bool_show(struct device *dev, in ltc4260_bool_show()
146 struct device *dev = &client->dev; in ltc4260_probe()
147 struct device *hwmon_dev; in ltc4260_probe()
H A Dlm85.c368 static struct lm85_data *lm85_update_device(struct device *dev) in lm85_update_device()
552 static ssize_t fan_show(struct device *dev, struct device_attribute *attr, in fan_show()
560 static ssize_t fan_min_show(struct device *dev, struct device_attribute *attr, in fan_min_show()
568 static ssize_t fan_min_store(struct device *dev, in fan_min_store()
600 static ssize_t cpu0_vid_show(struct device *dev, in cpu0_vid_show()
619 static ssize_t vrm_show(struct device *dev, struct device_attribute *attr, in vrm_show()
626 static ssize_t vrm_store(struct device *dev, struct device_attribute *attr, in vrm_store()
646 static ssize_t alarms_show(struct device *dev, struct device_attribute *attr, in alarms_show()
655 static ssize_t alarm_show(struct device *dev, struct device_attribute *attr, in alarm_show()
683 static ssize_t pwm_show(struct device *de
[all...]
H A Dnct7802.c82 static ssize_t temp_type_show(struct device *dev, in temp_type_show()
97 static ssize_t temp_type_store(struct device *dev, in temp_type_store()
118 static ssize_t pwm_mode_show(struct device *dev, in pwm_mode_show()
136 static ssize_t pwm_show(struct device *dev, struct device_attribute *devattr, in pwm_show()
154 static ssize_t pwm_store(struct device *dev, struct device_attribute *devattr, in pwm_store()
170 static ssize_t pwm_enable_show(struct device *dev, in pwm_enable_show()
185 static ssize_t pwm_enable_store(struct device *dev, in pwm_enable_store()
358 static ssize_t in_show(struct device *dev, struct device_attribute *attr, in in_show()
372 static ssize_t in_store(struct device *dev, struct device_attribute *attr, in in_store()
390 static ssize_t in_alarm_show(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/hv/
H A Dhv_debugfs.c82 /* Setup test state value for vmbus device */
101 /* Bind hv device to a dentry for debugfs */
111 const char *device = dev_name(&dev->device); in hv_debug_add_dev_dir() local
117 dev_root = debugfs_create_dir(device, hv_debug_root); in hv_debug_add_dev_dir()
120 device); in hv_debug_add_dev_dir()
129 device, delay_name); in hv_debug_add_dev_dir()
140 /* Remove dentry associated with released hv device */
/kernel/linux/linux-6.6/drivers/leds/trigger/
H A Dledtrig-timer.c13 #include <linux/device.h>
18 static ssize_t led_delay_on_show(struct device *dev, in led_delay_on_show()
26 static ssize_t led_delay_on_store(struct device *dev, in led_delay_on_store()
43 static ssize_t led_delay_off_show(struct device *dev, in led_delay_off_show()
51 static ssize_t led_delay_off_store(struct device *dev, in led_delay_off_store()
/kernel/linux/linux-6.6/drivers/infiniband/sw/rdmavt/
H A Dah.c12 * @ibdev: the ib device
62 struct rvt_dev_info *dev = ib_to_rvt(ibah->device); in rvt_create_ah()
65 if (rvt_check_ah(ibah->device, init_attr->ah_attr)) in rvt_create_ah()
80 dev->driver_f.notify_new_ah(ibah->device, in rvt_create_ah()
94 struct rvt_dev_info *dev = ib_to_rvt(ibah->device); in rvt_destroy_ah()
117 if (rvt_check_ah(ibah->device, ah_attr)) in rvt_modify_ah()
/kernel/linux/linux-6.6/drivers/iommu/
H A Diommu-sysfs.c9 #include <linux/device.h>
32 static void release_device(struct device *dev) in release_device()
50 * Init the struct device for the IOMMU. IOMMU specific attributes can
55 struct device *parent, in iommu_device_sysfs_add()
101 * IOMMU drivers can indicate a device is managed by a given IOMMU using
102 * this interface. A link to the device will be created in the "devices"
103 * directory of the IOMMU device in sysfs and an "iommu" link will be
104 * created under the linked device, pointing back at the IOMMU device.
106 int iommu_device_link(struct iommu_device *iommu, struct device *lin
[all...]
/kernel/linux/linux-6.6/drivers/input/misc/
H A Datlas_btns.c60 static int atlas_acpi_button_add(struct acpi_device *device) in atlas_acpi_button_add() argument
68 pr_err("unable to allocate input device\n"); in atlas_acpi_button_add()
91 pr_err("couldn't register input device\n"); in atlas_acpi_button_add()
97 status = acpi_install_address_space_handler(device->handle, in atlas_acpi_button_add()
99 &acpi_atlas_button_setup, device); in atlas_acpi_button_add()
109 static void atlas_acpi_button_remove(struct acpi_device *device) in atlas_acpi_button_remove() argument
113 status = acpi_remove_address_space_handler(device->handle, in atlas_acpi_button_remove()
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dcs42l51.h12 struct device;
15 int cs42l51_probe(struct device *dev, struct regmap *regmap);
16 void cs42l51_remove(struct device *dev);
17 int __maybe_unused cs42l51_suspend(struct device *dev);
18 int __maybe_unused cs42l51_resume(struct device *dev);
/kernel/linux/linux-6.6/net/bluetooth/
H A Dhci_sysfs.c13 static void bt_link_release(struct device *dev) in bt_link_release()
25 * The rfcomm tty device will possibly retain even when conn
26 * is down, and sysfs doesn't support move zombie device,
27 * so we should move the device before conn device is destroyed.
29 static int __match_tty(struct device *dev, void *data) in __match_tty()
59 bt_dev_err(hdev, "failed to register connection device"); in hci_conn_add_sysfs()
77 struct device *dev; in hci_conn_del_sysfs()
89 static void bt_host_release(struct device *dev) in bt_host_release()
107 struct device *de in hci_init_sysfs()
[all...]
/kernel/linux/linux-6.6/sound/soc/intel/boards/
H A Dskl_hda_dsp_common.c22 int skl_hda_hdmi_add_pcm(struct snd_soc_card *card, int device) in skl_hda_hdmi_add_pcm() argument
38 pcm->device = device; in skl_hda_hdmi_add_pcm()
151 "HDMI/DP, pcm=%d Jack", pcm->device); in skl_hda_hdmi_jack_init()
158 err = hdac_hdmi_jack_init(pcm->codec_dai, pcm->device, in skl_hda_hdmi_jack_init()
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8186/
H A Dmt8186-afe-control.c75 unsigned int mt8186_general_rate_transform(struct device *dev, unsigned int rate) in mt8186_general_rate_transform()
118 static unsigned int tdm_rate_transform(struct device *dev, unsigned int rate) in tdm_rate_transform()
165 static unsigned int pcm_rate_transform(struct device *dev, unsigned int rate) in pcm_rate_transform()
184 unsigned int mt8186_tdm_relatch_rate_transform(struct device *dev, unsigned int rate) in mt8186_tdm_relatch_rate_transform()
225 unsigned int mt8186_rate_transform(struct device *dev, unsigned int rate, int aud_blk) in mt8186_rate_transform()
/kernel/linux/linux-6.6/tools/laptop/freefall/
H A Dfreefall.c29 static int set_unload_heads_path(char *device) in set_unload_heads_path() argument
31 if (strlen(device) <= 5 || strncmp(device, "/dev/", 5) != 0) in set_unload_heads_path()
33 strncpy(device_path, device, sizeof(device_path) - 1); in set_unload_heads_path()
36 "/sys/block/%s/device/unload_heads", device+5); in set_unload_heads_path()
120 fprintf(stderr, "usage: %s <device> (default: /dev/sda)\n", in main()
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/
H A Dqla_attr.c24 struct device, kobj))); in qla2x00_sysfs_read_fw_dump()
65 struct device, kobj))); in qla2x00_sysfs_write_fw_dump()
187 struct device, kobj))); in qla2x00_sysfs_read_nvram()
227 struct device, kobj))); in qla2x00_sysfs_write_nvram()
301 struct device, kobj))); in qla2x00_sysfs_read_optrom()
325 struct device, kobj))); in qla2x00_sysfs_write_optrom()
363 struct device, kobj))); in qla2x00_sysfs_write_optrom_ctl()
547 struct device, kobj))); in qla2x00_sysfs_read_vpd()
594 struct device, kobj))); in qla2x00_sysfs_write_vpd()
661 struct device, kob in qla2x00_sysfs_read_sfp()
[all...]
/kernel/linux/linux-6.6/drivers/nvme/host/
H A Dcore.c3 * NVM Express device driver
65 "max power saving latency for new devices; use PM QOS to change per device");
163 dev_info(ctrl->device, "failfast expired\n"); in nvme_failfast_work()
212 dev_info(ctrl->device, in nvme_do_delete_ctrl()
330 dev_name(nr->ctrl->device), in nvme_log_error()
459 dev_dbg_ratelimited(((struct nvme_ctrl *) data)->device, in nvme_cancel_request()
696 * For something we're not in a state to send to the device the default action
778 * number of segments to prevent device reading beyond end of buffer. in nvme_setup_discard()
1091 dev_warn_once(ctrl->device, in nvme_command_effects()
1141 dev_info(ctrl->device, in nvme_passthru_end()
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dlm85.c368 static struct lm85_data *lm85_update_device(struct device *dev) in lm85_update_device()
552 static ssize_t fan_show(struct device *dev, struct device_attribute *attr, in fan_show()
560 static ssize_t fan_min_show(struct device *dev, struct device_attribute *attr, in fan_min_show()
568 static ssize_t fan_min_store(struct device *dev, in fan_min_store()
600 static ssize_t cpu0_vid_show(struct device *dev, in cpu0_vid_show()
619 static ssize_t vrm_show(struct device *dev, struct device_attribute *attr, in vrm_show()
626 static ssize_t vrm_store(struct device *dev, struct device_attribute *attr, in vrm_store()
646 static ssize_t alarms_show(struct device *dev, struct device_attribute *attr, in alarms_show()
655 static ssize_t alarm_show(struct device *dev, struct device_attribute *attr, in alarm_show()
683 static ssize_t pwm_show(struct device *de
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Dsa_query.c177 static int ib_sa_add_one(struct ib_device *device);
178 static void ib_sa_remove_one(struct ib_device *device, void *client_data);
764 dev_name(&query->port->agent->device->dev), in ib_nl_set_path_rec_attrs()
1198 static u8 get_src_path_mask(struct ib_device *device, u8 port_num) in get_src_path_mask() argument
1205 sa_dev = ib_get_client_data(device, &sa_client); in get_src_path_mask()
1217 static int init_ah_attr_grh_fields(struct ib_device *device, u8 port_num, in init_ah_attr_grh_fields() argument
1225 gid_attr = rdma_find_gid_by_port(device, &rec->sgid, type, in init_ah_attr_grh_fields()
1242 * @device: Device associated ah attributes initialization.
1243 * @port_num: Port on the specified device.
1255 int ib_init_ah_attr_from_path(struct ib_device *device, u argument
1445 opa_pr_query_possible(struct ib_sa_client *client, struct ib_sa_device *sa_dev, struct ib_device *device, u8 port_num, struct sa_path_rec *rec) opa_pr_query_possible() argument
1535 ib_sa_path_rec_get(struct ib_sa_client *client, struct ib_device *device, u8 port_num, struct sa_path_rec *rec, ib_sa_comp_mask comp_mask, unsigned long timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct sa_path_rec *resp, void *context), void *context, struct ib_sa_query **sa_query) ib_sa_path_rec_get() argument
1690 ib_sa_service_rec_query(struct ib_sa_client *client, struct ib_device *device, u8 port_num, u8 method, struct ib_sa_service_rec *rec, ib_sa_comp_mask comp_mask, unsigned long timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct ib_sa_service_rec *resp, void *context), void *context, struct ib_sa_query **sa_query) ib_sa_service_rec_query() argument
1786 ib_sa_mcmember_rec_query(struct ib_sa_client *client, struct ib_device *device, u8 port_num, u8 method, struct ib_sa_mcmember_rec *rec, ib_sa_comp_mask comp_mask, unsigned long timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct ib_sa_mcmember_rec *resp, void *context), void *context, struct ib_sa_query **sa_query) ib_sa_mcmember_rec_query() argument
1878 ib_sa_guid_info_rec_query(struct ib_sa_client *client, struct ib_device *device, u8 port_num, struct ib_sa_guidinfo_rec *rec, ib_sa_comp_mask comp_mask, u8 method, unsigned long timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct ib_sa_guidinfo_rec *resp, void *context), void *context, struct ib_sa_query **sa_query) ib_sa_guid_info_rec_query() argument
1954 ib_sa_sendonly_fullmem_support(struct ib_sa_client *client, struct ib_device *device, u8 port_num) ib_sa_sendonly_fullmem_support() argument
2322 ib_sa_add_one(struct ib_device *device) ib_sa_add_one() argument
2400 ib_sa_remove_one(struct ib_device *device, void *client_data) ib_sa_remove_one() argument
[all...]
/kernel/linux/linux-6.6/fs/smb/server/
H A Dtransport_rdma.c269 ib_dma_unmap_single(t->cm_id->device, recvmsg->sge.addr, in put_recvmsg()
295 ib_dma_unmap_single(t->cm_id->device, recvmsg->sge.addr, in put_empty_recvmsg()
480 ib_dma_unmap_single(t->cm_id->device, in smb_direct_free_sendmsg()
484 ib_dma_unmap_page(t->cm_id->device, in smb_direct_free_sendmsg()
558 ib_dma_sync_single_for_cpu(wc->qp->device, recvmsg->sge.addr, in recv_done()
645 recvmsg->sge.addr = ib_dma_map_single(t->cm_id->device, in smb_direct_post_recv()
648 ret = ib_dma_mapping_error(t->cm_id->device, recvmsg->sge.addr); in smb_direct_post_recv()
663 ib_dma_unmap_single(t->cm_id->device, in smb_direct_post_recv()
1061 sendmsg->sge[0].addr = ib_dma_map_single(t->cm_id->device, in smb_direct_create_header()
1065 ret = ib_dma_mapping_error(t->cm_id->device, sendms in smb_direct_create_header()
1111 get_mapped_sg_list(struct ib_device *device, void *buf, int size, struct scatterlist *sg_list, int nentries, enum dma_data_direction dir) get_mapped_sg_list() argument
1711 struct ib_device *device = t->cm_id->device; smb_direct_init_params() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
H A Dvio.c17 #include <linux/device.h>
38 static struct vio_dev vio_bus_device = { /* fake "parent" device */
64 * vio_cmo_dev_entry - A device that is CMO-enabled and requires entitlement
82 * @excess: pool of excess entitlement not needed for device reserves or spare
83 * @spare: IO memory for device hotplug functionality
134 * @viodev: VIO device requesting IO memory
179 * @viodev: VIO device freeing IO memory
182 * IO memory is freed by the device back to the correct memory pools.
184 * the reserve pool is used to reduce device entitlement, the excess
208 /* Remove allocation from device */ in vio_cmo_dealloc()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A Dch.c3 * SCSI Media Changer device driver for Linux 2.6
41 MODULE_DESCRIPTION("device driver for scsi media changer devices");
88 sdev_prefix_printk(prefix, (ch)->device, (ch)->name, fmt, ##a)
112 struct scsi_device *device; member
198 result = scsi_execute_req(ch->device, cmd, direction, buffer, in ch_do_scsi()
204 scsi_print_sense_hdr(ch->device, ch->name, &sshdr); in ch_do_scsi()
248 cmd[1] = ((ch->device->lun & 0x7) << 5) | in ch_read_element_status()
267 VPRINTK(KERN_INFO, "device has no volume tag support\n"); in ch_read_element_status()
285 cmd[1] = (ch->device->lun & 0x7) << 5; in ch_init_elem()
305 cmd[1] = (ch->device in ch_readconfig()
[all...]
/kernel/linux/linux-6.6/drivers/base/
H A Dplatform.c39 /* For automatically allocated device IDs */
42 struct device platform_bus = {
48 * platform_get_resource - get a resource for a device
49 * @dev: platform device
88 * platform device and get resource
90 * @pdev: platform device to use both for memory resource lookup as well as
113 * device
115 * @pdev: platform device to use both for memory resource lookup as well as
131 * a platform device, retrieve the
134 * @pdev: platform device t
[all...]
/kernel/linux/linux-6.6/drivers/counter/
H A Dcounter-sysfs.c7 #include <linux/device.h>
22 static inline struct counter_device *counter_from_dev(struct device *dev) in counter_from_dev()
29 * @dev_attr: device attribute for sysfs
105 static ssize_t counter_comp_u8_show(struct device *dev, in counter_comp_u8_show()
136 static ssize_t counter_comp_u8_store(struct device *dev, in counter_comp_u8_store()
173 static ssize_t counter_comp_u32_show(struct device *dev, in counter_comp_u32_show()
237 static ssize_t counter_comp_u32_store(struct device *dev, in counter_comp_u32_store()
302 static ssize_t counter_comp_u64_show(struct device *dev, in counter_comp_u64_show()
329 static ssize_t counter_comp_u64_store(struct device *dev, in counter_comp_u64_store()
361 static ssize_t counter_comp_array_u32_show(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/opp/
H A Dof.c15 #include <linux/device.h>
28 * Returns opp descriptor node for a device node, caller must
38 /* Returns opp descriptor node for a device, caller must do of_node_put() */
39 struct device_node *dev_pm_opp_of_get_opp_desc_node(struct device *dev) in dev_pm_opp_of_get_opp_desc_node()
45 struct opp_table *_managed_opp(struct device *dev, int index) in _managed_opp()
162 struct device *dev, in _opp_table_alloc_required_tables()
223 void _of_init_opp_table(struct opp_table *opp_table, struct device *dev, in _of_init_opp_table()
440 static int _bandwidth_supported(struct device *dev, struct opp_table *opp_table) in _bandwidth_supported()
477 int dev_pm_opp_of_find_icc_paths(struct device *dev, in dev_pm_opp_of_find_icc_paths()
537 static bool _opp_is_supported(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dpci.c28 u16 device; member
35 u16 device; member
1558 nvkm_device_pci(struct nvkm_device *device) in nvkm_device_pci() argument
1560 return container_of(device, struct nvkm_device_pci, device); in nvkm_device_pci()
1564 nvkm_device_pci_resource_addr(struct nvkm_device *device, unsigned bar) in nvkm_device_pci_resource_addr() argument
1566 struct nvkm_device_pci *pdev = nvkm_device_pci(device); in nvkm_device_pci_resource_addr()
1571 nvkm_device_pci_resource_size(struct nvkm_device *device, unsigned bar) in nvkm_device_pci_resource_size() argument
1573 struct nvkm_device_pci *pdev = nvkm_device_pci(device); in nvkm_device_pci_resource_size()
1578 nvkm_device_pci_irq(struct nvkm_device *device) in nvkm_device_pci_irq() argument
1584 nvkm_device_pci_fini(struct nvkm_device *device, bool suspend) nvkm_device_pci_fini() argument
1594 nvkm_device_pci_preinit(struct nvkm_device *device) nvkm_device_pci_preinit() argument
1608 nvkm_device_pci_dtor(struct nvkm_device *device) nvkm_device_pci_dtor() argument
[all...]

Completed in 30 milliseconds

1...<<111112113114115116117118119120>>...1016