/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | w83791d.c | 270 struct device *hwmon_dev; 322 static struct w83791d_data *w83791d_update_device(struct device *dev); 325 static void w83791d_print_debug(struct w83791d_data *data, struct device *dev); 350 static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \ 365 static ssize_t store_in_##reg(struct device *dev, \ 428 static ssize_t show_beep(struct device *dev, struct device_attribute *attr, in show_beep() 439 static ssize_t store_beep(struct device *dev, struct device_attribute *attr, in store_beep() 474 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm() 516 static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \ 530 static ssize_t store_fan_min(struct device *de [all...] |
H A D | pc87427.c | 35 MODULE_PARM_DESC(force_id, "Override the detected device ID"); 43 * device is using banked registers) and the register cache (needed to keep 47 struct device *hwmon_dev; 82 #define SIOREG_LDSEL 0x07 /* Logical device select */ 143 /* ldi is the logical device index */ 349 static struct pc87427_data *pc87427_update_device(struct device *dev) in pc87427_update_device() 387 static ssize_t fan_input_show(struct device *dev, in fan_input_show() 396 static ssize_t fan_min_show(struct device *dev, in fan_min_show() 405 static ssize_t fan_alarm_show(struct device *dev, in fan_alarm_show() 415 static ssize_t fan_fault_show(struct device *de [all...] |
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | smbdirect.c | 242 log_rdma_event(ERR, "%s on device %s info %p\n", in smbd_qp_async_error_upcall() 243 ib_event_msg(event->event), event->device->name, info); in smbd_qp_async_error_upcall() 282 ib_dma_unmap_single(request->info->id->device, in send_done() 462 wc->qp->device, in recv_done() 614 * Test if FRWR (Fast Registration Work Requests) is supported on the device 639 if (!frwr_is_supported(&info->id->device->attrs)) { in smbd_ia_open() 642 info->id->device->attrs.device_cap_flags, in smbd_ia_open() 643 info->id->device->attrs.max_fast_reg_page_list_len); in smbd_ia_open() 649 info->id->device->attrs.max_fast_reg_page_list_len); in smbd_ia_open() 651 if (info->id->device in smbd_ia_open() [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/ngene/ |
H A D | ngene-cards.c | 119 struct device *pdev = &chan->dev->pci_dev->dev; in tuner_attach_stv6110() 150 struct device *pdev = &chan->dev->pci_dev->dev; in tuner_attach_stv6111() 183 struct device *pdev = &chan->dev->pci_dev->dev; in tuner_attach_tda18271() 204 struct device *pdev = &chan->dev->pci_dev->dev; in tuner_tda18212_ping() 225 struct device *pdev = &chan->dev->pci_dev->dev; in tuner_attach_tda18212() 284 struct device *pdev = &chan->dev->pci_dev->dev; in demod_attach_stv0900() 328 struct device *pdev = &chan->dev->pci_dev->dev; in demod_attach_stv0910() 382 struct device *pdev = &chan->dev->pci_dev->dev; in demod_attach_stv0367() 401 struct device *pdev = &chan->dev->pci_dev->dev; in demod_attach_cxd28xx() 490 struct device *pde in demod_attach_drxk() [all...] |
/kernel/linux/linux-5.10/drivers/iio/accel/ |
H A D | bmc150-accel-core.c | 262 struct device *dev = regmap_get_device(data->regmap); in bmc150_accel_set_mode() 323 struct device *dev = regmap_get_device(data->regmap); in bmc150_accel_update_slope() 385 struct device *dev = regmap_get_device(data->regmap); in bmc150_accel_set_power_state() 453 struct device *dev = regmap_get_device(data->regmap); in bmc150_accel_set_interrupt() 504 struct device *dev = regmap_get_device(data->regmap); in bmc150_accel_set_scale() 527 struct device *dev = regmap_get_device(data->regmap); in bmc150_accel_get_temp() 550 struct device *dev = regmap_get_device(data->regmap); in bmc150_accel_get_axis() 770 static ssize_t bmc150_accel_get_fifo_watermark(struct device *dev, in bmc150_accel_get_fifo_watermark() 785 static ssize_t bmc150_accel_get_fifo_state(struct device *dev, in bmc150_accel_get_fifo_state() 851 struct device *de in bmc150_accel_fifo_transfer() [all...] |
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | pc87427.c | 35 MODULE_PARM_DESC(force_id, "Override the detected device ID"); 43 * device is using banked registers) and the register cache (needed to keep 47 struct device *hwmon_dev; 82 #define SIOREG_LDSEL 0x07 /* Logical device select */ 143 /* ldi is the logical device index */ 349 static struct pc87427_data *pc87427_update_device(struct device *dev) in pc87427_update_device() 387 static ssize_t fan_input_show(struct device *dev, in fan_input_show() 396 static ssize_t fan_min_show(struct device *dev, in fan_min_show() 405 static ssize_t fan_alarm_show(struct device *dev, in fan_alarm_show() 415 static ssize_t fan_fault_show(struct device *de [all...] |
/kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/ |
H A D | mod_host.c | 39 * +--------+ | | other device requested 187 * we can decide some device is attached or not in usbhsh_is_running() 213 * So, driver should re-use the limited pipe for each device/endpoint. in usbhsh_endpoint_sequence_save() 252 struct device *dev = usbhs_priv_to_dev(priv); in usbhsh_pipe_attach() 329 struct device *dev = usbhs_priv_to_dev(priv); in usbhsh_pipe_detach() 373 struct device *dev = usbhs_priv_to_dev(priv); in usbhsh_endpoint_attach() 409 struct device *dev = usbhs_priv_to_dev(priv); in usbhsh_endpoint_detach() 449 * device control 478 /* return attached device */ in usbhsh_device_get() 489 struct device *de in usbhsh_device_attach() [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | i740fb.c | 167 par->ddc_adapter.dev.parent = info->device; in i740fb_setup_ddc_bus() 407 dev_dbg(info->device, "decode_var: xres: %i, yres: %i, xres_v: %i, xres_v: %i\n", in i740fb_decode_var() 409 dev_dbg(info->device, " xoff: %i, yoff: %i, bpp: %i, graysc: %i\n", in i740fb_decode_var() 412 dev_dbg(info->device, " activate: %i, nonstd: %i, vmode: %i\n", in i740fb_decode_var() 414 dev_dbg(info->device, " pixclock: %i, hsynclen:%i, vsynclen:%i\n", in i740fb_decode_var() 416 dev_dbg(info->device, " left: %i, right: %i, up:%i, lower:%i\n", in i740fb_decode_var() 426 dev_err(info->device, "requested pixclock %i MHz out of range (max. %i MHz at 8bpp)\n", in i740fb_decode_var() 436 dev_err(info->device, "requested pixclock %i MHz out of range (max. %i MHz at 15/16bpp)\n", in i740fb_decode_var() 445 dev_err(info->device, "requested pixclock %i MHz out of range (max. %i MHz at 24bpp)\n", in i740fb_decode_var() 453 dev_err(info->device, "requeste in i740fb_decode_var() [all...] |
/kernel/linux/linux-6.6/drivers/memory/ |
H A D | mtk-smi.c | 9 #include <linux/device.h> 133 int (*config_port)(struct device *dev); 140 struct device *dev; 148 struct device *smi_common_dev; /* for sub common */ 155 struct device *smi_common_dev; /* common or sub-common dev */ 163 mtk_smi_larb_bind(struct device *dev, struct device *master, void *data) in mtk_smi_larb_bind() 181 mtk_smi_larb_unbind(struct device *dev, struct device *master, void *data) in mtk_smi_larb_unbind() 191 static int mtk_smi_larb_config_port_gen1(struct device *de [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | i740fb.c | 168 par->ddc_adapter.dev.parent = info->device; in i740fb_setup_ddc_bus() 408 dev_dbg(info->device, "decode_var: xres: %i, yres: %i, xres_v: %i, xres_v: %i\n", in i740fb_decode_var() 410 dev_dbg(info->device, " xoff: %i, yoff: %i, bpp: %i, graysc: %i\n", in i740fb_decode_var() 413 dev_dbg(info->device, " activate: %i, nonstd: %i, vmode: %i\n", in i740fb_decode_var() 415 dev_dbg(info->device, " pixclock: %i, hsynclen:%i, vsynclen:%i\n", in i740fb_decode_var() 417 dev_dbg(info->device, " left: %i, right: %i, up:%i, lower:%i\n", in i740fb_decode_var() 427 dev_err(info->device, "requested pixclock %i MHz out of range (max. %i MHz at 8bpp)\n", in i740fb_decode_var() 437 dev_err(info->device, "requested pixclock %i MHz out of range (max. %i MHz at 15/16bpp)\n", in i740fb_decode_var() 446 dev_err(info->device, "requested pixclock %i MHz out of range (max. %i MHz at 24bpp)\n", in i740fb_decode_var() 454 dev_err(info->device, "requeste in i740fb_decode_var() [all...] |
/kernel/linux/linux-6.6/drivers/usb/renesas_usbhs/ |
H A D | mod_host.c | 39 * +--------+ | | other device requested 187 * we can decide some device is attached or not in usbhsh_is_running() 213 * So, driver should re-use the limited pipe for each device/endpoint. in usbhsh_endpoint_sequence_save() 252 struct device *dev = usbhs_priv_to_dev(priv); in usbhsh_pipe_attach() 329 struct device *dev = usbhs_priv_to_dev(priv); in usbhsh_pipe_detach() 373 struct device *dev = usbhs_priv_to_dev(priv); in usbhsh_endpoint_attach() 409 struct device *dev = usbhs_priv_to_dev(priv); in usbhsh_endpoint_detach() 449 * device control 478 /* return attached device */ in usbhsh_device_get() 489 struct device *de in usbhsh_device_attach() [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/ngene/ |
H A D | ngene-cards.c | 119 struct device *pdev = &chan->dev->pci_dev->dev; in tuner_attach_stv6110() 150 struct device *pdev = &chan->dev->pci_dev->dev; in tuner_attach_stv6111() 183 struct device *pdev = &chan->dev->pci_dev->dev; in tuner_attach_tda18271() 204 struct device *pdev = &chan->dev->pci_dev->dev; in tuner_tda18212_ping() 225 struct device *pdev = &chan->dev->pci_dev->dev; in tuner_attach_tda18212() 284 struct device *pdev = &chan->dev->pci_dev->dev; in demod_attach_stv0900() 328 struct device *pdev = &chan->dev->pci_dev->dev; in demod_attach_stv0910() 382 struct device *pdev = &chan->dev->pci_dev->dev; in demod_attach_stv0367() 401 struct device *pdev = &chan->dev->pci_dev->dev; in demod_attach_cxd28xx() 490 struct device *pde in demod_attach_drxk() [all...] |
/kernel/linux/linux-6.6/drivers/net/wwan/ |
H A D | wwan_core.c | 25 static DEFINE_MUTEX(wwan_register_lock); /* WWAN device create|remove lock */ 27 static DEFINE_IDA(wwan_dev_ids); /* for unique WWAN device IDs */ 39 * struct wwan_device - The structure that defines a WWAN device 41 * @id: WWAN device unique ID. 42 * @dev: Underlying device. 44 * @ops: wwan device ops 46 * @debugfs_dir: WWAN device debugfs dir 50 struct device dev; 66 * @dev: Underlying device 80 struct device de [all...] |
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_distributed_options.cpp | 59 for (const auto &device : devicesSupportDisplay_) { in Dump() 60 devicesSupportDisplay += device; in Dump() 65 for (const auto &device : devicesSupportOperate_) { in Dump() 66 devicesSupportOperate += device; in Dump()
|
/base/security/device_security_level/oem_property/common/ |
H A D | dslm_credential.c | 45 int32_t DefaultRequestDslmCred(const DeviceIdentify *device, const RequestObject *obj, DslmCredBuff **credBuff) in DefaultRequestDslmCred() argument 50 return request(device, obj, credBuff); in DefaultRequestDslmCred() 56 int32_t DefaultVerifyDslmCred(const DeviceIdentify *device, uint64_t challenge, const DslmCredBuff *credBuff, in DefaultVerifyDslmCred() argument 62 return verify(device, challenge, credBuff, credInfo); in DefaultVerifyDslmCred()
|
/kernel/linux/linux-5.10/drivers/base/regmap/ |
H A D | regmap-spi.c | 30 struct device *dev = context; in regmap_spi_write() 40 struct device *dev = context; in regmap_spi_gather_write() 61 struct device *dev = context; in regmap_spi_async_write() 95 struct device *dev = context; in regmap_spi_read()
|
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | virt-dma.c | 7 #include <linux/device.h> 32 dev_dbg(vc->chan.device->dev, "vchan %p: txd %p[%x]: submitted\n", in vchan_tx_submit() 59 dev_dbg(vc->chan.device->dev, "vchan %p: txd %p[%x]: freeing\n", in vchan_tx_desc_free() 136 vc->chan.device = dmadev; in vchan_init()
|
/kernel/linux/linux-5.10/drivers/crypto/ccree/ |
H A D | cc_fips.c | 59 struct device *dev = drvdata_to_dev(drvdata); in cc_ree_fips_failure() 91 static inline void tee_fips_error(struct device *dev) in tee_fips_error() 105 struct device *dev = drvdata_to_dev(p_drvdata); in cc_tee_handle_fips_error() 134 struct device *dev = drvdata_to_dev(p_drvdata); in cc_fips_init()
|
/kernel/linux/linux-5.10/drivers/ata/ |
H A D | pata_marvell.c | 6 * isn't making full use of the device functionality but it is 17 #include <linux/device.h> 27 * @pdev: PCI device 40 if (pdev->device != 0x6145) in marvell_pata_active() 73 if (pdev->device == 0x6145 && ap->port_no == 0 && in marvell_pre_reset() 99 /* No PIO or DMA methods needed for this device */ 113 * marvell_init_one - Register Marvell ATA PCI device with kernel services 114 * @pdev: PCI device to register 149 if (pdev->device == 0x6101) in marvell_init_one()
|
/kernel/linux/linux-5.10/arch/arm/mach-sa1100/ |
H A D | h3600.c | 101 static int h3600_irda_set_power(struct device *dev, unsigned int state) in h3600_irda_set_power() 107 static void h3600_irda_set_speed(struct device *dev, unsigned int speed) in h3600_irda_set_speed() 112 static int h3600_irda_startup(struct device *dev) in h3600_irda_startup() 117 static void h3600_irda_shutdown(struct device *dev) in h3600_irda_shutdown()
|
/kernel/linux/linux-5.10/arch/mips/pci/ |
H A D | ops-bonito64.c | 33 int device = PCI_SLOT(devfn); in bonito64_pcibios_config_access() local 39 if (device > MAX_DEV_NUM) in bonito64_pcibios_config_access() 42 addr = (1 << (device + ID_SEL_BEGIN)) | (function << 8) | reg; in bonito64_pcibios_config_access() 46 addr = (busnum << 16) | (device << 11) | (function << 8) | reg; in bonito64_pcibios_config_access()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
H A D | suspend.c | 18 static struct device suspend_dev; 77 * Update configuration which can be modified based on device tree in pseries_suspend_enable_irqs() 117 * @dev: subsys root device 118 * @attr: device attribute struct 128 static ssize_t store_hibernate(struct device *dev, in store_hibernate() 160 * show_hibernate - Report device tree update responsibilty 161 * @dev: subsys root device 162 * @attr: device attribute struct 165 * Report whether a device tree update is performed by the kernel after a 171 static ssize_t show_hibernate(struct device *de [all...] |
/kernel/linux/linux-5.10/arch/arm/xen/ |
H A D | mm.c | 47 static void dma_cache_maint(struct device *dev, dma_addr_t handle, in dma_cache_maint() 79 void xen_dma_sync_for_cpu(struct device *dev, dma_addr_t handle, in xen_dma_sync_for_cpu() 86 void xen_dma_sync_for_device(struct device *dev, dma_addr_t handle, in xen_dma_sync_for_device() 95 bool xen_arch_need_swiotlb(struct device *dev, in xen_arch_need_swiotlb() 106 * - The device doesn't support coherent DMA request in xen_arch_need_swiotlb() 114 * require a bounce buffer because the device doesn't support coherent in xen_arch_need_swiotlb()
|
/kernel/linux/linux-5.10/drivers/char/xillybus/ |
H A D | xillybus.h | 14 #include <linux/device.h> 91 * pointer, depending on the type of device 94 struct device *dev; 140 void *device; member 149 struct device *dev,
|
/kernel/linux/linux-5.10/drivers/clk/hisilicon/ |
H A D | clk.h | 106 struct clk *hisi_register_clkgate_sep(struct device *, const char *, 110 struct clk *hi6220_register_clkdiv(struct device *dev, const char *name, 122 struct clk *clk_register_hisi_phase(struct device *dev, 125 int hisi_clk_register_phase(struct device *dev,
|