/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
H A D | gk104.c | 29 struct nvkm_device *device = gpio->subdev.device; in gk104_gpio_intr_stat() local 30 u32 intr0 = nvkm_rd32(device, 0x00dc00); in gk104_gpio_intr_stat() 31 u32 intr1 = nvkm_rd32(device, 0x00dc80); in gk104_gpio_intr_stat() 32 u32 stat0 = nvkm_rd32(device, 0x00dc08) & intr0; in gk104_gpio_intr_stat() 33 u32 stat1 = nvkm_rd32(device, 0x00dc88) & intr1; in gk104_gpio_intr_stat() 36 nvkm_wr32(device, 0x00dc00, intr0); in gk104_gpio_intr_stat() 37 nvkm_wr32(device, 0x00dc80, intr1); in gk104_gpio_intr_stat() 43 struct nvkm_device *device = gpio->subdev.device; in gk104_gpio_intr_mask() local 71 gk104_gpio_new(struct nvkm_device *device, int index, struct nvkm_gpio **pgpio) gk104_gpio_new() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
H A D | gk104.c | 29 struct nvkm_device *device = gpio->subdev.device; in gk104_gpio_intr_stat() local 30 u32 intr0 = nvkm_rd32(device, 0x00dc00); in gk104_gpio_intr_stat() 31 u32 intr1 = nvkm_rd32(device, 0x00dc80); in gk104_gpio_intr_stat() 32 u32 stat0 = nvkm_rd32(device, 0x00dc08) & intr0; in gk104_gpio_intr_stat() 33 u32 stat1 = nvkm_rd32(device, 0x00dc88) & intr1; in gk104_gpio_intr_stat() 36 nvkm_wr32(device, 0x00dc00, intr0); in gk104_gpio_intr_stat() 37 nvkm_wr32(device, 0x00dc80, intr1); in gk104_gpio_intr_stat() 43 struct nvkm_device *device = gpio->subdev.device; in gk104_gpio_intr_mask() local 71 gk104_gpio_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_gpio **pgpio) gk104_gpio_new() argument [all...] |
H A D | g94.c | 29 struct nvkm_device *device = gpio->subdev.device; in g94_gpio_intr_stat() local 30 u32 intr0 = nvkm_rd32(device, 0x00e054); in g94_gpio_intr_stat() 31 u32 intr1 = nvkm_rd32(device, 0x00e074); in g94_gpio_intr_stat() 32 u32 stat0 = nvkm_rd32(device, 0x00e050) & intr0; in g94_gpio_intr_stat() 33 u32 stat1 = nvkm_rd32(device, 0x00e070) & intr1; in g94_gpio_intr_stat() 36 nvkm_wr32(device, 0x00e054, intr0); in g94_gpio_intr_stat() 37 nvkm_wr32(device, 0x00e074, intr1); in g94_gpio_intr_stat() 43 struct nvkm_device *device = gpio->subdev.device; in g94_gpio_intr_mask() local 71 g94_gpio_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_gpio **pgpio) g94_gpio_new() argument [all...] |
/foundation/communication/bluetooth_service/test/unittest/pbap/ |
H A D | pbap_client_test.cpp | 33 void OnServiceConnectionStateChanged(const BluetoothRemoteDevice &device, int state) {} in OnServiceConnectionStateChanged() argument 34 void OnServicePasswordRequired(const BluetoothRemoteDevice &device, in OnServicePasswordRequired() argument 37 const BluetoothRemoteDevice &device, int respCode, int actionType, const PbapPhoneBookData &result) {} in OnActionCompleted() 82 * @tc.desc: Initiate the establishment of a service level connection to remote pbapclient device. 89 BluetoothRemoteDevice device; in HWTEST_F() local 90 bool isOK = profile_->Connect(device); in HWTEST_F() 98 * @tc.desc: Release the connection from pbapclient device. 105 BluetoothRemoteDevice device; in HWTEST_F() local 106 bool isOK = profile_->Disconnect(device); in HWTEST_F() 142 * @tc.desc: Get remote PbapClient device lis 36 OnActionCompleted( const BluetoothRemoteDevice &device, int respCode, int actionType, const PbapPhoneBookData &result) OnActionCompleted() argument 180 BluetoothRemoteDevice device; HWTEST_F() local 195 BluetoothRemoteDevice device; HWTEST_F() local 211 BluetoothRemoteDevice device; HWTEST_F() local 226 BluetoothRemoteDevice device; HWTEST_F() local 243 BluetoothRemoteDevice device; HWTEST_F() local 259 BluetoothRemoteDevice device; HWTEST_F() local 276 BluetoothRemoteDevice device; HWTEST_F() local 292 BluetoothRemoteDevice device; HWTEST_F() local 308 BluetoothRemoteDevice device; HWTEST_F() local 323 BluetoothRemoteDevice device; HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/drivers/firmware/google/ |
H A D | coreboot_table.c | 12 #include <linux/device.h> 27 static int coreboot_bus_match(struct device *dev, struct device_driver *drv) in coreboot_bus_match() 29 struct coreboot_device *device = CB_DEV(dev); in coreboot_bus_match() local 32 return device->entry.tag == driver->tag; in coreboot_bus_match() 35 static int coreboot_bus_probe(struct device *dev) in coreboot_bus_probe() 38 struct coreboot_device *device = CB_DEV(dev); in coreboot_bus_probe() local 42 ret = driver->probe(device); in coreboot_bus_probe() 47 static int coreboot_bus_remove(struct device *dev) in coreboot_bus_remove() 50 struct coreboot_device *device = CB_DEV(dev); in coreboot_bus_remove() local 54 ret = driver->remove(device); in coreboot_bus_remove() 68 struct coreboot_device *device = CB_DEV(dev); coreboot_device_release() local 91 struct coreboot_device *device; coreboot_table_populate() local [all...] |
/kernel/linux/linux-5.10/include/linux/device/ |
H A D | class.h | 20 #include <linux/device/bus.h> 22 struct device; 26 * struct class - device classes 32 * @dev_uevent: Called when a device is added, removed from this class, or a 37 * @dev_release: Called to release the device. 40 * @namespace: Namespace of the device belongs to this class. 43 * device's namespace. 44 * @pm: The default device power management operations of this class. 48 * A class is a higher-level view of a device that abstracts out low-level 62 int (*dev_uevent)(struct device *de [all...] |
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_pipe_sync.c | 53 struct lvp_device *device = container_of(vk_device, struct lvp_device, vk); in lvp_pipe_sync_finish() local 58 device->pscreen->fence_reference(device->pscreen, &sync->fence, NULL); in lvp_pipe_sync_finish() 64 lvp_pipe_sync_signal_with_fence(struct lvp_device *device, in lvp_pipe_sync_signal_with_fence() argument 71 device->pscreen->fence_reference(device->pscreen, &sync->fence, fence); in lvp_pipe_sync_signal_with_fence() 81 struct lvp_device *device = container_of(vk_device, struct lvp_device, vk); in lvp_pipe_sync_signal() local 88 device->pscreen->fence_reference(device->pscreen, &sync->fence, NULL); in lvp_pipe_sync_signal() 99 struct lvp_device *device in lvp_pipe_sync_reset() local 118 struct lvp_device *device = container_of(vk_device, struct lvp_device, vk); lvp_pipe_sync_move() local 143 lvp_pipe_sync_wait_locked(struct lvp_device *device, struct lvp_pipe_sync *sync, uint64_t wait_value, enum vk_sync_wait_flags wait_flags, uint64_t abs_timeout_ns) lvp_pipe_sync_wait_locked() argument 229 struct lvp_device *device = container_of(vk_device, struct lvp_device, vk); lvp_pipe_sync_wait() local [all...] |
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_pipeline.c | 61 struct pvr_device *device, in pvr_pds_coeff_program_create_and_upload() 83 staging_buffer = vk_alloc2(&device->vk.alloc, in pvr_pds_coeff_program_create_and_upload() 89 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in pvr_pds_coeff_program_create_and_upload() 104 result = pvr_gpu_upload_pds(device, in pvr_pds_coeff_program_create_and_upload() 114 vk_free2(&device->vk.alloc, allocator, staging_buffer); in pvr_pds_coeff_program_create_and_upload() 118 vk_free2(&device->vk.alloc, allocator, staging_buffer); in pvr_pds_coeff_program_create_and_upload() 126 struct pvr_device *device, in pvr_pds_fragment_program_create_and_upload() 158 staging_buffer = vk_alloc2(&device->vk.alloc, in pvr_pds_fragment_program_create_and_upload() 164 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in pvr_pds_fragment_program_create_and_upload() 173 result = pvr_gpu_upload_pds(device, in pvr_pds_fragment_program_create_and_upload() 60 pvr_pds_coeff_program_create_and_upload( struct pvr_device *device, const VkAllocationCallbacks *allocator, const uint32_t *fpu_iterators, uint32_t fpu_iterators_count, const uint32_t *destinations, struct pvr_pds_upload *const pds_upload_out) pvr_pds_coeff_program_create_and_upload() argument 125 pvr_pds_fragment_program_create_and_upload( struct pvr_device *device, const VkAllocationCallbacks *allocator, const struct pvr_bo *fragment_shader_bo, uint32_t fragment_temp_count, enum rogue_msaa_mode msaa_mode, bool has_phase_rate_change, struct pvr_pds_upload *const pds_upload_out) pvr_pds_fragment_program_create_and_upload() argument 338 pvr_pds_vertex_attrib_program_create_and_upload( struct pvr_device *const device, const VkAllocationCallbacks *const allocator, struct pvr_pds_vertex_primary_program_input *const input, struct pvr_pds_attrib_program *const program_out) pvr_pds_vertex_attrib_program_create_and_upload() argument 433 pvr_pds_vertex_attrib_program_destroy( struct pvr_device *const device, const struct VkAllocationCallbacks *const allocator, struct pvr_pds_attrib_program *const program) pvr_pds_vertex_attrib_program_destroy() argument 456 pvr_pds_vertex_attrib_programs_create_and_upload( struct pvr_device *device, const VkAllocationCallbacks *const allocator, const VkPipelineVertexInputStateCreateInfo *const vertex_input_state, uint32_t usc_temp_count, const struct rogue_vs_build_data *vs_data, pvr_pds_attrib_programs_array_ptr programs_out_ptr) pvr_pds_vertex_attrib_programs_create_and_upload() argument 572 pvr_pds_descriptor_program_setup_buffers( struct pvr_device *device, bool robust_buffer_access, const struct rogue_compile_time_consts_data *compile_time_consts_data, const struct rogue_ubo_data *ubo_data, pvr_pds_descriptor_program_buffer_array_ptr buffers_out_ptr, uint32_t *const buffer_count_out, struct pvr_bo **const static_consts_pvr_bo_out) pvr_pds_descriptor_program_setup_buffers() argument 642 pvr_pds_descriptor_program_create_and_upload( struct pvr_device *const device, const VkAllocationCallbacks *const allocator, const struct rogue_compile_time_consts_data *const compile_time_consts_data, const struct rogue_ubo_data *const ubo_data, const struct pvr_explicit_constant_usage *const explicit_const_usage, const struct pvr_pipeline_layout *const layout, enum pvr_stage_allocation stage, struct pvr_stage_allocation_descriptor_state *const descriptor_state) pvr_pds_descriptor_program_create_and_upload() argument 795 pvr_pds_descriptor_program_destroy( struct pvr_device *const device, const struct VkAllocationCallbacks *const allocator, struct pvr_stage_allocation_descriptor_state *const descriptor_state) pvr_pds_descriptor_program_destroy() argument 857 pvr_pds_compute_program_create_and_upload( struct pvr_device *const device, const VkAllocationCallbacks *const allocator, const uint32_t local_input_regs[static const PVR_WORKGROUP_DIMENSIONS], const uint32_t work_group_input_regs[static const PVR_WORKGROUP_DIMENSIONS], uint32_t barrier_coefficient, uint32_t usc_temps, pvr_dev_addr_t usc_shader_dev_addr, struct pvr_pds_upload *const pds_upload_out, struct pvr_pds_info *const pds_info_out) pvr_pds_compute_program_create_and_upload() argument 936 pvr_pds_compute_program_destroy( struct pvr_device *const device, const struct VkAllocationCallbacks *const allocator, struct pvr_pds_upload *const pds_program, struct pvr_pds_info *const pds_info) pvr_pds_compute_program_destroy() argument 949 pvr_pds_compute_base_workgroup_variant_program_init( struct pvr_device *const device, const VkAllocationCallbacks *const allocator, const uint32_t local_input_regs[static const PVR_WORKGROUP_DIMENSIONS], const uint32_t work_group_input_regs[static const PVR_WORKGROUP_DIMENSIONS], uint32_t barrier_coefficient, uint32_t usc_temps, pvr_dev_addr_t usc_shader_dev_addr, struct pvr_pds_base_workgroup_program *program_out) pvr_pds_compute_base_workgroup_variant_program_init() argument 1028 pvr_pds_compute_base_workgroup_variant_program_finish( struct pvr_device *device, const VkAllocationCallbacks *const allocator, struct pvr_pds_base_workgroup_program *const state) pvr_pds_compute_base_workgroup_variant_program_finish() argument 1041 pvr_pipeline_init(struct pvr_device *device, enum pvr_pipeline_type type, struct pvr_pipeline *const pipeline) pvr_pipeline_init() argument 1062 pvr_compute_pipeline_compile( struct pvr_device *const device, struct pvr_pipeline_cache *pipeline_cache, const VkComputePipelineCreateInfo *pCreateInfo, const VkAllocationCallbacks *const allocator, struct pvr_compute_pipeline *const compute_pipeline) pvr_compute_pipeline_compile() argument 1185 pvr_compute_pipeline_init(struct pvr_device *device, struct pvr_pipeline_cache *pipeline_cache, const VkComputePipelineCreateInfo *pCreateInfo, const VkAllocationCallbacks *allocator, struct pvr_compute_pipeline *compute_pipeline) pvr_compute_pipeline_init() argument 1214 pvr_compute_pipeline_create(struct pvr_device *device, struct pvr_pipeline_cache *pipeline_cache, const VkComputePipelineCreateInfo *pCreateInfo, const VkAllocationCallbacks *allocator, VkPipeline *const pipeline_out) pvr_compute_pipeline_create() argument 1247 pvr_compute_pipeline_destroy( struct pvr_device *const device, const VkAllocationCallbacks *const allocator, struct pvr_compute_pipeline *const compute_pipeline) pvr_compute_pipeline_destroy() argument 1331 pvr_graphics_pipeline_destroy(struct pvr_device *const device, const VkAllocationCallbacks *const allocator, struct pvr_graphics_pipeline *const gfx_pipeline) pvr_graphics_pipeline_destroy() argument 1442 pvr_graphics_pipeline_compile(struct pvr_device *const device, struct pvr_pipeline_cache *pipeline_cache, const VkGraphicsPipelineCreateInfo *pCreateInfo, const VkAllocationCallbacks *const allocator, struct pvr_graphics_pipeline *const gfx_pipeline) pvr_graphics_pipeline_compile() argument 1837 pvr_graphics_pipeline_init(struct pvr_device *device, struct pvr_pipeline_cache *pipeline_cache, const VkGraphicsPipelineCreateInfo *pCreateInfo, const VkAllocationCallbacks *allocator, struct pvr_graphics_pipeline *gfx_pipeline) pvr_graphics_pipeline_init() argument 1947 pvr_graphics_pipeline_create(struct pvr_device *device, struct pvr_pipeline_cache *pipeline_cache, const VkGraphicsPipelineCreateInfo *pCreateInfo, const VkAllocationCallbacks *allocator, VkPipeline *const pipeline_out) pvr_graphics_pipeline_create() argument [all...] |
/third_party/mesa3d/src/virtio/venus-protocol/ |
H A D | vn_protocol_driver_query_pool.h | 73 static inline size_t vn_sizeof_vkCreateQueryPool(VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkQueryPool* pQueryPool) in vn_sizeof_vkCreateQueryPool() argument 79 cmd_size += vn_sizeof_VkDevice(&device); in vn_sizeof_vkCreateQueryPool() 93 static inline void vn_encode_vkCreateQueryPool(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkQueryPool* pQueryPool) in vn_encode_vkCreateQueryPool() argument 100 vn_encode_VkDevice(enc, &device); in vn_encode_vkCreateQueryPool() 109 static inline size_t vn_sizeof_vkCreateQueryPool_reply(VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkQueryPool* pQueryPool) in vn_sizeof_vkCreateQueryPool_reply() argument 116 /* skip device */ in vn_sizeof_vkCreateQueryPool_reply() 126 static inline VkResult vn_decode_vkCreateQueryPool_reply(struct vn_cs_decoder *dec, VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkQueryPool* pQueryPool) in vn_decode_vkCreateQueryPool_reply() argument 134 /* skip device */ in vn_decode_vkCreateQueryPool_reply() 146 static inline size_t vn_sizeof_vkDestroyQueryPool(VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* pAllocator) in vn_sizeof_vkDestroyQueryPool() argument 152 cmd_size += vn_sizeof_VkDevice(&device); in vn_sizeof_vkDestroyQueryPool() 161 vn_encode_vkDestroyQueryPool(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* pAllocator) vn_encode_vkDestroyQueryPool() argument 174 vn_sizeof_vkDestroyQueryPool_reply(VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* pAllocator) vn_sizeof_vkDestroyQueryPool_reply() argument 186 vn_decode_vkDestroyQueryPool_reply(struct vn_cs_decoder *dec, VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* pAllocator) vn_decode_vkDestroyQueryPool_reply() argument 197 vn_sizeof_vkGetQueryPoolResults(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags) vn_sizeof_vkGetQueryPoolResults() argument 215 vn_encode_vkGetQueryPoolResults(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags) vn_encode_vkGetQueryPoolResults() argument 232 vn_sizeof_vkGetQueryPoolResults_reply(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags) vn_sizeof_vkGetQueryPoolResults_reply() argument 256 vn_decode_vkGetQueryPoolResults_reply(struct vn_cs_decoder *dec, VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags) vn_decode_vkGetQueryPoolResults_reply() argument 282 vn_sizeof_vkResetQueryPool(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount) vn_sizeof_vkResetQueryPool() argument 296 vn_encode_vkResetQueryPool(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount) vn_encode_vkResetQueryPool() argument 309 vn_sizeof_vkResetQueryPool_reply(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount) vn_sizeof_vkResetQueryPool_reply() argument 322 vn_decode_vkResetQueryPool_reply(struct vn_cs_decoder *dec, VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount) vn_decode_vkResetQueryPool_reply() argument 334 vn_submit_vkCreateQueryPool(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkQueryPool* pQueryPool, struct vn_instance_submit_command *submit) vn_submit_vkCreateQueryPool() argument 355 vn_submit_vkDestroyQueryPool(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* pAllocator, struct vn_instance_submit_command *submit) vn_submit_vkDestroyQueryPool() argument 376 vn_submit_vkGetQueryPoolResults(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags, struct vn_instance_submit_command *submit) vn_submit_vkGetQueryPoolResults() argument 397 vn_submit_vkResetQueryPool(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, struct vn_instance_submit_command *submit) vn_submit_vkResetQueryPool() argument 418 vn_call_vkCreateQueryPool(struct vn_instance *vn_instance, VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkQueryPool* pQueryPool) vn_call_vkCreateQueryPool() argument 434 vn_async_vkCreateQueryPool(struct vn_instance *vn_instance, VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkQueryPool* pQueryPool) vn_async_vkCreateQueryPool() argument 440 vn_call_vkDestroyQueryPool(struct vn_instance *vn_instance, VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* pAllocator) vn_call_vkDestroyQueryPool() argument 453 vn_async_vkDestroyQueryPool(struct vn_instance *vn_instance, VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* pAllocator) vn_async_vkDestroyQueryPool() argument 459 vn_call_vkGetQueryPoolResults(struct vn_instance *vn_instance, VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags) vn_call_vkGetQueryPoolResults() argument 475 vn_async_vkGetQueryPoolResults(struct vn_instance *vn_instance, VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags) vn_async_vkGetQueryPoolResults() argument 481 vn_call_vkResetQueryPool(struct vn_instance *vn_instance, VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount) vn_call_vkResetQueryPool() argument 494 vn_async_vkResetQueryPool(struct vn_instance *vn_instance, VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount) vn_async_vkResetQueryPool() argument [all...] |
H A D | vn_protocol_driver_pipeline_cache.h | 81 static inline size_t vn_sizeof_vkCreatePipelineCache(VkDevice device, const VkPipelineCacheCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineCache* pPipelineCache) in vn_sizeof_vkCreatePipelineCache() argument 87 cmd_size += vn_sizeof_VkDevice(&device); in vn_sizeof_vkCreatePipelineCache() 101 static inline void vn_encode_vkCreatePipelineCache(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, const VkPipelineCacheCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineCache* pPipelineCache) in vn_encode_vkCreatePipelineCache() argument 108 vn_encode_VkDevice(enc, &device); in vn_encode_vkCreatePipelineCache() 117 static inline size_t vn_sizeof_vkCreatePipelineCache_reply(VkDevice device, const VkPipelineCacheCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineCache* pPipelineCache) in vn_sizeof_vkCreatePipelineCache_reply() argument 124 /* skip device */ in vn_sizeof_vkCreatePipelineCache_reply() 134 static inline VkResult vn_decode_vkCreatePipelineCache_reply(struct vn_cs_decoder *dec, VkDevice device, const VkPipelineCacheCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineCache* pPipelineCache) in vn_decode_vkCreatePipelineCache_reply() argument 142 /* skip device */ in vn_decode_vkCreatePipelineCache_reply() 154 static inline size_t vn_sizeof_vkDestroyPipelineCache(VkDevice device, VkPipelineCache pipelineCache, const VkAllocationCallbacks* pAllocator) in vn_sizeof_vkDestroyPipelineCache() argument 160 cmd_size += vn_sizeof_VkDevice(&device); in vn_sizeof_vkDestroyPipelineCache() 169 vn_encode_vkDestroyPipelineCache(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkPipelineCache pipelineCache, const VkAllocationCallbacks* pAllocator) vn_encode_vkDestroyPipelineCache() argument 182 vn_sizeof_vkDestroyPipelineCache_reply(VkDevice device, VkPipelineCache pipelineCache, const VkAllocationCallbacks* pAllocator) vn_sizeof_vkDestroyPipelineCache_reply() argument 194 vn_decode_vkDestroyPipelineCache_reply(struct vn_cs_decoder *dec, VkDevice device, VkPipelineCache pipelineCache, const VkAllocationCallbacks* pAllocator) vn_decode_vkDestroyPipelineCache_reply() argument 205 vn_sizeof_vkGetPipelineCacheData(VkDevice device, VkPipelineCache pipelineCache, size_t* pDataSize, void* pData) vn_sizeof_vkGetPipelineCacheData() argument 221 vn_encode_vkGetPipelineCacheData(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkPipelineCache pipelineCache, size_t* pDataSize, void* pData) vn_encode_vkGetPipelineCacheData() argument 235 vn_sizeof_vkGetPipelineCacheData_reply(VkDevice device, VkPipelineCache pipelineCache, size_t* pDataSize, void* pData) vn_sizeof_vkGetPipelineCacheData_reply() argument 257 vn_decode_vkGetPipelineCacheData_reply(struct vn_cs_decoder *dec, VkDevice device, VkPipelineCache pipelineCache, size_t* pDataSize, void* pData) vn_decode_vkGetPipelineCacheData_reply() argument 283 vn_sizeof_vkMergePipelineCaches(VkDevice device, VkPipelineCache dstCache, uint32_t srcCacheCount, const VkPipelineCache* pSrcCaches) vn_sizeof_vkMergePipelineCaches() argument 303 vn_encode_vkMergePipelineCaches(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkPipelineCache dstCache, uint32_t srcCacheCount, const VkPipelineCache* pSrcCaches) vn_encode_vkMergePipelineCaches() argument 322 vn_sizeof_vkMergePipelineCaches_reply(VkDevice device, VkPipelineCache dstCache, uint32_t srcCacheCount, const VkPipelineCache* pSrcCaches) vn_sizeof_vkMergePipelineCaches_reply() argument 337 vn_decode_vkMergePipelineCaches_reply(struct vn_cs_decoder *dec, VkDevice device, VkPipelineCache dstCache, uint32_t srcCacheCount, const VkPipelineCache* pSrcCaches) vn_decode_vkMergePipelineCaches_reply() argument 353 vn_submit_vkCreatePipelineCache(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, const VkPipelineCacheCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineCache* pPipelineCache, struct vn_instance_submit_command *submit) vn_submit_vkCreatePipelineCache() argument 374 vn_submit_vkDestroyPipelineCache(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, VkPipelineCache pipelineCache, const VkAllocationCallbacks* pAllocator, struct vn_instance_submit_command *submit) vn_submit_vkDestroyPipelineCache() argument 395 vn_submit_vkGetPipelineCacheData(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, VkPipelineCache pipelineCache, size_t* pDataSize, void* pData, struct vn_instance_submit_command *submit) vn_submit_vkGetPipelineCacheData() argument 416 vn_submit_vkMergePipelineCaches(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, VkPipelineCache dstCache, uint32_t srcCacheCount, const VkPipelineCache* pSrcCaches, struct vn_instance_submit_command *submit) vn_submit_vkMergePipelineCaches() argument 437 vn_call_vkCreatePipelineCache(struct vn_instance *vn_instance, VkDevice device, const VkPipelineCacheCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineCache* pPipelineCache) vn_call_vkCreatePipelineCache() argument 453 vn_async_vkCreatePipelineCache(struct vn_instance *vn_instance, VkDevice device, const VkPipelineCacheCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineCache* pPipelineCache) vn_async_vkCreatePipelineCache() argument 459 vn_call_vkDestroyPipelineCache(struct vn_instance *vn_instance, VkDevice device, VkPipelineCache pipelineCache, const VkAllocationCallbacks* pAllocator) vn_call_vkDestroyPipelineCache() argument 472 vn_async_vkDestroyPipelineCache(struct vn_instance *vn_instance, VkDevice device, VkPipelineCache pipelineCache, const VkAllocationCallbacks* pAllocator) vn_async_vkDestroyPipelineCache() argument 478 vn_call_vkGetPipelineCacheData(struct vn_instance *vn_instance, VkDevice device, VkPipelineCache pipelineCache, size_t* pDataSize, void* pData) vn_call_vkGetPipelineCacheData() argument 494 vn_async_vkGetPipelineCacheData(struct vn_instance *vn_instance, VkDevice device, VkPipelineCache pipelineCache, size_t* pDataSize, void* pData) vn_async_vkGetPipelineCacheData() argument 500 vn_call_vkMergePipelineCaches(struct vn_instance *vn_instance, VkDevice device, VkPipelineCache dstCache, uint32_t srcCacheCount, const VkPipelineCache* pSrcCaches) vn_call_vkMergePipelineCaches() argument 516 vn_async_vkMergePipelineCaches(struct vn_instance *vn_instance, VkDevice device, VkPipelineCache dstCache, uint32_t srcCacheCount, const VkPipelineCache* pSrcCaches) vn_async_vkMergePipelineCaches() argument [all...] |
H A D | vn_protocol_driver_private_data_slot.h | 67 static inline size_t vn_sizeof_vkCreatePrivateDataSlot(VkDevice device, const VkPrivateDataSlotCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPrivateDataSlot* pPrivateDataSlot) in vn_sizeof_vkCreatePrivateDataSlot() argument 73 cmd_size += vn_sizeof_VkDevice(&device); in vn_sizeof_vkCreatePrivateDataSlot() 87 static inline void vn_encode_vkCreatePrivateDataSlot(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, const VkPrivateDataSlotCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPrivateDataSlot* pPrivateDataSlot) in vn_encode_vkCreatePrivateDataSlot() argument 94 vn_encode_VkDevice(enc, &device); in vn_encode_vkCreatePrivateDataSlot() 103 static inline size_t vn_sizeof_vkCreatePrivateDataSlot_reply(VkDevice device, const VkPrivateDataSlotCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPrivateDataSlot* pPrivateDataSlot) in vn_sizeof_vkCreatePrivateDataSlot_reply() argument 110 /* skip device */ in vn_sizeof_vkCreatePrivateDataSlot_reply() 120 static inline VkResult vn_decode_vkCreatePrivateDataSlot_reply(struct vn_cs_decoder *dec, VkDevice device, const VkPrivateDataSlotCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPrivateDataSlot* pPrivateDataSlot) in vn_decode_vkCreatePrivateDataSlot_reply() argument 128 /* skip device */ in vn_decode_vkCreatePrivateDataSlot_reply() 140 static inline size_t vn_sizeof_vkDestroyPrivateDataSlot(VkDevice device, VkPrivateDataSlot privateDataSlot, const VkAllocationCallbacks* pAllocator) in vn_sizeof_vkDestroyPrivateDataSlot() argument 146 cmd_size += vn_sizeof_VkDevice(&device); in vn_sizeof_vkDestroyPrivateDataSlot() 155 vn_encode_vkDestroyPrivateDataSlot(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkPrivateDataSlot privateDataSlot, const VkAllocationCallbacks* pAllocator) vn_encode_vkDestroyPrivateDataSlot() argument 168 vn_sizeof_vkDestroyPrivateDataSlot_reply(VkDevice device, VkPrivateDataSlot privateDataSlot, const VkAllocationCallbacks* pAllocator) vn_sizeof_vkDestroyPrivateDataSlot_reply() argument 180 vn_decode_vkDestroyPrivateDataSlot_reply(struct vn_cs_decoder *dec, VkDevice device, VkPrivateDataSlot privateDataSlot, const VkAllocationCallbacks* pAllocator) vn_decode_vkDestroyPrivateDataSlot_reply() argument 191 vn_sizeof_vkSetPrivateData(VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t data) vn_sizeof_vkSetPrivateData() argument 206 vn_encode_vkSetPrivateData(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t data) vn_encode_vkSetPrivateData() argument 220 vn_sizeof_vkSetPrivateData_reply(VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t data) vn_sizeof_vkSetPrivateData_reply() argument 236 vn_decode_vkSetPrivateData_reply(struct vn_cs_decoder *dec, VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t data) vn_decode_vkSetPrivateData_reply() argument 253 vn_sizeof_vkGetPrivateData(VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t* pData) vn_sizeof_vkGetPrivateData() argument 268 vn_encode_vkGetPrivateData(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t* pData) vn_encode_vkGetPrivateData() argument 282 vn_sizeof_vkGetPrivateData_reply(VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t* pData) vn_sizeof_vkGetPrivateData_reply() argument 298 vn_decode_vkGetPrivateData_reply(struct vn_cs_decoder *dec, VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t* pData) vn_decode_vkGetPrivateData_reply() argument 315 vn_submit_vkCreatePrivateDataSlot(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, const VkPrivateDataSlotCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPrivateDataSlot* pPrivateDataSlot, struct vn_instance_submit_command *submit) vn_submit_vkCreatePrivateDataSlot() argument 336 vn_submit_vkDestroyPrivateDataSlot(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, VkPrivateDataSlot privateDataSlot, const VkAllocationCallbacks* pAllocator, struct vn_instance_submit_command *submit) vn_submit_vkDestroyPrivateDataSlot() argument 357 vn_submit_vkSetPrivateData(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t data, struct vn_instance_submit_command *submit) vn_submit_vkSetPrivateData() argument 378 vn_submit_vkGetPrivateData(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t* pData, struct vn_instance_submit_command *submit) vn_submit_vkGetPrivateData() argument 399 vn_call_vkCreatePrivateDataSlot(struct vn_instance *vn_instance, VkDevice device, const VkPrivateDataSlotCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPrivateDataSlot* pPrivateDataSlot) vn_call_vkCreatePrivateDataSlot() argument 415 vn_async_vkCreatePrivateDataSlot(struct vn_instance *vn_instance, VkDevice device, const VkPrivateDataSlotCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPrivateDataSlot* pPrivateDataSlot) vn_async_vkCreatePrivateDataSlot() argument 421 vn_call_vkDestroyPrivateDataSlot(struct vn_instance *vn_instance, VkDevice device, VkPrivateDataSlot privateDataSlot, const VkAllocationCallbacks* pAllocator) vn_call_vkDestroyPrivateDataSlot() argument 434 vn_async_vkDestroyPrivateDataSlot(struct vn_instance *vn_instance, VkDevice device, VkPrivateDataSlot privateDataSlot, const VkAllocationCallbacks* pAllocator) vn_async_vkDestroyPrivateDataSlot() argument 440 vn_call_vkSetPrivateData(struct vn_instance *vn_instance, VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t data) vn_call_vkSetPrivateData() argument 456 vn_async_vkSetPrivateData(struct vn_instance *vn_instance, VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t data) vn_async_vkSetPrivateData() argument 462 vn_call_vkGetPrivateData(struct vn_instance *vn_instance, VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t* pData) vn_call_vkGetPrivateData() argument 475 vn_async_vkGetPrivateData(struct vn_instance *vn_instance, VkDevice device, VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t* pData) vn_async_vkGetPrivateData() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | gt215.c | 31 struct nvkm_device *device = therm->subdev.device; in gt215_therm_fan_sense() local 32 u32 tach = nvkm_rd32(device, 0x00e728) & 0x0000ffff; in gt215_therm_fan_sense() 33 u32 ctrl = nvkm_rd32(device, 0x00e720); in gt215_therm_fan_sense() 42 struct nvkm_device *device = therm->subdev.device; in gt215_therm_init() local 48 nvkm_mask(device, 0x00e720, 0x00000003, 0x00000002); in gt215_therm_init() 50 nvkm_wr32(device, 0x00e724, device->crystal * 1000); in gt215_therm_init() 51 nvkm_mask(device, in gt215_therm_init() 71 gt215_therm_new(struct nvkm_device *device, int index, struct nvkm_therm **ptherm) gt215_therm_new() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mc/ |
H A D | nv04.c | 46 struct nvkm_device *device = mc->subdev.device; in nv04_mc_intr_unarm() local 47 nvkm_wr32(device, 0x000140, 0x00000000); in nv04_mc_intr_unarm() 48 nvkm_rd32(device, 0x000140); in nv04_mc_intr_unarm() 54 struct nvkm_device *device = mc->subdev.device; in nv04_mc_intr_rearm() local 55 nvkm_wr32(device, 0x000140, 0x00000001); in nv04_mc_intr_rearm() 61 return nvkm_rd32(mc->subdev.device, 0x000100); in nv04_mc_intr_stat() 67 struct nvkm_device *device = mc->subdev.device; in nv04_mc_init() local 83 nv04_mc_new(struct nvkm_device *device, int index, struct nvkm_mc **pmc) nv04_mc_new() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ |
H A D | nv04.c | 33 struct nvkm_device *device = subdev->device; in nv04_bus_intr() local 34 u32 stat = nvkm_rd32(device, 0x001100) & nvkm_rd32(device, 0x001140); in nv04_bus_intr() 39 nvkm_wr32(device, 0x001100, 0x00000001); in nv04_bus_intr() 43 struct nvkm_gpio *gpio = device->gpio; in nv04_bus_intr() 47 nvkm_wr32(device, 0x001100, 0x00000110); in nv04_bus_intr() 52 nvkm_mask(device, 0x001140, stat, 0x00000000); in nv04_bus_intr() 59 struct nvkm_device *device = bus->subdev.device; in nv04_bus_init() local 71 nv04_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) nv04_bus_new() argument [all...] |
/kernel/linux/linux-6.6/include/linux/platform_data/ |
H A D | mmc-omap.h | 13 /* back-link to device */ 14 struct device *dev; 25 int (*init)(struct device *dev); 26 void (*cleanup)(struct device *dev); 27 void (*shutdown)(struct device *dev); 30 int (*get_context_loss_count)(struct device *dev); 84 int (*set_bus_mode)(struct device *dev, int slot, int bus_mode); 85 int (*set_power)(struct device *dev, int slot, 87 int (*get_ro)(struct device *dev, int slot); 88 void (*remux)(struct device *de [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ |
H A D | nv04.c | 33 struct nvkm_device *device = subdev->device; in nv04_bus_intr() local 34 u32 stat = nvkm_rd32(device, 0x001100) & nvkm_rd32(device, 0x001140); in nv04_bus_intr() 39 nvkm_wr32(device, 0x001100, 0x00000001); in nv04_bus_intr() 43 struct nvkm_gpio *gpio = device->gpio; in nv04_bus_intr() 47 nvkm_wr32(device, 0x001100, 0x00000110); in nv04_bus_intr() 52 nvkm_mask(device, 0x001140, stat, 0x00000000); in nv04_bus_intr() 59 struct nvkm_device *device = bus->subdev.device; in nv04_bus_init() local 71 nv04_bus_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_bus **pbus) nv04_bus_new() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | gt215.c | 31 struct nvkm_device *device = therm->subdev.device; in gt215_therm_fan_sense() local 32 u32 tach = nvkm_rd32(device, 0x00e728) & 0x0000ffff; in gt215_therm_fan_sense() 33 u32 ctrl = nvkm_rd32(device, 0x00e720); in gt215_therm_fan_sense() 42 struct nvkm_device *device = therm->subdev.device; in gt215_therm_init() local 48 nvkm_mask(device, 0x00e720, 0x00000003, 0x00000002); in gt215_therm_init() 50 nvkm_wr32(device, 0x00e724, device->crystal * 1000); in gt215_therm_init() 51 nvkm_mask(device, in gt215_therm_init() 71 gt215_therm_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_therm **ptherm) gt215_therm_new() argument [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/server/src/ |
H A D | bluetooth_hfp_ag_server.cpp | 41 void OnConnectionStateChanged(const RawAddress& device, int state) override 43 HILOGI("device:%{public}s, state:%{public}d", GET_ENCRYPT_ADDR(device), state); 49 observers_->ForEach([device, state](IBluetoothHfpAgObserver* observer) { 50 observer->OnConnectionStateChanged(device, state, 55 void OnScoStateChanged(const RawAddress& device, int state, int reason) override 57 HILOGI("device:%{public}s, state:%{public}d, reason:%{public}d", GET_ENCRYPT_ADDR(device), state, reason); 58 observers_->ForEach([device, state, reason](IBluetoothHfpAgObserver* observer) { 59 observer->OnScoStateChanged(device, stat 201 GetDeviceState(const BluetoothRawAddress &device, int32_t &state) GetDeviceState() argument 217 Connect(const BluetoothRawAddress &device) Connect() argument 238 Disconnect(const BluetoothRawAddress &device) Disconnect() argument 256 GetScoState(const BluetoothRawAddress &device) GetScoState() argument 307 OpenVoiceRecognition(const BluetoothRawAddress &device) OpenVoiceRecognition() argument 321 CloseVoiceRecognition(const BluetoothRawAddress &device) CloseVoiceRecognition() argument 331 SetActiveDevice(const BluetoothRawAddress &device) SetActiveDevice() argument 341 IntoMock(const BluetoothRawAddress &device, int state) IntoMock() argument 349 SendNoCarrier(const BluetoothRawAddress &device) SendNoCarrier() argument 378 IsVgsSupported(const BluetoothRawAddress &device, bool &isSupported) IsVgsSupported() argument 412 SetConnectStrategy(const BluetoothRawAddress &device, int strategy) SetConnectStrategy() argument 422 GetConnectStrategy(const BluetoothRawAddress &device, int &strategy) GetConnectStrategy() argument [all...] |
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | zoned.h | 19 * zoned block device. 27 * It can vary per-device depending on the allocation status. 41 int btrfs_get_dev_zone(struct btrfs_device *device, u64 pos, 44 int btrfs_get_dev_zone_info(struct btrfs_device *device, bool populate_cache); 45 void btrfs_destroy_dev_zone_info(struct btrfs_device *device); 51 int btrfs_sb_log_location(struct btrfs_device *device, int mirror, int rw, 53 int btrfs_advance_sb_log(struct btrfs_device *device, int mirror); 55 u64 btrfs_find_allocatable_zones(struct btrfs_device *device, u64 hole_start, 57 int btrfs_reset_device_zone(struct btrfs_device *device, u64 physical, 59 int btrfs_ensure_empty_zones(struct btrfs_device *device, u6 88 btrfs_get_dev_zone(struct btrfs_device *device, u64 pos, struct blk_zone *zone) btrfs_get_dev_zone() argument 99 btrfs_get_dev_zone_info(struct btrfs_device *device, bool populate_cache) btrfs_get_dev_zone_info() argument 105 btrfs_destroy_dev_zone_info(struct btrfs_device *device) btrfs_destroy_dev_zone_info() argument 138 btrfs_sb_log_location(struct btrfs_device *device, int mirror, int rw, u64 *bytenr_ret) btrfs_sb_log_location() argument 145 btrfs_advance_sb_log(struct btrfs_device *device, int mirror) btrfs_advance_sb_log() argument 155 btrfs_find_allocatable_zones(struct btrfs_device *device, u64 hole_start, u64 hole_end, u64 num_bytes) btrfs_find_allocatable_zones() argument 162 btrfs_reset_device_zone(struct btrfs_device *device, u64 physical, u64 length, u64 *bytes) btrfs_reset_device_zone() argument 169 btrfs_ensure_empty_zones(struct btrfs_device *device, u64 start, u64 size) btrfs_ensure_empty_zones() argument 201 btrfs_zoned_issue_zeroout(struct btrfs_device *device, u64 physical, u64 length) btrfs_zoned_issue_zeroout() argument 265 btrfs_dev_is_sequential(struct btrfs_device *device, u64 pos) btrfs_dev_is_sequential() argument 275 btrfs_dev_is_empty_zone(struct btrfs_device *device, u64 pos) btrfs_dev_is_empty_zone() argument 285 btrfs_dev_set_empty_zone_bit(struct btrfs_device *device, u64 pos, bool set) btrfs_dev_set_empty_zone_bit() argument 301 btrfs_dev_set_zone_empty(struct btrfs_device *device, u64 pos) btrfs_dev_set_zone_empty() argument 306 btrfs_dev_clear_zone_empty(struct btrfs_device *device, u64 pos) btrfs_dev_clear_zone_empty() argument 330 btrfs_check_super_location(struct btrfs_device *device, u64 pos) btrfs_check_super_location() argument 339 btrfs_can_zone_reset(struct btrfs_device *device, u64 physical, u64 length) btrfs_can_zone_reset() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | clk.h | 16 struct device; 114 * @dev: device for clock "consumer" 120 int devm_clk_notifier_register(struct device *dev, struct clk *clk, 233 static inline int devm_clk_notifier_register(struct device *dev, in devm_clk_notifier_register() 357 * @dev: device for clock "consumer" 370 struct clk *clk_get(struct device *dev, const char *id); 374 * @dev: device for clock "consumer" 392 int __must_check clk_bulk_get(struct device *dev, int num_clks, 397 * @dev: device for clock "consumer" 412 int __must_check clk_bulk_get_all(struct device *de [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | g84.c | 35 struct nvkm_device *device = ior->disp->engine.subdev.device; in g84_sor_hdmi_infoframe_vsi() local 39 nvkm_mask(device, 0x61653c + hoff, 0x00010001, 0x00010000); in g84_sor_hdmi_infoframe_vsi() 45 nvkm_wr32(device, 0x616544 + hoff, vsi.header); in g84_sor_hdmi_infoframe_vsi() 46 nvkm_wr32(device, 0x616548 + hoff, vsi.subpack0_low); in g84_sor_hdmi_infoframe_vsi() 47 nvkm_wr32(device, 0x61654c + hoff, vsi.subpack0_high); in g84_sor_hdmi_infoframe_vsi() 49 /* nvkm_wr32(device, 0x616550 + hoff, vsi.subpack1_low); */ in g84_sor_hdmi_infoframe_vsi() 50 /* nvkm_wr32(device, 0x616554 + hoff, vsi.subpack1_high); */ in g84_sor_hdmi_infoframe_vsi() 52 nvkm_mask(device, 0x61653c + hoff, 0x00010001, 0x00010001); in g84_sor_hdmi_infoframe_vsi() 58 struct nvkm_device *device in g84_sor_hdmi_infoframe_avi() local 81 struct nvkm_device *device = ior->disp->engine.subdev.device; g84_sor_hdmi_ctrl() local 344 g84_disp_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_disp **pdisp) g84_disp_new() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | pm_wakeirq.h | 19 extern int dev_pm_set_wake_irq(struct device *dev, int irq); 20 extern int dev_pm_set_dedicated_wake_irq(struct device *dev, int irq); 21 extern int dev_pm_set_dedicated_wake_irq_reverse(struct device *dev, int irq); 22 extern void dev_pm_clear_wake_irq(struct device *dev); 23 extern void dev_pm_enable_wake_irq(struct device *dev); 24 extern void dev_pm_disable_wake_irq(struct device *dev); 28 static inline int dev_pm_set_wake_irq(struct device *dev, int irq) in dev_pm_set_wake_irq() 33 static inline int dev_pm_set_dedicated_wake_irq(struct device *dev, int irq) in dev_pm_set_dedicated_wake_irq() 38 static inline int dev_pm_set_dedicated_wake_irq_reverse(struct device *dev, int irq) in dev_pm_set_dedicated_wake_irq_reverse() 43 static inline void dev_pm_clear_wake_irq(struct device *de [all...] |
H A D | nvmem-consumer.h | 16 struct device; 36 * @dev_id: Name of the consumer device that will be associated with 58 struct nvmem_cell *nvmem_cell_get(struct device *dev, const char *id); 59 struct nvmem_cell *devm_nvmem_cell_get(struct device *dev, const char *id); 61 void devm_nvmem_cell_put(struct device *dev, struct nvmem_cell *cell); 64 int nvmem_cell_read_u8(struct device *dev, const char *cell_id, u8 *val); 65 int nvmem_cell_read_u16(struct device *dev, const char *cell_id, u16 *val); 66 int nvmem_cell_read_u32(struct device *dev, const char *cell_id, u32 *val); 67 int nvmem_cell_read_u64(struct device *dev, const char *cell_id, u64 *val); 69 /* direct nvmem device rea [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | gv100.c | 31 struct nvkm_device *device = subdev->device; in gv100_gr_trap_sm() local 32 u32 werr = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x730 + (sm * 0x80))); in gv100_gr_trap_sm() 33 u32 gerr = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x734 + (sm * 0x80))); in gv100_gr_trap_sm() 44 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x730 + sm * 0x80), 0x00000000); in gv100_gr_trap_sm() 45 nvkm_wr32(device, TPC_UNIT(gpc, tpc, 0x734 + sm * 0x80), gerr); in gv100_gr_trap_sm() 58 struct nvkm_device *device = gr->base.engine.subdev.device; in gv100_gr_init_4188a4() local 59 nvkm_mask(device, 0x4188a4, 0x03000000, 0x03000000); in gv100_gr_init_4188a4() 65 struct nvkm_device *device in gv100_gr_init_shader_exceptions() local 77 struct nvkm_device *device = gr->base.engine.subdev.device; gv100_gr_init_504430() local 84 struct nvkm_device *device = gr->base.engine.subdev.device; gv100_gr_init_419bd8() local 144 gv100_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) gv100_gr_new() argument [all...] |
/kernel/linux/linux-6.6/drivers/peci/ |
H A D | internal.h | 7 #include <linux/device.h> 19 struct peci_request *peci_request_alloc(struct peci_device *device, u8 tx_len, u8 rx_len); 32 struct peci_request *peci_xfer_get_dib(struct peci_device *device); 33 struct peci_request *peci_xfer_get_temp(struct peci_device *device); 35 struct peci_request *peci_xfer_pkg_cfg_readb(struct peci_device *device, u8 index, u16 param); 36 struct peci_request *peci_xfer_pkg_cfg_readw(struct peci_device *device, u8 index, u16 param); 37 struct peci_request *peci_xfer_pkg_cfg_readl(struct peci_device *device, u8 index, u16 param); 38 struct peci_request *peci_xfer_pkg_cfg_readq(struct peci_device *device, u8 index, u16 param); 40 struct peci_request *peci_xfer_pci_cfg_local_readb(struct peci_device *device, 42 struct peci_request *peci_xfer_pci_cfg_local_readw(struct peci_device *device, [all...] |