Home
last modified time | relevance | path

Searched refs:device (Results 2851 - 2875 of 30068) sorted by relevance

1...<<111112113114115116117118119120>>...1203

/kernel/linux/linux-6.6/include/soc/tegra/
H A Dcommon.h12 struct device;
15 * Tegra SoC core device OPP table configuration
17 * @init_state: pre-initialize OPP state of a device
26 int devm_tegra_core_dev_init_opp_table(struct device *dev,
35 devm_tegra_core_dev_init_opp_table(struct device *dev, in devm_tegra_core_dev_init_opp_table()
43 devm_tegra_core_dev_init_opp_table_common(struct device *dev) in devm_tegra_core_dev_init_opp_table_common()
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_comp.h27 * @dev_node: component device node
38 int mtk_mdp_comp_init(struct device *dev, struct device_node *node,
41 void mtk_mdp_comp_deinit(struct device *dev, struct mtk_mdp_comp *comp);
42 void mtk_mdp_comp_clock_on(struct device *dev, struct mtk_mdp_comp *comp);
43 void mtk_mdp_comp_clock_off(struct device *dev, struct mtk_mdp_comp *comp);
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvif/
H A Dfifo.h3 #include <nvif/device.h>
10 nvif_fifo_runlist_ce(struct nvif_device *device) in nvif_fifo_runlist_ce() argument
12 u64 runmgr = nvif_fifo_runlist(device, NV_DEVICE_HOST_RUNLIST_ENGINES_GR); in nvif_fifo_runlist_ce()
13 u64 runmce = nvif_fifo_runlist(device, NV_DEVICE_HOST_RUNLIST_ENGINES_CE); in nvif_fifo_runlist_ce()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramnv10.c29 struct nvkm_device *device = fb->subdev.device; in nv10_ram_new() local
30 u32 size = nvkm_rd32(device, 0x10020c) & 0xff000000; in nv10_ram_new()
31 u32 cfg0 = nvkm_rd32(device, 0x100200); in nv10_ram_new()
/kernel/linux/linux-6.6/drivers/input/misc/
H A Dcma3000_d0x.h15 struct device;
21 int (*read)(struct device *, u8, char *);
22 int (*write)(struct device *, u8, u8, char *);
25 struct cma3000_accl_data *cma3000_init(struct device *dev, int irq,
/third_party/mesa3d/src/gallium/frontends/clover/nir/
H A Dinvocation.hpp32 class device;
34 void check_for_libclc(const device &dev);
37 nir_shader *load_libclc_nir(const device &dev, std::string &r_log);
42 binary spirv_to_nir(const binary &bin, const device &dev, std::string &r_log);
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
H A DBuffer.hpp23 Buffer(vk::Device device, vk::DeviceSize size, vk::BufferUsageFlags usage);
33 return device.mapMemory(bufferMemory, 0, size); in mapMemory()
38 device.unmapMemory(bufferMemory); in unmapMemory()
42 const vk::Device device; member in Buffer
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
H A DBindGroupLayoutGL.cpp21 BindGroupLayout::BindGroupLayout(DeviceBase* device, in BindGroupLayout() argument
24 : BindGroupLayoutBase(device, descriptor, pipelineCompatibilityToken), in BindGroupLayout()
28 Ref<BindGroup> BindGroupLayout::AllocateBindGroup(Device* device, in AllocateBindGroup() argument
30 return AcquireRef(mBindGroupAllocator.Allocate(device, descriptor)); in AllocateBindGroup()
/third_party/skia/third_party/externals/dawn/src/utils/
H A DNullBinding.cpp26 NullBinding(GLFWwindow* window, WGPUDevice device) : BackendBinding(window, device) { in NullBinding() argument
43 BackendBinding* CreateNullBinding(GLFWwindow* window, WGPUDevice device) { in CreateNullBinding() argument
44 return new NullBinding(window, device); in CreateNullBinding()
/kernel/linux/linux-5.10/drivers/s390/cio/
H A Dchp.c30 #define to_channelpath(device) container_of(device, struct channel_path, dev)
136 struct device *device; in chp_measurement_chars_read() local
138 device = kobj_to_dev(kobj); in chp_measurement_chars_read()
139 chp = to_channelpath(device); in chp_measurement_chars_read()
184 struct device *device; in chp_measurement_read() local
187 device = kobj_to_dev(kobj); in chp_measurement_read()
188 chp = to_channelpath(device); in chp_measurement_read()
[all...]
/kernel/linux/linux-5.10/drivers/siox/
H A Dsiox-core.c6 #include <linux/device.h>
14 * The lowest bit in the SIOX status word signals if the in-device watchdog is
15 * ok. If the bit is set, the device is functional.
79 * If the device knows which value the type bits should have, check in siox_device_type_error()
103 * If there is a type or counter error the device is called "unsynced".
116 * A device is called "connected" if it is synced and the watchdog is not
161 * If the device or a previous one is unsynced, don't pet the in siox_poll()
162 * watchdog. This is done to ensure that the device is kept in in siox_poll()
238 /* If the device is unsynced report the watchdog as active */ in siox_poll()
269 /* only give data read to driver if the device i in siox_poll()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dtty.h165 struct device;
169 * Port level information. Each device keeps its own port level information
234 #define TTY_PORT_INITIALIZED 0 /* device is initialized */
235 #define TTY_PORT_SUSPENDED 1 /* device is suspended */
236 #define TTY_PORT_ACTIVE 2 /* device is open */
244 #define TTY_PORT_KOPENED 5 /* device exclusively opened by
264 struct device *dev;
380 extern struct tty_struct *tty_kopen(dev_t device);
403 static inline struct tty_struct *tty_kopen(dev_t device) in tty_kopen() argument
419 * @tty: tty device
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Di2c.h16 #include <linux/device.h> /* for struct device */
71 * @client: Handle to slave device
86 * @client: Handle to slave device
101 * @client: Handle to slave device
116 * @client: Handle to slave device
196 * struct i2c_device_identity - i2c client device identification
228 * enum i2c_driver_flags - Flags for an I2C device driver
230 * @I2C_DRV_ACPI_WAIVE_D0_PROBE: Don't put the device in D0 state for probe
237 * struct i2c_driver - represent an I2C device drive
[all...]
/kernel/linux/linux-6.6/drivers/siox/
H A Dsiox-core.c6 #include <linux/device.h>
14 * The lowest bit in the SIOX status word signals if the in-device watchdog is
15 * ok. If the bit is set, the device is functional.
79 * If the device knows which value the type bits should have, check in siox_device_type_error()
103 * If there is a type or counter error the device is called "unsynced".
116 * A device is called "connected" if it is synced and the watchdog is not
161 * If the device or a previous one is unsynced, don't pet the in siox_poll()
162 * watchdog. This is done to ensure that the device is kept in in siox_poll()
238 /* If the device is unsynced report the watchdog as active */ in siox_poll()
269 /* only give data read to driver if the device i in siox_poll()
[all...]
/kernel/linux/linux-6.6/drivers/staging/axis-fifo/
H A Daxis-fifo.c22 #include <linux/device.h>
138 struct device *dt_device; /* device created from the device tree */
147 static ssize_t sysfs_write(struct device *dev, const char *buf, in sysfs_write()
163 static ssize_t sysfs_read(struct device *dev, char *buf, in sysfs_read()
178 static ssize_t isr_store(struct device *dev, struct device_attribute *attr, in isr_store()
184 static ssize_t isr_show(struct device *dev, in isr_show()
192 static ssize_t ier_store(struct device *dev, struct device_attribute *attr, in ier_store()
198 static ssize_t ier_show(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/firmware/
H A Dstratix10-rsu.c372 static ssize_t current_image_show(struct device *dev, in current_image_show()
383 static ssize_t fail_image_show(struct device *dev, in fail_image_show()
394 static ssize_t version_show(struct device *dev, struct device_attribute *attr, in version_show()
405 static ssize_t state_show(struct device *dev, struct device_attribute *attr, in state_show()
416 static ssize_t error_location_show(struct device *dev, in error_location_show()
427 static ssize_t error_details_show(struct device *dev, in error_details_show()
438 static ssize_t retry_counter_show(struct device *dev, in retry_counter_show()
449 static ssize_t max_retry_show(struct device *dev, in max_retry_show()
461 static ssize_t dcmf0_show(struct device *dev, in dcmf0_show()
472 static ssize_t dcmf1_show(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/cxl/
H A Dacpi.c5 #include <linux/device.h>
73 struct device *dev;
84 struct device *dev = ctx->dev; in cxl_parse_cxims()
141 static int cxl_acpi_cfmws_verify(struct device *dev, in cxl_acpi_cfmws_verify()
191 struct device *dev;
205 struct device *dev = ctx->dev; in __cxl_parse_cfmws()
308 struct device *dev = ctx->dev; in cxl_parse_cfmws()
326 __mock struct acpi_device *to_cxl_host_bridge(struct device *host, in to_cxl_host_bridge()
327 struct device *dev) in to_cxl_host_bridge()
341 struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_mdio.c89 ret = pm_runtime_resume_and_get(priv->device); in stmmac_xgmac2_mdio_read()
126 pm_runtime_put(priv->device); in stmmac_xgmac2_mdio_read()
172 ret = pm_runtime_resume_and_get(priv->device); in stmmac_xgmac2_mdio_write()
204 pm_runtime_put(priv->device); in stmmac_xgmac2_mdio_write()
270 * Description: it reads data from the MII register from within the phy device.
282 data = pm_runtime_resume_and_get(priv->device); in stmmac_mdio_read_c22()
296 pm_runtime_put(priv->device); in stmmac_mdio_read_c22()
305 * @devad: device address to read
307 * Description: it reads data from the MII register from within the phy device.
320 data = pm_runtime_get_sync(priv->device); in stmmac_mdio_read_c45()
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dsht3x.c251 static struct sht3x_data *sht3x_update_client(struct device *dev) in sht3x_update_client()
291 static int temp1_input_read(struct device *dev) in temp1_input_read()
301 static int humidity1_input_read(struct device *dev) in humidity1_input_read()
344 static int temp1_limit_read(struct device *dev, int index) in temp1_limit_read()
351 static int humidity1_limit_read(struct device *dev, int index) in humidity1_limit_read()
361 static size_t limit_write(struct device *dev, in limit_write()
407 static int temp1_limit_write(struct device *dev, int index, int val) in temp1_limit_write()
423 static int humidity1_limit_write(struct device *dev, int index, int val) in humidity1_limit_write()
461 static int status_register_read(struct device *dev, in status_register_read()
474 static int temp1_alarm_read(struct device *de
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineMaxVaryingsTests.cpp719 // Check support for the tessellation and geometry shaders on the device in supportedCheck()
813 Move<VkBuffer> makeBuffer (const DeviceInterface& vk, const VkDevice device, const VkDeviceSize bufferSize, const VkBufferUsageFlags usage) in makeBuffer() argument
816 return createBuffer(vk, device, &bufferCreateInfo); in makeBuffer()
954 const VkDevice device = context.getDevice(); in test() local
964 const ImageWithMemory colorImage (vk, device, allocator, makeImageCreateInfo(renderSize, imageFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT), MemoryRequirement::Any); in test()
965 const Unique<VkImageView> colorImageView (makeImageView(vk, device, *colorImage, VK_IMAGE_VIEW_TYPE_2D, imageFormat, makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 1u, 0u, 1u))); in test()
967 Move<VkBuffer> colorBuffer = vkt::pipeline::makeBuffer(vk, device, colorBufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT); in test()
968 MovePtr<Allocation> colorBufferAlloc = bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible); in test()
984 flushAlloc(vk, device, *vertexBufferMemory); in test()
1022 RenderPassWrapper renderPass (param.pipelineConstructionType, vk, device, imageForma in test()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineMaxVaryingsTests.cpp723 // Check support for the tessellation and geometry shaders on the device in supportedCheck()
817 Move<VkBuffer> makeBuffer (const DeviceInterface& vk, const VkDevice device, const VkDeviceSize bufferSize, const VkBufferUsageFlags usage) in makeBuffer() argument
820 return createBuffer(vk, device, &bufferCreateInfo); in makeBuffer()
957 const VkDevice device = context.getDevice(); in test() local
967 const ImageWithMemory colorImage (vk, device, allocator, makeImageCreateInfo(renderSize, imageFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT), MemoryRequirement::Any); in test()
968 const Unique<VkImageView> colorImageView (makeImageView(vk, device, *colorImage, VK_IMAGE_VIEW_TYPE_2D, imageFormat, makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 1u, 0u, 1u))); in test()
970 Move<VkBuffer> colorBuffer = vkt::pipeline::makeBuffer(vk, device, colorBufferSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT); in test()
971 MovePtr<Allocation> colorBufferAlloc = bindBuffer(vk, device, allocator, *colorBuffer, MemoryRequirement::HostVisible); in test()
987 flushAlloc(vk, device, *vertexBufferMemory); in test()
1025 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, imageForma in test()
[all...]
/third_party/vulkan-headers/include/vulkan/
H A Dvulkan_core.h3935 typedef PFN_vkVoidFunction (VKAPI_PTR *PFN_vkGetDeviceProcAddr)(VkDevice device, const char* pName);
3937 typedef void (VKAPI_PTR *PFN_vkDestroyDevice)(VkDevice device, const VkAllocationCallbacks* pAllocator);
3942 typedef void (VKAPI_PTR *PFN_vkGetDeviceQueue)(VkDevice device, uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue* pQueue);
3945 typedef VkResult (VKAPI_PTR *PFN_vkDeviceWaitIdle)(VkDevice device);
3946 typedef VkResult (VKAPI_PTR *PFN_vkAllocateMemory)(VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory);
3947 typedef void (VKAPI_PTR *PFN_vkFreeMemory)(VkDevice device, VkDeviceMemory memory, const VkAllocationCallbacks* pAllocator);
3948 typedef VkResult (VKAPI_PTR *PFN_vkMapMemory)(VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData);
3949 typedef void (VKAPI_PTR *PFN_vkUnmapMemory)(VkDevice device, VkDeviceMemory memory);
3950 typedef VkResult (VKAPI_PTR *PFN_vkFlushMappedMemoryRanges)(VkDevice device, uint32_t memoryRangeCount, const VkMappedMemoryRange* pMemoryRanges);
3951 typedef VkResult (VKAPI_PTR *PFN_vkInvalidateMappedMemoryRanges)(VkDevice device, uint32_
[all...]
/third_party/backends/backend/
H A Dp5.c37 - sane_open() : open a particular scanner device, adding a handle
38 to the opened device
47 - sane_close() : close opened scanner device, freeing scanner handle
80 * The same device may be opened several time by different sessions.
195 * running on). If it is false, the device list includes all remote
199 * sane_open() call is performed. A device name may be specified
202 * @param device_list pointer where to store the device list
210 struct P5_Device *device; in sane_get_devices() local
228 * the device detection must be run at each call. We are handling in sane_get_devices()
241 DBG (DBG_proc, "sane_get_devices: exit with no device\ in sane_get_devices()
324 struct P5_Device *device = NULL; sane_open() local
1630 struct P5_Device *device; attach_p5() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
H A DvktProtectedMemWsiSwapchainTests.cpp238 void swapchainCreateExecutor(const vk::DeviceDriver& vk, vk::VkDevice device, const vk::VkSwapchainCreateInfoKHR& createInfo, tcu::TestLog& log, uint32_t caseIndex, uint32_t caseCount) in swapchainCreateExecutor() argument
241 const vk::Unique<vk::VkSwapchainKHR> swapchain (createSwapchainKHR(vk, device, &createInfo)); in swapchainCreateExecutor()
256 vk::VkDevice device = context.getDevice(); in executeSwapchainParameterCases() local
327 vk::Move<vk::VkImage> image = vk::createImage(vki, device, &imageInfo); in executeSwapchainParameterCases()
329 memoryRequirements = vk::getImageMemoryRequirements(vki, device, *image); in executeSwapchainParameterCases()
379 testExecutor(vkd, device, createInfo, log, ++testIndex, testCount); in executeSwapchainParameterCases()
448 vk::Move<vk::VkImage> image = vk::createImage(vki, device, &imageInfo); in executeSwapchainParameterCases()
450 memoryRequirements = vk::getImageMemoryRequirements(vki, device, *image); in executeSwapchainParameterCases()
461 testExecutor(vkd, device, createInfo, log, ++testIndex, testCount); in executeSwapchainParameterCases()
537 vk::Move<vk::VkImage> image = vk::createImage(vki, device, in executeSwapchainParameterCases()
1038 createRenderPass(const vk::DeviceInterface& vkd, const vk::VkDevice device, const vk::VkFormat colorAttachmentFormat) createRenderPass() argument
1111 createPipelineLayout(const vk::DeviceInterface& vkd, const vk::VkDevice device) createPipelineLayout() argument
1134 createPipeline(const vk::DeviceInterface& vkd, const vk::VkDevice device, const vk::VkRenderPass renderPass, const vk::VkPipelineLayout pipelineLayout, const vk::BinaryCollection& binaryCollection, const tcu::UVec2& renderSize) createPipeline() argument
1264 createFences(const vk::DeviceInterface& vkd, const vk::VkDevice device, size_t numFences) createFences() argument
1276 createSemaphores(const vk::DeviceInterface& vkd, const vk::VkDevice device, size_t numSemaphores) createSemaphores() argument
1288 allocateCommandBuffers(const vk::DeviceInterface& vkd, const vk::VkDevice device, const vk::VkCommandPool commandPool, const vk::VkCommandBufferLevel level, const size_t numCommandBuffers) allocateCommandBuffers() argument
1314 const vk::VkDevice device = context.getDevice(); basicRenderTest() local
[all...]
/device/soc/rockchip/common/sdk_linux/kernel/power/
H A Denergy_model.c27 static bool _is_cpu_device(struct device *dev) in _is_cpu_device()
68 static void em_debug_create_pd(struct device *dev) in em_debug_create_pd()
88 static void em_debug_remove_pd(struct device *dev) in em_debug_remove_pd()
105 static void em_debug_create_pd(struct device *dev) in em_debug_create_pd()
108 static void em_debug_remove_pd(struct device *dev) in em_debug_remove_pd()
113 static int em_create_perf_table(struct device *dev, struct em_perf_domain *pd, int nr_states, in em_create_perf_table()
185 static int em_create_pd(struct device *dev, int nr_states, struct em_data_callback *cb, cpumask_t *cpus) in em_create_pd()
188 struct device *cpu_dev; in em_create_pd()
225 * em_pd_get() - Return the performance domain for a device
231 struct em_perf_domain *em_pd_get(struct device *de
[all...]

Completed in 66 milliseconds

1...<<111112113114115116117118119120>>...1203