/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | max6621.c | 167 static int max6621_verify_reg_data(struct device *dev, int regval) in max6621_verify_reg_data() 201 max6621_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, in max6621_read() 310 max6621_write(struct device *dev, enum hwmon_sensor_types type, u32 attr, in max6621_write() 349 max6621_read_string(struct device *dev, enum hwmon_sensor_types type, u32 attr, in max6621_read_string() 369 static bool max6621_writeable_reg(struct device *dev, unsigned int reg) in max6621_writeable_reg() 386 static bool max6621_readable_reg(struct device *dev, unsigned int reg) in max6621_readable_reg() 412 static bool max6621_volatile_reg(struct device *dev, unsigned int reg) in max6621_volatile_reg() 482 struct device *dev = &client->dev; in max6621_probe() 484 struct device *hwmon_dev; in max6621_probe()
|
H A D | ds1621.c | 10 * The DS1621 device is a digital temperature/thermometer with 9-bit 15 * and similar in operation, with slight variations as noted in the device 17 * device information). 114 enum chips kind; /* device type */ 185 static struct ds1621_data *ds1621_update_client(struct device *dev) in ds1621_update_client() 224 static ssize_t temp_show(struct device *dev, struct device_attribute *da, in temp_show() 233 static ssize_t temp_store(struct device *dev, struct device_attribute *da, in temp_store() 253 static ssize_t alarms_show(struct device *dev, struct device_attribute *da, in alarms_show() 260 static ssize_t alarm_show(struct device *dev, struct device_attribute *da, in alarm_show() 268 static ssize_t update_interval_show(struct device *de [all...] |
H A D | tmp108.c | 8 #include <linux/device.h> 91 static int tmp108_read(struct device *dev, enum hwmon_sensor_types type, in tmp108_read() 190 static int tmp108_write(struct device *dev, enum hwmon_sensor_types type, in tmp108_write() 303 static bool tmp108_is_writeable_reg(struct device *dev, unsigned int reg) in tmp108_is_writeable_reg() 308 static bool tmp108_is_volatile_reg(struct device *dev, unsigned int reg) in tmp108_is_volatile_reg() 328 struct device *dev = &client->dev; in tmp108_probe() 329 struct device *hwmon_dev; in tmp108_probe() 393 static int tmp108_suspend(struct device *dev) in tmp108_suspend() 401 static int tmp108_resume(struct device *dev) in tmp108_resume()
|
/kernel/linux/linux-6.6/drivers/input/misc/ |
H A D | axp20x-pek.c | 88 static ssize_t axp20x_show_attr(struct device *dev, in axp20x_show_attr() 110 static ssize_t axp20x_show_attr_startup(struct device *dev, in axp20x_show_attr_startup() 120 static ssize_t axp20x_show_attr_shutdown(struct device *dev, in axp20x_show_attr_shutdown() 130 static ssize_t axp20x_store_attr(struct device *dev, in axp20x_store_attr() 175 static ssize_t axp20x_store_attr_startup(struct device *dev, in axp20x_store_attr_startup() 185 static ssize_t axp20x_store_attr_shutdown(struct device *dev, in axp20x_store_attr_shutdown() 279 dev_err(&pdev->dev, "Can't register input device: %d\n", in axp20x_pek_probe_input_device() 295 * input device if there is an "INTCFD9" or "ACPI0011" gpio in axp20x_pek_should_register_input() 296 * button ACPI device, as that handles the power button too, in axp20x_pek_should_register_input() 339 static int axp20x_pek_suspend(struct device *de [all...] |
/kernel/linux/linux-6.6/drivers/media/cec/platform/cros-ec/ |
H A D | cros-ec-cec.c | 27 * @cros_ec: Pointer to EC device 177 static int cros_ec_cec_suspend(struct device *dev) in cros_ec_cec_suspend() 188 static int cros_ec_cec_resume(struct device *dev) in cros_ec_cec_resume() 207 * connector we specify along with the DRM device name handling the HDMI output 236 static struct device *cros_ec_cec_find_hdmi_dev(struct device *dev, in cros_ec_cec_find_hdmi_dev() 246 struct device *d; in cros_ec_cec_find_hdmi_dev() 248 /* Find the device, bail out if not yet registered */ in cros_ec_cec_find_hdmi_dev() 267 static struct device *cros_ec_cec_find_hdmi_dev(struct device *de [all...] |
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | ts3a227e.c | 24 struct device *dev; 122 static bool ts3a227e_readable_reg(struct device *dev, unsigned int reg) in ts3a227e_readable_reg() 132 static bool ts3a227e_writeable_reg(struct device *dev, unsigned int reg) in ts3a227e_writeable_reg() 143 static bool ts3a227e_volatile_reg(struct device *dev, unsigned int reg) in ts3a227e_volatile_reg() 200 struct device *dev = ts3a227e->dev; in ts3a227e_interrupt() 296 struct device *dev) in ts3a227e_parse_device_property() 355 struct device *dev = &i2c->dev; in ts3a227e_i2c_probe() 373 dev_err(dev, "Failed to parse device property: %d\n", ret); in ts3a227e_i2c_probe() 404 static int ts3a227e_suspend(struct device *dev) in ts3a227e_suspend() 414 static int ts3a227e_resume(struct device *de [all...] |
/third_party/ltp/testcases/kernel/device-drivers/base/tbase/ |
H A D | tbase.c | 37 #include <linux/device.h> 98 struct device test_device; 100 static int test_device_match(struct device *dev, struct device_driver *drv) in test_device_match() 104 // printk("tbase: device is %s\n", dev->name); in test_device_match() 122 int test_dev_probe(struct device *dev) in test_dev_probe() 128 int test_dev_remove(struct device *dev) in test_dev_remove() 141 /* my device stuff */ 142 struct device test_device = { 167 /* my class device stuff */ 195 printk("tbase: Entered test resume for sys device\ in test_resume() [all...] |
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_pass.c | 39 VK_FROM_HANDLE(panvk_device, device, _device); in panvk_CreateRenderPass2() 52 pass = vk_object_zalloc(&device->vk, pAllocator, size, in panvk_CreateRenderPass2() 55 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in panvk_CreateRenderPass2() 98 vk_alloc2(&device->vk.alloc, pAllocator, in panvk_CreateRenderPass2() 103 vk_object_free(&device->vk, pAllocator, pass); in panvk_CreateRenderPass2() 104 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in panvk_CreateRenderPass2() 206 VK_FROM_HANDLE(panvk_device, device, _device); in panvk_DestroyRenderPass() 212 vk_free2(&device->vk.alloc, pAllocator, pass->subpass_attachments); in panvk_DestroyRenderPass() 213 vk_object_free(&device->vk, pAllocator, pass); in panvk_DestroyRenderPass()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sc/ |
H A D | vktCommandPoolMemoryReservationTests.cpp | 83 const VkDevice device = context.getDevice(); in verifyCommandPoolReservedSize() local 121 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, &cmdPoolParams)); in verifyCommandPoolReservedSize() 134 vk.getCommandPoolMemoryConsumption(device, *cmdPool, DE_NULL, &memConsumption); in verifyCommandPoolReservedSize() 144 const VkDevice device = context.getDevice(); in verifyCommandPoolAllocEqualsCommandBufferAlloc() local 181 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, &cmdPoolParams)); in verifyCommandPoolAllocEqualsCommandBufferAlloc() 193 allocateCommandBuffers(vk, device, &cmdBufferAllocateInfo, commandBuffers.data()); in verifyCommandPoolAllocEqualsCommandBufferAlloc() 197 events.push_back(VkEventSp(new vk::Unique<VkEvent>(createEvent(vk, device)))); in verifyCommandPoolAllocEqualsCommandBufferAlloc() 235 vk.resetCommandPool(device, *cmdPool, VkCommandPoolResetFlags(0u)); in verifyCommandPoolAllocEqualsCommandBufferAlloc() 251 vk.getCommandPoolMemoryConsumption(device, *cmdPool, commandBuffers[i].get(), &memConsumption); in verifyCommandPoolAllocEqualsCommandBufferAlloc()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/cl/ |
H A D | CLKernelCL.cpp | 32 cl_device_id device, in GetWorkGroupInfo() 37 errorCode = kernel->getDispatch().clGetKernelWorkGroupInfo(kernel, device, cl::ToCLenum(name), in GetWorkGroupInfo() 186 const cl_device_id device = ctx.getDevices()[index]->getImpl<CLDeviceCL>().getNative(); in createInfo() local 191 !GetWorkGroupInfo(mNative, device, cl::KernelWorkGroupInfo::GlobalWorkSize, in createInfo() 193 !GetWorkGroupInfo(mNative, device, cl::KernelWorkGroupInfo::WorkGroupSize, in createInfo() 195 !GetWorkGroupInfo(mNative, device, cl::KernelWorkGroupInfo::CompileWorkGroupSize, in createInfo() 197 !GetWorkGroupInfo(mNative, device, cl::KernelWorkGroupInfo::LocalMemSize, in createInfo() 199 !GetWorkGroupInfo(mNative, device, in createInfo() 202 !GetWorkGroupInfo(mNative, device, cl::KernelWorkGroupInfo::PrivateMemSize, in createInfo() 31 GetWorkGroupInfo(cl_kernel kernel, cl_device_id device, cl::KernelWorkGroupInfo name, T &value, cl_int &errorCode) GetWorkGroupInfo() argument
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
H A D | EGLPresentPathD3D11Test.cpp | 88 EGLAttrib device = 0; in createPbufferFromClientBufferSurface() local 95 EGL_D3D11_DEVICE_ANGLE, &device)); in createPbufferFromClientBufferSurface() 96 ID3D11Device *d3d11Device = reinterpret_cast<ID3D11Device *>(device); in createPbufferFromClientBufferSurface() 244 ID3D11Device *device; in checkPixelsUsingD3D() local 247 mOffscreenSurfaceD3D11Texture->GetDevice(&device); in checkPixelsUsingD3D() 248 device->GetImmediateContext(&context); in checkPixelsUsingD3D() 249 ASSERT_NE(nullptr, device); in checkPixelsUsingD3D() 257 ASSERT_TRUE(SUCCEEDED(device->CreateTexture2D(&textureDesc, nullptr, &cpuTexture))); in checkPixelsUsingD3D() 293 SafeRelease(device); in checkPixelsUsingD3D()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | ReadOnlyDepthStencilAttachmentTests.cpp | 73 pipelineDescriptor.vertex.module = utils::CreateShaderModule(device, R"( in CreateRenderPipeline() 87 pipelineDescriptor.cFragment.module = utils::CreateShaderModule(device, R"( in CreateRenderPipeline() 101 pipelineDescriptor.cFragment.module = utils::CreateShaderModule(device, R"( in CreateRenderPipeline() 115 return device.CreateRenderPipeline(&pipelineDescriptor); in CreateRenderPipeline() 123 return device.CreateTexture(&descriptor); in CreateTexture() 133 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in DoTest() 172 device, pipeline.GetBindGroupLayout(0), in DoTest() 173 {{0, device.CreateSampler()}, {1, depthStencilViewInBindGroup}}); in DoTest() 177 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in DoTest()
|
H A D | VertexOnlyRenderPipelineTests.cpp | 31 utils::CreateBufferFromData<float>(device, wgpu::BufferUsage::Vertex, 48 renderTargetColor = device.CreateTexture(&descriptor); 58 depthStencilTexture = device.CreateTexture(&descriptor); 104 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in CreateRenderPipeline() 110 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in CreateRenderPipeline() 140 return device.CreateRenderPipeline(&descriptor); in CreateRenderPipeline() 185 wgpu::CommandEncoder encoder = device.CreateCommandEncoder(); in TEST_P() 222 wgpu::CommandEncoder encoder = device.CreateCommandEncoder(); in TEST_P() 262 wgpu::CommandEncoder encoder = device.CreateCommandEncoder(); in TEST_P()
|
/third_party/skia/third_party/externals/dawn/examples/ |
H A D | ManualSwapChainTest.cpp | 89 static wgpu::Device device; variable 134 wgpu::CommandEncoder encoder = device.CreateCommandEncoder(); in DoRender() 287 // Setup the device on that adapter. in main() 288 device = wgpu::Device::Acquire(chosenAdapter.CreateDevice()); in main() 289 device.SetUncapturedErrorCallback( in main() 312 queue = device.GetQueue(); in main() 316 pipelineDesc.vertex.module = utils::CreateShaderModule(device, R"( in main() 326 pipelineDesc.cFragment.module = utils::CreateShaderModule(device, R"( in main() 332 trianglePipeline = device.CreateRenderPipeline(&pipelineDesc); in main() 357 data->swapchain = device in main() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sc/ |
H A D | vktCommandPoolMemoryReservationTests.cpp | 83 const VkDevice device = context.getDevice(); in verifyCommandPoolReservedSize() local 121 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, &cmdPoolParams)); in verifyCommandPoolReservedSize() 134 vk.getCommandPoolMemoryConsumption(device, *cmdPool, DE_NULL, &memConsumption); in verifyCommandPoolReservedSize() 144 const VkDevice device = context.getDevice(); in verifyCommandPoolAllocEqualsCommandBufferAlloc() local 181 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, &cmdPoolParams)); in verifyCommandPoolAllocEqualsCommandBufferAlloc() 193 allocateCommandBuffers(vk, device, &cmdBufferAllocateInfo, commandBuffers.data()); in verifyCommandPoolAllocEqualsCommandBufferAlloc() 197 events.push_back(VkEventSp(new vk::Unique<VkEvent>(createEvent(vk, device)))); in verifyCommandPoolAllocEqualsCommandBufferAlloc() 235 vk.resetCommandPool(device, *cmdPool, VkCommandPoolResetFlags(0u)); in verifyCommandPoolAllocEqualsCommandBufferAlloc() 251 vk.getCommandPoolMemoryConsumption(device, *cmdPool, commandBuffers[i].get(), &memConsumption); in verifyCommandPoolAllocEqualsCommandBufferAlloc()
|
/kernel/linux/linux-5.10/drivers/nvme/target/ |
H A D | rdma.c | 131 struct ib_device *device; member 270 ib_dma_unmap_page(ndev->device, sge->addr, in nvmet_rdma_free_inline_pages() 299 sge->addr = ib_dma_map_page(ndev->device, in nvmet_rdma_alloc_inline_pages() 301 if (ib_dma_mapping_error(ndev->device, sge->addr)) in nvmet_rdma_alloc_inline_pages() 312 ib_dma_unmap_page(ndev->device, sge->addr, in nvmet_rdma_alloc_inline_pages() 328 c->sge[0].addr = ib_dma_map_single(ndev->device, c->nvme_cmd, in nvmet_rdma_alloc_cmd() 330 if (ib_dma_mapping_error(ndev->device, c->sge[0].addr)) in nvmet_rdma_alloc_cmd() 348 ib_dma_unmap_single(ndev->device, c->sge[0].addr, in nvmet_rdma_alloc_cmd() 362 ib_dma_unmap_single(ndev->device, c->sge[0].addr, in nvmet_rdma_free_cmd() 412 r->send_sge.addr = ib_dma_map_single(ndev->device, in nvmet_rdma_alloc_rsp() [all...] |
/kernel/linux/linux-5.10/net/core/ |
H A D | net-sysfs.c | 3 * net-sysfs.c - network device class and attributes 41 static ssize_t netdev_show(const struct device *dev, in netdev_show() 62 static ssize_t field##_show(struct device *dev, \ 77 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr, in netdev_store() 114 static ssize_t iflink_show(struct device *dev, struct device_attribute *attr, in iflink_show() 128 static ssize_t name_assign_type_show(struct device *dev, in name_assign_type_show() 143 static ssize_t address_show(struct device *dev, struct device_attribute *attr, in address_show() 157 static ssize_t broadcast_show(struct device *dev, in broadcast_show() 175 static ssize_t carrier_store(struct device *dev, struct device_attribute *attr, in carrier_store() 189 static ssize_t carrier_show(struct device *de [all...] |
/kernel/linux/linux-6.6/drivers/nvme/target/ |
H A D | rdma.c | 132 struct ib_device *device; member 271 ib_dma_unmap_page(ndev->device, sge->addr, in nvmet_rdma_free_inline_pages() 300 sge->addr = ib_dma_map_page(ndev->device, in nvmet_rdma_alloc_inline_pages() 302 if (ib_dma_mapping_error(ndev->device, sge->addr)) in nvmet_rdma_alloc_inline_pages() 313 ib_dma_unmap_page(ndev->device, sge->addr, in nvmet_rdma_alloc_inline_pages() 329 c->sge[0].addr = ib_dma_map_single(ndev->device, c->nvme_cmd, in nvmet_rdma_alloc_cmd() 331 if (ib_dma_mapping_error(ndev->device, c->sge[0].addr)) in nvmet_rdma_alloc_cmd() 349 ib_dma_unmap_single(ndev->device, c->sge[0].addr, in nvmet_rdma_alloc_cmd() 363 ib_dma_unmap_single(ndev->device, c->sge[0].addr, in nvmet_rdma_free_cmd() 413 r->send_sge.addr = ib_dma_map_single(ndev->device, in nvmet_rdma_alloc_rsp() [all...] |
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | swapchain9.c | 57 This, pParams->device, pPresent, pCTX, hFocusWindow); in NineSwapChain9_ctor() 63 This->screen = NineDevice9_GetScreen(This->base.device); in NineSwapChain9_ctor() 70 if (This->base.device->minor_version_num > 2) { in NineSwapChain9_ctor() 99 struct pipe_context *pipe = nine_context_get_pipe_acquire(This->base.device); in D3DWindowBuffer_create() 114 nine_context_get_pipe_release(This->base.device); in D3DWindowBuffer_create() 141 if (This->base.device->minor_version_num <= 2) { in D3DWindowBuffer_release() 184 struct NineDevice9 *pDevice = This->base.device; in NineSwapChain9_Resize() 612 *resource = nine_resource_create_with_retry(This->base.device, This->screen, &tmplt); in create_present_buffer() 624 struct NineDevice9 *device = This->base.device; in handle_draw_cursor_and_hud() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/ |
H A D | vktDynamicStateRSTests.cpp | 124 const vk::VkDevice device = m_context.getDevice(); in initialize() local 155 m_setLayout = setLayoutBuilder.build(m_vk, device); in initialize() 158 m_descriptorPool = poolBuilder.build(m_vk, device, vk::VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u); in initialize() 160 m_descriptorSet = vk::makeDescriptorSet(m_vk, device, m_descriptorPool.get(), m_setLayout.get()); in initialize() 165 m_pipelineLayout = vk::makePipelineLayout(m_vk, device, m_setLayout.get(), de::dataOrNull(pcRanges)); in initialize() 171 m_colorTargetImage = Image::createAndAlloc(m_vk, device, targetImageCreateInfo, m_context.getDefaultAllocator(), m_context.getUniversalQueueFamilyIndex()); in initialize() 177 m_depthStencilImage = Image::createAndAlloc(m_vk, device, depthStencilImageCreateInfo, m_context.getDefaultAllocator(), m_context.getUniversalQueueFamilyIndex()); in initialize() 180 m_colorTargetView = vk::createImageView(m_vk, device, &colorTargetViewInfo); in initialize() 183 m_attachmentView = vk::createImageView(m_vk, device, &attachmentViewInfo); in initialize() 227 m_renderPass = vk::createRenderPass(m_vk, device, in initialize() 482 const vk::VkDevice device = m_context.getDevice(); iterate() local 594 const vk::VkDevice device = m_context.getDevice(); iterate() local 694 const vk::VkDevice device = m_context.getDevice(); iterate() local 934 const auto device = m_context.getDevice(); iterate() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
H A D | vktGlobalPriorityQueueTests.cpp | 248 const VkDevice dev = m_device.device; in createImage() 280 const VkDevice dev = m_device.device; in createView() 302 return ::vk::createPipelineLayout(m_context.getDeviceInterface(), m_device.device, &info); in createPipelineLayout() 322 const VkDevice dev = m_device.device; in createGraphicsPipeline() 352 const VkDevice dev = m_device.device; in createComputePipeline() 381 const VkDevice dev = m_device.device; in submitCommands() 728 const VkDevice device = m_device.device; in iterate() local 755 BufferWithMemory vertexBuffer (vki, vkd, phys, device, allocator, vertBuffInfo, memReqs, producerQueue); in iterate() 756 BufferWithMemory indexBuffer (vki, vkd, phys, device, allocato in iterate() 838 const VkDevice device = m_device.device; iterate() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/transform_feedback/ |
H A D | vktPrimitivesGeneratedQueryTests.cpp | 181 const VkDevice device, 191 const VkDevice device = m_context.getDevice(); in iterate() local 221 colorImage = makeImage(vk, device, colorImageCreateInfo); in iterate() 222 colorImageAllocation = bindImage(vk, device, allocator, *colorImage, MemoryRequirement::Any); in iterate() 254 dsImage = makeImage(vk, device, dsImageCreateInfo); in iterate() 255 dsImageAllocation = bindImage(vk, device, allocator, *dsImage, MemoryRequirement::Any); in iterate() 271 colorImageView = makeImageView(vk, device, *colorImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSubresourceRange); in iterate() 278 dsImageView = makeImageView(vk, device, *dsImage, VK_IMAGE_VIEW_TYPE_2D, dsFormat, dsSubresourceRange); in iterate() 282 const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, colorFormat, dsFormat, VK_ATTACHMENT_LOAD_OP_DONT_CARE)); in iterate() 283 const Unique<VkFramebuffer> framebuffer (makeFramebuffer(vk, device, *renderPas in iterate() 610 makeGraphicsPipeline(const DeviceInterface& vk, const VkDevice device, const VkRenderPass renderPass) makeGraphicsPipeline() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | sg.c | 94 static int sg_add_device(struct device *, struct class_interface *); 95 static void sg_remove_device(struct device *, struct class_interface *); 99 file descriptor list for device */ 136 struct list_head sfd_siblings; /* protected by device's sfd_lock */ 137 struct sg_device *parentdp; /* owning device */ 157 typedef struct sg_device { /* holds the state of each scsi generic device */ 158 struct scsi_device *device; member 162 u32 index; /* device index number */ 165 atomic_t detaching; /* 0->device usable, 1->device detachin [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/ |
H A D | amdgpu_pm.c | 115 static ssize_t amdgpu_get_power_dpm_state(struct device *dev, in amdgpu_get_power_dpm_state() 152 static ssize_t amdgpu_set_power_dpm_state(struct device *dev, in amdgpu_set_power_dpm_state() 259 static ssize_t amdgpu_get_power_dpm_force_performance_level(struct device *dev, in amdgpu_get_power_dpm_force_performance_level() 299 static ssize_t amdgpu_set_power_dpm_force_performance_level(struct device *dev, in amdgpu_set_power_dpm_force_performance_level() 405 static ssize_t amdgpu_get_pp_num_states(struct device *dev, in amdgpu_get_pp_num_states() 447 static ssize_t amdgpu_get_pp_cur_state(struct device *dev, in amdgpu_get_pp_cur_state() 492 static ssize_t amdgpu_get_pp_force_state(struct device *dev, in amdgpu_get_pp_force_state() 508 static ssize_t amdgpu_set_pp_force_state(struct device *dev, in amdgpu_set_pp_force_state() 570 static ssize_t amdgpu_get_pp_table(struct device *dev, in amdgpu_get_pp_table() 614 static ssize_t amdgpu_set_pp_table(struct device *de [all...] |
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_v3_hw.c | 770 struct domain_device *device = sas_dev->sas_device; in setup_itct_v3_hw() local 771 struct device *dev = hisi_hba->dev; in setup_itct_v3_hw() 774 struct domain_device *parent_dev = device->parent; in setup_itct_v3_hw() 775 struct asd_sas_port *sas_port = device->port; in setup_itct_v3_hw() 802 (device->linkrate << ITCT_HDR_MCR_OFF) | in setup_itct_v3_hw() 810 memcpy(&sas_addr, device->sas_addr, SAS_ADDR_SIZE); in setup_itct_v3_hw() 814 if (!dev_is_sata(device)) in setup_itct_v3_hw() 826 struct device *dev = hisi_hba->dev; in clear_itct_v3_hw() 850 struct domain_device *device) in dereg_device_v3_hw() 853 struct hisi_sas_device *sas_dev = device in dereg_device_v3_hw() 849 dereg_device_v3_hw(struct hisi_hba *hisi_hba, struct domain_device *device) dereg_device_v3_hw() argument 1208 struct domain_device *device = task->dev; prep_ssp_v3_hw() local 1330 struct domain_device *device = task->dev; prep_smp_v3_hw() local 1368 struct domain_device *device = task->dev; prep_ata_v3_hw() local 2197 struct domain_device *device; slot_complete_v3_hw() local 3466 _suspend_v3_hw(struct device *device) _suspend_v3_hw() argument 3512 _resume_v3_hw(struct device *device) _resume_v3_hw() argument 3551 suspend_v3_hw(struct device *device) suspend_v3_hw() argument 3567 resume_v3_hw(struct device *device) resume_v3_hw() argument [all...] |