Home
last modified time | relevance | path

Searched refs:device (Results 576 - 600 of 28830) sorted by relevance

1...<<21222324252627282930>>...1154

/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DGetBindGroupLayoutValidationTests.cpp23 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in RenderPipelineFromFragmentShader()
28 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, shader); in RenderPipelineFromFragmentShader()
36 return device.CreateRenderPipeline(&descriptor); in RenderPipelineFromFragmentShader()
48 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in TEST_F()
61 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in TEST_F()
83 wgpu::RenderPipeline pipeline = device.CreateRenderPipeline(&descriptor); in TEST_F()
110 ASSERT_DEVICE_ERROR(utils::MakePipelineLayout(device, {pipeline.GetBindGroupLayout(0)})); in TEST_F()
145 EXPECT_NE(device.CreateBindGroupLayout(&desc).Get(), pipeline.GetBindGroupLayout(0).Get()); in TEST_F()
149 EXPECT_NE(device.CreateBindGroupLayout(&desc).Get(), pipeline.GetBindGroupLayout(0).Get()); in TEST_F()
152 EXPECT_NE(device in TEST_F()
[all...]
H A DSamplerValidationTests.cpp27 { device.CreateSampler(); } in TEST_F()
31 ASSERT_DEVICE_ERROR(device.CreateSampler(&samplerDesc)); in TEST_F()
36 ASSERT_DEVICE_ERROR(device.CreateSampler(&samplerDesc)); in TEST_F()
41 device.CreateSampler(&samplerDesc); in TEST_F()
47 device.CreateSampler(&samplerDesc); in TEST_F()
59 device.CreateSampler(&kValidAnisoSamplerDesc); in TEST_F()
64 ASSERT_DEVICE_ERROR(device.CreateSampler(&samplerDesc)); in TEST_F()
71 ASSERT_DEVICE_ERROR(device.CreateSampler(&samplerDesc)); in TEST_F()
76 ASSERT_DEVICE_ERROR(device.CreateSampler(&samplerDesc)); in TEST_F()
81 ASSERT_DEVICE_ERROR(device in TEST_F()
[all...]
/device/soc/rockchip/rk3588/kernel/include/soc/rockchip/
H A Drockchip_iommu.h8 struct device;
11 int rockchip_iommu_enable(struct device *dev);
12 int rockchip_iommu_disable(struct device *dev);
13 int rockchip_pagefault_done(struct device *master_dev);
14 void __iomem *rockchip_get_iommu_base(struct device *master_dev, int idx);
15 bool rockchip_iommu_is_enabled(struct device *dev);
17 static inline int rockchip_iommu_enable(struct device *dev) in rockchip_iommu_enable()
21 static inline int rockchip_iommu_disable(struct device *dev) in rockchip_iommu_disable()
25 static inline int rockchip_pagefault_done(struct device *master_dev) in rockchip_pagefault_done()
29 static inline void __iomem *rockchip_get_iommu_base(struct device *master_de in rockchip_pagefault_done()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
H A Dnv44.c29 struct nvkm_device *device = mc->subdev.device; in nv44_mc_init() local
30 u32 tmp = nvkm_rd32(device, 0x10020c); in nv44_mc_init()
32 nvkm_wr32(device, 0x000200, 0xffffffff); /* everything enabled */ in nv44_mc_init()
34 nvkm_wr32(device, 0x001700, tmp); in nv44_mc_init()
35 nvkm_wr32(device, 0x001704, 0); in nv44_mc_init()
36 nvkm_wr32(device, 0x001708, 0); in nv44_mc_init()
37 nvkm_wr32(device, 0x00170c, tmp); in nv44_mc_init()
45 .device = &nv04_mc_device,
50 nv44_mc_new(struct nvkm_device *device, enu argument
[all...]
H A Dnv04.c36 nvkm_mask(mc->subdev.device, 0x000200, mask, 0x00000000); in nv04_mc_device_disable()
42 struct nvkm_device *device = mc->subdev.device; in nv04_mc_device_enable() local
44 nvkm_mask(device, 0x000200, mask, mask); in nv04_mc_device_enable()
45 nvkm_rd32(device, 0x000200); in nv04_mc_device_enable()
51 return (nvkm_rd32(mc->subdev.device, 0x000200) & mask) == mask; in nv04_mc_device_enabled()
78 nvkm_wr32(mc->subdev.device, 0x000140 + (leaf * 4), 0x00000001); in nv04_mc_intr_rearm()
88 nvkm_wr32(mc->subdev.device, 0x000140 + (leaf * 4), 0x00000000); in nv04_mc_intr_unarm()
90 nvkm_rd32(mc->subdev.device, 0x000140); in nv04_mc_intr_unarm()
101 intr->stat[leaf] = nvkm_rd32(mc->subdev.device, in nv04_mc_intr_pending()
119 struct nvkm_device *device = mc->subdev.device; nv04_mc_init() local
134 nv04_mc_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_mc **pmc) nv04_mc_new() argument
[all...]
/device/board/hihope/rk3568/audio_drivers/dai/src/
H A Drk3568_dai_adapter.c25 static int32_t DaiDriverBind(struct HdfDeviceObject *device) in DaiDriverBind() argument
30 if (device == NULL) { in DaiDriverBind()
41 daiHost->device = device; in DaiDriverBind()
42 device->service = &daiHost->service; in DaiDriverBind()
49 static int32_t DaiGetServiceName(const struct HdfDeviceObject *device, struct DaiData *daiData) in DaiGetServiceName() argument
56 if (device == NULL || daiData == NULL) { in DaiGetServiceName()
61 node = device->property; in DaiGetServiceName()
82 static int32_t DaiDriverInit(struct HdfDeviceObject *device) in DaiDriverInit() argument
89 if (device in DaiDriverInit()
136 DaiDriverRelease(struct HdfDeviceObject *device) DaiDriverRelease() argument
[all...]
/device/board/hihope/rk3568/audio_drivers/codec/rk809_codec/src/
H A Drk809_codec_adapter.c17 #include <linux/device.h>
56 static int32_t Rk809DriverBind(struct HdfDeviceObject *device) in Rk809DriverBind() argument
59 if (device == NULL) { in Rk809DriverBind()
69 codecHost->device = device; in Rk809DriverBind()
70 device->service = &codecHost->service; in Rk809DriverBind()
75 static int32_t Rk809DriverInit(struct HdfDeviceObject *device) in Rk809DriverInit() argument
105 if (CodecDaiGetPortConfigInfo(device, &g_rk809DaiData) != HDF_SUCCESS) { in Rk809DriverInit()
109 if (CodecGetConfigInfo(device, &g_rk809Data) != HDF_SUCCESS) { in Rk809DriverInit()
115 ret = CodecGetServiceName(device, in Rk809DriverInit()
132 RK809DriverRelease(struct HdfDeviceObject *device) RK809DriverRelease() argument
[all...]
/device/board/hihope/rk3568/audio_drivers/soc/src/
H A Drk3568_dma_adapter.c35 static int32_t PlatformDriverBind(struct HdfDeviceObject *device) in PlatformDriverBind() argument
39 if (device == NULL) { in PlatformDriverBind()
50 platformHost->device = device; in PlatformDriverBind()
51 device->service = &platformHost->service; in PlatformDriverBind()
57 static int32_t PlatformGetServiceName(const struct HdfDeviceObject *device, struct PlatformData *platformData) in PlatformGetServiceName() argument
63 if (device == NULL || platformData == NULL) { in PlatformGetServiceName()
68 node = device->property; in PlatformGetServiceName()
90 static int32_t PlatformDriverInit(struct HdfDeviceObject *device) in PlatformDriverInit() argument
96 if (device in PlatformDriverInit()
138 PlatformDriverRelease(struct HdfDeviceObject *device) PlatformDriverRelease() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
H A Dgk104.c42 struct nvkm_device *device = base->subdev.device; in gk104_volt_get() local
45 div = nvkm_rd32(device, 0x20340); in gk104_volt_get()
46 duty = nvkm_rd32(device, 0x20344); in gk104_volt_get()
55 struct nvkm_device *device = base->subdev.device; in gk104_volt_set() local
62 nvkm_wr32(device, 0x20340, div); in gk104_volt_set()
63 nvkm_wr32(device, 0x20344, 0x80000000 | duty); in gk104_volt_set()
71 struct nvkm_device *device = volt->subdev.device; in gk104_volt_speedo_read() local
98 gk104_volt_new(struct nvkm_device *device, int index, struct nvkm_volt **pvolt) gk104_volt_new() argument
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Ddevice.c50 #include <linux/device.h>
54 #include "device.h"
62 struct cdev *cdev, struct device **devp, in hfi1_cdev_init()
67 struct device *device = NULL; in hfi1_cdev_init() local
83 device = device_create(user_class, NULL, dev, NULL, "%s", name); in hfi1_cdev_init()
85 device = device_create(class, NULL, dev, NULL, "%s", name); in hfi1_cdev_init()
87 if (IS_ERR(device)) { in hfi1_cdev_init()
88 ret = PTR_ERR(device); in hfi1_cdev_init()
89 device in hfi1_cdev_init()
101 struct device *device = *devp; hfi1_cdev_cleanup() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dpiornv50.c33 struct nvkm_device *device = pior->disp->engine.subdev.device; in nv50_pior_clock() local
35 nvkm_mask(device, 0x614380 + poff, 0x00000707, 0x00000001); in nv50_pior_clock()
49 nv50_pior_power_wait(struct nvkm_device *device, u32 poff) in nv50_pior_power_wait() argument
51 nvkm_msec(device, 2000, in nv50_pior_power_wait()
52 if (!(nvkm_rd32(device, 0x61e004 + poff) & 0x80000000)) in nv50_pior_power_wait()
61 struct nvkm_device *device = pior->disp->engine.subdev.device; in nv50_pior_power() local
67 nv50_pior_power_wait(device, poff); in nv50_pior_power()
68 nvkm_mask(device, in nv50_pior_power()
100 struct nvkm_device *device = pior->disp->engine.subdev.device; nv50_pior_state() local
136 struct nvkm_device *device = disp->engine.subdev.device; nv50_pior_cnt() local
[all...]
/kernel/linux/linux-6.6/include/trace/events/
H A Diommu.h16 struct device;
20 TP_PROTO(int group_id, struct device *dev),
26 __string(device, dev_name(dev))
31 __assign_str(device, dev_name(dev));
34 TP_printk("IOMMU: groupID=%d device=%s",
35 __entry->gid, __get_str(device)
41 TP_PROTO(int group_id, struct device *dev),
49 TP_PROTO(int group_id, struct device *dev),
56 TP_PROTO(struct device *dev),
61 __string(device, dev_nam
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Ddevice.c7 #include <linux/device.h>
11 #include "device.h"
13 static char *hfi1_devnode(const struct device *dev, umode_t *mode) in hfi1_devnode()
25 static char *hfi1_user_devnode(const struct device *dev, umode_t *mode) in hfi1_user_devnode()
40 struct cdev *cdev, struct device **devp, in hfi1_cdev_init()
45 struct device *device = NULL; in hfi1_cdev_init() local
61 device = device_create(&user_class, NULL, dev, NULL, "%s", name); in hfi1_cdev_init()
63 device = device_create(&class, NULL, dev, NULL, "%s", name); in hfi1_cdev_init()
65 if (IS_ERR(device)) { in hfi1_cdev_init()
79 struct device *device = *devp; hfi1_cdev_cleanup() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/cipher/
H A Dg84.c37 int ret = nvkm_gpuobj_new(object->engine->subdev.device, 16, in g84_cipher_oclass_bind()
59 return nvkm_gpuobj_new(object->engine->subdev.device, 256, in g84_cipher_cclass_bind()
83 struct nvkm_device *device = subdev->device; in g84_cipher_intr() local
85 u32 stat = nvkm_rd32(device, 0x102130); in g84_cipher_intr()
86 u32 mthd = nvkm_rd32(device, 0x102190); in g84_cipher_intr()
87 u32 data = nvkm_rd32(device, 0x102194); in g84_cipher_intr()
88 u32 inst = nvkm_rd32(device, 0x102188) & 0x7fffffff; in g84_cipher_intr()
103 nvkm_wr32(device, 0x102130, stat); in g84_cipher_intr()
104 nvkm_wr32(device, in g84_cipher_intr()
110 struct nvkm_device *device = cipher->subdev.device; g84_cipher_init() local
129 g84_cipher_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_engine **pengine) g84_cipher_new() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dnv17.c40 struct nvkm_memory *ramfc = chan->cgrp->runl->fifo->engine.subdev.device->imem->ramfc; in nv17_chan_ramfc_write()
95 struct nvkm_device *device = fifo->engine.subdev.device; in nv17_fifo_init() local
96 struct nvkm_instmem *imem = device->imem; in nv17_fifo_init()
101 nvkm_wr32(device, NV04_PFIFO_DELAY_0, 0x000000ff); in nv17_fifo_init()
102 nvkm_wr32(device, NV04_PFIFO_DMA_TIMESLICE, 0x0101ffff); in nv17_fifo_init()
104 nvkm_wr32(device, NV03_PFIFO_RAMHT, (0x03 << 24) /* search 128 */ | in nv17_fifo_init()
107 nvkm_wr32(device, NV03_PFIFO_RAMRO, nvkm_memory_addr(ramro) >> 8); in nv17_fifo_init()
108 nvkm_wr32(device, NV03_PFIFO_RAMFC, nvkm_memory_addr(ramfc) >> 8 | in nv17_fifo_init()
111 nvkm_wr32(device, NV03_PFIFO_CACHE1_PUSH in nv17_fifo_init()
138 nv17_fifo_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_fifo **pfifo) nv17_fifo_new() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
H A Dgk104.c42 struct nvkm_device *device = base->subdev.device; in gk104_volt_get() local
45 div = nvkm_rd32(device, 0x20340); in gk104_volt_get()
46 duty = nvkm_rd32(device, 0x20344); in gk104_volt_get()
55 struct nvkm_device *device = base->subdev.device; in gk104_volt_set() local
62 nvkm_wr32(device, 0x20340, div); in gk104_volt_set()
63 nvkm_wr32(device, 0x20344, 0x80000000 | duty); in gk104_volt_set()
71 struct nvkm_device *device = volt->subdev.device; in gk104_volt_speedo_read() local
98 gk104_volt_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_volt **pvolt) gk104_volt_new() argument
[all...]
/third_party/mesa3d/src/intel/vulkan/
H A Danv_gem_stubs.c31 anv_gem_create(struct anv_device *device, uint64_t size) in anv_gem_create() argument
43 anv_gem_close(struct anv_device *device, uint32_t gem_handle) in anv_gem_close() argument
49 anv_gem_create_regions(struct anv_device *device, uint64_t anv_bo_size, in anv_gem_create_regions() argument
57 anv_gem_mmap(struct anv_device *device, uint32_t gem_handle, in anv_gem_mmap() argument
71 anv_gem_munmap(struct anv_device *device, void *p, uint64_t size) in anv_gem_munmap() argument
77 anv_gem_userptr(struct anv_device *device, void *mem, size_t size) in anv_gem_userptr() argument
89 anv_gem_busy(struct anv_device *device, uint32_t gem_handle) in anv_gem_busy() argument
95 anv_gem_wait(struct anv_device *device, uint32_t gem_handle, int64_t *timeout_ns) in anv_gem_wait() argument
101 anv_gem_execbuffer(struct anv_device *device, in anv_gem_execbuffer() argument
108 anv_gem_set_tiling(struct anv_device *device, in anv_gem_set_tiling() argument
115 anv_gem_get_tiling(struct anv_device *device, uint32_t gem_handle) anv_gem_get_tiling() argument
121 anv_gem_set_caching(struct anv_device *device, uint32_t gem_handle, uint32_t caching) anv_gem_set_caching() argument
128 anv_gem_set_domain(struct anv_device *device, uint32_t gem_handle, uint32_t read_domains, uint32_t write_domain) anv_gem_set_domain() argument
141 anv_gem_create_context(struct anv_device *device) anv_gem_create_context() argument
147 anv_gem_destroy_context(struct anv_device *device, int context) anv_gem_destroy_context() argument
172 anv_gem_handle_to_fd(struct anv_device *device, uint32_t gem_handle) anv_gem_handle_to_fd() argument
178 anv_gem_fd_to_handle(struct anv_device *device, int fd) anv_gem_fd_to_handle() argument
[all...]
/kernel/linux/linux-5.10/sound/core/
H A Dhwdep.c27 static int snd_hwdep_dev_free(struct snd_device *device);
28 static int snd_hwdep_dev_register(struct snd_device *device);
29 static int snd_hwdep_dev_disconnect(struct snd_device *device);
32 static struct snd_hwdep *snd_hwdep_search(struct snd_card *card, int device) in snd_hwdep_search() argument
37 if (hwdep->card == card && hwdep->device == device) in snd_hwdep_search()
270 int device; in snd_hwdep_control_ioctl() local
272 if (get_user(device, (int __user *)arg)) in snd_hwdep_control_ioctl()
276 if (device < 0) in snd_hwdep_control_ioctl()
277 device in snd_hwdep_control_ioctl()
298 int device, err; snd_hwdep_control_ioctl() local
358 snd_hwdep_new(struct snd_card *card, char *id, int device, struct snd_hwdep **rhwdep) snd_hwdep_new() argument
403 snd_hwdep_dev_free(struct snd_device *device) snd_hwdep_dev_free() argument
414 snd_hwdep_dev_register(struct snd_device *device) snd_hwdep_dev_register() argument
456 snd_hwdep_dev_disconnect(struct snd_device *device) snd_hwdep_dev_disconnect() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dmsi.h14 * Regular device drivers have no business with any of these functions and
60 * (only used when device supports it)
171 * @dev: Pointer to the device which uses this descriptor
174 * @sysfs_attr: Pointer to sysfs device attribute
185 /* Shared device/bus type independent data */
188 struct device *dev;
222 * struct msi_dev_domain - The internals of MSI domain info per device
224 * @irqdomain: Pointer to a per device interrupt domain
232 * msi_device_data - MSI per device data
236 * @__domains: Internal data for per device MS
[all...]
/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_sync_timeline.c57 vk_sync_timeline_init(struct vk_device *device, in vk_sync_timeline_init() argument
70 return vk_errorf(device, VK_ERROR_UNKNOWN, "mtx_init failed"); in vk_sync_timeline_init()
75 return vk_errorf(device, VK_ERROR_UNKNOWN, "cnd_init failed"); in vk_sync_timeline_init()
87 vk_sync_timeline_finish(struct vk_device *device, in vk_sync_timeline_finish() argument
95 vk_sync_finish(device, &point->sync); in vk_sync_timeline_finish()
96 vk_free(&device->alloc, point); in vk_sync_timeline_finish()
101 vk_sync_finish(device, &point->sync); in vk_sync_timeline_finish()
102 vk_free(&device->alloc, point); in vk_sync_timeline_finish()
123 vk_sync_timeline_gc_locked(struct vk_device *device,
128 vk_sync_timeline_alloc_point_locked(struct vk_device *device, in vk_sync_timeline_alloc_point_locked() argument
181 vk_sync_timeline_alloc_point(struct vk_device *device, struct vk_sync_timeline *timeline, uint64_t value, struct vk_sync_timeline_point **point_out) vk_sync_timeline_alloc_point() argument
204 vk_sync_timeline_point_free(struct vk_device *device, struct vk_sync_timeline_point *point) vk_sync_timeline_point_free() argument
248 vk_sync_timeline_gc_locked(struct vk_device *device, struct vk_sync_timeline *timeline, bool drain) vk_sync_timeline_gc_locked() argument
293 vk_sync_timeline_point_install(struct vk_device *device, struct vk_sync_timeline_point *point) vk_sync_timeline_point_install() argument
318 vk_sync_timeline_get_point_locked(struct vk_device *device, struct vk_sync_timeline *timeline, uint64_t wait_value, struct vk_sync_timeline_point **point_out) vk_sync_timeline_get_point_locked() argument
342 vk_sync_timeline_get_point(struct vk_device *device, struct vk_sync_timeline *timeline, uint64_t wait_value, struct vk_sync_timeline_point **point_out) vk_sync_timeline_get_point() argument
356 vk_sync_timeline_point_release(struct vk_device *device, struct vk_sync_timeline_point *point) vk_sync_timeline_point_release() argument
367 vk_sync_timeline_signal_locked(struct vk_device *device, struct vk_sync_timeline *timeline, uint64_t value) vk_sync_timeline_signal_locked() argument
392 vk_sync_timeline_signal(struct vk_device *device, struct vk_sync *sync, uint64_t value) vk_sync_timeline_signal() argument
406 vk_sync_timeline_get_value(struct vk_device *device, struct vk_sync *sync, uint64_t *value) vk_sync_timeline_get_value() argument
425 vk_sync_timeline_wait_locked(struct vk_device *device, struct vk_sync_timeline *timeline, uint64_t wait_value, enum vk_sync_wait_flags wait_flags, uint64_t abs_timeout_ns) vk_sync_timeline_wait_locked() argument
504 vk_sync_timeline_wait(struct vk_device *device, struct vk_sync *sync, uint64_t wait_value, enum vk_sync_wait_flags wait_flags, uint64_t abs_timeout_ns) vk_sync_timeline_wait() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkPlatform.hpp126 VkDevice device,
133 virtual VkResult createShaderModule (VkDevice device,
160 VkDevice device,
173 void destroyDeviceHandler (VkDevice device,
175 VkResult createDescriptorSetLayoutHandlerNorm (VkDevice device,
179 void createDescriptorSetLayoutHandlerStat (VkDevice device,
183 void destroyDescriptorSetLayoutHandler (VkDevice device,
186 void allocateDescriptorSetsHandlerStat (VkDevice device,
189 void freeDescriptorSetsHandlerStat (VkDevice device,
193 void resetDescriptorPoolHandlerStat (VkDevice device,
352 DeinitDeviceDeleter(ResourceInterface* resourceInterface, const VkDevice& device) DeinitDeviceDeleter() argument
[all...]
/device/board/hisilicon/hispark_taurus/audio_drivers/codec/tfa9879/src/
H A Dtfa9879_codec_adapter.c46 static int32_t Tfa9879DriverBind(struct HdfDeviceObject *device) in Tfa9879DriverBind() argument
48 (void)device; in Tfa9879DriverBind()
53 static int32_t Tfa9879DriverInit(struct HdfDeviceObject *device) in Tfa9879DriverInit() argument
56 if (device == NULL) { in Tfa9879DriverInit()
57 AUDIO_DRIVER_LOG_ERR("device is NULL."); in Tfa9879DriverInit()
61 if (CodecDaiGetPortConfigInfo(device, &g_tfa9879DaiData) != HDF_SUCCESS) { in Tfa9879DriverInit()
66 ret = CodecGetConfigInfo(device, &g_tfa9879Data); in Tfa9879DriverInit()
77 if (CodecGetServiceName(device, &g_tfa9879Data.drvCodecName) != HDF_SUCCESS) { in Tfa9879DriverInit()
82 if (CodecGetDaiName(device, &g_tfa9879DaiData.drvDaiName) != HDF_SUCCESS) { in Tfa9879DriverInit()
89 ret = AudioRegisterCodec(device, in Tfa9879DriverInit()
98 Tfa9879DriverRelease(struct HdfDeviceObject *device) Tfa9879DriverRelease() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
H A Dgf100.c35 struct nvkm_device *device = pci->subdev.device; in gf100_pcie_set_version() local
36 nvkm_mask(device, 0x02241c, 0x1, ver > 1 ? 1 : 0); in gf100_pcie_set_version()
42 struct nvkm_device *device = pci->subdev.device; in gf100_pcie_version() local
43 return (nvkm_rd32(device, 0x02241c) & 0x1) + 1; in gf100_pcie_version()
49 struct nvkm_device *device = pci->subdev.device; in gf100_pcie_set_cap_speed() local
50 nvkm_mask(device, 0x02241c, 0x80, full_speed ? 0x80 : 0x0); in gf100_pcie_set_cap_speed()
56 struct nvkm_device *device in gf100_pcie_cap_speed() local
99 gf100_pci_new(struct nvkm_device *device, int index, struct nvkm_pci **ppci) gf100_pci_new() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dtransport_class.h11 #include <linux/device.h>
19 int (*setup)(struct transport_container *, struct device *,
20 struct device *);
21 int (*configure)(struct transport_container *, struct device *,
22 struct device *);
23 int (*remove)(struct transport_container *, struct device *,
24 struct device *);
64 void transport_remove_device(struct device *);
65 int transport_add_device(struct device *);
66 void transport_setup_device(struct device *);
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fault/
H A Dgp100.c32 struct nvkm_device *device = buffer->fault->subdev.device; in gp100_fault_buffer_intr() local
33 nvkm_mc_intr_mask(device, NVKM_SUBDEV_FAULT, enable); in gp100_fault_buffer_intr()
39 struct nvkm_device *device = buffer->fault->subdev.device; in gp100_fault_buffer_fini() local
40 nvkm_mask(device, 0x002a70, 0x00000001, 0x00000000); in gp100_fault_buffer_fini()
46 struct nvkm_device *device = buffer->fault->subdev.device; in gp100_fault_buffer_init() local
47 nvkm_wr32(device, 0x002a74, upper_32_bits(buffer->addr)); in gp100_fault_buffer_init()
48 nvkm_wr32(device, in gp100_fault_buffer_init()
85 gp100_fault_new(struct nvkm_device *device, int index, struct nvkm_fault **pfault) gp100_fault_new() argument
[all...]

Completed in 10 milliseconds

1...<<21222324252627282930>>...1154