Home
last modified time | relevance | path

Searched refs:device (Results 3276 - 3300 of 25927) sorted by relevance

1...<<131132133134135136137138139140>>...1038

/kernel/linux/linux-6.6/drivers/thunderbolt/
H A Ddomain.c9 #include <linux/device.h>
47 static const struct tb_service_id *__tb_service_match(struct device *dev, in __tb_service_match()
70 static int tb_service_match(struct device *dev, struct device_driver *drv) in tb_service_match()
75 static int tb_service_probe(struct device *dev) in tb_service_probe()
87 static void tb_service_remove(struct device *dev) in tb_service_remove()
97 static void tb_service_shutdown(struct device *dev) in tb_service_shutdown()
120 static ssize_t boot_acl_show(struct device *dev, struct device_attribute *attr, in boot_acl_show()
160 static ssize_t boot_acl_store(struct device *dev, struct device_attribute *attr, in boot_acl_store()
236 static ssize_t deauthorization_show(struct device *dev, in deauthorization_show()
252 static ssize_t iommu_dma_protection_show(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/crypto/caam/
H A Dqi.c11 #include <linux/device.h>
106 int caam_qi_enqueue(struct device *qidev, struct caam_drv_req *req) in caam_qi_enqueue()
147 struct device *qidev = &(raw_cpu_ptr(&pcpu_qipriv)->net_dev.dev); in caam_fq_ern_cb()
175 static struct qman_fq *create_caam_req_fq(struct device *qidev, in create_caam_req_fq()
225 static int empty_retired_fq(struct device *qidev, struct qman_fq *fq) in empty_retired_fq()
248 static int kill_fq(struct device *qidev, struct qman_fq *fq) in kill_fq()
331 struct device *qidev = drv_ctx->qidev; in caam_drv_ctx_update()
402 struct caam_drv_ctx *caam_drv_ctx_init(struct device *qidev, in caam_drv_ctx_init()
520 struct device *qidev = data; in caam_qi_shutdown()
576 struct device *qide in caam_rsp_fq_dqrr_cb()
[all...]
/kernel/linux/linux-6.6/drivers/dma/mediatek/
H A Dmtk-uart-apdma.c139 to_mtk_uart_apdma_dev(c->vc.chan.device); in mtk_uart_apdma_start_tx()
157 dev_err(c->vc.chan.device->dev, "Enable TX fail\n"); in mtk_uart_apdma_start_tx()
182 to_mtk_uart_apdma_dev(c->vc.chan.device); in mtk_uart_apdma_start_rx()
201 dev_err(c->vc.chan.device->dev, "Enable RX fail\n"); in mtk_uart_apdma_start_rx()
271 struct mtk_uart_apdmadev *mtkd = to_mtk_uart_apdma_dev(chan->device); in mtk_uart_apdma_alloc_chan_resources()
278 pm_runtime_put_noidle(chan->device->dev); in mtk_uart_apdma_alloc_chan_resources()
295 dev_err(chan->device->dev, "Can't request dma IRQ\n"); in mtk_uart_apdma_alloc_chan_resources()
310 struct mtk_uart_apdmadev *mtkd = to_mtk_uart_apdma_dev(chan->device); in mtk_uart_apdma_free_chan_resources()
408 dev_err(c->vc.chan.device->dev, "flush: fail, status=0x%x\n", in mtk_uart_apdma_terminate_all()
421 dev_err(c->vc.chan.device in mtk_uart_apdma_terminate_all()
[all...]
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Damd_gart_64.c89 static unsigned long alloc_iommu(struct device *dev, int size, in alloc_iommu()
164 static void iommu_full(struct device *dev, size_t size, int dir) in iommu_full()
183 need_iommu(struct device *dev, unsigned long addr, size_t size) in need_iommu()
189 nonforced_iommu(struct device *dev, unsigned long addr, size_t size) in nonforced_iommu()
197 static dma_addr_t dma_map_area(struct device *dev, dma_addr_t phys_mem, in dma_map_area()
225 static dma_addr_t gart_map_page(struct device *dev, struct page *page, in gart_map_page()
245 static void gart_unmap_page(struct device *dev, dma_addr_t dma_addr, in gart_unmap_page()
276 static void gart_unmap_sg(struct device *dev, struct scatterlist *sg, int nents, in gart_unmap_sg()
290 static int dma_map_sg_nonforce(struct device *dev, struct scatterlist *sg, in dma_map_sg_nonforce()
322 static int __dma_map_cont(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/leds/
H A Dleds-lp55xx-common.c33 static struct lp55xx_led *dev_to_lp55xx_led(struct device *dev) in dev_to_lp55xx_led()
49 /* no error checking here because no ACK from the device after reset */ in lp55xx_reset_device()
86 static ssize_t led_current_show(struct device *dev, in led_current_show()
95 static ssize_t led_current_store(struct device *dev, in led_current_store()
119 static ssize_t max_current_show(struct device *dev, in max_current_show()
165 struct device *dev = &chip->cl->dev; in lp55xx_init_led()
240 struct device *dev = &chip->cl->dev; in lp55xx_firmware_loaded()
266 struct device *dev = &chip->cl->dev; in lp55xx_request_firmware()
272 static ssize_t select_engine_show(struct device *dev, in select_engine_show()
282 static ssize_t select_engine_store(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/media/cec/platform/seco/
H A Dseco-cec.c25 struct device *dev;
95 struct device *dev = cec->dev; in secocec_adap_enable()
144 /* Disable device */ in secocec_adap_log_addr()
161 /* Re-enable device */ in secocec_adap_log_addr()
244 struct device *dev = cec->dev; in secocec_rx_done()
277 /* device stores source LA and destination */ in secocec_rx_done()
292 /* device stores 2 bytes in every 16-bit val */ in secocec_rx_done()
337 struct device *dev = cec->dev; in secocec_ir_probe()
341 /* Prepare the RC input device */ in secocec_ir_probe()
385 dev_err(dev, "Failed to prepare input device\ in secocec_ir_probe()
[all...]
/kernel/linux/linux-6.6/sound/firewire/bebob/
H A Dbebob_stream.c128 /* 1.The device has its own operation to switch source of clock */ in snd_bebob_stream_get_clock_src()
132 dev_err(&bebob->unit->device, in snd_bebob_stream_get_clock_src()
138 dev_err(&bebob->unit->device, in snd_bebob_stream_get_clock_src()
150 * 2.The device don't support to switch source of clock then assumed in snd_bebob_stream_get_clock_src()
159 * 3.The device supports to switch source of clock by an usual way. in snd_bebob_stream_get_clock_src()
166 dev_err(&bebob->unit->device, in snd_bebob_stream_get_clock_src()
279 dev_err(&bebob->unit->device, in map_data_channels()
301 dev_err(&bebob->unit->device, in map_data_channels()
390 dev_err(&bebob->unit->device, in check_connection_used_by_others()
561 dev_err(&bebob->unit->device, in snd_bebob_stream_reserve_duplex()
[all...]
/kernel/linux/linux-6.6/sound/firewire/
H A Disight.c10 #include <linux/device.h>
52 struct fw_device *device; member
200 dev_err(&isight->unit->device, "queueing error: %d\n", err); in isight_packet()
220 isight->device->max_speed); in isight_connect()
226 value = cpu_to_be32(ch | (isight->device->max_speed << SPEED_SHIFT)); in isight_connect()
361 isight->context = fw_iso_context_create(isight->device->card, in isight_start_streaming()
364 isight->device->max_speed, in isight_start_streaming()
620 err = snd_card_new(&unit->device, -1, NULL, THIS_MODULE, in isight_probe()
629 isight->device = fw_dev; in isight_probe()
632 dev_err(&unit->device, "audi in isight_probe()
[all...]
/kernel/liteos_m/components/power/
H A Dlos_pm.c62 LosPmDevice *device; member
197 if ((prepare == 0) && (pm->device->resume != NULL)) { in OsPmResumePrepare()
198 pm->device->resume(mode); in OsPmResumePrepare()
246 *deviceSuspend = pm->device->suspend; in OsPmSuspendCheck()
321 STATIC UINT32 OsPmDeviceRegister(LosPmCB *pm, LosPmDevice *device) in OsPmDeviceRegister() argument
325 if ((device->suspend == NULL) || (device->resume == NULL)) { in OsPmDeviceRegister()
330 pm->device = device; in OsPmDeviceRegister()
422 STATIC UINT32 OsPmDeviceUnregister(LosPmCB *pm, LosPmDevice *device) in OsPmDeviceUnregister() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dni.c468 if ((rdev->pdev->device == 0x9900) || in ni_init_golden_registers()
469 (rdev->pdev->device == 0x9901) || in ni_init_golden_registers()
470 (rdev->pdev->device == 0x9903) || in ni_init_golden_registers()
471 (rdev->pdev->device == 0x9904) || in ni_init_golden_registers()
472 (rdev->pdev->device == 0x9905) || in ni_init_golden_registers()
473 (rdev->pdev->device == 0x9906) || in ni_init_golden_registers()
474 (rdev->pdev->device == 0x9907) || in ni_init_golden_registers()
475 (rdev->pdev->device == 0x9908) || in ni_init_golden_registers()
476 (rdev->pdev->device == 0x9909) || in ni_init_golden_registers()
477 (rdev->pdev->device in ni_init_golden_registers()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramgk104.c234 struct nvkm_device *device = fb->subdev.device; in gk104_ram_nuts() local
242 u32 prev = nvkm_rd32(device, addr); in gk104_ram_nuts()
263 if (nvkm_device_engine(ram->base.fb->subdev.device, NVKM_ENGINE_DISP)) in gk104_ram_calc_gddr5()
664 if (nvkm_device_engine(ram->base.fb->subdev.device, NVKM_ENGINE_DISP)) in gk104_ram_calc_gddr5()
714 if (nvkm_device_engine(ram->base.fb->subdev.device, NVKM_ENGINE_DISP)) in gk104_ram_calc_sddr3()
946 if (nvkm_device_engine(ram->base.fb->subdev.device, NVKM_ENGINE_DISP)) in gk104_ram_calc_sddr3()
1065 ret = gk104_pll_calc_hiclk(next->freq, subdev->device->crystal, in gk104_ram_calc_xits()
1115 struct nvkm_clk *clk = ram->base.fb->subdev.device->clk; in gk104_ram_calc()
1157 struct nvkm_device *device in gk104_ram_prog_0() local
1235 struct nvkm_device *device = ram->base.fb->subdev.device; gk104_ram_prog() local
1335 struct nvkm_device *device = subdev->device; gk104_ram_train_init_0() local
1400 struct nvkm_device *device = subdev->device; gk104_ram_init() local
1525 struct nvkm_device *device = subdev->device; gk104_ram_new_() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dsg.c99 static int sg_add_device(struct device *);
100 static void sg_remove_device(struct device *);
104 file descriptor list for device */
141 struct list_head sfd_siblings; /* protected by device's sfd_lock */
142 struct sg_device *parentdp; /* owning device */
162 typedef struct sg_device { /* holds the state of each scsi generic device */
163 struct scsi_device *device; member
167 u32 index; /* device index number */
170 atomic_t detaching; /* 0->device usable, 1->device detachin
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dni.c455 if ((rdev->pdev->device == 0x9900) || in ni_init_golden_registers()
456 (rdev->pdev->device == 0x9901) || in ni_init_golden_registers()
457 (rdev->pdev->device == 0x9903) || in ni_init_golden_registers()
458 (rdev->pdev->device == 0x9904) || in ni_init_golden_registers()
459 (rdev->pdev->device == 0x9905) || in ni_init_golden_registers()
460 (rdev->pdev->device == 0x9906) || in ni_init_golden_registers()
461 (rdev->pdev->device == 0x9907) || in ni_init_golden_registers()
462 (rdev->pdev->device == 0x9908) || in ni_init_golden_registers()
463 (rdev->pdev->device == 0x9909) || in ni_init_golden_registers()
464 (rdev->pdev->device in ni_init_golden_registers()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramgk104.c234 struct nvkm_device *device = fb->subdev.device; in gk104_ram_nuts() local
242 u32 prev = nvkm_rd32(device, addr); in gk104_ram_nuts()
263 if (ram->base.fb->subdev.device->disp) in gk104_ram_calc_gddr5()
664 if (ram->base.fb->subdev.device->disp) in gk104_ram_calc_gddr5()
714 if (ram->base.fb->subdev.device->disp) in gk104_ram_calc_sddr3()
946 if (ram->base.fb->subdev.device->disp) in gk104_ram_calc_sddr3()
1065 ret = gk104_pll_calc_hiclk(next->freq, subdev->device->crystal, in gk104_ram_calc_xits()
1115 struct nvkm_clk *clk = ram->base.fb->subdev.device->clk; in gk104_ram_calc()
1157 struct nvkm_device *device in gk104_ram_prog_0() local
1235 struct nvkm_device *device = ram->base.fb->subdev.device; gk104_ram_prog() local
1335 struct nvkm_device *device = subdev->device; gk104_ram_train_init_0() local
1400 struct nvkm_device *device = subdev->device; gk104_ram_init() local
1525 struct nvkm_device *device = subdev->device; gk104_ram_new_() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c17 * The virtual adapter(s) are present in the open firmware device
635 * @dev: device for which the memory is mapped
640 struct device *dev) in unmap_cmd_data()
675 * @dev: device for which to map dma memory
682 struct srp_cmd *srp_cmd, struct device *dev) in map_sg_data()
726 sdev_printk(KERN_ERR, cmd->device, in map_sg_data()
749 * @dev: dma device for which to map dma memory
756 struct srp_cmd *srp_cmd, struct device *dev) in map_data_for_srp_cmd()
765 sdev_printk(KERN_ERR, cmd->device, in map_data_for_srp_cmd()
769 sdev_printk(KERN_ERR, cmd->device, in map_data_for_srp_cmd()
[all...]
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dasus-laptop.c157 * they also control the WLAN/Bluetooth device.
234 * about the hotk device
241 struct acpi_device *device; /* the device we are in */ member
274 acpi_handle handle; /* the handle of the hotk device */
450 struct device *parent = input->dev.parent; in pega_accel_poll()
456 * device, and perhaps a firmware bug. Fake the first report. */ in pega_accel_poll()
472 * "real up" in the device's cartiesian coordinates). */ in pega_accel_poll()
746 * Backlight device
814 pr_err("Could not register asus backlight device\ in asus_backlight_init()
1518 asus_acpi_notify(struct acpi_device *device, u32 event) asus_acpi_notify() argument
1826 asus_acpi_add(struct acpi_device *device) asus_acpi_add() argument
1904 asus_acpi_remove(struct acpi_device *device) asus_acpi_remove() argument
[all...]
/kernel/linux/linux-5.10/drivers/remoteproc/
H A Dremoteproc_core.c22 #include <linux/device.h>
82 * will try to access an unmapped device address.
84 static int rproc_iommu_fault(struct iommu_domain *domain, struct device *dev, in rproc_iommu_fault()
103 struct device *dev = rproc->dev.parent; in rproc_enable_iommu()
121 dev_err(dev, "can't attach iommu device: %d\n", ret); in rproc_enable_iommu()
137 struct device *dev = rproc->dev.parent; in rproc_disable_iommu()
166 * @da: remoteproc device address to translate
171 * device addresses (which are hardcoded in the firmware). They may also have
175 * They may then ask us to copy objects into specific device addresses (e.g.
176 * code/data sections) or expose us certain symbols in other device addres
[all...]
/kernel/linux/linux-6.6/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c17 * The virtual adapter(s) are present in the open firmware device
635 * @dev: device for which the memory is mapped
639 struct device *dev) in unmap_cmd_data()
675 * @dev: device for which to map dma memory
682 struct srp_cmd *srp_cmd, struct device *dev) in map_sg_data()
725 sdev_printk(KERN_ERR, cmd->device, in map_sg_data()
749 * @dev: dma device for which to map dma memory
756 struct srp_cmd *srp_cmd, struct device *dev) in map_data_for_srp_cmd()
765 sdev_printk(KERN_ERR, cmd->device, in map_data_for_srp_cmd()
769 sdev_printk(KERN_ERR, cmd->device, in map_data_for_srp_cmd()
[all...]
/kernel/linux/linux-6.6/drivers/devfreq/
H A Ddevfreq.c49 /* The list of all device-devfreq governors */
51 /* The list of all device-devfreq */
61 * find_device_devfreq() - find devfreq struct using device pointer
62 * @dev: device pointer used to lookup device devfreq.
64 * Search the list of device devfreqs and return the matched device's
67 static struct devfreq *find_device_devfreq(struct device *dev) in find_device_devfreq()
373 * change order of between devfreq device and passive devfreq device in devfreq_set_target()
[all...]
/drivers/hdf_core/adapter/khdf/uniproton/test/sample_driver/src/
H A Dplatform_manager_test.c103 // should add first device success in PlatformManagerTestAddAndDel()
117 // should find the device added in PlatformManagerTestAddAndDel()
122 // should find another device added in PlatformManagerTestAddAndDel()
146 // should not get the device removed in PlatformManagerTestAddAndDel()
180 // should get the device by number in PlatformManagerTestGetDevice()
195 // should get the device by name in PlatformManagerTestGetDevice()
216 struct PlatformDevice *device = g_platDevices[0]; in PlatformManagerTestReliability() local
217 int32_t number = device->number; in PlatformManagerTestReliability()
221 ret = PlatformManagerAddDevice(NULL, device); in PlatformManagerTestReliability()
224 // should not add success when device i in PlatformManagerTestReliability()
[all...]
/drivers/hdf_core/adapter/khdf/linux/model/audio/
H A DMakefile19 KHDF_AUDIO_IMX8MM_DIR = $(KHDF_AUDIO_BASE_ROOT_DIR)/device/board/osware/$(DEVICE_NAME)/drivers/audio
20 KHDF_AUDIO_IMX8MM_INC_DIR = drivers/hdf/framework/../../../device/board/osware/$(DEVICE_NAME)/drivers/audio
21 KHDF_AUDIO_A311D_DIR = $(KHDF_AUDIO_BASE_ROOT_DIR)/device/board/unionman/$(DEVICE_NAME)/kernel/hdf/audio
22 KHDF_AUDIO_A311D_INC_DIR = drivers/hdf/framework/../../../device/board/unionman/$(DEVICE_NAME)/kernel/hdf/audio
54 $(KHDF_AUDIO_BASE_ROOT_DIR)/device/board/hisilicon/hispark_taurus/audio_drivers/
57 $(KHDF_AUDIO_BASE_ROOT_DIR)/device/board/hihope/rk3568/audio_drivers/
60 $(KHDF_AUDIO_BASE_ROOT_DIR)/device/board/hihope/dayu210/audio_drivers/
63 $(KHDF_AUDIO_BASE_ROOT_DIR)/device/board/kaihong/khdvk_3566b/kernel/audio/
/drivers/hdf_core/framework/support/platform/src/mipi/
H A Dmipi_dsi_core.c24 int32_t MipiDsiRegisterCntlr(struct MipiDsiCntlr *cntlr, struct HdfDeviceObject *device) in MipiDsiRegisterCntlr() argument
35 if (device == NULL) { in MipiDsiRegisterCntlr()
36 HDF_LOGE("MipiDsiRegisterCntlr: device is null!"); in MipiDsiRegisterCntlr()
46 cntlr->device = device; in MipiDsiRegisterCntlr()
47 device->service = &(cntlr->service); in MipiDsiRegisterCntlr()
72 struct MipiDsiCntlr *MipiDsiCntlrFromDevice(const struct HdfDeviceObject *device) in MipiDsiCntlrFromDevice() argument
74 return (device == NULL) ? NULL : (struct MipiDsiCntlr *)device->service; in MipiDsiCntlrFromDevice()
/drivers/hdf_core/framework/support/platform/src/watchdog/
H A Dwatchdog_core.c28 if (cntlr->device == NULL) { in WatchdogCntlrAdd()
29 HDF_LOGE("WatchdogCntlrAdd: no device associated!"); in WatchdogCntlrAdd()
44 cntlr->device->service = &cntlr->service; in WatchdogCntlrAdd()
45 cntlr->device->service->Dispatch = WatchdogIoDispatch; in WatchdogCntlrAdd()
56 if (cntlr->device == NULL) { in WatchdogCntlrRemove()
57 HDF_LOGE("WatchdogCntlrRemove: no device associated!"); in WatchdogCntlrRemove()
61 cntlr->device->service = NULL; in WatchdogCntlrRemove()
340 if (client->device == NULL) { in WatchdogIoDispatch()
341 HDF_LOGE("WatchdogIoDispatch: client->device is null!"); in WatchdogIoDispatch()
344 if (client->device in WatchdogIoDispatch()
[all...]
/drivers/hdf_core/framework/test/unittest/platform/common/
H A Dplatform_manager_test.c34 PLAT_LOGE("PlatformManagerTestCreateDevices: memcalloc platform device fail, ret: %d!", ret); in PlatformManagerTestCreateDevices()
42 PLAT_LOGE("PlatformManagerTestCreateDevices: platform device init fail, ret: %d!", ret); in PlatformManagerTestCreateDevices()
85 // should add first device success in PlatformManagerTestAddAndDel()
99 // should find the device added in PlatformManagerTestAddAndDel()
104 // should find another device added in PlatformManagerTestAddAndDel()
128 // should not get the device removed in PlatformManagerTestAddAndDel()
162 // should get the device by number in PlatformManagerTestGetDevice()
177 // should get the device by name in PlatformManagerTestGetDevice()
198 struct PlatformDevice *device = g_platDevices[0]; in PlatformManagerTestReliability() local
199 int32_t number = device in PlatformManagerTestReliability()
[all...]
/kernel/linux/linux-5.10/drivers/clk/
H A Dclkdev.c11 #include <linux/device.h>
28 * Find the correct struct clk for the device and connection ID.
31 * If an entry has a device ID, it must match
86 static struct clk *__clk_get_sys(struct device *dev, const char *dev_id, in __clk_get_sys()
100 struct clk *clk_get(struct device *dev, const char *con_id) in clk_get()
224 * @con_id: connection ID string on device
225 * @dev_fmt: format string describing device name
247 * @con_id: connection ID string on device
248 * @dev_fmt: format string describing device name
268 const char *con_id, struct device *de in clk_add_alias()
[all...]

Completed in 57 milliseconds

1...<<131132133134135136137138139140>>...1038