Home
last modified time | relevance | path

Searched refs:device (Results 3651 - 3675 of 28695) sorted by relevance

1...<<141142143144145146147148149150>>...1148

/kernel/linux/linux-5.10/include/scsi/
H A Dscsi_device.h12 struct device;
37 SDEV_CREATED = 1, /* device created but not added to sysfs
39 SDEV_RUNNING, /* device properly configured
41 SDEV_CANCEL, /* beginning to delete device
43 SDEV_DEL, /* device deleted
127 unsigned int manufacturer; /* Manufacturer of device, for using
161 * painfully slow on this device */
170 * this device */
199 unsigned is_visible:1; /* is the device visible in sysfs */
205 unsigned rpm_autosuspend:1; /* Enable runtime autosuspend at device
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dpll.c118 struct nvkm_device *device = bios->subdev.device; in pll_map() local
119 switch (device->card_type) { in pll_map()
130 if (device->chipset == 0x50) in pll_map()
133 if (device->chipset < 0xa3 || in pll_map()
134 device->chipset == 0xaa || in pll_map()
135 device->chipset == 0xac) in pll_map()
234 struct nvkm_device *device = subdev->device; in nvbios_pll_parse() local
388 info->refclk = device in nvbios_pll_parse()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dgpfifogf100.c76 struct nvkm_device *device = subdev->device; in gf100_fifo_gpfifo_engine_fini() local
81 nvkm_wr32(device, 0x002634, chan->base.chid); in gf100_fifo_gpfifo_engine_fini()
82 if (nvkm_msec(device, 2000, in gf100_fifo_gpfifo_engine_fini()
83 if (nvkm_rd32(device, 0x002634) == chan->base.chid) in gf100_fifo_gpfifo_engine_fini()
163 struct nvkm_device *device = fifo->base.engine.subdev.device; in gf100_fifo_gpfifo_fini() local
168 nvkm_mask(device, 0x003004 + coff, 0x00000001, 0x00000000); in gf100_fifo_gpfifo_fini()
174 nvkm_wr32(device, 0x003000 + coff, 0x00000000); in gf100_fifo_gpfifo_fini()
182 struct nvkm_device *device in gf100_fifo_gpfifo_init() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
H A Drockchip_drm_drv.c41 * Attach a (component) device to the shared drm dma mapping from master drm
42 * device. This is used by the VOPs to map GEM buffers to a common DMA
46 struct device *dev) in rockchip_drm_dma_attach_device()
56 DRM_DEV_ERROR(dev, "Failed to attach iommu device\n"); in rockchip_drm_dma_attach_device()
64 struct device *dev) in rockchip_drm_dma_detach_device()
111 static int rockchip_drm_bind(struct device *dev) in rockchip_drm_bind()
185 static void rockchip_drm_unbind(struct device *dev) in rockchip_drm_unbind()
234 static int rockchip_drm_sys_suspend(struct device *dev) in rockchip_drm_sys_suspend()
241 static int rockchip_drm_sys_resume(struct device *dev) in rockchip_drm_sys_resume()
266 * if remote port does not contain a device
[all...]
/kernel/linux/linux-5.10/drivers/rpmsg/
H A Drpmsg_char.c13 #include <linux/device.h>
43 * struct rpmsg_ctrldev - control device for instantiating endpoint devices
44 * @rpdev: underlaying rpmsg device
45 * @cdev: cdev for the ctrl device
46 * @dev: device for the ctrl device
51 struct device dev;
55 * struct rpmsg_eptdev - endpoint device context
56 * @dev: endpoint device
57 * @cdev: cdev for the endpoint device
[all...]
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-m48t59.c14 #include <linux/device.h>
45 m48t59_mem_writeb(struct device *dev, u32 ofs, u8 val) in m48t59_mem_writeb()
53 m48t59_mem_readb(struct device *dev, u32 ofs) in m48t59_mem_readb()
63 static int m48t59_rtc_read_time(struct device *dev, struct rtc_time *tm) in m48t59_rtc_read_time()
103 static int m48t59_rtc_set_time(struct device *dev, struct rtc_time *tm) in m48t59_rtc_set_time()
149 static int m48t59_rtc_readalarm(struct device *dev, struct rtc_wkalrm *alrm) in m48t59_rtc_readalarm()
193 static int m48t59_rtc_setalarm(struct device *dev, struct rtc_wkalrm *alrm) in m48t59_rtc_setalarm()
253 static int m48t59_rtc_alarm_irq_enable(struct device *dev, unsigned int enabled) in m48t59_rtc_alarm_irq_enable()
269 static int m48t59_rtc_proc(struct device *dev, struct seq_file *seq) in m48t59_rtc_proc()
290 struct device *de in m48t59_rtc_interrupt()
[all...]
/kernel/linux/linux-5.10/drivers/staging/iio/meter/
H A Dade7854.c12 #include <linux/device.h>
24 static ssize_t ade7854_read_8bit(struct device *dev, in ade7854_read_8bit()
41 static ssize_t ade7854_read_16bit(struct device *dev, in ade7854_read_16bit()
58 static ssize_t ade7854_read_24bit(struct device *dev, in ade7854_read_24bit()
75 static ssize_t ade7854_read_32bit(struct device *dev, in ade7854_read_32bit()
92 static ssize_t ade7854_write_8bit(struct device *dev, in ade7854_write_8bit()
113 static ssize_t ade7854_write_16bit(struct device *dev, in ade7854_write_16bit()
134 static ssize_t ade7854_write_24bit(struct device *dev, in ade7854_write_24bit()
155 static ssize_t ade7854_write_32bit(struct device *dev, in ade7854_write_32bit()
176 static int ade7854_reset(struct device *de
[all...]
/kernel/linux/linux-5.10/drivers/spi/
H A Dspi-sifive.c134 struct spi_device *device = msg->spi; in sifive_spi_prepare_message() local
137 if (device->mode & SPI_CS_HIGH) in sifive_spi_prepare_message()
138 spi->cs_inactive &= ~BIT(device->chip_select); in sifive_spi_prepare_message()
140 spi->cs_inactive |= BIT(device->chip_select); in sifive_spi_prepare_message()
143 /* Select the correct device */ in sifive_spi_prepare_message()
144 sifive_spi_write(spi, SIFIVE_SPI_REG_CSID, device->chip_select); in sifive_spi_prepare_message()
148 device->mode & SIFIVE_SPI_SCKMODE_MODE_MASK); in sifive_spi_prepare_message()
153 static void sifive_spi_set_cs(struct spi_device *device, bool is_high) in sifive_spi_set_cs() argument
155 struct sifive_spi *spi = spi_master_get_devdata(device->master); in sifive_spi_set_cs()
158 if (device in sifive_spi_set_cs()
167 sifive_spi_prep_transfer(struct sifive_spi *spi, struct spi_device *device, struct spi_transfer *t) sifive_spi_prep_transfer() argument
255 sifive_spi_transfer_one(struct spi_master *master, struct spi_device *device, struct spi_transfer *t) sifive_spi_transfer_one() argument
[all...]
/kernel/linux/linux-5.10/include/linux/mfd/
H A Dtps80031.h26 #include <linux/device.h>
510 struct device *dev;
547 static inline int tps80031_write(struct device *dev, int sid, in tps80031_write()
555 static inline int tps80031_writes(struct device *dev, int sid, int reg, in tps80031_writes()
563 static inline int tps80031_read(struct device *dev, int sid, in tps80031_read()
580 static inline int tps80031_reads(struct device *dev, int sid, in tps80031_reads()
588 static inline int tps80031_set_bits(struct device *dev, int sid, in tps80031_set_bits()
597 static inline int tps80031_clr_bits(struct device *dev, int sid, in tps80031_clr_bits()
605 static inline int tps80031_update(struct device *dev, int sid, in tps80031_update()
613 static inline unsigned long tps80031_get_chip_info(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/mmc/core/
H A Dhost.c9 * MMC host class device management
12 #include <linux/device.h>
39 static int mmc_host_class_prepare(struct device *dev) in mmc_host_class_prepare()
57 static void mmc_host_class_complete(struct device *dev) in mmc_host_class_complete()
74 static void mmc_host_classdev_release(struct device *dev) in mmc_host_classdev_release()
83 static int mmc_host_classdev_shutdown(struct device *dev) in mmc_host_classdev_shutdown()
223 static void mmc_of_parse_timing_phase(struct device *dev, const char *prop, in mmc_of_parse_timing_phase()
240 struct device *dev = host->parent; in mmc_of_parse_clk_phase()
268 * mmc_of_parse() - parse host's device properties
278 struct device *de in mmc_of_parse()
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dpower_supply.h15 #include <linux/device.h>
264 * of power supply. If this happens during device probe then it must
265 * not access internal data of device (because probe did not end).
296 struct device dev;
379 * below charge_term_current_ua, and then restart it (if the device is still
423 * the user to disconnect the device and make use of it before both maintenance
430 * device is e.g. actively used during charging, so more current is drawn than
568 * of mobile device batteries.
785 struct device *dev, const char *property);
791 devm_power_supply_get_by_phandle(struct device *de
[all...]
/kernel/linux/linux-6.6/include/scsi/
H A Dscsi_device.h14 struct device;
39 SDEV_CREATED = 1, /* device created but not added to sysfs
41 SDEV_RUNNING, /* device properly configured
43 SDEV_CANCEL, /* beginning to delete device
45 SDEV_DEL, /* device deleted
129 unsigned int manufacturer; /* Manufacturer of device, for using
162 * If true, let the high-level device driver (sd) manage the device
169 * If true, let the high-level device driver (sd) manage the device
[all...]
/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-m48t59.c14 #include <linux/device.h>
45 m48t59_mem_writeb(struct device *dev, u32 ofs, u8 val) in m48t59_mem_writeb()
53 m48t59_mem_readb(struct device *dev, u32 ofs) in m48t59_mem_readb()
63 static int m48t59_rtc_read_time(struct device *dev, struct rtc_time *tm) in m48t59_rtc_read_time()
103 static int m48t59_rtc_set_time(struct device *dev, struct rtc_time *tm) in m48t59_rtc_set_time()
149 static int m48t59_rtc_readalarm(struct device *dev, struct rtc_wkalrm *alrm) in m48t59_rtc_readalarm()
193 static int m48t59_rtc_setalarm(struct device *dev, struct rtc_wkalrm *alrm) in m48t59_rtc_setalarm()
253 static int m48t59_rtc_alarm_irq_enable(struct device *dev, unsigned int enabled) in m48t59_rtc_alarm_irq_enable()
269 static int m48t59_rtc_proc(struct device *dev, struct seq_file *seq) in m48t59_rtc_proc()
290 struct device *de in m48t59_rtc_interrupt()
[all...]
/kernel/linux/linux-6.6/drivers/vfio/pci/pds/
H A Dcmds.c98 struct device *dev = pds_vfio_to_dev(pds_vfio); in pds_vfio_suspend_wait_device_cmd()
138 struct device *dev = pds_vfio_to_dev(pds_vfio); in pds_vfio_suspend_device_cmd()
142 dev_dbg(dev, "vf%u: Suspend device\n", pds_vfio->vf_id); in pds_vfio_suspend_device_cmd()
145 * The initial suspend request to the firmware starts the device suspend in pds_vfio_suspend_device_cmd()
158 * completed the device suspend process. in pds_vfio_suspend_device_cmd()
172 struct device *dev = pds_vfio_to_dev(pds_vfio); in pds_vfio_resume_device_cmd()
175 dev_dbg(dev, "vf%u: Resume device\n", pds_vfio->vf_id); in pds_vfio_resume_device_cmd()
188 struct device *dev = pds_vfio_to_dev(pds_vfio); in pds_vfio_get_lm_state_size_cmd()
202 static int pds_vfio_dma_map_lm_file(struct device *dev, in pds_vfio_dma_map_lm_file()
259 static void pds_vfio_dma_unmap_lm_file(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/staging/fbtft/
H A Dfb_agm1264k-fl.c85 dev_dbg(par->info->device, in verify_gpios()
89 dev_err(par->info->device, in verify_gpios()
95 dev_err(par->info->device, in verify_gpios()
102 dev_err(par->info->device, in verify_gpios()
107 dev_err(par->info->device, in verify_gpios()
112 dev_err(par->info->device, in verify_gpios()
123 dev_dbg(par->info->device, in request_gpios_match()
166 fbtft_par_dbg_hex(DEBUG_WRITE_REGISTER, par, par->info->device, in write_reg8_bus8()
176 dev_err(par->info->device, in write_reg8_bus8()
202 dev_err(par->info->device, in write_reg8_bus8()
[all...]
/kernel/linux/linux-6.6/drivers/usb/typec/tcpm/qcom/
H A Dqcom_pmic_typec_pdphy.c26 struct device *dev;
42 struct device *dev = pmic_typec_pdphy->dev; in qcom_pmic_typec_pdphy_reset_on()
63 struct device *dev = pmic_typec_pdphy->dev; in qcom_pmic_typec_pdphy_reset_off()
92 struct device *dev = pmic_typec_pdphy->dev; in qcom_pmic_typec_pdphy_clear_tx_control_reg()
118 struct device *dev = pmic_typec_pdphy->dev; in qcom_pmic_typec_pdphy_pd_transmit_signal()
157 struct device *dev = pmic_typec_pdphy->dev; in qcom_pmic_typec_pdphy_pd_transmit_payload()
239 struct device *dev = pmic_typec_pdphy->dev; in qcom_pmic_typec_pdphy_pd_transmit()
260 struct device *dev = pmic_typec_pdphy->dev; in qcom_pmic_typec_pdphy_pd_receive()
310 struct device *dev = pmic_typec_pdphy->dev; in qcom_pmic_typec_pdphy_isr()
359 struct device *de in qcom_pmic_typec_pdphy_set_roles()
[all...]
/kernel/linux/linux-6.6/drivers/usb/phy/
H A Dphy-tahvo.c62 static ssize_t vbus_show(struct device *device, in vbus_show() argument
65 struct tahvo_usb *tu = dev_get_drvdata(device); in vbus_show()
255 static ssize_t otg_mode_show(struct device *device, in otg_mode_show() argument
258 struct tahvo_usb *tu = dev_get_drvdata(device); in otg_mode_show()
270 static ssize_t otg_mode_store(struct device *device, in otg_mode_store() argument
274 struct tahvo_usb *tu = dev_get_drvdata(device); in otg_mode_store()
283 dev_info(device, "HOS in otg_mode_store()
[all...]
/kernel/linux/linux-6.6/drivers/char/tpm/
H A Dtpm-sysfs.c15 #include <linux/device.h>
32 static ssize_t pubek_show(struct device *dev, struct device_attribute *attr, in pubek_show()
82 static ssize_t pcrs_show(struct device *dev, struct device_attribute *attr, in pcrs_show()
117 static ssize_t enabled_show(struct device *dev, struct device_attribute *attr, in enabled_show()
139 static ssize_t active_show(struct device *dev, struct device_attribute *attr, in active_show()
161 static ssize_t owned_show(struct device *dev, struct device_attribute *attr, in owned_show()
183 static ssize_t temp_deactivated_show(struct device *dev, in temp_deactivated_show()
205 static ssize_t caps_show(struct device *dev, struct device_attribute *attr, in caps_show()
256 static ssize_t cancel_store(struct device *dev, struct device_attribute *attr, in cancel_store()
270 static ssize_t durations_show(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/devfreq/
H A Dexynos-bus.c15 #include <linux/device.h>
26 struct device *dev;
42 * Control the devfreq-event device to get the current state of bus
93 static int exynos_bus_target(struct device *dev, unsigned long *freq, u32 flags) in exynos_bus_target()
119 static int exynos_bus_get_dev_status(struct device *dev, in exynos_bus_get_dev_status()
151 static void exynos_bus_exit(struct device *dev) in exynos_bus_exit()
167 static void exynos_bus_passive_exit(struct device *dev) in exynos_bus_passive_exit()
180 struct device *dev = bus->dev; in exynos_bus_parent_parse_of()
244 struct device *dev = bus->dev; in exynos_bus_parse_of()
293 struct device *de in exynos_bus_profile_init()
[all...]
/kernel/linux/linux-6.6/drivers/dma-buf/
H A Dudmabuf.c3 #include <linux/device.h>
30 struct miscdevice *device; member
86 static struct sg_table *get_sg_table(struct device *dev, struct dma_buf *buf, in get_sg_table()
112 static void put_sg_table(struct device *dev, struct sg_table *sg, in put_sg_table()
136 struct device *dev = ubuf->device->this_device; in release_udmabuf()
152 struct device *dev = ubuf->device->this_device; in begin_cpu_udmabuf()
173 struct device *dev = ubuf->device in end_cpu_udmabuf()
197 udmabuf_create(struct miscdevice *device, struct udmabuf_create_list *head, struct udmabuf_create_item *list) udmabuf_create() argument
[all...]
/kernel/linux/linux-6.6/drivers/parport/
H A Dprocfs.c25 #include <linux/device.h>
515 int parport_device_proc_register(struct pardevice *device) in parport_device_proc_register() argument
519 struct parport * port = device->port; in parport_device_proc_register()
528 device_name_len = strnlen(device->name, PATH_MAX); in parport_device_proc_register()
539 port->name, device->name); in parport_device_proc_register()
545 t->vars[0].data = &device->timeslice; in parport_device_proc_register()
552 device->sysctl_table = t; in parport_device_proc_register()
566 int parport_device_proc_unregister(struct pardevice *device) in parport_device_proc_unregister() argument
568 if (device->sysctl_table) { in parport_device_proc_unregister()
569 struct parport_device_sysctl_table *t = device in parport_device_proc_unregister()
616 parport_device_proc_register(struct pardevice *device) parport_device_proc_register() argument
621 parport_device_proc_unregister(struct pardevice *device) parport_device_proc_unregister() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dpll.c118 struct nvkm_device *device = bios->subdev.device; in pll_map() local
119 switch (device->card_type) { in pll_map()
129 if (device->chipset == 0x50) in pll_map()
132 if (device->chipset < 0xa3 || in pll_map()
133 device->chipset == 0xaa || in pll_map()
134 device->chipset == 0xac) in pll_map()
233 struct nvkm_device *device = subdev->device; in nvbios_pll_parse() local
387 info->refclk = device in nvbios_pll_parse()
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dtc654.c134 static struct tc654_data *tc654_update_client(struct device *dev) in tc654_update_client()
195 static ssize_t fan_show(struct device *dev, struct device_attribute *da, in fan_show()
213 static ssize_t fan_min_show(struct device *dev, struct device_attribute *da, in fan_min_show()
226 static ssize_t fan_min_store(struct device *dev, struct device_attribute *da, in fan_min_store()
250 static ssize_t fan_alarm_show(struct device *dev, struct device_attribute *da, in fan_alarm_show()
270 static ssize_t fan_pulses_show(struct device *dev, in fan_pulses_show()
284 static ssize_t fan_pulses_store(struct device *dev, in fan_pulses_store()
325 static ssize_t pwm_mode_show(struct device *dev, struct device_attribute *da, in pwm_mode_show()
336 static ssize_t pwm_mode_store(struct device *dev, struct device_attribute *da, in pwm_mode_store()
366 static ssize_t pwm_show(struct device *de
[all...]
H A Dthmc50.c76 static struct thmc50_data *thmc50_update_device(struct device *dev) in thmc50_update_device()
118 static ssize_t analog_out_show(struct device *dev, in analog_out_show()
125 static ssize_t analog_out_store(struct device *dev, in analog_out_store()
156 static ssize_t pwm_mode_show(struct device *dev, in pwm_mode_show()
163 static ssize_t temp_show(struct device *dev, struct device_attribute *attr, in temp_show()
171 static ssize_t temp_min_show(struct device *dev, in temp_min_show()
179 static ssize_t temp_min_store(struct device *dev, in temp_min_store()
201 static ssize_t temp_max_show(struct device *dev, in temp_max_show()
209 static ssize_t temp_max_store(struct device *dev, in temp_max_store()
231 static ssize_t temp_critical_show(struct device *de
[all...]
H A Dda9052-hwmon.c85 static ssize_t da9052_vddout_show(struct device *dev, in da9052_vddout_show()
117 static ssize_t da9052_ich_show(struct device *dev, in da9052_ich_show()
131 static ssize_t da9052_tbat_show(struct device *dev, in da9052_tbat_show()
139 static ssize_t da9052_vbat_show(struct device *dev, in da9052_vbat_show()
152 static ssize_t da9052_misc_channel_show(struct device *dev, in da9052_misc_channel_show()
221 static ssize_t __da9052_read_tsi(struct device *dev, int channel) in __da9052_read_tsi()
240 static ssize_t da9052_tsi_show(struct device *dev, in da9052_tsi_show()
257 static ssize_t da9052_tjunc_show(struct device *dev, in da9052_tjunc_show()
279 static ssize_t da9052_vbbat_show(struct device *dev, in da9052_vbbat_show()
292 static ssize_t label_show(struct device *de
[all...]

Completed in 24 milliseconds

1...<<141142143144145146147148149150>>...1148