Home
last modified time | relevance | path

Searched refs:device (Results 351 - 375 of 28695) sorted by relevance

1...<<11121314151617181920>>...1148

/third_party/mesa3d/src/imagination/vulkan/
H A Dpvr_bo.c57 * device virtual memory. Host mapping is conditional and is controlled by
60 * \param[in] device Logical device pointer.
61 * \param[in] heap Heap to allocate device virtual address from.
72 VkResult pvr_bo_alloc(struct pvr_device *device, in pvr_bo_alloc() argument
84 pvr_bo = vk_alloc(&device->vk.alloc, in pvr_bo_alloc()
89 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in pvr_bo_alloc()
91 result = device->ws->ops->buffer_create(device->ws, in pvr_bo_alloc()
101 void *map = device in pvr_bo_alloc()
153 pvr_bo_cpu_map(struct pvr_device *device, struct pvr_bo *pvr_bo) pvr_bo_cpu_map() argument
172 pvr_bo_cpu_unmap(struct pvr_device *device, struct pvr_bo *pvr_bo) pvr_bo_cpu_unmap() argument
186 pvr_bo_free(struct pvr_device *device, struct pvr_bo *pvr_bo) pvr_bo_free() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dgp100.c32 struct nvkm_device *device = gf100_fb(base)->base.subdev.device; in gp100_fb_init_unkn() local
33 nvkm_wr32(device, 0x1fac80, nvkm_rd32(device, 0x100c80)); in gp100_fb_init_unkn()
34 nvkm_wr32(device, 0x1facc4, nvkm_rd32(device, 0x100cc4)); in gp100_fb_init_unkn()
35 nvkm_wr32(device, 0x1facc8, nvkm_rd32(device, 0x100cc8)); in gp100_fb_init_unkn()
36 nvkm_wr32(device, 0x1faccc, nvkm_rd32(device, in gp100_fb_init_unkn()
42 struct nvkm_device *device = fb->subdev.device; gp100_fb_init_remapper() local
60 gp100_fb_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_fb **pfb) gp100_fb_new() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dgm200.c95 return nvkm_rd32(gr->base.engine.subdev.device, 0x12006c); in gm200_gr_rops()
101 struct nvkm_device *device = gr->base.engine.subdev.device; in gm200_gr_init_ds_hww_esr_2() local
102 nvkm_wr32(device, 0x405848, 0xc0000000); in gm200_gr_init_ds_hww_esr_2()
103 nvkm_mask(device, 0x40584c, 0x00000001, 0x00000001); in gm200_gr_init_ds_hww_esr_2()
109 struct nvkm_device *device = gr->base.engine.subdev.device; in gm200_gr_init_num_active_ltcs() local
110 nvkm_wr32(device, GPC_BCAST(0x08ac), nvkm_rd32(device, 0x100800)); in gm200_gr_init_num_active_ltcs()
111 nvkm_wr32(device, GPC_BCAS in gm200_gr_init_num_active_ltcs()
117 struct nvkm_device *device = gr->base.engine.subdev.device; gm200_gr_init_gpc_mmu() local
131 struct nvkm_device *device = gr->base.engine.subdev.device; gm200_gr_init_rop_active_fbps() local
291 gm200_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) gm200_gr_new() argument
[all...]
H A Dtu102.c30 nvkm_wr32(gr->base.engine.subdev.device, 0x409c24, 0x006f0002); in tu102_gr_init_fecs_exceptions()
36 struct nvkm_device *device = gr->base.engine.subdev.device; in tu102_gr_init_fs() local
43 nvkm_wr32(device, GPC_UNIT(gr->sm[sm].gpc, 0x0c10 + in tu102_gr_init_fs()
54 struct nvkm_device *device = gr->base.engine.subdev.device; in tu102_gr_init_zcull() local
65 nvkm_wr32(device, GPC_BCAST(0x0980 + ((i / 8) * 4)), data); in tu102_gr_init_zcull()
69 nvkm_wr32(device, GPC_UNIT(gpc, 0x0914), in tu102_gr_init_zcull()
71 nvkm_wr32(device, GPC_UNIT(gpc, 0x0910), 0x00040000 | in tu102_gr_init_zcull()
73 nvkm_wr32(device, GPC_UNI in tu102_gr_init_zcull()
82 struct nvkm_device *device = gr->base.engine.subdev.device; tu102_gr_init_gpc_mmu() local
201 tu102_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) tu102_gr_new() argument
[all...]
/kernel/linux/linux-6.6/drivers/acpi/
H A Dac.c35 static int acpi_ac_add(struct acpi_device *device);
36 static void acpi_ac_remove(struct acpi_device *device);
46 static int acpi_ac_resume(struct device *dev);
67 struct acpi_device *device; member
87 status = acpi_evaluate_integer(ac->device->handle, "_PSR", NULL, in acpi_ac_get_state()
90 acpi_handle_info(ac->device->handle, in acpi_ac_get_state()
131 struct acpi_device *device = data; in acpi_ac_notify() local
132 struct acpi_ac *ac = acpi_driver_data(device); in acpi_ac_notify()
139 acpi_handle_debug(device->handle, "Unsupported event [0x%x]\n", in acpi_ac_notify()
156 acpi_bus_generate_netlink_event(device in acpi_ac_notify()
216 acpi_ac_add(struct acpi_device *device) acpi_ac_add() argument
300 acpi_ac_remove(struct acpi_device *device) acpi_ac_remove() argument
[all...]
/kernel/linux/linux-6.6/drivers/firmware/google/
H A Dcoreboot_table.c12 #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 void coreboot_bus_remove(struct device *dev) in coreboot_bus_remove()
49 struct coreboot_device *device = CB_DEV(dev); in coreboot_bus_remove() local
53 driver->remove(device); in coreboot_bus_remove()
65 struct coreboot_device *device = CB_DEV(dev); coreboot_device_release() local
88 struct coreboot_device *device; coreboot_table_populate() local
[all...]
/drivers/external_device_manager/services/native/driver_extension_manager/src/device_manager/
H A Detx_device_mgr.cpp66 int32_t ExtDeviceManager::AddDevIdOfBundleInfoMap(shared_ptr<Device> device, string &bundleInfo) in AddDevIdOfBundleInfoMap() argument
68 if (bundleInfo.empty() || device == nullptr) { in AddDevIdOfBundleInfoMap()
69 EDM_LOGE(MODULE_DEV_MGR, "bundleInfo or device is null"); in AddDevIdOfBundleInfoMap()
76 uint64_t deviceId = device->GetDeviceInfo()->GetDeviceId(); in AddDevIdOfBundleInfoMap()
92 int32_t ret = device->Connect(); in AddDevIdOfBundleInfoMap()
103 int32_t ExtDeviceManager::RemoveDevIdOfBundleInfoMap(shared_ptr<Device> device, string &bundleInfo) in RemoveDevIdOfBundleInfoMap() argument
105 if (bundleInfo.empty() || device == nullptr) { in RemoveDevIdOfBundleInfoMap()
106 EDM_LOGE(MODULE_DEV_MGR, "bundleInfo or device is null"); in RemoveDevIdOfBundleInfoMap()
118 // If the number of devices is greater than one, only the device erase in RemoveDevIdOfBundleInfoMap()
119 uint64_t deviceId = device in RemoveDevIdOfBundleInfoMap()
142 RemoveDeviceOfDeviceMap(shared_ptr<Device> device) RemoveDeviceOfDeviceMap() argument
228 shared_ptr<Device> device; RegisterDevice() local
288 shared_ptr<Device> device; UnRegisterDevice() local
454 std::shared_ptr<Device> device = QueryDeviceByDeviceID(deviceId); ConnectDevice() local
465 std::shared_ptr<Device> device = QueryDeviceByDeviceID(deviceId); DisConnectDevice() local
[all...]
/third_party/mesa3d/src/gallium/frontends/clover/core/
H A Ddevice.cpp24 #include "core/device.hpp"
50 get_highest_supported_version(const device &dev) { in get_highest_supported_version()
51 // All the checks below assume that the device supports FULL_PROFILE in get_highest_supported_version()
52 // (which is the only profile support by clover) and that a device is in get_highest_supported_version()
121 // TODO: If on-device queues are supported, check: in get_highest_supported_version()
139 device::device(clover::platform &platform, pipe_loader_device *ldev) : in device() function in device
176 device::~device() { in ~device()
186 device
[all...]
/kernel/linux/linux-5.10/sound/i2c/
H A Di2c.c21 static int snd_i2c_bit_sendbytes(struct snd_i2c_device *device,
23 static int snd_i2c_bit_readbytes(struct snd_i2c_device *device,
37 struct snd_i2c_device *device; in snd_i2c_bus_free() local
42 device = snd_i2c_device(bus->devices.next); in snd_i2c_bus_free()
43 snd_i2c_device_free(device); in snd_i2c_bus_free()
59 static int snd_i2c_bus_dev_free(struct snd_device *device) in snd_i2c_bus_dev_free() argument
61 struct snd_i2c_bus *bus = device->device_data; in snd_i2c_bus_dev_free()
102 struct snd_i2c_device *device; in snd_i2c_device_create() local
107 device = kzalloc(sizeof(*device), GFP_KERNE in snd_i2c_device_create()
120 snd_i2c_device_free(struct snd_i2c_device *device) snd_i2c_device_free() argument
132 snd_i2c_sendbytes(struct snd_i2c_device *device, unsigned char *bytes, int count) snd_i2c_sendbytes() argument
139 snd_i2c_readbytes(struct snd_i2c_device *device, unsigned char *bytes, int count) snd_i2c_readbytes() argument
261 snd_i2c_bit_sendbytes(struct snd_i2c_device *device, unsigned char *bytes, int count) snd_i2c_bit_sendbytes() argument
287 snd_i2c_bit_readbytes(struct snd_i2c_device *device, unsigned char *bytes, int count) snd_i2c_bit_readbytes() argument
[all...]
/kernel/linux/linux-6.6/sound/i2c/
H A Di2c.c21 static int snd_i2c_bit_sendbytes(struct snd_i2c_device *device,
23 static int snd_i2c_bit_readbytes(struct snd_i2c_device *device,
37 struct snd_i2c_device *device; in snd_i2c_bus_free() local
42 device = snd_i2c_device(bus->devices.next); in snd_i2c_bus_free()
43 snd_i2c_device_free(device); in snd_i2c_bus_free()
59 static int snd_i2c_bus_dev_free(struct snd_device *device) in snd_i2c_bus_dev_free() argument
61 struct snd_i2c_bus *bus = device->device_data; in snd_i2c_bus_dev_free()
102 struct snd_i2c_device *device; in snd_i2c_device_create() local
107 device = kzalloc(sizeof(*device), GFP_KERNE in snd_i2c_device_create()
120 snd_i2c_device_free(struct snd_i2c_device *device) snd_i2c_device_free() argument
132 snd_i2c_sendbytes(struct snd_i2c_device *device, unsigned char *bytes, int count) snd_i2c_sendbytes() argument
139 snd_i2c_readbytes(struct snd_i2c_device *device, unsigned char *bytes, int count) snd_i2c_readbytes() argument
261 snd_i2c_bit_sendbytes(struct snd_i2c_device *device, unsigned char *bytes, int count) snd_i2c_bit_sendbytes() argument
287 snd_i2c_bit_readbytes(struct snd_i2c_device *device, unsigned char *bytes, int count) snd_i2c_bit_readbytes() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dgm20b.c26 #include <core/device.h>
163 struct nvkm_device *device = subdev->device; in gm20b_pllg_read_mnp() local
167 val = nvkm_rd32(device, GPCPLL_CFG2); in gm20b_pllg_read_mnp()
175 struct nvkm_device *device = clk->base.base.subdev.device; in gm20b_pllg_write_mnp() local
177 nvkm_mask(device, GPCPLL_CFG2, GPCPLL_CFG2_SDM_DIN_MASK, in gm20b_pllg_write_mnp()
269 struct nvkm_device *device = subdev->device; in gm20b_pllg_slide() local
284 nvkm_mask(device, GPCPLL_NDIV_SLOWDOW in gm20b_pllg_slide()
324 struct nvkm_device *device = clk->base.base.subdev.device; gm20b_pllg_enable() local
347 struct nvkm_device *device = clk->base.base.subdev.device; gm20b_pllg_disable() local
363 struct nvkm_device *device = subdev->device; gm20b_pllg_program_mnp() local
515 struct nvkm_device *device = clk->base.base.subdev.device; gm20b_dvfs_program_coeff() local
533 struct nvkm_device *device = clk->base.base.subdev.device; gm20b_dvfs_program_ext_cal() local
552 struct nvkm_device *device = clk->base.base.subdev.device; gm20b_dvfs_program_dfs_detection() local
722 struct nvkm_device *device = base->subdev.device; gm20b_clk_fini() local
745 struct nvkm_device *device = subdev->device; gm20b_clk_init_dvfs() local
815 struct nvkm_device *device = subdev->device; gm20b_clk_init() local
911 gm20b_clk_new_speedo0(struct nvkm_device *device, int index, struct nvkm_clk **pclk) gm20b_clk_new_speedo0() argument
1017 gm20b_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) gm20b_clk_new() argument
[all...]
H A Dgf100.c51 struct nvkm_device *device = clk->base.subdev.device; in read_vco() local
52 u32 ssrc = nvkm_rd32(device, dsrc); in read_vco()
61 struct nvkm_device *device = clk->base.subdev.device; in read_pll() local
62 u32 ctrl = nvkm_rd32(device, pll + 0x00); in read_pll()
63 u32 coef = nvkm_rd32(device, pll + 0x04); in read_pll()
75 sclk = device->crystal; in read_pll()
100 struct nvkm_device *device = clk->base.subdev.device; in read_div() local
135 struct nvkm_device *device = clk->base.subdev.device; read_clk() local
162 struct nvkm_device *device = subdev->device; gf100_clk_read() local
347 struct nvkm_device *device = clk->base.subdev.device; gf100_clk_prog_0() local
357 struct nvkm_device *device = clk->base.subdev.device; gf100_clk_prog_1() local
369 struct nvkm_device *device = clk->base.subdev.device; gf100_clk_prog_2() local
396 struct nvkm_device *device = clk->base.subdev.device; gf100_clk_prog_3() local
411 struct nvkm_device *device = clk->base.subdev.device; gf100_clk_prog_4() local
471 gf100_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) gf100_clk_new() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dgm20b.c26 #include <core/device.h>
163 struct nvkm_device *device = subdev->device; in gm20b_pllg_read_mnp() local
167 val = nvkm_rd32(device, GPCPLL_CFG2); in gm20b_pllg_read_mnp()
175 struct nvkm_device *device = clk->base.base.subdev.device; in gm20b_pllg_write_mnp() local
177 nvkm_mask(device, GPCPLL_CFG2, GPCPLL_CFG2_SDM_DIN_MASK, in gm20b_pllg_write_mnp()
269 struct nvkm_device *device = subdev->device; in gm20b_pllg_slide() local
284 nvkm_mask(device, GPCPLL_NDIV_SLOWDOW in gm20b_pllg_slide()
324 struct nvkm_device *device = clk->base.base.subdev.device; gm20b_pllg_enable() local
347 struct nvkm_device *device = clk->base.base.subdev.device; gm20b_pllg_disable() local
363 struct nvkm_device *device = subdev->device; gm20b_pllg_program_mnp() local
515 struct nvkm_device *device = clk->base.base.subdev.device; gm20b_dvfs_program_coeff() local
533 struct nvkm_device *device = clk->base.base.subdev.device; gm20b_dvfs_program_ext_cal() local
552 struct nvkm_device *device = clk->base.base.subdev.device; gm20b_dvfs_program_dfs_detection() local
722 struct nvkm_device *device = base->subdev.device; gm20b_clk_fini() local
745 struct nvkm_device *device = subdev->device; gm20b_clk_init_dvfs() local
815 struct nvkm_device *device = subdev->device; gm20b_clk_init() local
911 gm20b_clk_new_speedo0(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_clk **pclk) gm20b_clk_new_speedo0() argument
1014 gm20b_clk_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_clk **pclk) gm20b_clk_new() argument
[all...]
H A Dgf100.c51 struct nvkm_device *device = clk->base.subdev.device; in read_vco() local
52 u32 ssrc = nvkm_rd32(device, dsrc); in read_vco()
61 struct nvkm_device *device = clk->base.subdev.device; in read_pll() local
62 u32 ctrl = nvkm_rd32(device, pll + 0x00); in read_pll()
63 u32 coef = nvkm_rd32(device, pll + 0x04); in read_pll()
75 sclk = device->crystal; in read_pll()
100 struct nvkm_device *device = clk->base.subdev.device; in read_div() local
135 struct nvkm_device *device = clk->base.subdev.device; read_clk() local
162 struct nvkm_device *device = subdev->device; gf100_clk_read() local
347 struct nvkm_device *device = clk->base.subdev.device; gf100_clk_prog_0() local
357 struct nvkm_device *device = clk->base.subdev.device; gf100_clk_prog_1() local
369 struct nvkm_device *device = clk->base.subdev.device; gf100_clk_prog_2() local
396 struct nvkm_device *device = clk->base.subdev.device; gf100_clk_prog_3() local
411 struct nvkm_device *device = clk->base.subdev.device; gf100_clk_prog_4() local
471 gf100_clk_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_clk **pclk) gf100_clk_new() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dswiotlb.h5 #include <linux/device.h>
13 struct device;
45 phys_addr_t swiotlb_tbl_map_single(struct device *hwdev, phys_addr_t phys,
50 extern void swiotlb_tbl_unmap_single(struct device *hwdev,
56 void swiotlb_sync_single_for_device(struct device *dev, phys_addr_t tlb_addr,
58 void swiotlb_sync_single_for_cpu(struct device *dev, phys_addr_t tlb_addr,
60 dma_addr_t swiotlb_map(struct device *dev, phys_addr_t phys,
145 struct io_tlb_pool *swiotlb_find_pool(struct device *dev, phys_addr_t paddr);
149 static inline struct io_tlb_pool *swiotlb_find_pool(struct device *dev, in swiotlb_find_pool()
168 static inline bool is_swiotlb_buffer(struct device *de
[all...]
/test/testfwk/developer_test/src/core/command/
H A Ddistribute_utils.py46 for device in list(env_manager.managers.values())[0].devices_list:
47 get_device_info(device, file_handle)
49 for device in list(env_manager.managers.values())[1].devices_list:
50 get_device_info(device, file_handle)
53 def get_device_info(device, file_handle):
56 :param device:
60 if device.test_device_state.value == "ONLINE":
61 status = device.label if device.label else 'None'
62 LOG.info("%s,%s" % (device
[all...]
/third_party/vulkan-headers/include/vulkan/
H A Dvulkan.hpp1087 PFN_vkVoidFunction vkGetDeviceProcAddr( VkDevice device, const char * pName ) const VULKAN_HPP_NOEXCEPT
1089 return ::vkGetDeviceProcAddr( device, pName );
1100 void vkDestroyDevice( VkDevice device, const VkAllocationCallbacks * pAllocator ) const VULKAN_HPP_NOEXCEPT
1102 return ::vkDestroyDevice( device, pAllocator );
1131 void vkGetDeviceQueue( VkDevice device, uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue * pQueue ) const VULKAN_HPP_NOEXCEPT
1133 return ::vkGetDeviceQueue( device, queueFamilyIndex, queueIndex, pQueue );
1146 VkResult vkDeviceWaitIdle( VkDevice device ) const VULKAN_HPP_NOEXCEPT
1148 return ::vkDeviceWaitIdle( device );
1151 VkResult vkAllocateMemory( VkDevice device,
1156 return ::vkAllocateMemory( device, pAllocateInf
18928 VkDevice device = static_cast<VkDevice>( deviceCpp ); global() variable
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dnv44.c34 struct nvkm_device *device = mmu->subdev.device; in nv44_mmu_init() local
42 addr = nvkm_rd32(device, 0x10020c); in nv44_mmu_init()
45 nvkm_wr32(device, 0x100850, 0x80000000); in nv44_mmu_init()
46 nvkm_wr32(device, 0x100818, mmu->vmm->null); in nv44_mmu_init()
47 nvkm_wr32(device, 0x100804, (nvkm_memory_size(pt) / 4) * 4096); in nv44_mmu_init()
48 nvkm_wr32(device, 0x100850, 0x00008000); in nv44_mmu_init()
49 nvkm_mask(device, 0x10008c, 0x00000200, 0x00000200); in nv44_mmu_init()
50 nvkm_wr32(device, 0x100820, 0x00000000); in nv44_mmu_init()
51 nvkm_wr32(device, in nv44_mmu_init()
65 nv44_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) nv44_mmu_new() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dnv44.c34 struct nvkm_device *device = mmu->subdev.device; in nv44_mmu_init() local
42 addr = nvkm_rd32(device, 0x10020c); in nv44_mmu_init()
45 nvkm_wr32(device, 0x100850, 0x80000000); in nv44_mmu_init()
46 nvkm_wr32(device, 0x100818, mmu->vmm->null); in nv44_mmu_init()
47 nvkm_wr32(device, 0x100804, (nvkm_memory_size(pt) / 4) * 4096); in nv44_mmu_init()
48 nvkm_wr32(device, 0x100850, 0x00008000); in nv44_mmu_init()
49 nvkm_mask(device, 0x10008c, 0x00000200, 0x00000200); in nv44_mmu_init()
50 nvkm_wr32(device, 0x100820, 0x00000000); in nv44_mmu_init()
51 nvkm_wr32(device, in nv44_mmu_init()
65 nv44_mmu_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_mmu **pmmu) nv44_mmu_new() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bar/
H A Dtu102.c30 struct nvkm_device *device = bar->subdev.device; in tu102_bar_bar2_wait() local
31 nvkm_msec(device, 2000, in tu102_bar_bar2_wait()
32 if (!(nvkm_rd32(device, 0xb80f50) & 0x0000000c)) in tu102_bar_bar2_wait()
40 nvkm_mask(bar->subdev.device, 0xb80f48, 0x80000000, 0x00000000); in tu102_bar_bar2_fini()
46 struct nvkm_device *device = base->subdev.device; in tu102_bar_bar2_init() local
51 nvkm_wr32(device, 0xb80f48, 0x80000000 | addr); in tu102_bar_bar2_init()
57 struct nvkm_device *device = bar->subdev.device; in tu102_bar_bar1_wait() local
73 struct nvkm_device *device = base->subdev.device; tu102_bar_bar1_init() local
95 tu102_bar_new(struct nvkm_device *device, int index, struct nvkm_bar **pbar) tu102_bar_new() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bar/
H A Dtu102.c30 struct nvkm_device *device = bar->subdev.device; in tu102_bar_bar2_wait() local
31 nvkm_msec(device, 2000, in tu102_bar_bar2_wait()
32 if (!(nvkm_rd32(device, 0xb80f50) & 0x0000000c)) in tu102_bar_bar2_wait()
40 nvkm_mask(bar->subdev.device, 0xb80f48, 0x80000000, 0x00000000); in tu102_bar_bar2_fini()
46 struct nvkm_device *device = base->subdev.device; in tu102_bar_bar2_init() local
51 nvkm_wr32(device, 0xb80f48, 0x80000000 | addr); in tu102_bar_bar2_init()
57 struct nvkm_device *device = bar->subdev.device; in tu102_bar_bar1_wait() local
73 struct nvkm_device *device = base->subdev.device; tu102_bar_bar1_init() local
95 tu102_bar_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_bar **pbar) tu102_bar_new() argument
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/
H A DClientDoers.cpp23 bool Client::DoDeviceUncapturedErrorCallback(Device* device, in DoDeviceUncapturedErrorCallback() argument
36 if (device == nullptr) { in DoDeviceUncapturedErrorCallback()
37 // The device might have been deleted or recreated so this isn't an error. in DoDeviceUncapturedErrorCallback()
40 device->HandleError(errorType, message); in DoDeviceUncapturedErrorCallback()
44 bool Client::DoDeviceLoggingCallback(Device* device, in DoDeviceLoggingCallback() argument
47 if (device == nullptr) { in DoDeviceLoggingCallback()
48 // The device might have been deleted or recreated so this isn't an error. in DoDeviceLoggingCallback()
51 device->HandleLogging(loggingType, message); in DoDeviceLoggingCallback()
55 bool Client::DoDeviceLostCallback(Device* device, in DoDeviceLostCallback() argument
58 if (device in DoDeviceLostCallback()
66 DoDevicePopErrorScopeCallback(Device* device, uint64_t requestSerial, WGPUErrorType errorType, const char* message) DoDevicePopErrorScopeCallback() argument
100 DoDeviceCreateComputePipelineAsyncCallback(Device* device, uint64_t requestSerial, WGPUCreatePipelineAsyncStatus status, const char* message) DoDeviceCreateComputePipelineAsyncCallback() argument
111 DoDeviceCreateRenderPipelineAsyncCallback(Device* device, uint64_t requestSerial, WGPUCreatePipelineAsyncStatus status, const char* message) DoDeviceCreateRenderPipelineAsyncCallback() argument
[all...]
/drivers/hdf_core/framework/support/platform/src/i3c/
H A Di3c_core.c19 struct HdfDeviceObject *device; member
244 HDF_LOGE("I3cGetDeviceByAddr: No such device found! addr: 0x%x!", addr); in I3cGetDeviceByAddr()
249 static int32_t I3cDeviceDefineI3cDevices(struct I3cDevice *device) in I3cDeviceDefineI3cDevices() argument
254 ret = SetAddrStatus(device->cntlr, device->addr, I3C_ADDR_I3C_DEVICE); in I3cDeviceDefineI3cDevices()
256 addr = GetFreeAddr(device->cntlr); in I3cDeviceDefineI3cDevices()
261 ret = SetAddrStatus(device->cntlr, (uint16_t)addr, I3C_ADDR_I3C_DEVICE); in I3cDeviceDefineI3cDevices()
263 HDF_LOGE("I3cDeviceDefineI3cDevices: add i3c device fail!"); in I3cDeviceDefineI3cDevices()
271 int32_t I3cDeviceAdd(struct I3cDevice *device) in I3cDeviceAdd() argument
278 if ((device in I3cDeviceAdd()
315 I3cDeviceRemove(struct I3cDevice *device) I3cDeviceRemove() argument
581 struct I3cDevice *device = NULL; I3cCntlrRequestIbi() local
633 struct I3cDevice *device = NULL; I3cCntlrFreeIbi() local
668 I3cCntlrIbiCallback(struct I3cDevice *device) I3cCntlrIbiCallback() argument
703 I3cManagerBind(struct HdfDeviceObject *device) I3cManagerBind() argument
710 I3cManagerInit(struct HdfDeviceObject *device) I3cManagerInit() argument
741 I3cManagerRelease(struct HdfDeviceObject *device) I3cManagerRelease() argument
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_image.c42 radv_choose_tiling(struct radv_device *device, const VkImageCreateInfo *pCreateInfo, in radv_choose_tiling() argument
55 device->physical_device->rad_info.gfx_level <= GFX8) { in radv_choose_tiling()
69 radv_use_tc_compat_htile_for_image(struct radv_device *device, const VkImageCreateInfo *pCreateInfo, in radv_use_tc_compat_htile_for_image() argument
73 if (device->physical_device->rad_info.gfx_level < GFX8) in radv_use_tc_compat_htile_for_image()
89 if (device->physical_device->rad_info.gfx_level < GFX9) { in radv_use_tc_compat_htile_for_image()
110 radv_surface_has_scanout(struct radv_device *device, const struct radv_image_create_info *info) in radv_surface_has_scanout() argument
113 if (device->physical_device->rad_info.gfx_level >= GFX9) in radv_surface_has_scanout()
123 radv_image_use_fast_clear_for_image_early(const struct radv_device *device, in radv_image_use_fast_clear_for_image_early() argument
126 if (device->instance->debug_flags & RADV_DEBUG_FORCE_COMPRESS) in radv_image_use_fast_clear_for_image_early()
142 radv_image_use_fast_clear_for_image(const struct radv_device *device, in radv_image_use_fast_clear_for_image() argument
195 radv_format_is_atomic_allowed(struct radv_device *device, VkFormat format) radv_format_is_atomic_allowed() argument
204 radv_formats_is_atomic_allowed(struct radv_device *device, const void *pNext, VkFormat format, VkImageCreateFlags flags) radv_formats_is_atomic_allowed() argument
228 radv_use_dcc_for_image_early(struct radv_device *device, struct radv_image *image, const VkImageCreateInfo *pCreateInfo, VkFormat format, bool *sign_reinterpret) radv_use_dcc_for_image_early() argument
288 radv_use_dcc_for_image_late(struct radv_device *device, struct radv_image *image) radv_use_dcc_for_image_late() argument
319 radv_image_use_dcc_image_stores(const struct radv_device *device, const struct radv_image *image) radv_image_use_dcc_image_stores() argument
330 radv_image_use_dcc_predication(const struct radv_device *device, const struct radv_image *image) radv_image_use_dcc_predication() argument
336 radv_use_fmask_for_image(const struct radv_device *device, const struct radv_image *image) radv_use_fmask_for_image() argument
343 radv_use_htile_for_image(const struct radv_device *device, const struct radv_image *image) radv_use_htile_for_image() argument
374 radv_use_tc_compat_cmask_for_image(struct radv_device *device, struct radv_image *image) radv_use_tc_compat_cmask_for_image() argument
403 si_get_bo_metadata_word1(const struct radv_device *device) si_get_bo_metadata_word1() argument
409 radv_is_valid_opaque_metadata(const struct radv_device *device, const struct radeon_bo_metadata *md) radv_is_valid_opaque_metadata() argument
421 radv_patch_surface_from_metadata(struct radv_device *device, struct radeon_surf *surface, const struct radeon_bo_metadata *md) radv_patch_surface_from_metadata() argument
451 radv_patch_image_dimensions(struct radv_device *device, struct radv_image *image, const struct radv_image_create_info *create_info, struct ac_surf_info *image_info) radv_patch_image_dimensions() argument
512 radv_patch_image_from_extra_info(struct radv_device *device, struct radv_image *image, const struct radv_image_create_info *create_info, struct ac_surf_info *image_info) radv_patch_image_from_extra_info() argument
581 radv_get_surface_flags(struct radv_device *device, struct radv_image *image, unsigned plane_id, const VkImageCreateInfo *pCreateInfo, VkFormat image_format) radv_get_surface_flags() argument
712 radv_make_buffer_descriptor(struct radv_device *device, struct radv_buffer *buffer, VkFormat vk_format, unsigned offset, unsigned range, uint32_t *state) radv_make_buffer_descriptor() argument
767 si_set_mutable_tex_desc_fields(struct radv_device *device, struct radv_image *image, const struct legacy_surf_level *base_level_info, unsigned plane_id, unsigned base_level, unsigned first_level, unsigned block_width, bool is_stencil, bool is_storage_image, bool disable_compression, bool enable_write_compression, uint32_t *state) si_set_mutable_tex_desc_fields() argument
941 vi_alpha_is_on_msb(struct radv_device *device, VkFormat format) vi_alpha_is_on_msb() argument
954 gfx10_make_texture_descriptor(struct radv_device *device, struct radv_image *image, bool is_storage_image, VkImageViewType view_type, VkFormat vk_format, const VkComponentMapping *mapping, unsigned first_level, unsigned last_level, unsigned first_layer, unsigned last_layer, unsigned width, unsigned height, unsigned depth, float min_lod, uint32_t *state, uint32_t *fmask_state, VkImageCreateFlags img_create_flags) gfx10_make_texture_descriptor() argument
1114 si_make_texture_descriptor(struct radv_device *device, struct radv_image *image, bool is_storage_image, VkImageViewType view_type, VkFormat vk_format, const VkComponentMapping *mapping, unsigned first_level, unsigned last_level, unsigned first_layer, unsigned last_layer, unsigned width, unsigned height, unsigned depth, float min_lod, uint32_t *state, uint32_t *fmask_state, VkImageCreateFlags img_create_flags) si_make_texture_descriptor() argument
1328 radv_make_texture_descriptor(struct radv_device *device, struct radv_image *image, bool is_storage_image, VkImageViewType view_type, VkFormat vk_format, const VkComponentMapping *mapping, unsigned first_level, unsigned last_level, unsigned first_layer, unsigned last_layer, unsigned width, unsigned height, unsigned depth, float min_lod, uint32_t *state, uint32_t *fmask_state, VkImageCreateFlags img_create_flags) radv_make_texture_descriptor() argument
1347 radv_query_opaque_metadata(struct radv_device *device, struct radv_image *image, struct radeon_bo_metadata *md) radv_query_opaque_metadata() argument
1369 radv_init_metadata(struct radv_device *device, struct radv_image *image, struct radeon_bo_metadata *metadata) radv_init_metadata() argument
1408 radv_image_override_offset_stride(struct radv_device *device, struct radv_image *image, uint64_t offset, uint32_t stride) radv_image_override_offset_stride() argument
1416 radv_image_alloc_single_sample_cmask(const struct radv_device *device, const struct radv_image *image, struct radeon_surf *surf) radv_image_alloc_single_sample_cmask() argument
1433 radv_image_alloc_values(const struct radv_device *device, struct radv_image *image) radv_image_alloc_values() argument
1470 radv_image_is_pipe_misaligned(const struct radv_device *device, const struct radv_image *image) radv_image_is_pipe_misaligned() argument
1518 radv_image_is_l2_coherent(const struct radv_device *device, const struct radv_image *image) radv_image_is_l2_coherent() argument
1543 radv_image_can_fast_clear(const struct radv_device *device, const struct radv_image *image) radv_image_can_fast_clear() argument
1571 radv_image_use_comp_to_single(const struct radv_device *device, const struct radv_image *image) radv_image_use_comp_to_single() argument
1635 radv_image_create_layout(struct radv_device *device, struct radv_image_create_info create_info, const struct VkImageDrmFormatModifierExplicitCreateInfoEXT *mod_info, struct radv_image *image) radv_image_create_layout() argument
1739 radv_destroy_image(struct radv_device *device, const VkAllocationCallbacks *pAllocator, struct radv_image *image) radv_destroy_image() argument
1755 radv_image_print_info(struct radv_device *device, struct radv_image *image) radv_image_print_info() argument
1934 radv_image_view_make_descriptor(struct radv_image_view *iview, struct radv_device *device, VkFormat vk_format, const VkComponentMapping *components, float min_lod, bool is_storage_image, bool disable_compression, bool enable_compression, unsigned plane_id, unsigned descriptor_plane_id, VkImageCreateFlags img_create_flags) radv_image_view_make_descriptor() argument
2030 radv_image_view_can_fast_clear(const struct radv_device *device, const struct radv_image_view *iview) radv_image_view_can_fast_clear() argument
2055 radv_image_view_init(struct radv_image_view *iview, struct radv_device *device, const VkImageViewCreateInfo *pCreateInfo, VkImageCreateFlags img_create_flags, const struct radv_image_view_extra_create_info *extra_create_info) radv_image_view_init() argument
2219 radv_layout_is_htile_compressed(const struct radv_device *device, const struct radv_image *image, VkImageLayout layout, bool in_render_loop, unsigned queue_mask) radv_layout_is_htile_compressed() argument
2273 radv_layout_can_fast_clear(const struct radv_device *device, const struct radv_image *image, unsigned level, VkImageLayout layout, bool in_render_loop, unsigned queue_mask) radv_layout_can_fast_clear() argument
2296 radv_layout_dcc_compressed(const struct radv_device *device, const struct radv_image *image, unsigned level, VkImageLayout layout, bool in_render_loop, unsigned queue_mask) radv_layout_dcc_compressed() argument
2327 radv_layout_fmask_compressed(const struct radv_device *device, const struct radv_image *image, VkImageLayout layout, unsigned queue_mask) radv_layout_fmask_compressed() argument
2360 radv_CreateImage(VkDevice device, const VkImageCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkImage *pImage) radv_CreateImage() argument
2510 radv_buffer_view_init(struct radv_buffer_view *view, struct radv_device *device, const VkBufferViewCreateInfo *pCreateInfo) radv_buffer_view_init() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/fault/
H A Dtu102.c53 struct nvkm_device *device = buffer->fault->subdev.device; in tu102_fault_buffer_fini() local
56 nvkm_mask(device, 0xb83010 + foff, 0x80000000, 0x00000000); in tu102_fault_buffer_fini()
62 struct nvkm_device *device = buffer->fault->subdev.device; in tu102_fault_buffer_init() local
65 nvkm_mask(device, 0xb83010 + foff, 0xc0000000, 0x40000000); in tu102_fault_buffer_init()
66 nvkm_wr32(device, 0xb83004 + foff, upper_32_bits(buffer->addr)); in tu102_fault_buffer_init()
67 nvkm_wr32(device, 0xb83000 + foff, lower_32_bits(buffer->addr)); in tu102_fault_buffer_init()
68 nvkm_mask(device, 0xb83010 + foff, 0x80000000, 0x80000000); in tu102_fault_buffer_init()
74 struct nvkm_device *device in tu102_fault_buffer_info() local
89 struct nvkm_device *device = subdev->device; tu102_fault_info_fault() local
138 struct nvkm_device *device = fault->subdev.device; tu102_fault_oneinit() local
175 tu102_fault_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_fault **pfault) tu102_fault_new() argument
[all...]

Completed in 26 milliseconds

1...<<11121314151617181920>>...1148