Home
last modified time | relevance | path

Searched refs:device (Results 776 - 800 of 30125) sorted by relevance

1...<<31323334353637383940>>...1205

/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_descriptor_set_layout.c31 vk_descriptor_set_layout_init(struct vk_device *device, in vk_descriptor_set_layout_init() argument
34 vk_object_base_init(device, &layout->base, in vk_descriptor_set_layout_init()
41 vk_descriptor_set_layout_zalloc(struct vk_device *device, size_t size) in vk_descriptor_set_layout_zalloc() argument
44 * client expects, these have to be allocated off the device and not as in vk_descriptor_set_layout_zalloc()
48 vk_zalloc(&device->alloc, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_DEVICE); in vk_descriptor_set_layout_zalloc()
52 vk_descriptor_set_layout_init(device, layout); in vk_descriptor_set_layout_zalloc()
58 vk_descriptor_set_layout_multizalloc(struct vk_device *device, in vk_descriptor_set_layout_multizalloc() argument
62 * client expects, these have to be allocated off the device and not as in vk_descriptor_set_layout_multizalloc()
66 vk_multialloc_zalloc(ma, &device->alloc, in vk_descriptor_set_layout_multizalloc()
71 vk_descriptor_set_layout_init(device, layou in vk_descriptor_set_layout_multizalloc()
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/
H A Dclassic_adapter.cpp154 for (auto &device : devices_) { in DisablePairProcess()
155 if (device.second->GetPairedStatus() == PAIR_PAIRING) { in DisablePairProcess()
157 (BTM_AclDisconnect(device.second->GetConnectionHandle(), BTM_ACL_DISCONNECT_REASON) == BT_SUCCESS); in DisablePairProcess()
159 device.second->SetPairedStatus(PAIR_NONE); in DisablePairProcess()
160 if (device.second->IsBondedFromLocal() && (!pinMode_)) { in DisablePairProcess()
260 for (auto &device : devices_) { in SavePairedDevices()
261 if (device.second->IsPaired()) { in SavePairedDevices()
262 adapterProperties_.SavePairedDeviceInfo(device.second); in SavePairedDevices()
544 for (auto &device : devices_) { in SetBondableMode()
545 if (device in SetBondableMode()
1002 RawAddress device = RawAddress::ConvertToString(addr.addr); HandleInquiryResult() local
1023 FindRemoteDevice(const RawAddress &device) FindRemoteDevice() argument
1107 RawAddress device = RawAddress::ConvertToString(addr.addr); ReceiveRemoteName() local
1150 SendDiscoveryResult( const RawAddress &device, int rssi, const std::string deviceName, int deviceClass) const SendDiscoveryResult() argument
1161 SendRemoteCodChanged(const RawAddress &device, int cod) const SendRemoteCodChanged() argument
1174 RawAddress device = RawAddress::ConvertToString(addr.addr); SSPConfirmReq() local
1193 RawAddress device = RawAddress::ConvertToString(addr.addr); PinCodeReq() local
1219 SendPairConfirmed(const RawAddress &device, int reqType, int number) const SendPairConfirmed() argument
1228 UserConfirmAutoReply(const RawAddress &device, int reqType, bool accept) const UserConfirmAutoReply() argument
1497 SendRemoteNameChanged(const RawAddress &device, const std::string &deviceName) const SendRemoteNameChanged() argument
1505 SendPairStatusChanged(const BTTransport transport, const RawAddress &device, int status) const SendPairStatusChanged() argument
1524 RawAddress device = RawAddress::ConvertToString(addr.addr); ReceiveLinkKeyNotification() local
1553 RawAddress device = RawAddress::ConvertToString(addr.addr); ReceiveSimplePairComplete() local
1581 RawAddress device = RawAddress::ConvertToString(addr.addr); ReceiveAuthenticationComplete() local
1611 RawAddress device = RawAddress::ConvertToString(addr.addr); ReceiveEncryptionChange() local
1660 SearchRemoteUuids(const RawAddress &device, uint16_t uuid) SearchRemoteUuids() argument
1699 RawAddress device = RawAddress::ConvertToString(addr->addr); ServiceSearchAttributeCb() local
1709 SearchAttributeEnd(const RawAddress &device, const std::vector<Uuid> &uuids) SearchAttributeEnd() argument
1737 SendRemoteUuidChanged(const RawAddress &device, const std::vector<Uuid> &uuids) const SendRemoteUuidChanged() argument
1805 StartPair(const RawAddress &device) StartPair() argument
1835 CancelPairing(const RawAddress &device) CancelPairing() argument
1863 RemovePair(const RawAddress &device) RemovePair() argument
1900 RawAddress device = RawAddress(it->second->GetAddress()); RemoveAllPairs() local
1933 SetDevicePairingConfirmation(const RawAddress &device, bool accept) const SetDevicePairingConfirmation() argument
1960 SetDevicePasskey(const RawAddress &device, int passkey, bool accept) const SetDevicePasskey() argument
1987 PairRequestReply(const RawAddress &device, bool accept) const PairRequestReply() argument
2011 RawAddress device = RawAddress::ConvertToString(param->addr->addr); ConnectionComplete() local
2025 ReceiveConnectionComplete(uint8_t status, uint16_t connectionHandle, const RawAddress &device, uint32_t classOfDevice, bool encyptionEnabled) ReceiveConnectionComplete() argument
2142 RawAddress device = RawAddress::ConvertToString(addr.addr); SetLinkKey() local
2206 RawAddress device = RawAddress::ConvertToString(addr.addr); SaveRemoteIoCapability() local
2211 SetDevicePin(const RawAddress &device, const std::string &pinCode) const SetDevicePin() argument
2238 SetPinCode(const RawAddress &device, const std::vector<uint8_t> &pin, bool accept) const SetPinCode() argument
2304 SetAliasName(const RawAddress &device, const std::string &name) const SetAliasName() argument
2324 SendRemoteAliasChanged(const RawAddress &device, const std::string &aliasName) const SendRemoteAliasChanged() argument
2393 SetDeviceBatteryLevel(const RawAddress &device, int batteryLevel) const SetDeviceBatteryLevel() argument
2406 SendRemoteBatteryLevelChanged(const RawAddress &device, int batteryLevel) const SendRemoteBatteryLevelChanged() argument
2411 IsHfpCodSupported(const RawAddress &device) IsHfpCodSupported() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkPlatform.cpp149 VkDevice device, in DeviceDriver()
156 #define GET_PROC_ADDR(NAME) m_vk.getDeviceProcAddr(device, NAME) in DeviceDriver()
166 VkResult DeviceDriver::createShaderModule (VkDevice device, in createShaderModule() argument
172 DE_UNREF(device); in createShaderModule()
184 VkDevice device, in DeviceDriverSC()
190 : DeviceDriver(platformInterface, instance, device, usedApiVersion) in DeviceDriverSC()
201 m_resourceInterface->initDevice(*this, device); in DeviceDriverSC()
208 void DeviceDriverSC::destroyDeviceHandler (VkDevice device, in destroyDeviceHandler() argument
212 m_resourceInterface->unregisterDeviceFeatures(device); in destroyDeviceHandler()
215 VkResult DeviceDriverSC::createDescriptorSetLayoutHandlerNorm (VkDevice device, in createDescriptorSetLayoutHandlerNorm() argument
147 DeviceDriver(const PlatformInterface& platformInterface, VkInstance instance, VkDevice device, uint32_t usedApiVersion) DeviceDriver() argument
182 DeviceDriverSC(const PlatformInterface& platformInterface, VkInstance instance, VkDevice device, const tcu::CommandLine& cmdLine, de::SharedPtr<vk::ResourceInterface> resourceInterface, const VkPhysicalDeviceVulkanSC10Properties& physicalDeviceVulkanSC10Properties, const VkPhysicalDeviceProperties& physicalDeviceProperties, const uint32_t usedApiVersion) DeviceDriverSC() argument
226 createDescriptorSetLayoutHandlerStat(VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorSetLayout* pSetLayout) const createDescriptorSetLayoutHandlerStat() argument
253 destroyDescriptorSetLayoutHandler(VkDevice device, VkDescriptorSetLayout descriptorSetLayout, const VkAllocationCallbacks* pAllocator) const destroyDescriptorSetLayoutHandler() argument
270 allocateDescriptorSetsHandlerStat(VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets) const allocateDescriptorSetsHandlerStat() argument
284 freeDescriptorSetsHandlerStat(VkDevice device, VkDescriptorPool descriptorPool, uint32_t descriptorSetCount, const VkDescriptorSet* pDescriptorSets) const freeDescriptorSetsHandlerStat() argument
299 resetDescriptorPoolHandlerStat(VkDevice device, VkDescriptorPool descriptorPool, VkDescriptorPoolResetFlags flags) const resetDescriptorPoolHandlerStat() argument
321 createImageViewHandler(VkDevice device, const VkImageViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImageView* pView) const createImageViewHandler() argument
359 destroyImageViewHandler(VkDevice device, VkImageView imageView, const VkAllocationCallbacks* pAllocator) const destroyImageViewHandler() argument
377 createQueryPoolHandler(VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkQueryPool* pQueryPool) const createQueryPoolHandler() argument
405 createPipelineLayoutHandlerNorm(VkDevice device, const VkPipelineLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineLayout* pPipelineLayout) const createPipelineLayoutHandlerNorm() argument
416 createPipelineLayoutHandlerStat(VkDevice device, const VkPipelineLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineLayout* pPipelineLayout) const createPipelineLayoutHandlerStat() argument
428 createGraphicsPipelinesHandlerNorm(VkDevice device, VkPipelineCache pipelineCache, deUint32 createInfoCount, const VkGraphicsPipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) const createGraphicsPipelinesHandlerNorm() argument
439 createGraphicsPipelinesHandlerStat(VkDevice device, VkPipelineCache pipelineCache, deUint32 createInfoCount, const VkGraphicsPipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) const createGraphicsPipelinesHandlerStat() argument
461 createComputePipelinesHandlerNorm(VkDevice device, VkPipelineCache pipelineCache, deUint32 createInfoCount, const VkComputePipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) const createComputePipelinesHandlerNorm() argument
472 createComputePipelinesHandlerStat(VkDevice device, VkPipelineCache pipelineCache, deUint32 createInfoCount, const VkComputePipelineCreateInfo* pCreateInfos, const VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) const createComputePipelinesHandlerStat() argument
494 destroyPipelineHandler(VkDevice device, VkPipeline pipeline, const VkAllocationCallbacks* pAllocator) const destroyPipelineHandler() argument
520 createFramebufferHandlerNorm(VkDevice device, const VkFramebufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFramebuffer* pFramebuffer) const createFramebufferHandlerNorm() argument
531 createFramebufferHandlerStat(VkDevice device, const VkFramebufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFramebuffer* pFramebuffer) const createFramebufferHandlerStat() argument
546 createRenderPassHandlerNorm(VkDevice device, const VkRenderPassCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass) const createRenderPassHandlerNorm() argument
562 createRenderPassHandlerStat(VkDevice device, const VkRenderPassCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass) const createRenderPassHandlerStat() argument
586 createRenderPass2HandlerNorm(VkDevice device, const VkRenderPassCreateInfo2* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass) const createRenderPass2HandlerNorm() argument
602 createRenderPass2HandlerStat(VkDevice device, const VkRenderPassCreateInfo2* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass) const createRenderPass2HandlerStat() argument
626 destroyRenderPassHandler(VkDevice device, VkRenderPass renderPass, const VkAllocationCallbacks* pAllocator) const destroyRenderPassHandler() argument
654 createSamplerHandlerNorm(VkDevice device, const VkSamplerCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSampler* pSampler) const createSamplerHandlerNorm() argument
665 createSamplerHandlerStat(VkDevice device, const VkSamplerCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSampler* pSampler) const createSamplerHandlerStat() argument
677 createSamplerYcbcrConversionHandlerNorm(VkDevice device, const VkSamplerYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversion* pYcbcrConversion) const createSamplerYcbcrConversionHandlerNorm() argument
688 createSamplerYcbcrConversionHandlerStat(VkDevice device, const VkSamplerYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversion* pYcbcrConversion) const createSamplerYcbcrConversionHandlerStat() argument
700 getDescriptorSetLayoutSupportHandler(VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, VkDescriptorSetLayoutSupport* pSupport) const getDescriptorSetLayoutSupportHandler() argument
712 createShaderModule(VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkShaderModule* pShaderModule) const createShaderModule() argument
721 createCommandPoolHandlerNorm(VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool) const createCommandPoolHandlerNorm() argument
753 resetCommandPoolHandlerNorm(VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) const resetCommandPoolHandlerNorm() argument
760 createCommandPoolHandlerStat(VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool) const createCommandPoolHandlerStat() argument
783 resetCommandPoolHandlerStat(VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) const resetCommandPoolHandlerStat() argument
790 allocateCommandBuffersHandler(VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo, VkCommandBuffer* pCommandBuffers) const allocateCommandBuffersHandler() argument
801 freeCommandBuffersHandler(VkDevice device, VkCommandPool commandPool, deUint32 commandBufferCount, const VkCommandBuffer* pCommandBuffers) const freeCommandBuffersHandler() argument
[all...]
/foundation/multimedia/audio_framework/frameworks/native/bluetoothclient/
H A Daudio_bluetooth_manager.cpp126 for (const auto &device : a2dpList) { in DisconnectBluetoothA2dpSink()
127 a2dpListener_->OnConnectionStateChanged(device, connectionState, in DisconnectBluetoothA2dpSink()
143 AUDIO_INFO_LOG("incoming device:%{public}s, current device:%{public}s", in SetActiveA2dpDevice()
147 BluetoothRemoteDevice device; in SetActiveA2dpDevice() local
149 int32_t tmp = MediaBluetoothDeviceManager::GetConnectedA2dpBluetoothDevice(macAddress, device); in SetActiveA2dpDevice()
150 CHECK_AND_RETURN_RET_LOG(tmp == SUCCESS, ERROR, "the configuring A2DP device doesn't exist."); in SetActiveA2dpDevice()
152 AUDIO_INFO_LOG("Deactive A2DP device"); in SetActiveA2dpDevice()
154 int32_t ret = a2dpInstance_->SetActiveSinkDevice(device); in SetActiveA2dpDevice()
156 activeA2dpDevice_ = device; in SetActiveA2dpDevice()
165 BluetoothRemoteDevice device = a2dpInstance_->GetActiveSinkDevice(); GetActiveA2dpDevice() local
171 BluetoothRemoteDevice device; SetDeviceAbsVolume() local
183 BluetoothRemoteDevice device; GetA2dpDeviceStreamInfo() local
309 OnConnectionStateChanged(const BluetoothRemoteDevice &device, int state, int cause) OnConnectionStateChanged() argument
325 OnConfigurationChanged(const BluetoothRemoteDevice &device, const A2dpCodecInfo &codecInfo, int error) OnConfigurationChanged() argument
336 OnPlayingStatusChanged(const BluetoothRemoteDevice &device, int playingState, int error) OnPlayingStatusChanged() argument
344 OnMediaStackChanged(const BluetoothRemoteDevice &device, int action) OnMediaStackChanged() argument
412 HandleScoWithRecongnition(bool handleFlag, BluetoothRemoteDevice &device) HandleScoWithRecongnition() argument
467 BluetoothRemoteDevice device; SetActiveHfpDevice() local
493 BluetoothRemoteDevice device = hfpInstance_->GetActiveDevice(); GetActiveHfpDevice() local
585 UpdateCurrentActiveHfpDevice(const BluetoothRemoteDevice &device) UpdateCurrentActiveHfpDevice() argument
641 OnScoStateChanged(const BluetoothRemoteDevice &device, int state, int reason) OnScoStateChanged() argument
667 OnConnectionStateChanged(const BluetoothRemoteDevice &device, int state, int cause) OnConnectionStateChanged() argument
687 OnHfpStackChanged(const BluetoothRemoteDevice &device, int action) OnHfpStackChanged() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Ddmaengine.h8 #include <linux/device.h>
301 * @dev: pointer to the DMA router device
305 struct device *dev;
306 void (*route_free)(struct device *dev, void *route_data);
311 * @device: ptr to the dma device who supplies this channel, always !%NULL
312 * @slave: ptr to the device using this channel
316 * @dev: class device for sysfs
320 * @device_node: used to add this to the device chan list
329 struct dma_device *device; member
364 struct device device; global() member
[all...]
H A Dvfio.h38 struct device *dev;
58 struct device device; /* device.kref covers object life circle */ member
62 refcount_t refcount; /* user count on registered device*/
75 * struct vfio_device_ops - VFIO bus driver device callbacks
77 * @name: Name of the device driver.
78 * @init: initialize private fields in device structure
79 * @release: Reclaim private fields in device structure
80 * @bind_iommufd: Called when binding the device t
172 vfio_device_cdev_opened(struct vfio_device *device) vfio_device_cdev_opened() argument
266 vfio_put_device(struct vfio_device *device) vfio_put_device() argument
303 vfio_file_has_dev(struct file *file, struct vfio_device *device) vfio_file_has_dev() argument
[all...]
/kernel/linux/linux-5.10/drivers/acpi/
H A Dac.c39 static int acpi_ac_add(struct acpi_device *device);
40 static int acpi_ac_remove(struct acpi_device *device);
41 static void acpi_ac_notify(struct acpi_device *device, u32 event);
61 static int acpi_ac_resume(struct device *dev);
85 struct acpi_device * device; member
108 status = acpi_evaluate_integer(ac->device->handle, "_PSR", NULL, in acpi_ac_get_state()
153 static void acpi_ac_notify(struct acpi_device *device, u32 event) in acpi_ac_notify() argument
155 struct acpi_ac *ac = acpi_driver_data(device); in acpi_ac_notify()
179 acpi_bus_generate_netlink_event(device->pnp.device_class, in acpi_ac_notify()
180 dev_name(&device in acpi_ac_notify()
263 acpi_ac_add(struct acpi_device *device) acpi_ac_add() argument
338 acpi_ac_remove(struct acpi_device *device) acpi_ac_remove() argument
[all...]
/kernel/linux/linux-6.6/drivers/platform/x86/intel/int1092/
H A Dintel_sar.c67 * Given acpi_object is iterated to retrieve information for each device mode.
68 * If a given package corresponding to a specific device mode is faulty, it is
70 * of zero. Decoding of subsequent device modes is realized by having "continue"
71 * statements in the for loop on encountering error in parsing given device mode.
120 * @device: ACPI device for which to retrieve the data
122 * Retrieve the current device mode information from the BIOS.
128 static acpi_status sar_get_device_mode(struct platform_device *device) in sar_get_device_mode() argument
130 struct wwan_sar_context *context = dev_get_drvdata(&device->dev); in sar_get_device_mode()
138 dev_err(&device in sar_get_device_mode()
208 struct platform_device *device = data; sar_notify() local
245 sar_probe(struct platform_device *device) sar_probe() argument
295 sar_remove(struct platform_device *device) sar_remove() argument
[all...]
/kernel/linux/linux-5.10/include/linux/phy/
H A Dphy.h15 #include <linux/device.h>
128 * struct phy - represents the phy device
129 * @dev: phy device
130 * @id: id of the phy device
139 struct device dev;
151 * @dev: phy provider device
158 struct device *dev;
162 struct phy * (*of_xlate)(struct device *dev,
169 * @dev_id: the device of the association
170 * @con_id: connection ID string on device
[all...]
/kernel/linux/linux-5.10/kernel/cgroup/
H A Drdma.c22 * and rdma device list.
49 * resource pool object which represents per cgroup, per device
55 struct rdmacg_device *device; member
114 struct rdmacg_device *device) in find_cg_rpool_locked()
122 if (pool->device == device) in find_cg_rpool_locked()
129 get_cg_rpool_locked(struct rdma_cgroup *cg, struct rdmacg_device *device) in get_cg_rpool_locked() argument
133 rpool = find_cg_rpool_locked(cg, device); in get_cg_rpool_locked()
141 rpool->device = device; in get_cg_rpool_locked()
113 find_cg_rpool_locked(struct rdma_cgroup *cg, struct rdmacg_device *device) find_cg_rpool_locked() argument
162 uncharge_cg_locked(struct rdma_cgroup *cg, struct rdmacg_device *device, enum rdmacg_resource_type index) uncharge_cg_locked() argument
205 rdmacg_uncharge_hierarchy(struct rdma_cgroup *cg, struct rdmacg_device *device, struct rdma_cgroup *stop_cg, enum rdmacg_resource_type index) rdmacg_uncharge_hierarchy() argument
227 rdmacg_uncharge(struct rdma_cgroup *cg, struct rdmacg_device *device, enum rdmacg_resource_type index) rdmacg_uncharge() argument
259 rdmacg_try_charge(struct rdma_cgroup **rdmacg, struct rdmacg_device *device, enum rdmacg_resource_type index) rdmacg_try_charge() argument
314 rdmacg_register_device(struct rdmacg_device *device) rdmacg_register_device() argument
334 rdmacg_unregister_device(struct rdmacg_device *device) rdmacg_unregister_device() argument
414 struct rdmacg_device *device; rdmacg_get_device_locked() local
431 struct rdmacg_device *device; rdmacg_resource_set_max() local
526 struct rdmacg_device *device; rdmacg_resource_read() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dmcp77.c44 struct nvkm_device *device = clk->base.subdev.device; in read_div() local
45 return nvkm_rd32(device, 0x004600); in read_div()
51 struct nvkm_device *device = clk->base.subdev.device; in read_pll() local
52 u32 ctrl = nvkm_rd32(device, base + 0); in read_pll()
53 u32 coef = nvkm_rd32(device, base + 4); in read_pll()
61 post_div = 1 << ((nvkm_rd32(device, 0x4070) & 0x000f0000) >> 16); in read_pll()
64 post_div = (nvkm_rd32(device, 0x4040) & 0x000f0000) >> 16; in read_pll()
85 struct nvkm_device *device in mcp77_clk_read() local
303 struct nvkm_device *device = subdev->device; mcp77_clk_prog() local
415 mcp77_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) mcp77_clk_new() argument
[all...]
H A Dnv40.c42 struct nvkm_device *device = clk->base.subdev.device; in read_pll_1() local
43 u32 ctrl = nvkm_rd32(device, reg + 0x00); in read_pll_1()
58 struct nvkm_device *device = clk->base.subdev.device; in read_pll_2() local
59 u32 ctrl = nvkm_rd32(device, reg + 0x00); in read_pll_2()
60 u32 coef = nvkm_rd32(device, reg + 0x04); in read_pll_2()
101 struct nvkm_device *device = subdev->device; in nv40_clk_read() local
102 u32 mast = nvkm_rd32(device, in nv40_clk_read()
189 struct nvkm_device *device = clk->base.subdev.device; nv40_clk_prog() local
221 nv40_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) nv40_clk_new() argument
[all...]
/kernel/linux/linux-6.6/include/linux/phy/
H A Dphy.h15 #include <linux/device.h>
142 * struct phy - represents the phy device
143 * @dev: phy device
144 * @id: id of the phy device
154 struct device dev;
167 * @dev: phy provider device
174 struct device *dev;
178 struct phy * (*of_xlate)(struct device *dev,
185 * @dev_id: the device of the association
186 * @con_id: connection ID string on device
[all...]
/kernel/linux/linux-6.6/kernel/cgroup/
H A Drdma.c22 * and rdma device list.
49 * resource pool object which represents per cgroup, per device
55 struct rdmacg_device *device; member
114 struct rdmacg_device *device) in find_cg_rpool_locked()
122 if (pool->device == device) in find_cg_rpool_locked()
129 get_cg_rpool_locked(struct rdma_cgroup *cg, struct rdmacg_device *device) in get_cg_rpool_locked() argument
133 rpool = find_cg_rpool_locked(cg, device); in get_cg_rpool_locked()
141 rpool->device = device; in get_cg_rpool_locked()
113 find_cg_rpool_locked(struct rdma_cgroup *cg, struct rdmacg_device *device) find_cg_rpool_locked() argument
162 uncharge_cg_locked(struct rdma_cgroup *cg, struct rdmacg_device *device, enum rdmacg_resource_type index) uncharge_cg_locked() argument
206 rdmacg_uncharge_hierarchy(struct rdma_cgroup *cg, struct rdmacg_device *device, struct rdma_cgroup *stop_cg, enum rdmacg_resource_type index) rdmacg_uncharge_hierarchy() argument
229 rdmacg_uncharge(struct rdma_cgroup *cg, struct rdmacg_device *device, enum rdmacg_resource_type index) rdmacg_uncharge() argument
261 rdmacg_try_charge(struct rdma_cgroup **rdmacg, struct rdmacg_device *device, enum rdmacg_resource_type index) rdmacg_try_charge() argument
316 rdmacg_register_device(struct rdmacg_device *device) rdmacg_register_device() argument
336 rdmacg_unregister_device(struct rdmacg_device *device) rdmacg_unregister_device() argument
416 struct rdmacg_device *device; rdmacg_get_device_locked() local
433 struct rdmacg_device *device; rdmacg_resource_set_max() local
528 struct rdmacg_device *device; rdmacg_resource_read() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dmcp77.c44 struct nvkm_device *device = clk->base.subdev.device; in read_div() local
45 return nvkm_rd32(device, 0x004600); in read_div()
51 struct nvkm_device *device = clk->base.subdev.device; in read_pll() local
52 u32 ctrl = nvkm_rd32(device, base + 0); in read_pll()
53 u32 coef = nvkm_rd32(device, base + 4); in read_pll()
61 post_div = 1 << ((nvkm_rd32(device, 0x4070) & 0x000f0000) >> 16); in read_pll()
64 post_div = (nvkm_rd32(device, 0x4040) & 0x000f0000) >> 16; in read_pll()
85 struct nvkm_device *device in mcp77_clk_read() local
300 struct nvkm_device *device = subdev->device; mcp77_clk_prog() local
412 mcp77_clk_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_clk **pclk) mcp77_clk_new() argument
[all...]
H A Dnv40.c42 struct nvkm_device *device = clk->base.subdev.device; in read_pll_1() local
43 u32 ctrl = nvkm_rd32(device, reg + 0x00); in read_pll_1()
58 struct nvkm_device *device = clk->base.subdev.device; in read_pll_2() local
59 u32 ctrl = nvkm_rd32(device, reg + 0x00); in read_pll_2()
60 u32 coef = nvkm_rd32(device, reg + 0x04); in read_pll_2()
101 struct nvkm_device *device = subdev->device; in nv40_clk_read() local
102 u32 mast = nvkm_rd32(device, in nv40_clk_read()
189 struct nvkm_device *device = clk->base.subdev.device; nv40_clk_prog() local
221 nv40_clk_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_clk **pclk) nv40_clk_new() argument
[all...]
/third_party/mesa3d/src/imagination/vulkan/
H A Dpvr_pass.c159 struct pvr_device *device, in pvr_pds_unitex_state_program_create_and_upload()
177 staging_buffer = vk_alloc2(&device->vk.alloc, in pvr_pds_unitex_state_program_create_and_upload()
183 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in pvr_pds_unitex_state_program_create_and_upload()
188 result = pvr_gpu_upload_pds(device, in pvr_pds_unitex_state_program_create_and_upload()
198 vk_free2(&device->vk.alloc, allocator, staging_buffer); in pvr_pds_unitex_state_program_create_and_upload()
202 vk_free2(&device->vk.alloc, allocator, staging_buffer); in pvr_pds_unitex_state_program_create_and_upload()
208 pvr_load_op_create(struct pvr_device *device, in pvr_load_op_create() argument
213 const struct pvr_device_info *dev_info = &device->pdevice->dev_info; in pvr_load_op_create()
218 load_op = vk_zalloc2(&device->vk.alloc, in pvr_load_op_create()
224 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMOR in pvr_load_op_create()
158 pvr_pds_unitex_state_program_create_and_upload( struct pvr_device *device, const VkAllocationCallbacks *allocator, uint32_t texture_kicks, uint32_t uniform_kicks, struct pvr_pds_upload *const pds_upload_out) pvr_pds_unitex_state_program_create_and_upload() argument
288 pvr_load_op_destroy(struct pvr_device *device, const VkAllocationCallbacks *allocator, struct pvr_load_op *load_op) pvr_load_op_destroy() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationBasicFenceTests.cpp59 const VkDevice device = getSyncDevice(videoDevice, context); in basicOneFenceCase() local
62 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex)); in basicOneFenceCase()
63 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in basicOneFenceCase()
72 const Unique<VkFence> fence (createFence(vk, device, &fenceInfo)); in basicOneFenceCase()
87 if (VK_NOT_READY != vk.getFenceStatus(device, *fence)) in basicOneFenceCase()
90 if (VK_TIMEOUT != vk.waitForFences(device, 1u, &fence.get(), VK_TRUE, SHORT_FENCE_WAIT)) in basicOneFenceCase()
93 if (VK_NOT_READY != vk.getFenceStatus(device, *fence)) in basicOneFenceCase()
101 if (VK_SUCCESS != vk.waitForFences(device, 1u, &fence.get(), DE_TRUE, LONG_FENCE_WAIT)) in basicOneFenceCase()
104 if (VK_SUCCESS != vk.getFenceStatus(device, *fence)) in basicOneFenceCase()
107 if (VK_SUCCESS != vk.resetFences(device, in basicOneFenceCase()
136 const VkDevice device = getSyncDevice(videoDevice, context); basicSignaledCase() local
175 const VkDevice device = getSyncDevice(videoDevice, context); basicMultiFenceCase() local
249 const VkDevice device = getSyncDevice(videoDevice, context); emptySubmitCase() local
279 const VkDevice device = getSyncDevice(videoDevice, context); basicMultiFenceWaitAllFalseCase() local
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A DSwapChain9.cpp99 IDirect3DDevice9 *device = mRenderer->getDevice(); in reset() local
101 if (device == nullptr) in reset()
108 device->EvictManagedResources(); in reset()
134 result = device->CreateTexture(backbufferWidth, backbufferHeight, 1, D3DUSAGE_RENDERTARGET, in reset()
174 result = device->StretchRect(oldRenderTarget, &rect, mRenderTarget, &rect, D3DTEXF_NONE); in reset()
218 result = device->CreateAdditionalSwapChain(&presentParameters, &mSwapChain); in reset()
246 result = device->CreateDepthStencilSurface( in reset()
285 IDirect3DDevice9 *device = mRenderer->getDevice(); in swapRect() local
288 device->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE); in swapRect()
289 device in swapRect()
438 IDirect3DDevice9 *device = mRenderer->getDevice(); recreate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
H A DvktSynchronizationBasicFenceTests.cpp59 const VkDevice device = getSyncDevice(videoDevice, context); in basicOneFenceCase() local
62 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex)); in basicOneFenceCase()
63 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)); in basicOneFenceCase()
72 const Unique<VkFence> fence (createFence(vk, device, &fenceInfo)); in basicOneFenceCase()
87 if (VK_NOT_READY != vk.getFenceStatus(device, *fence)) in basicOneFenceCase()
90 if (VK_TIMEOUT != vk.waitForFences(device, 1u, &fence.get(), VK_TRUE, SHORT_FENCE_WAIT)) in basicOneFenceCase()
93 if (VK_NOT_READY != vk.getFenceStatus(device, *fence)) in basicOneFenceCase()
101 if (VK_SUCCESS != vk.waitForFences(device, 1u, &fence.get(), DE_TRUE, LONG_FENCE_WAIT)) in basicOneFenceCase()
104 if (VK_SUCCESS != vk.getFenceStatus(device, *fence)) in basicOneFenceCase()
107 if (VK_SUCCESS != vk.resetFences(device, in basicOneFenceCase()
136 const VkDevice device = getSyncDevice(videoDevice, context); basicSignaledCase() local
175 const VkDevice device = getSyncDevice(videoDevice, context); basicMultiFenceCase() local
249 const VkDevice device = getSyncDevice(videoDevice, context); emptySubmitCase() local
279 const VkDevice device = getSyncDevice(videoDevice, context); basicMultiFenceWaitAllFalseCase() local
[all...]
/third_party/mesa3d/src/intel/vulkan/
H A Danv_image.c94 image_binding_grow(const struct anv_device *device, in image_binding_grow() argument
135 return vk_errorf(device, in image_binding_grow()
146 return vk_errorf(device, in image_binding_grow()
156 return vk_errorf(device, VK_ERROR_UNKNOWN, in image_binding_grow()
159 return vk_errorf(device, in image_binding_grow()
309 add_surface(struct anv_device *device, in add_surface() argument
318 return image_binding_grow(device, image, binding, offset, in add_surface()
644 add_aux_state_tracking_buffer(struct anv_device *device, in add_aux_state_tracking_buffer() argument
648 assert(image && device); in add_aux_state_tracking_buffer()
653 const unsigned clear_color_state_size = device in add_aux_state_tracking_buffer()
701 add_aux_surface_if_supported(struct anv_device *device, struct anv_image *image, uint32_t plane, struct anv_format_plane plane_format, const VkImageFormatListCreateInfo *fmt_list, uint64_t offset, uint32_t stride, isl_surf_usage_flags_t isl_extra_usage_flags) add_aux_surface_if_supported() argument
885 add_shadow_surface(struct anv_device *device, struct anv_image *image, uint32_t plane, struct anv_format_plane plane_format, uint32_t stride, VkImageUsageFlags vk_plane_usage) add_shadow_surface() argument
927 add_primary_surface(struct anv_device *device, struct anv_image *image, uint32_t plane, struct anv_format_plane plane_format, uint64_t offset, uint32_t stride, isl_tiling_flags_t isl_tiling_flags, isl_surf_usage_flags_t isl_usage) add_primary_surface() argument
1027 check_memory_bindings(const struct anv_device *device, const struct anv_image *image) check_memory_bindings() argument
1141 check_drm_format_mod(const struct anv_device *device, const struct anv_image *image) check_drm_format_mod() argument
1200 add_all_surfaces_implicit_layout( struct anv_device *device, struct anv_image *image, const VkImageFormatListCreateInfo *format_list_info, uint32_t stride, isl_tiling_flags_t isl_tiling_flags, isl_surf_usage_flags_t isl_extra_usage_flags) add_all_surfaces_implicit_layout() argument
1264 add_all_surfaces_explicit_layout( struct anv_device *device, struct anv_image *image, const VkImageFormatListCreateInfo *format_list_info, const VkImageDrmFormatModifierExplicitCreateInfoEXT *drm_info, isl_tiling_flags_t isl_tiling_flags, isl_surf_usage_flags_t isl_extra_usage_flags) add_all_surfaces_explicit_layout() argument
1362 choose_drm_format_mod(const struct anv_physical_device *device, uint32_t modifier_count, const uint64_t *modifiers) choose_drm_format_mod() argument
1402 alloc_private_binding(struct anv_device *device, struct anv_image *image, const VkImageCreateInfo *create_info) alloc_private_binding() argument
1426 anv_image_init(struct anv_device *device, struct anv_image *image, const struct anv_image_create_info *create_info) anv_image_init() argument
1533 struct anv_device *device = anv_image_finish() local
1561 anv_image_init_from_create_info(struct anv_device *device, struct anv_image *image, const VkImageCreateInfo *pCreateInfo) anv_image_init_from_create_info() argument
1651 resolve_ahw_image(struct anv_device *device, struct anv_image *image, struct anv_device_memory *mem) resolve_ahw_image() argument
1705 anv_image_get_memory_requirements(struct anv_device *device, struct anv_image *image, VkImageAspectFlags aspects, VkMemoryRequirements2 *pMemoryRequirements) anv_image_get_memory_requirements() argument
1822 anv_GetImageSparseMemoryRequirements( VkDevice device, VkImage image, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements* pSparseMemoryRequirements) anv_GetImageSparseMemoryRequirements() argument
1831 anv_GetImageSparseMemoryRequirements2( VkDevice device, const VkImageSparseMemoryRequirementsInfo2* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2* pSparseMemoryRequirements) anv_GetImageSparseMemoryRequirements2() argument
1840 anv_GetDeviceImageSparseMemoryRequirementsKHR( VkDevice device, const VkDeviceImageMemoryRequirements* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2* pSparseMemoryRequirements) anv_GetDeviceImageSparseMemoryRequirementsKHR() argument
1995 anv_GetImageSubresourceLayout( VkDevice device, VkImage _image, const VkImageSubresource* subresource, VkSubresourceLayout* layout) anv_GetImageSubresourceLayout() argument
2443 alloc_surface_state(struct anv_device *device) alloc_surface_state() argument
2465 anv_image_fill_surface_state(struct anv_device *device, const struct anv_image *image, VkImageAspectFlagBits aspect, const struct isl_view *view_in, isl_surf_usage_flags_t view_usage, enum isl_aux_usage aux_usage, const union isl_color_value *clear_color, enum anv_image_view_state_flags flags, struct anv_surface_state *state_inout, struct brw_image_param *image_param_out) anv_image_fill_surface_state() argument
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta/
H A Dsta_saved_device_appraisal.cpp54 WifiDeviceConfig device; in DeviceAppraisals() local
57 if (WifiSettings::GetInstance().GetDeviceConfig(scanInfo.ssid, deviceKeyMgmt, device) != 0) { in DeviceAppraisals()
62 if (WhetherSkipDevice(device)) { in DeviceAppraisals()
67 AppraiseDeviceQuality(score, scanInfo, device, info, device.connFailedCount >= MAX_RETRY_COUNT); in DeviceAppraisals()
68 WIFI_LOGD("The device networkId:%{public}d ssid:%{public}s score:%{public}d rssi:%{public}d.", in DeviceAppraisals()
69 device.networkId, SsidAnonymize(scanInfo.ssid).c_str(), score, scanInfo.rssi); in DeviceAppraisals()
73 electedDevice = device; in DeviceAppraisals()
76 WIFI_LOGD("set highestScore: %{public}d, ssid: %{public}s", highestScore, SsidAnonymize(device.ssid).c_str()); in DeviceAppraisals()
88 WIFI_LOGI("The electedDevice is the current connected device in DeviceAppraisals()
100 WhetherSkipDevice(WifiDeviceConfig &device) WhetherSkipDevice() argument
120 AppraiseDeviceQuality(int &score, InterScanInfo &scanInfo, WifiDeviceConfig &device, WifiLinkedInfo &info, bool flip) AppraiseDeviceQuality() argument
[all...]
/kernel/linux/linux-5.10/drivers/misc/ocxl/
H A Dsysfs.c6 static inline struct ocxl_afu *to_afu(struct device *device) in to_afu() argument
8 struct ocxl_file_info *info = container_of(device, struct ocxl_file_info, dev); in to_afu()
13 static ssize_t global_mmio_size_show(struct device *device, in global_mmio_size_show() argument
17 struct ocxl_afu *afu = to_afu(device); in global_mmio_size_show()
23 static ssize_t pp_mmio_size_show(struct device *device, in pp_mmio_size_show() argument
27 struct ocxl_afu *afu = to_afu(device); in pp_mmio_size_show()
33 static ssize_t afu_version_show(struct device *devic argument
44 contexts_show(struct device *device, struct device_attribute *attr, char *buf) contexts_show() argument
54 reload_on_reset_show(struct device *device, struct device_attribute *attr, char *buf) reload_on_reset_show() argument
69 reload_on_reset_store(struct device *device, struct device_attribute *attr, const char *buf, size_t count) reload_on_reset_store() argument
[all...]
/kernel/linux/linux-6.6/drivers/misc/ocxl/
H A Dsysfs.c6 static inline struct ocxl_afu *to_afu(struct device *device) in to_afu() argument
8 struct ocxl_file_info *info = container_of(device, struct ocxl_file_info, dev); in to_afu()
13 static ssize_t global_mmio_size_show(struct device *device, in global_mmio_size_show() argument
17 struct ocxl_afu *afu = to_afu(device); in global_mmio_size_show()
23 static ssize_t pp_mmio_size_show(struct device *device, in pp_mmio_size_show() argument
27 struct ocxl_afu *afu = to_afu(device); in pp_mmio_size_show()
33 static ssize_t afu_version_show(struct device *devic argument
44 contexts_show(struct device *device, struct device_attribute *attr, char *buf) contexts_show() argument
54 reload_on_reset_show(struct device *device, struct device_attribute *attr, char *buf) reload_on_reset_show() argument
69 reload_on_reset_store(struct device *device, struct device_attribute *attr, const char *buf, size_t count) reload_on_reset_store() argument
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DDebugMarkerValidationTests.cpp24 DummyRenderPass renderPass(device); in TEST_F()
26 wgpu::CommandEncoder encoder = device.CreateCommandEncoder(); in TEST_F()
42 DummyRenderPass renderPass(device); in TEST_F()
44 wgpu::CommandEncoder encoder = device.CreateCommandEncoder(); in TEST_F()
59 DummyRenderPass renderPass(device); in TEST_F()
61 wgpu::CommandEncoder encoder = device.CreateCommandEncoder(); in TEST_F()
80 wgpu::RenderBundleEncoder encoder = device.CreateRenderBundleEncoder(&desc); in TEST_F()
96 wgpu::RenderBundleEncoder encoder = device.CreateRenderBundleEncoder(&desc); in TEST_F()
111 wgpu::RenderBundleEncoder encoder = device.CreateRenderBundleEncoder(&desc); in TEST_F()
122 wgpu::CommandEncoder encoder = device in TEST_F()
[all...]

Completed in 20 milliseconds

1...<<31323334353637383940>>...1205