/kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/ |
H A D | mod_gadget.c | 60 int (*device)(struct usbhs_priv *priv, struct usbhsg_uep *uep, member 124 struct device *dev = usbhsg_gpriv_to_dev(gpriv); in __usbhsg_queue_pop() 168 struct device *dev = usbhsg_gpriv_to_dev(gpriv); in usbhsg_queue_push() 187 static int usbhsg_dma_map_ctrl(struct device *dma_dev, struct usbhs_pkt *pkt, in usbhsg_dma_map_ctrl() 252 .device = usbhsg_recip_handler_std_control_done, 293 .device = usbhsg_recip_handler_std_set_device, 316 struct device *dev = usbhsg_gpriv_to_dev(gpriv); in __usbhsg_recip_send_status() 393 .device = usbhsg_recip_handler_std_get_device, 406 struct device *dev = usbhsg_gpriv_to_dev(gpriv); in usbhsg_recip_run_handle() 426 func = handler->device; in usbhsg_recip_run_handle() [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | test_kmod.c | 37 #include <linux/device.h> 51 * For device allocation / registration 58 * device we will allow to create. 97 * @test_dev: test device test is being performed under 114 * kmod_test_device - test device to help test kmod 116 * @dev_idx: unique ID for test device 118 * @misc_dev: we use a misc device under the hood 119 * @dev: pointer to misc_dev's own struct device 133 struct device *dev; 159 static struct miscdevice *dev_to_misc_dev(struct device *de [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | dfp.c | 285 struct nvif_object *device = &nouveau_drm(dev)->client.device.object; in nv04_dfp_mode_set() local 340 if (nvif_rd32(device, NV_PEXTDEV_BOOT_0) & NV_PEXTDEV_BOOT_0_STRAP_FP_IFACE_12BIT) in nv04_dfp_mode_set() 421 if (drm->client.device.info.chipset == 0x11) in nv04_dfp_mode_set() 432 if (drm->client.device.info.chipset != 0x11) { in nv04_dfp_mode_set() 468 if (drm->client.device.info.chipset < 0x44) in nv04_dfp_commit() 490 struct nvif_object *device = &nouveau_drm(dev)->client.device.object; in nv04_dfp_update_backlight() local 495 if (dev->pdev->device == 0x0174 || dev->pdev->device in nv04_dfp_update_backlight() [all...] |
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
H A D | acpiphp_glue.c | 55 * @adev: ACPI device object to create the context for. 76 * @adev: ACPI device object to get the context for. 185 * @adev: ACPI device object corresponding to a PCI device. 220 * acpiphp_add_context - Add ACPIPHP context to an ACPI device object. 236 int device, function; in acpiphp_add_context() local 251 device = (adr >> 16) & 0xffff; in acpiphp_add_context() 267 * If this is a dock device, its _EJ0 should be executed by the dock in acpiphp_add_context() 278 if (slot->device == device) in acpiphp_add_context() [all...] |
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | ideapad-laptop.c | 26 #include <linux/device.h> 340 static ssize_t show_ideapad_cam(struct device *dev, in show_ideapad_cam() 352 static ssize_t store_ideapad_cam(struct device *dev, in store_ideapad_cam() 371 static ssize_t show_ideapad_fan(struct device *dev, in show_ideapad_fan() 383 static ssize_t store_ideapad_fan(struct device *dev, in store_ideapad_fan() 404 static ssize_t touchpad_show(struct device *dev, in touchpad_show() 417 static ssize_t __maybe_unused touchpad_store(struct device *dev, in touchpad_store() 437 static ssize_t conservation_mode_show(struct device *dev, in conservation_mode_show() 449 static ssize_t conservation_mode_store(struct device *dev, in conservation_mode_store() 471 static ssize_t fn_lock_show(struct device *de 1093 ideapad_acpi_resume(struct device *device) ideapad_acpi_resume() argument [all...] |
/kernel/linux/linux-5.10/drivers/s390/crypto/ |
H A D | vfio_ap_ops.c | 3 * Adjunct processor matrix VFIO device driver callbacks. 13 #include <linux/device.h> 30 static int match_apqn(struct device *dev, const void *data) in match_apqn() 188 * @dev: the device associated with the ap_queue 271 * mediated device access. 369 static ssize_t name_show(struct kobject *kobj, struct device *dev, char *buf) in name_show() 377 struct device *dev, char *buf) in available_instances_show() 385 static ssize_t device_api_show(struct kobject *kobj, struct device *dev, in device_api_show() 419 * @dev: an AP queue device 422 * Flags whether the AP queue device ( [all...] |
/kernel/linux/linux-6.6/drivers/remoteproc/ |
H A D | imx_dsp_rproc.c | 99 * @dsp_dcfg: device configuration pointer 100 * @clks: clocks needed by this device 106 * @pd_dev: power domain device 107 * @pd_dev_link: power domain device link 124 struct device **pd_dev; 320 struct device *dev = rproc->dev.parent; in imx_dsp_rproc_start() 357 struct device *dev = rproc->dev.parent; in imx_dsp_rproc_stop() 393 * @da: device address to translate 395 * Convert system address (DDR address) to device address (DSP) 396 * for there may be memory remap for device [all...] |
H A D | ti_k3_dsp_remoteproc.c | 43 * @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-6.6/drivers/usb/renesas_usbhs/ |
H A D | mod_gadget.c | 60 int (*device)(struct usbhs_priv *priv, struct usbhsg_uep *uep, member 124 struct device *dev = usbhsg_gpriv_to_dev(gpriv); in __usbhsg_queue_pop() 168 struct device *dev = usbhsg_gpriv_to_dev(gpriv); in usbhsg_queue_push() 187 static int usbhsg_dma_map_ctrl(struct device *dma_dev, struct usbhs_pkt *pkt, in usbhsg_dma_map_ctrl() 252 .device = usbhsg_recip_handler_std_control_done, 293 .device = usbhsg_recip_handler_std_set_device, 316 struct device *dev = usbhsg_gpriv_to_dev(gpriv); in __usbhsg_recip_send_status() 393 .device = usbhsg_recip_handler_std_get_device, 406 struct device *dev = usbhsg_gpriv_to_dev(gpriv); in usbhsg_recip_run_handle() 426 func = handler->device; in usbhsg_recip_run_handle() [all...] |
/kernel/linux/linux-6.6/drivers/clocksource/ |
H A D | timer-ti-dm.c | 26 #include <linux/device.h> 470 struct device *dev = &timer->pdev->dev; in omap_dm_timer_enable() 481 struct device *dev = &timer->pdev->dev; in omap_dm_timer_disable() 488 struct device *dev = &timer->pdev->dev; in omap_dm_timer_prepare() 613 /* Requesting timer by ID is not supported when device tree is used */ in omap_dm_timer_request_specific() 628 * omap_dm_timer_request_by_node - Request a timer by device-tree node 629 * @np: Pointer to device-tree timer node 631 * Request a timer based upon a device node pointer. Returns pointer to 651 struct device *dev; in omap_dm_timer_free() 746 struct device *de in omap_dm_timer_start() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | rw.c | 41 * Check if the device will use memory registration for this RW operation. 95 u32 pages_per_mr = rdma_rw_fr_page_list_len(qp->pd->device, in rdma_rw_init_one_mr() 115 if (rdma_protocol_iwarp(qp->device, port_num)) in rdma_rw_init_one_mr() 129 u32 pages_per_mr = rdma_rw_fr_page_list_len(qp->pd->device, in rdma_rw_init_mr_wrs() 165 } else if (!rdma_cap_read_inv(qp->device, port_num)) { in rdma_rw_init_mr_wrs() 296 struct ib_device *dev = qp->pd->device; in rdma_rw_ctx_init() 326 if (rdma_rw_io_needs_mr(qp->device, port_num, dir, sg_cnt)) { in rdma_rw_ctx_init() 370 struct ib_device *dev = qp->pd->device; in rdma_rw_ctx_signature_init() 371 u32 pages_per_mr = rdma_rw_fr_page_list_len(qp->pd->device, in rdma_rw_ctx_signature_init() 431 if (rdma_protocol_iwarp(qp->device, port_nu in rdma_rw_ctx_signature_init() 641 rdma_rw_mr_factor(struct ib_device *device, u32 port_num, unsigned int maxpages) rdma_rw_mr_factor() argument [all...] |
/kernel/linux/linux-6.6/drivers/pci/hotplug/ |
H A D | acpiphp_glue.c | 55 * @adev: ACPI device object to create the context for. 76 * @adev: ACPI device object to get the context for. 185 * @adev: ACPI device object corresponding to a PCI device. 220 * acpiphp_add_context - Add ACPIPHP context to an ACPI device object. 236 int device, function; in acpiphp_add_context() local 252 device = (adr >> 16) & 0xffff; in acpiphp_add_context() 268 * If this is a dock device, its _EJ0 should be executed by the dock in acpiphp_add_context() 279 if (slot->device == device) in acpiphp_add_context() [all...] |
H A D | ibmphp_core.c | 106 /* This routine will put the correct slot->device information per slot. It's 135 (*cur_slot)->device = PCI_SLOT(rtable->slots[loop].devfn); in ibmphp_init_devno() 138 (int) (*cur_slot)->device, i); in ibmphp_init_devno() 539 static struct pci_func *ibm_slot_find(u8 busno, u8 device, u8 function) in ibm_slot_find() argument 548 (func_cur->device == device) && in ibm_slot_find() 593 debug("func->device = %x, func->function = %x\n", in ibm_unconfigure_device() 594 func->device, func->function); in ibm_unconfigure_device() 595 debug("func->device << 3 | 0x0 = %x\n", func->device << in ibm_unconfigure_device() [all...] |
/kernel/linux/linux-6.6/drivers/pci/ |
H A D | p2pdma.c | 41 static ssize_t size_show(struct device *dev, struct device_attribute *attr, in size_show() 58 static ssize_t available_show(struct device *dev, struct device_attribute *attr, in available_show() 75 static ssize_t published_show(struct device *dev, struct device_attribute *attr, in published_show() 277 * @pdev: the device to add the memory to 360 * Note this function returns the parent PCI device with a 364 static struct pci_dev *find_parent_pci_dev(struct device *dev) in find_parent_pci_dev() 366 struct device *parent; in find_parent_pci_dev() 427 unsigned short device; member 449 * If the first device on host's root bus is either devfn 00.0 or a PCIe 453 * (though there is no PCI/PCIe requirement for such a device) 489 unsigned short vendor, device; __host_bridge_whitelist() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | dfp.c | 285 struct nvif_object *device = &nouveau_drm(dev)->client.device.object; in nv04_dfp_mode_set() local 340 if (nvif_rd32(device, NV_PEXTDEV_BOOT_0) & NV_PEXTDEV_BOOT_0_STRAP_FP_IFACE_12BIT) in nv04_dfp_mode_set() 421 if (drm->client.device.info.chipset == 0x11) in nv04_dfp_mode_set() 432 if (drm->client.device.info.chipset != 0x11) { in nv04_dfp_mode_set() 468 if (drm->client.device.info.chipset < 0x44) in nv04_dfp_commit() 490 struct nvif_object *device = &nouveau_drm(dev)->client.device.object; in nv04_dfp_update_backlight() local 496 if (pdev->device == 0x0174 || pdev->device in nv04_dfp_update_backlight() [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | ibmaem.c | 102 struct device *bmc_device; 107 ssize_t (*show)(struct device *dev, 115 ssize_t (*show)(struct device *dev, 118 ssize_t (*set)(struct device *dev, 127 struct device *hwmon_dev; 232 static void aem_register_bmc(int iface, struct device *dev); 258 struct device *bmc) in aem_init_ipmi_data() 541 /* Create sub-device for this fw instance */ in aem_init_aem1_inst() 567 "Unable to register hwmon device for IPMI interface %d\n", in aem_init_aem1_inst() 683 /* Create sub-device fo in aem_init_aem2_inst() [all...] |
H A D | lm95234.c | 205 static ssize_t temp_show(struct device *dev, struct device_attribute *attr, in temp_show() 219 static ssize_t alarm_show(struct device *dev, struct device_attribute *attr, in alarm_show() 232 static ssize_t type_show(struct device *dev, struct device_attribute *attr, in type_show() 245 static ssize_t type_store(struct device *dev, struct device_attribute *attr, in type_store() 276 static ssize_t tcrit2_show(struct device *dev, struct device_attribute *attr, in tcrit2_show() 289 static ssize_t tcrit2_store(struct device *dev, struct device_attribute *attr, in tcrit2_store() 314 static ssize_t tcrit2_hyst_show(struct device *dev, in tcrit2_hyst_show() 329 static ssize_t tcrit1_show(struct device *dev, struct device_attribute *attr, in tcrit1_show() 338 static ssize_t tcrit1_store(struct device *dev, struct device_attribute *attr, in tcrit1_store() 363 static ssize_t tcrit1_hyst_show(struct device *de [all...] |
H A D | smsc47m1.c | 34 MODULE_PARM_DESC(force_id, "Override the detected device ID"); 60 /* logical device for fans is 0x0A */ 85 /* Logical device registers */ 120 struct device *hwmon_dev; 134 u8 activate; /* Remember initial device state */ 148 static struct smsc47m1_data *smsc47m1_update_device(struct device *dev, in smsc47m1_update_device() 197 static ssize_t fan_show(struct device *dev, struct device_attribute *devattr, in fan_show() 216 static ssize_t fan_min_show(struct device *dev, in fan_min_show() 227 static ssize_t fan_div_show(struct device *dev, in fan_div_show() 235 static ssize_t fan_alarm_show(struct device *de [all...] |
H A D | w83l786ng.c | 149 static struct w83l786ng_data *w83l786ng_update_device(struct device *dev) in w83l786ng_update_device() 223 show_##reg(struct device *dev, struct device_attribute *attr, \ 237 store_in_##reg(struct device *dev, struct device_attribute *attr, \ 277 static ssize_t show_##reg(struct device *dev, struct device_attribute *attr, \ 290 store_fan_min(struct device *dev, struct device_attribute *attr, in store_fan_min() 313 show_fan_div(struct device *dev, struct device_attribute *attr, in show_fan_div() 328 store_fan_div(struct device *dev, struct device_attribute *attr, in store_fan_div() 405 show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp() 416 store_temp(struct device *dev, struct device_attribute *attr, in store_temp() 461 static ssize_t show_##reg(struct device *de [all...] |
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-ntrig.c | 12 #include <linux/device.h> 168 static ssize_t show_phys_width(struct device *dev, in show_phys_width() 180 static ssize_t show_phys_height(struct device *dev, in show_phys_height() 192 static ssize_t show_log_width(struct device *dev, in show_log_width() 204 static ssize_t show_log_height(struct device *dev, in show_log_height() 216 static ssize_t show_min_width(struct device *dev, in show_min_width() 228 static ssize_t set_min_width(struct device *dev, in set_min_width() 251 static ssize_t show_min_height(struct device *dev, in show_min_height() 263 static ssize_t set_min_height(struct device *dev, in set_min_height() 287 static ssize_t show_activate_slack(struct device *de [all...] |
/kernel/linux/linux-6.6/drivers/hwtracing/coresight/ |
H A D | coresight-stm.c | 456 static ssize_t hwevent_enable_show(struct device *dev, in hwevent_enable_show() 465 static ssize_t hwevent_enable_store(struct device *dev, in hwevent_enable_store() 485 static ssize_t hwevent_select_show(struct device *dev, in hwevent_select_show() 494 static ssize_t hwevent_select_store(struct device *dev, in hwevent_select_store() 512 static ssize_t port_select_show(struct device *dev, in port_select_show() 529 static ssize_t port_select_store(struct device *dev, in port_select_store() 559 static ssize_t port_enable_show(struct device *dev, in port_enable_show() 576 static ssize_t port_enable_store(struct device *dev, in port_enable_store() 602 static ssize_t traceid_show(struct device *dev, in traceid_show() 654 static int of_stm_get_stimulus_area(struct device *de [all...] |
/kernel/linux/linux-6.6/drivers/iommu/ |
H A D | mtk_iommu_v1.c | 13 #include <linux/device.h> 99 struct device *dev; 119 static int mtk_iommu_v1_bind(struct device *dev) in mtk_iommu_v1_bind() 126 static void mtk_iommu_v1_unbind(struct device *dev) in mtk_iommu_v1_unbind() 233 struct device *dev, bool enable) in mtk_iommu_v1_config() 297 static int mtk_iommu_v1_attach_device(struct iommu_domain *domain, struct device *dev) in mtk_iommu_v1_attach_device() 322 static void mtk_iommu_v1_set_platform_dma(struct device *dev) in mtk_iommu_v1_set_platform_dma() 393 static int mtk_iommu_v1_create_mapping(struct device *dev, struct of_phandle_args *args) in mtk_iommu_v1_create_mapping() 417 /* Get the m4u device */ in mtk_iommu_v1_create_mapping() 444 static int mtk_iommu_v1_def_domain_type(struct device *de [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | test_kmod.c | 27 #include <linux/device.h> 41 * For device allocation / registration 48 * device we will allow to create. 86 * @test_dev: test device test is being performed under 103 * struct kmod_test_device - test device to help test kmod 105 * @dev_idx: unique ID for test device 107 * @misc_dev: we use a misc device under the hood 108 * @dev: pointer to misc_dev's own struct device 122 struct device *dev; 148 static struct miscdevice *dev_to_misc_dev(struct device *de [all...] |
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
H A D | cpp_driver_lite.py | 63 CppTest is a test that runs a native test package on given lite device. 94 self.config.device = request.config.environment.devices[0] 108 kit.__setup__(request.config.device, request=request) 140 if self.config.device.get("device_kernel") == \ 147 self.config.device.execute_command_with_timeout( 190 if self.config.device.get("device_kernel") == \ 192 self.config.device.execute_command_with_timeout( 195 self.config.device.execute_command_with_timeout( 198 kit.__teardown__(request.config.device) 199 self.config.device [all...] |
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
H A D | kernel.cpp | 58 w.resize(q.device().max_block_size().size(), x); in pad_vector() 67 const auto b = program().build(q.device()).bin; in launch() 148 q.device().max_threads_per_block(), q.device().max_block_size(), in optimal_block_size() 179 return program().build(q.device()).bin; in binary() 197 auto &b = kern.program().build(q->device()).bin; in bind() 256 cl_mem buf = kern._constant_buffers.at(&q->device()).get(); in bind() 264 q->device().max_printf_buffer_size()); in bind() 282 cs.ir_type = q->device().ir_format(); in bind() 452 byteswap(w, ctx.q->device() in bind() [all...] |