Home
last modified time | relevance | path

Searched refs:device (Results 276 - 300 of 29412) sorted by relevance

1...<<11121314151617181920>>...1177

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dnv50.c57 struct nvkm_device *device = therm->subdev.device; in nv50_fan_pwm_ctrl() local
61 nvkm_mask(device, ctrl, 0x00010001 << line, data << line); in nv50_fan_pwm_ctrl()
68 struct nvkm_device *device = therm->subdev.device; in nv50_fan_pwm_get() local
73 if (nvkm_rd32(device, ctrl) & (1 << line)) { in nv50_fan_pwm_get()
74 *divs = nvkm_rd32(device, 0x00e114 + (id * 8)); in nv50_fan_pwm_get()
75 *duty = nvkm_rd32(device, 0x00e118 + (id * 8)); in nv50_fan_pwm_get()
85 struct nvkm_device *device = therm->subdev.device; in nv50_fan_pwm_set() local
98 struct nvkm_device *device = therm->subdev.device; nv50_fan_pwm_clock() local
123 struct nvkm_device *device = therm->subdev.device; nv50_sensor_setup() local
131 struct nvkm_device *device = therm->subdev.device; nv50_temp_get() local
172 nv50_therm_new(struct nvkm_device *device, int index, struct nvkm_therm **ptherm) nv50_therm_new() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dnv50.c57 struct nvkm_device *device = therm->subdev.device; in nv50_fan_pwm_ctrl() local
61 nvkm_mask(device, ctrl, 0x00010001 << line, data << line); in nv50_fan_pwm_ctrl()
68 struct nvkm_device *device = therm->subdev.device; in nv50_fan_pwm_get() local
73 if (nvkm_rd32(device, ctrl) & (1 << line)) { in nv50_fan_pwm_get()
74 *divs = nvkm_rd32(device, 0x00e114 + (id * 8)); in nv50_fan_pwm_get()
75 *duty = nvkm_rd32(device, 0x00e118 + (id * 8)); in nv50_fan_pwm_get()
85 struct nvkm_device *device = therm->subdev.device; in nv50_fan_pwm_set() local
98 struct nvkm_device *device = therm->subdev.device; nv50_fan_pwm_clock() local
123 struct nvkm_device *device = therm->subdev.device; nv50_sensor_setup() local
131 struct nvkm_device *device = therm->subdev.device; nv50_temp_get() local
172 nv50_therm_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_therm **ptherm) nv50_therm_new() argument
[all...]
/test/testfwk/xdevice/plugins/ohos/src/ohos/
H A Dexception.py111 def __init__(self, error_msg, error_no="", device=None):
113 if device:
114 self.print_info(device)
117 def print_info(device):
118 device.log.info("#############################################"
121 OHOSRpcNotRunningError.develop_mode(device)
122 OHOSRpcNotRunningError.memery_info(device)
123 device.log.info("#############################################"
128 def develop_mode(device):
129 if not device
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dsorgf119.c31 struct nvkm_device *device = sor->disp->engine.subdev.device; in gf119_sor_dp_watermark() local
33 nvkm_mask(device, 0x616610 + hoff, 0x0800003f, 0x08000000 | watermark); in gf119_sor_dp_watermark()
39 struct nvkm_device *device = sor->disp->engine.subdev.device; in gf119_sor_dp_audio_sym() local
41 nvkm_mask(device, 0x616620 + hoff, 0x0000ffff, h); in gf119_sor_dp_audio_sym()
42 nvkm_mask(device, 0x616624 + hoff, 0x00ffffff, v); in gf119_sor_dp_audio_sym()
48 struct nvkm_device *device = sor->disp->engine.subdev.device; in gf119_sor_dp_audio() local
52 nvkm_mask(device, in gf119_sor_dp_audio()
63 struct nvkm_device *device = sor->disp->engine.subdev.device; gf119_sor_dp_vcpi() local
73 struct nvkm_device *device = sor->disp->engine.subdev.device; gf119_sor_dp_drive() local
93 struct nvkm_device *device = sor->disp->engine.subdev.device; gf119_sor_dp_pattern() local
101 struct nvkm_device *device = sor->disp->engine.subdev.device; gf119_sor_dp_links() local
122 struct nvkm_device *device = sor->disp->engine.subdev.device; gf119_sor_clock() local
138 struct nvkm_device *device = sor->disp->engine.subdev.device; gf119_sor_state() local
193 struct nvkm_device *device = disp->engine.subdev.device; gf119_sor_cnt() local
[all...]
/third_party/eudev/src/udev/
H A Dudevadm-info.c55 static void print_all_attributes(struct udev_device *device, const char *key) { in print_all_attributes() argument
58 udev_list_entry_foreach(sysattr, udev_device_get_sysattr_list_entry(device)) { in print_all_attributes()
67 value = udev_device_get_sysattr_value(device, name); in print_all_attributes()
87 static int print_device_chain(struct udev_device *device) { in print_device_chain() argument
92 "Udevadm info starts with the device specified by the devpath and then\n" in print_device_chain()
93 "walks up the chain of parent devices. It prints for every device\n" in print_device_chain()
95 "A rule to match, can be composed by the attributes of the device\n" in print_device_chain()
96 "and the attributes from one single parent device.\n" in print_device_chain()
99 printf(" looking at device '%s':\n", udev_device_get_devpath(device)); in print_device_chain()
132 print_record(struct udev_device *device) print_record() argument
184 struct udev_device *device; export_devices() local
286 _cleanup_udev_device_unref_ struct udev_device *device = NULL; uinfo() local
[all...]
/kernel/linux/linux-5.10/drivers/net/phy/
H A Dmii_timestamper.c15 struct device *device; member
19 * register_mii_tstamp_controller() - registers an MII time stamping device.
21 * @device: The device to be registered.
22 * @ctrl: Pointer to device's control interface.
26 int register_mii_tstamp_controller(struct device *device, in register_mii_tstamp_controller() argument
37 desc->device = device; in register_mii_tstamp_controller()
52 unregister_mii_tstamp_controller(struct device *device) unregister_mii_tstamp_controller() argument
[all...]
/kernel/linux/linux-6.6/include/linux/mfd/
H A Dabx500.h16 struct device;
31 int abx500_set_register_interruptible(struct device *dev, u8 bank, u8 reg,
33 int abx500_get_register_interruptible(struct device *dev, u8 bank, u8 reg,
35 int abx500_get_register_page_interruptible(struct device *dev, u8 bank,
37 int abx500_set_register_page_interruptible(struct device *dev, u8 bank,
43 * @dev: The AB sub device.
51 int abx500_mask_and_set_register_interruptible(struct device *dev, u8 bank,
53 int abx500_get_chip_id(struct device *dev);
54 int abx500_event_registers_startup_state_get(struct device *dev, u8 *event);
55 int abx500_startup_irq_enabled(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/
H A Dfalcon.c49 return nvkm_gpuobj_new(object->engine->subdev.device, 256, in nvkm_falcon_cclass_bind()
63 struct nvkm_device *device = subdev->device; in nvkm_falcon_intr() local
65 u32 dest = nvkm_rd32(device, base + 0x01c); in nvkm_falcon_intr()
66 u32 intr = nvkm_rd32(device, base + 0x008) & dest & ~(dest >> 16); in nvkm_falcon_intr()
67 u32 inst = nvkm_rd32(device, base + 0x050) & 0x3fffffff; in nvkm_falcon_intr()
76 nvkm_wr32(device, base + 0x004, 0x00000040); in nvkm_falcon_intr()
83 nvkm_wr32(device, base + 0x004, 0x00000010); in nvkm_falcon_intr()
89 nvkm_wr32(device, base + 0x004, intr); in nvkm_falcon_intr()
99 struct nvkm_device *device in nvkm_falcon_fini() local
133 struct nvkm_device *device = subdev->device; nvkm_falcon_oneinit() local
164 struct nvkm_device *device = subdev->device; nvkm_falcon_init() local
338 nvkm_falcon_new_(const struct nvkm_falcon_func *func, struct nvkm_device *device, enum nvkm_subdev_type type, int inst, bool enable, u32 addr, struct nvkm_engine **pengine) nvkm_falcon_new_() argument
[all...]
H A Dxtensa.c47 return nvkm_gpuobj_new(object->engine->subdev.device, 0x10000, align, in nvkm_xtensa_cclass_bind()
61 struct nvkm_device *device = subdev->device; in nvkm_xtensa_intr() local
63 u32 unk104 = nvkm_rd32(device, base + 0xd04); in nvkm_xtensa_intr()
64 u32 intr = nvkm_rd32(device, base + 0xc20); in nvkm_xtensa_intr()
65 u32 chan = nvkm_rd32(device, base + 0xc28); in nvkm_xtensa_intr()
66 u32 unk10c = nvkm_rd32(device, base + 0xd0c); in nvkm_xtensa_intr()
70 nvkm_wr32(device, base + 0xc20, intr); in nvkm_xtensa_intr()
71 intr = nvkm_rd32(device, base + 0xc20); in nvkm_xtensa_intr()
74 nvkm_mask(device, xtens in nvkm_xtensa_intr()
82 struct nvkm_device *device = xtensa->engine.subdev.device; nvkm_xtensa_fini() local
98 struct nvkm_device *device = subdev->device; nvkm_xtensa_init() local
178 nvkm_xtensa_new_(const struct nvkm_xtensa_func *func, struct nvkm_device *device, enum nvkm_subdev_type type, int inst, bool enable, u32 addr, struct nvkm_engine **pengine) nvkm_xtensa_new_() argument
[all...]
/third_party/mesa3d/src/virtio/venus-protocol/
H A Dvn_protocol_driver_command_pool.h69 static inline size_t vn_sizeof_vkCreateCommandPool(VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool) in vn_sizeof_vkCreateCommandPool() argument
75 cmd_size += vn_sizeof_VkDevice(&device); in vn_sizeof_vkCreateCommandPool()
89 static inline void vn_encode_vkCreateCommandPool(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool) in vn_encode_vkCreateCommandPool() argument
96 vn_encode_VkDevice(enc, &device); in vn_encode_vkCreateCommandPool()
105 static inline size_t vn_sizeof_vkCreateCommandPool_reply(VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool) in vn_sizeof_vkCreateCommandPool_reply() argument
112 /* skip device */ in vn_sizeof_vkCreateCommandPool_reply()
122 static inline VkResult vn_decode_vkCreateCommandPool_reply(struct vn_cs_decoder *dec, VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool) in vn_decode_vkCreateCommandPool_reply() argument
130 /* skip device */ in vn_decode_vkCreateCommandPool_reply()
142 static inline size_t vn_sizeof_vkDestroyCommandPool(VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator) in vn_sizeof_vkDestroyCommandPool() argument
148 cmd_size += vn_sizeof_VkDevice(&device); in vn_sizeof_vkDestroyCommandPool()
157 vn_encode_vkDestroyCommandPool(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator) vn_encode_vkDestroyCommandPool() argument
170 vn_sizeof_vkDestroyCommandPool_reply(VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator) vn_sizeof_vkDestroyCommandPool_reply() argument
182 vn_decode_vkDestroyCommandPool_reply(struct vn_cs_decoder *dec, VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator) vn_decode_vkDestroyCommandPool_reply() argument
193 vn_sizeof_vkResetCommandPool(VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) vn_sizeof_vkResetCommandPool() argument
206 vn_encode_vkResetCommandPool(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) vn_encode_vkResetCommandPool() argument
218 vn_sizeof_vkResetCommandPool_reply(VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) vn_sizeof_vkResetCommandPool_reply() argument
232 vn_decode_vkResetCommandPool_reply(struct vn_cs_decoder *dec, VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) vn_decode_vkResetCommandPool_reply() argument
247 vn_sizeof_vkTrimCommandPool(VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags) vn_sizeof_vkTrimCommandPool() argument
260 vn_encode_vkTrimCommandPool(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags) vn_encode_vkTrimCommandPool() argument
272 vn_sizeof_vkTrimCommandPool_reply(VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags) vn_sizeof_vkTrimCommandPool_reply() argument
284 vn_decode_vkTrimCommandPool_reply(struct vn_cs_decoder *dec, VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags) vn_decode_vkTrimCommandPool_reply() argument
295 vn_submit_vkCreateCommandPool(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool, struct vn_instance_submit_command *submit) vn_submit_vkCreateCommandPool() argument
316 vn_submit_vkDestroyCommandPool(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator, struct vn_instance_submit_command *submit) vn_submit_vkDestroyCommandPool() argument
337 vn_submit_vkResetCommandPool(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags, struct vn_instance_submit_command *submit) vn_submit_vkResetCommandPool() argument
358 vn_submit_vkTrimCommandPool(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags, struct vn_instance_submit_command *submit) vn_submit_vkTrimCommandPool() argument
379 vn_call_vkCreateCommandPool(struct vn_instance *vn_instance, VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool) vn_call_vkCreateCommandPool() argument
395 vn_async_vkCreateCommandPool(struct vn_instance *vn_instance, VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool) vn_async_vkCreateCommandPool() argument
401 vn_call_vkDestroyCommandPool(struct vn_instance *vn_instance, VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator) vn_call_vkDestroyCommandPool() argument
414 vn_async_vkDestroyCommandPool(struct vn_instance *vn_instance, VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator) vn_async_vkDestroyCommandPool() argument
420 vn_call_vkResetCommandPool(struct vn_instance *vn_instance, VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) vn_call_vkResetCommandPool() argument
436 vn_async_vkResetCommandPool(struct vn_instance *vn_instance, VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) vn_async_vkResetCommandPool() argument
442 vn_call_vkTrimCommandPool(struct vn_instance *vn_instance, VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags) vn_call_vkTrimCommandPool() argument
455 vn_async_vkTrimCommandPool(struct vn_instance *vn_instance, VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags) vn_async_vkTrimCommandPool() argument
[all...]
/kernel/linux/linux-5.10/kernel/dma/
H A Ddebug.h12 extern void debug_dma_map_page(struct device *dev, struct page *page,
16 extern void debug_dma_unmap_page(struct device *dev, dma_addr_t addr,
19 extern void debug_dma_map_sg(struct device *dev, struct scatterlist *sg,
22 extern void debug_dma_unmap_sg(struct device *dev, struct scatterlist *sglist,
25 extern void debug_dma_alloc_coherent(struct device *dev, size_t size,
28 extern void debug_dma_free_coherent(struct device *dev, size_t size,
31 extern void debug_dma_map_resource(struct device *dev, phys_addr_t addr,
35 extern void debug_dma_unmap_resource(struct device *dev, dma_addr_t dma_addr,
38 extern void debug_dma_sync_single_for_cpu(struct device *dev,
42 extern void debug_dma_sync_single_for_device(struct device *de
[all...]
/kernel/linux/linux-6.6/kernel/dma/
H A Ddebug.h12 extern void debug_dma_map_page(struct device *dev, struct page *page,
17 extern void debug_dma_unmap_page(struct device *dev, dma_addr_t addr,
20 extern void debug_dma_map_sg(struct device *dev, struct scatterlist *sg,
24 extern void debug_dma_unmap_sg(struct device *dev, struct scatterlist *sglist,
27 extern void debug_dma_alloc_coherent(struct device *dev, size_t size,
31 extern void debug_dma_free_coherent(struct device *dev, size_t size,
34 extern void debug_dma_map_resource(struct device *dev, phys_addr_t addr,
39 extern void debug_dma_unmap_resource(struct device *dev, dma_addr_t dma_addr,
42 extern void debug_dma_sync_single_for_cpu(struct device *dev,
46 extern void debug_dma_sync_single_for_device(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/top/
H A Dbase.c39 list_add_tail(&info->head, &top->device); in nvkm_top_device_new()
45 nvkm_top_addr(struct nvkm_device *device, enum nvkm_subdev_type type, int inst) in nvkm_top_addr() argument
47 struct nvkm_top *top = device->top; in nvkm_top_addr()
51 list_for_each_entry(info, &top->device, head) { in nvkm_top_addr()
61 nvkm_top_reset(struct nvkm_device *device, enum nvkm_subdev_type type, int inst) in nvkm_top_reset() argument
63 struct nvkm_top *top = device->top; in nvkm_top_reset()
67 list_for_each_entry(info, &top->device, head) { in nvkm_top_reset()
77 nvkm_top_intr_mask(struct nvkm_device *device, enum nvkm_subdev_type type, int inst) in nvkm_top_intr_mask() argument
79 struct nvkm_top *top = device->top; in nvkm_top_intr_mask()
83 list_for_each_entry(info, &top->device, hea in nvkm_top_intr_mask()
93 nvkm_top_fault_id(struct nvkm_device *device, enum nvkm_subdev_type type, int inst) nvkm_top_fault_id() argument
107 nvkm_top_fault(struct nvkm_device *device, int fault) nvkm_top_fault() argument
121 nvkm_top_parse(struct nvkm_device *device) nvkm_top_parse() argument
151 nvkm_top_new_(const struct nvkm_top_func *func, struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_top **ptop) nvkm_top_new_() argument
[all...]
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_device.c63 _panvk_device_set_lost(struct panvk_device *device, in _panvk_device_set_lost() argument
68 * after device loss. in _panvk_device_set_lost()
70 p_atomic_inc(&device->_lost); in _panvk_device_set_lost()
153 panvk_get_device_extensions(const struct panvk_physical_device *device, in panvk_get_device_extensions() argument
219 panvk_physical_device_finish(struct panvk_physical_device *device) in panvk_physical_device_finish() argument
221 panvk_wsi_finish(device); in panvk_physical_device_finish()
223 panvk_arch_dispatch(device->pdev.arch, meta_cleanup, device); in panvk_physical_device_finish()
224 panfrost_close_device(&device->pdev); in panvk_physical_device_finish()
225 if (device in panvk_physical_device_finish()
249 panvk_physical_device_init(struct panvk_physical_device *device, struct panvk_instance *instance, drmDevicePtr drm_device) panvk_physical_device_init() argument
897 panvk_queue_init(struct panvk_device *device, struct panvk_queue *queue, int idx, const VkDeviceQueueCreateInfo *create_info) panvk_queue_init() argument
943 struct panvk_device *device; panvk_CreateDevice() local
1275 panvk_GetBufferMemoryRequirements2(VkDevice device, const VkBufferMemoryRequirementsInfo2 *pInfo, VkMemoryRequirements2 *pMemoryRequirements) panvk_GetBufferMemoryRequirements2() argument
1290 panvk_GetImageMemoryRequirements2(VkDevice device, const VkImageMemoryRequirementsInfo2 *pInfo, VkMemoryRequirements2 *pMemoryRequirements) panvk_GetImageMemoryRequirements2() argument
1305 panvk_GetImageSparseMemoryRequirements2(VkDevice device, const VkImageSparseMemoryRequirementsInfo2 *pInfo, uint32_t *pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2 *pSparseMemoryRequirements) panvk_GetImageSparseMemoryRequirements2() argument
1314 panvk_GetDeviceMemoryCommitment(VkDevice device, VkDeviceMemory memory, VkDeviceSize *pCommittedMemoryInBytes) panvk_GetDeviceMemoryCommitment() argument
1322 panvk_BindBufferMemory2(VkDevice device, uint32_t bindInfoCount, const VkBindBufferMemoryInfo *pBindInfos) panvk_BindBufferMemory2() argument
1341 panvk_BindImageMemory2(VkDevice device, uint32_t bindInfoCount, const VkBindImageMemoryInfo *pBindInfos) panvk_BindImageMemory2() argument
1705 panvk_GetDeviceGroupPeerMemoryFeatures(VkDevice device, uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VkPeerMemoryFeatureFlags *pPeerMemoryFeatures) panvk_GetDeviceGroupPeerMemoryFeatures() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/
H A Dxtensa.c47 return nvkm_gpuobj_new(object->engine->subdev.device, 0x10000, align, in nvkm_xtensa_cclass_bind()
61 struct nvkm_device *device = subdev->device; in nvkm_xtensa_intr() local
63 u32 unk104 = nvkm_rd32(device, base + 0xd04); in nvkm_xtensa_intr()
64 u32 intr = nvkm_rd32(device, base + 0xc20); in nvkm_xtensa_intr()
65 u32 chan = nvkm_rd32(device, base + 0xc28); in nvkm_xtensa_intr()
66 u32 unk10c = nvkm_rd32(device, base + 0xd0c); in nvkm_xtensa_intr()
70 nvkm_wr32(device, base + 0xc20, intr); in nvkm_xtensa_intr()
71 intr = nvkm_rd32(device, base + 0xc20); in nvkm_xtensa_intr()
74 nvkm_mask(device, xtens in nvkm_xtensa_intr()
82 struct nvkm_device *device = xtensa->engine.subdev.device; nvkm_xtensa_fini() local
98 struct nvkm_device *device = subdev->device; nvkm_xtensa_init() local
178 nvkm_xtensa_new_(const struct nvkm_xtensa_func *func, struct nvkm_device *device, int index, bool enable, u32 addr, struct nvkm_engine **pengine) nvkm_xtensa_new_() argument
[all...]
/kernel/linux/linux-6.6/drivers/acpi/
H A Dprocessor_driver.c35 static int acpi_processor_start(struct device *dev);
36 static int acpi_processor_stop(struct device *dev);
55 struct acpi_device *device = data; in acpi_processor_notify() local
59 if (device->handle != handle) in acpi_processor_notify()
62 pr = acpi_driver_data(device); in acpi_processor_notify()
72 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_processor_notify()
73 dev_name(&device->dev), event, in acpi_processor_notify()
78 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_processor_notify()
79 dev_name(&device->dev), event, 0); in acpi_processor_notify()
83 acpi_bus_generate_netlink_event(device in acpi_processor_notify()
99 struct acpi_device *device; acpi_soft_cpu_online() local
155 __acpi_processor_start(struct acpi_device *device) __acpi_processor_start() argument
195 struct acpi_device *device = ACPI_COMPANION(dev); acpi_processor_start() local
210 struct acpi_device *device = ACPI_COMPANION(dev); acpi_processor_stop() local
[all...]
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_drm_syncobj.c45 vk_drm_syncobj_init(struct vk_device *device, in vk_drm_syncobj_init() argument
55 assert(device->drm_fd >= 0); in vk_drm_syncobj_init()
56 int err = drmSyncobjCreate(device->drm_fd, flags, &sobj->syncobj); in vk_drm_syncobj_init()
58 return vk_errorf(device, VK_ERROR_OUT_OF_HOST_MEMORY, in vk_drm_syncobj_init()
63 err = drmSyncobjTimelineSignal(device->drm_fd, &sobj->syncobj, in vk_drm_syncobj_init()
66 vk_drm_syncobj_finish(device, sync); in vk_drm_syncobj_init()
67 return vk_errorf(device, VK_ERROR_OUT_OF_HOST_MEMORY, in vk_drm_syncobj_init()
76 vk_drm_syncobj_finish(struct vk_device *device, in vk_drm_syncobj_finish() argument
81 assert(device->drm_fd >= 0); in vk_drm_syncobj_finish()
82 ASSERTED int err = drmSyncobjDestroy(device in vk_drm_syncobj_finish()
87 vk_drm_syncobj_signal(struct vk_device *device, struct vk_sync *sync, uint64_t value) vk_drm_syncobj_signal() argument
108 vk_drm_syncobj_get_value(struct vk_device *device, struct vk_sync *sync, uint64_t *value) vk_drm_syncobj_get_value() argument
125 vk_drm_syncobj_reset(struct vk_device *device, struct vk_sync *sync) vk_drm_syncobj_reset() argument
141 sync_has_sync_file(struct vk_device *device, struct vk_sync *sync) sync_has_sync_file() argument
170 spin_wait_for_sync_file(struct vk_device *device, uint32_t wait_count, const struct vk_sync_wait *waits, enum vk_sync_wait_flags wait_flags, uint64_t abs_timeout_ns) spin_wait_for_sync_file() argument
208 vk_drm_syncobj_wait_many(struct vk_device *device, uint32_t wait_count, const struct vk_sync_wait *waits, enum vk_sync_wait_flags wait_flags, uint64_t abs_timeout_ns) vk_drm_syncobj_wait_many() argument
294 vk_drm_syncobj_import_opaque_fd(struct vk_device *device, struct vk_sync *sync, int fd) vk_drm_syncobj_import_opaque_fd() argument
317 vk_drm_syncobj_export_opaque_fd(struct vk_device *device, struct vk_sync *sync, int *fd) vk_drm_syncobj_export_opaque_fd() argument
334 vk_drm_syncobj_import_sync_file(struct vk_device *device, struct vk_sync *sync, int sync_file) vk_drm_syncobj_import_sync_file() argument
351 vk_drm_syncobj_export_sync_file(struct vk_device *device, struct vk_sync *sync, int *sync_file) vk_drm_syncobj_export_sync_file() argument
368 vk_drm_syncobj_move(struct vk_device *device, struct vk_sync *dst, struct vk_sync *src) vk_drm_syncobj_move() argument
[all...]
H A Dvk_fence.c97 vk_fence_create(struct vk_device *device, in vk_fence_create() argument
112 get_fence_sync_type(device->physical, handle_types); in vk_fence_create()
115 assert(get_fence_sync_type(device->physical, 0) != NULL); in vk_fence_create()
116 return vk_errorf(device, VK_ERROR_INVALID_EXTERNAL_HANDLE, in vk_fence_create()
126 fence = vk_object_zalloc(device, pAllocator, size, VK_OBJECT_TYPE_FENCE); in vk_fence_create()
128 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in vk_fence_create()
135 VkResult result = vk_sync_init(device, &fence->permanent, in vk_fence_create()
138 vk_object_free(device, pAllocator, fence); in vk_fence_create()
153 VK_FROM_HANDLE(vk_device, device, _device); in vk_common_CreateFence()
156 VkResult result = vk_fence_create(device, pCreateInf in vk_common_CreateFence()
166 vk_fence_reset_temporary(struct vk_device *device, struct vk_fence *fence) vk_fence_reset_temporary() argument
177 vk_fence_destroy(struct vk_device *device, struct vk_fence *fence, const VkAllocationCallbacks *pAllocator) vk_fence_destroy() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dbase.c39 struct nvkm_device *device; in nvkm_device_find_locked() local
40 list_for_each_entry(device, &nv_devices, head) { in nvkm_device_find_locked()
41 if (device->handle == handle) in nvkm_device_find_locked()
42 return device; in nvkm_device_find_locked()
50 struct nvkm_device *device; in nvkm_device_find() local
52 device = nvkm_device_find_locked(handle); in nvkm_device_find()
54 return device; in nvkm_device_find()
60 struct nvkm_device *device; in nvkm_device_list() local
63 list_for_each_entry(device, &nv_devices, head) { in nvkm_device_list()
65 name[nr - 1] = device in nvkm_device_list()
2674 nvkm_device_subdev(struct nvkm_device *device, int index) nvkm_device_subdev() argument
2719 nvkm_device_engine(struct nvkm_device *device, int index) nvkm_device_engine() argument
2769 nvkm_device_fini(struct nvkm_device *device, bool suspend) nvkm_device_fini() argument
2812 nvkm_device_preinit(struct nvkm_device *device) nvkm_device_preinit() argument
2849 nvkm_device_init(struct nvkm_device *device) nvkm_device_init() argument
2901 struct nvkm_device *device = *pdevice; nvkm_device_del() local
2929 nvkm_device_endianness(struct nvkm_device *device) nvkm_device_endianness() argument
2959 nvkm_device_ctor(const struct nvkm_device_func *func, const struct nvkm_device_quirk *quirk, struct device *dev, enum nvkm_device_type type, u64 handle, const char *name, const char *cfg, const char *dbg, bool detect, bool mmio, u64 subdev_mask, struct nvkm_device *device) nvkm_device_ctor() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkPromotedExtensions.cpp51 VKAPI_ATTR VkResult VKAPI_CALL vkBindBufferMemory2KHR(VkDevice device, uint32_t bindInfoCount, const VkBindBufferMemoryInfo *pBindInfos) in vkBindBufferMemory2KHR() argument
53 return vkBindBufferMemory2(device, bindInfoCount, pBindInfos); in vkBindBufferMemory2KHR()
56 VKAPI_ATTR VkResult VKAPI_CALL vkBindImageMemory2KHR(VkDevice device, uint32_t bindInfoCount, const VkBindImageMemoryInfo *pBindInfos) in vkBindImageMemory2KHR() argument
58 return vkBindImageMemory2(device, bindInfoCount, pBindInfos); in vkBindImageMemory2KHR()
62 VKAPI_ATTR VkResult VKAPI_CALL vkCreateDescriptorUpdateTemplateKHR(VkDevice device, const VkDescriptorUpdateTemplateCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDescriptorUpdateTemplate *pDescriptorUpdateTemplate) in vkCreateDescriptorUpdateTemplateKHR() argument
64 return vkCreateDescriptorUpdateTemplate(device, pCreateInfo, pAllocator, pDescriptorUpdateTemplate); in vkCreateDescriptorUpdateTemplateKHR()
67 VKAPI_ATTR void VKAPI_CALL vkDestroyDescriptorUpdateTemplateKHR(VkDevice device, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const VkAllocationCallbacks *pAllocator) in vkDestroyDescriptorUpdateTemplateKHR() argument
69 vkDestroyDescriptorUpdateTemplate(device, descriptorUpdateTemplate, pAllocator); in vkDestroyDescriptorUpdateTemplateKHR()
72 VKAPI_ATTR void VKAPI_CALL vkUpdateDescriptorSetWithTemplateKHR(VkDevice device, VkDescriptorSet descriptorSet, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const void *pData) in vkUpdateDescriptorSetWithTemplateKHR() argument
74 vkUpdateDescriptorSetWithTemplate(device, descriptorSe in vkUpdateDescriptorSetWithTemplateKHR()
78 vkGetDeviceGroupPeerMemoryFeaturesKHR(VkDevice device, uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VkPeerMemoryFeatureFlags *pPeerMemoryFeatures) vkGetDeviceGroupPeerMemoryFeaturesKHR() argument
118 vkGetImageMemoryRequirements2KHR(VkDevice device, const VkImageMemoryRequirementsInfo2 *pInfo, VkMemoryRequirements2 *pMemoryRequirements) vkGetImageMemoryRequirements2KHR() argument
123 vkGetBufferMemoryRequirements2KHR(VkDevice device, const VkBufferMemoryRequirementsInfo2 *pInfo, VkMemoryRequirements2 *pMemoryRequirements) vkGetBufferMemoryRequirements2KHR() argument
128 vkGetImageSparseMemoryRequirements2KHR(VkDevice device, const VkImageSparseMemoryRequirementsInfo2 *pInfo, uint32_t *pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2 *pSparseMemoryRequirements) vkGetImageSparseMemoryRequirements2KHR() argument
170 vkTrimCommandPoolKHR(VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags) vkTrimCommandPoolKHR() argument
176 vkGetDescriptorSetLayoutSupportKHR(VkDevice device, const VkDescriptorSetLayoutCreateInfo *pCreateInfo, VkDescriptorSetLayoutSupport *pSupport) vkGetDescriptorSetLayoutSupportKHR() argument
182 vkCreateSamplerYcbcrConversionKHR(VkDevice device, const VkSamplerYcbcrConversionCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSamplerYcbcrConversion *pYcbcrConversion) vkCreateSamplerYcbcrConversionKHR() argument
187 vkDestroySamplerYcbcrConversionKHR(VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllocationCallbacks *pAllocator) vkDestroySamplerYcbcrConversionKHR() argument
193 vkCreateRenderPass2KHR(VkDevice device, const VkRenderPassCreateInfo2 *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkRenderPass *pRenderPass) vkCreateRenderPass2KHR() argument
214 vkResetQueryPoolEXT(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount) vkResetQueryPoolEXT() argument
220 vkGetSemaphoreCounterValueKHR(VkDevice device, VkSemaphore semaphore, uint64_t *pValue) vkGetSemaphoreCounterValueKHR() argument
225 vkSignalSemaphoreKHR(VkDevice device, const VkSemaphoreSignalInfo *pSignalInfo) vkSignalSemaphoreKHR() argument
230 vkWaitSemaphoresKHR(VkDevice device, const VkSemaphoreWaitInfo *pWaitInfo, uint64_t timeout) vkWaitSemaphoresKHR() argument
245 vkGetBufferDeviceAddressKHR(VkDevice device, const VkBufferDeviceAddressInfo *pInfo) vkGetBufferDeviceAddressKHR() argument
250 vkGetBufferOpaqueCaptureAddressKHR(VkDevice device, const VkBufferDeviceAddressInfo *pInfo) vkGetBufferOpaqueCaptureAddressKHR() argument
255 vkGetDeviceMemoryOpaqueCaptureAddressKHR(VkDevice device, const VkDeviceMemoryOpaqueCaptureAddressInfo *pInfo) vkGetDeviceMemoryOpaqueCaptureAddressKHR() argument
[all...]
/kernel/linux/linux-5.10/drivers/input/tablet/
H A Dgtco.c104 /* Structure to hold all of our device specific stuff */
107 struct input_dev *inputdevice; /* input device struct pointer */
108 struct usb_interface *intf; /* the usb interface for this device */
200 static void parse_hid_report_descriptor(struct gtco *device, char * report, in parse_hid_report_descriptor() argument
203 struct device *ddev = &device->intf->dev; in parse_hid_report_descriptor()
297 if (device->max_X == 0) { in parse_hid_report_descriptor()
298 device->max_X = globalval[TAG_GLOB_LOG_MAX]; in parse_hid_report_descriptor()
299 device->min_X = globalval[TAG_GLOB_LOG_MIN]; in parse_hid_report_descriptor()
305 if (device in parse_hid_report_descriptor()
557 struct gtco *device = input_get_drvdata(inputdev); gtco_input_open() local
571 struct gtco *device = input_get_drvdata(inputdev); gtco_input_close() local
587 struct gtco *device = input_get_drvdata(inputdev); gtco_setup_caps() local
629 struct gtco *device = urbinfo->context; gtco_urb_callback() local
[all...]
/kernel/linux/linux-5.10/drivers/s390/block/
H A Ddasd_diag.c40 * device. Currently each device gets 2 pages. We want to fit two requests
99 /* Initialize block I/O to DIAG device using the specified blocksize and
101 * number of blocks on the device minus the specified offset. Return non-zero
104 mdsk_init_io(struct dasd_device *device, unsigned int blocksize, in mdsk_init_io() argument
107 struct dasd_diag_private *private = device->private; in mdsk_init_io()
126 /* Remove block I/O environment for device. Return zero on success, non-zero
129 mdsk_term_io(struct dasd_device * device) in mdsk_term_io() argument
131 struct dasd_diag_private *private = device->private; in mdsk_term_io()
144 dasd_diag_erp(struct dasd_device *device) in dasd_diag_erp() argument
166 struct dasd_device *device; dasd_start_diag() local
221 struct dasd_device *device; dasd_diag_term_IO() local
237 struct dasd_device *device; dasd_ext_handler() local
316 dasd_diag_check_device(struct dasd_device *device) dasd_diag_check_device() argument
602 dasd_diag_fill_info(struct dasd_device * device, struct dasd_information2_t * info) dasd_diag_fill_info() argument
618 dasd_diag_dump_sense(struct dasd_device *device, struct dasd_ccw_req * req, struct irb *stat) dasd_diag_dump_sense() argument
645 dasd_diag_pe_handler(struct dasd_device *device, __u8 tbvpm) dasd_diag_pe_handler() argument
[all...]
/kernel/linux/linux-6.6/drivers/s390/block/
H A Ddasd_diag.c40 * device. Currently each device gets 2 pages. We want to fit two requests
98 /* Initialize block I/O to DIAG device using the specified blocksize and
100 * number of blocks on the device minus the specified offset. Return non-zero
103 mdsk_init_io(struct dasd_device *device, unsigned int blocksize, in mdsk_init_io() argument
106 struct dasd_diag_private *private = device->private; in mdsk_init_io()
125 /* Remove block I/O environment for device. Return zero on success, non-zero
128 mdsk_term_io(struct dasd_device * device) in mdsk_term_io() argument
130 struct dasd_diag_private *private = device->private; in mdsk_term_io()
143 dasd_diag_erp(struct dasd_device *device) in dasd_diag_erp() argument
165 struct dasd_device *device; dasd_start_diag() local
220 struct dasd_device *device; dasd_diag_term_IO() local
236 struct dasd_device *device; dasd_ext_handler() local
315 dasd_diag_check_device(struct dasd_device *device) dasd_diag_check_device() argument
601 dasd_diag_fill_info(struct dasd_device * device, struct dasd_information2_t * info) dasd_diag_fill_info() argument
617 dasd_diag_dump_sense(struct dasd_device *device, struct dasd_ccw_req * req, struct irb *stat) dasd_diag_dump_sense() argument
645 dasd_diag_pe_handler(struct dasd_device *device, __u8 tbvpm, __u8 fcsecpm) dasd_diag_pe_handler() argument
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DObjectCachingTests.cpp25 device, {{1, wgpu::ShaderStage::Fragment, wgpu::BufferBindingType::Uniform}}); in TEST_P()
27 device, {{1, wgpu::ShaderStage::Fragment, wgpu::BufferBindingType::Uniform}}); in TEST_P()
29 device, {{1, wgpu::ShaderStage::Vertex, wgpu::BufferBindingType::Uniform}}); in TEST_P()
38 device, {{1, wgpu::ShaderStage::Fragment, wgpu::BufferBindingType::Uniform, true}}); in TEST_P()
40 device, {{1, wgpu::ShaderStage::Fragment, wgpu::BufferBindingType::Uniform, true}}); in TEST_P()
42 device, {{1, wgpu::ShaderStage::Fragment, wgpu::BufferBindingType::Uniform, false}}); in TEST_P()
52 device, {{1, wgpu::ShaderStage::Fragment, wgpu::TextureSampleType::Float}}); in TEST_P()
54 device, {{1, wgpu::ShaderStage::Fragment, wgpu::TextureSampleType::Float}}); in TEST_P()
56 device, {{1, wgpu::ShaderStage::Fragment, wgpu::TextureSampleType::Uint}}); in TEST_P()
66 device, {{ in TEST_P()
[all...]
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_hfp_ag.cpp45 void OnConnectionStateChanged(const BluetoothRawAddress &device, int32_t state, int32_t cause) override
47 HILOGD("hfpAg conn state, device: %{public}s, state: %{public}s, cause: %{public}d",
48 GET_ENCRYPT_RAW_ADDR(device), GetProfileConnStateName(state).c_str(), cause);
49 BluetoothRemoteDevice remoteDevice(device.GetAddress(), 0);
55 void OnScoStateChanged(const BluetoothRawAddress &device, int32_t state, int32_t reason) override
57 HILOGI("enter, device: %{public}s, state: %{public}u, reason: %{public}u",
58 GET_ENCRYPT_RAW_ADDR(device), state, reason);
59 BluetoothRemoteDevice remoteDevice(device.GetAddress(), 0);
65 void OnActiveDeviceChanged(const BluetoothRawAddress &device) override
67 HILOGD("enter, device
307 BluetoothRemoteDevice device; GetActiveDevice() local
469 GetDeviceState(const BluetoothRemoteDevice &device, int32_t &state) GetDeviceState() argument
483 Connect(const BluetoothRemoteDevice &device) Connect() argument
497 Disconnect(const BluetoothRemoteDevice &device) Disconnect() argument
589 OpenVoiceRecognition(const BluetoothRemoteDevice &device) OpenVoiceRecognition() argument
603 CloseVoiceRecognition(const BluetoothRemoteDevice &device) CloseVoiceRecognition() argument
617 SetActiveDevice(const BluetoothRemoteDevice &device) SetActiveDevice() argument
633 BluetoothRemoteDevice device; GetActiveDevice() local
646 SetConnectStrategy(const BluetoothRemoteDevice &device, int strategy) SetConnectStrategy() argument
666 GetConnectStrategy(const BluetoothRemoteDevice &device, int &strategy) const GetConnectStrategy() argument
709 IsVgsSupported(const BluetoothRemoteDevice &device, bool &isSupported) const IsVgsSupported() argument
[all...]

Completed in 14 milliseconds

1...<<11121314151617181920>>...1177