/kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/ |
H A D | mtk_disp_ovl_adaptor.c | 59 struct device *ovl_adaptor_comp[OVL_ADAPTOR_ID_MAX]; 60 struct device *mmsys_dev; 86 void mtk_ovl_adaptor_layer_config(struct device *dev, unsigned int idx, in mtk_ovl_adaptor_layer_config() 93 struct device *rdma_l; in mtk_ovl_adaptor_layer_config() 94 struct device *rdma_r; in mtk_ovl_adaptor_layer_config() 95 struct device *merge; in mtk_ovl_adaptor_layer_config() 96 struct device *ethdr; in mtk_ovl_adaptor_layer_config() 163 void mtk_ovl_adaptor_config(struct device *dev, unsigned int w, in mtk_ovl_adaptor_config() 173 void mtk_ovl_adaptor_start(struct device *dev) in mtk_ovl_adaptor_start() 180 void mtk_ovl_adaptor_stop(struct device *de [all...] |
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_queue.c | 36 v3dv_clif_dump(struct v3dv_device *device, in v3dv_clif_dump() argument 45 struct clif_dump *clif = clif_dump_init(&device->devinfo, in v3dv_clif_dump() 56 bool ok = v3dv_bo_map(device, bo, bo->size); in v3dv_clif_dump() 77 if (queue->device->pdevice->caps.multisync) { in queue_wait_idle() 78 int ret = drmSyncobjWait(queue->device->pdevice->render_fd, in queue_wait_idle() 98 VkResult result = vk_sync_wait_many(&queue->device->vk, in queue_wait_idle() 110 int ret = drmSyncobjWait(queue->device->pdevice->render_fd, in queue_wait_idle() 138 v3dv_bo_wait(job->device, info->pool->bo, PIPE_TIMEOUT_INFINITE); in handle_reset_query_cpu_job() 156 VkResult result = vk_sync_wait_many(&job->device->vk, wait_count, waits, in handle_reset_query_cpu_job() 163 v3dv_reset_query_pools(job->device, inf in handle_reset_query_cpu_job() 468 struct v3dv_device *device = queue->device; process_waits() local 530 struct v3dv_device *device = queue->device; process_signals() local 570 multisync_free(struct v3dv_device *device, struct drm_v3d_multi_sync *ms) multisync_free() argument 584 struct v3dv_device *device = queue->device; set_in_syncs() local 648 struct v3dv_device *device = queue->device; set_out_syncs() local 692 set_multisync(struct drm_v3d_multi_sync *ms, struct v3dv_submit_sync_info *sync_info, struct drm_v3d_extension *next, struct v3dv_device *device, struct v3dv_job *job, enum v3dv_queue_type queue_sync, enum v3d_queue wait_stage, bool signal_syncs) set_multisync() argument 742 struct v3dv_device *device = queue->device; handle_cl_job() local 879 struct v3dv_device *device = queue->device; handle_tfu_job() local 922 struct v3dv_device *device = queue->device; handle_csd_job() local 1032 struct v3dv_device *device = queue->device; queue_create_noop_job() local [all...] |
/kernel/linux/linux-5.10/drivers/s390/crypto/ |
H A D | vfio_ap_drv.c | 3 * VFIO based AP device driver 22 MODULE_DESCRIPTION("VFIO AP device driver, Copyright IBM Corp. 2018"); 30 * by the AP matrix device driver 50 * with the device as driver_data. 59 dev_set_drvdata(&apdev->device, q); in vfio_ap_queue_dev_probe() 60 q->apqn = to_ap_queue(&apdev->device)->qid; in vfio_ap_queue_dev_probe() 68 * Takes the matrix lock to avoid actions on this device while removing 76 q = dev_get_drvdata(&apdev->device); in vfio_ap_queue_dev_remove() 78 dev_set_drvdata(&apdev->device, NULL); in vfio_ap_queue_dev_remove() 83 static void vfio_ap_matrix_dev_release(struct device *de [all...] |
/third_party/ltp/testcases/kernel/syscalls/mount/ |
H A D | mount02.c | 27 2) ENOTBLK if specialfile is not a block device 31 4) EINVAL if specialfile or device is invalid or 34 5) EFAULT if specialfile or device file points to invalid address space. 62 static const char *device; variable 76 const char **device; member 84 {&device, &mntpoint, &wrong_fs_type, 0, ENODEV, NULL, NULL}, 86 {&device, &mntpoint, &fs_type, 0, EBUSY, do_mount, do_umount}, 87 {&device, &mntpoint, &fs_type, MS_REMOUNT | MS_RDONLY, EBUSY, 90 {&device, &mntpoint, &null, 0, EINVAL, NULL, NULL}, 91 {&device, [all...] |
/foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
H A D | bluetooth_a2dp_src_proxy.cpp | 24 int32_t BluetoothA2dpSrcProxy::Connect(const RawAddress &device) in Connect() argument 29 CHECK_AND_RETURN_LOG_RET(data.WriteString(device.GetAddress()), BT_ERR_IPC_TRANS_FAILED, "write device error"); in Connect() 40 int32_t BluetoothA2dpSrcProxy::Disconnect(const RawAddress &device) in Disconnect() argument 45 CHECK_AND_RETURN_LOG_RET(data.WriteString(device.GetAddress()), BT_ERR_IPC_TRANS_FAILED, "write device error"); in Disconnect() 105 int BluetoothA2dpSrcProxy::GetDeviceState(const RawAddress &device, int &state) in GetDeviceState() argument 110 CHECK_AND_RETURN_LOG_RET(data.WriteString(device.GetAddress()), BT_ERR_IPC_TRANS_FAILED, "write device error"); in GetDeviceState() 126 int32_t BluetoothA2dpSrcProxy::GetPlayingState(const RawAddress &device, in argument 146 SetConnectStrategy(const RawAddress &device, int32_t strategy) SetConnectStrategy() argument 163 GetConnectStrategy(const RawAddress &device, int &strategy) GetConnectStrategy() argument 183 SetActiveSinkDevice(const RawAddress &device) SetActiveSinkDevice() argument 217 GetCodecStatus(const RawAddress &device) GetCodecStatus() argument 239 GetCodecPreference(const RawAddress &device, BluetoothA2dpCodecInfo &info) GetCodecPreference() argument 266 SetCodecPreference(const RawAddress &device, const BluetoothA2dpCodecInfo &info) SetCodecPreference() argument 283 SwitchOptionalCodecs(const RawAddress &device, bool isEnable) SwitchOptionalCodecs() argument 297 GetOptionalCodecsSupportState(const RawAddress &device) GetOptionalCodecsSupportState() argument 313 StartPlaying(const RawAddress &device) StartPlaying() argument 329 SuspendPlaying(const RawAddress &device) SuspendPlaying() argument 345 StopPlaying(const RawAddress &device) StopPlaying() argument 379 GetRenderPosition(const RawAddress &device, uint32_t &delayValue, uint64_t &sendDataSize, uint32_t &timeStamp) GetRenderPosition() argument 399 OffloadStartPlaying(const RawAddress &device, const std::vector<int32_t> &sessionsId) OffloadStartPlaying() argument 404 OffloadStopPlaying(const RawAddress &device, const std::vector<int32_t> &sessionsId) OffloadStopPlaying() argument 409 A2dpOffloadSessionPathRequest(const RawAddress &device, const std::vector<BluetoothA2dpStreamInfo> &info) A2dpOffloadSessionPathRequest() argument 437 GetOffloadCodecStatus(const RawAddress &device) GetOffloadCodecStatus() argument 465 OffloadPlayingControl(const RawAddress &device, const std::vector<int32_t> &sessionsId, int32_t control) OffloadPlayingControl() argument 484 EnableAutoPlay(const RawAddress &device) EnableAutoPlay() argument 498 DisableAutoPlay(const RawAddress &device, const int duration) DisableAutoPlay() argument 513 GetAutoPlayDisabledDuration(const RawAddress &device, int &duration) GetAutoPlayDisabledDuration() argument [all...] |
/kernel/linux/linux-5.10/drivers/s390/block/ |
H A D | dasd_eer.c | 3 * Character device driver for extended error reporting. 18 #include <linux/device.h> 48 * each time the device is opened and destroy the buffer when the file is 245 * When a DASD device driver wants to report an error, it calls the 251 * DASD_EER_NOPATH: There is no path to the device left. 252 * DASD_EER_STATECHANGE: The state of the device has changed. 265 * when the extended error reporting is enabled for a device (by 267 * eer enabled DASD device. The presence of the cqr in device->eer_cqr 268 * indicates that eer is enable for the device 293 dasd_eer_write_standard_trigger(struct dasd_device *device, struct dasd_ccw_req *cqr, int trigger) dasd_eer_write_standard_trigger() argument 337 dasd_eer_write_snss_trigger(struct dasd_device *device, struct dasd_ccw_req *cqr, int trigger) dasd_eer_write_snss_trigger() argument 378 dasd_eer_write(struct dasd_device *device, struct dasd_ccw_req *cqr, unsigned int id) dasd_eer_write() argument 406 dasd_eer_snss(struct dasd_device *device) dasd_eer_snss() argument 430 struct dasd_device *device = cqr->startdev; dasd_eer_snss_cb() local 457 dasd_eer_enable(struct dasd_device *device) dasd_eer_enable() argument 517 dasd_eer_disable(struct dasd_device *device) dasd_eer_disable() argument [all...] |
/kernel/linux/linux-6.6/drivers/s390/block/ |
H A D | dasd_eer.c | 3 * Character device driver for extended error reporting. 18 #include <linux/device.h> 48 * each time the device is opened and destroy the buffer when the file is 245 * When a DASD device driver wants to report an error, it calls the 251 * DASD_EER_NOPATH: There is no path to the device left. 252 * DASD_EER_STATECHANGE: The state of the device has changed. 265 * when the extended error reporting is enabled for a device (by 267 * eer enabled DASD device. The presence of the cqr in device->eer_cqr 268 * indicates that eer is enable for the device 293 dasd_eer_write_standard_trigger(struct dasd_device *device, struct dasd_ccw_req *cqr, int trigger) dasd_eer_write_standard_trigger() argument 337 dasd_eer_write_snss_trigger(struct dasd_device *device, struct dasd_ccw_req *cqr, int trigger) dasd_eer_write_snss_trigger() argument 378 dasd_eer_write(struct dasd_device *device, struct dasd_ccw_req *cqr, unsigned int id) dasd_eer_write() argument 407 dasd_eer_snss(struct dasd_device *device) dasd_eer_snss() argument 431 struct dasd_device *device = cqr->startdev; dasd_eer_snss_cb() local 458 dasd_eer_enable(struct dasd_device *device) dasd_eer_enable() argument 518 dasd_eer_disable(struct dasd_device *device) dasd_eer_disable() argument [all...] |
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | buffer9.c | 64 info->screen = pParams->device->screen; in NineBuffer9_ctor() 75 * If the device is full software vertex processing, in NineBuffer9_ctor() 87 pParams->device->params.BehaviorFlags & D3DCREATE_SOFTWARE_VERTEXPROCESSING) { in NineBuffer9_ctor() 141 pParams->device->buffer_upload; in NineBuffer9_ctor() 177 list_add(&This->managed.list2, &pParams->device->managed_buffers); in NineBuffer9_ctor() 206 nine_upload_release_buffer(This->base.base.device->buffer_upload, This->buf); in NineBuffer9_dtor() 222 struct NineDevice9 *device, in NineBuffer9_RebindIfRequired() 230 for (i = 0; i < device->caps.MaxStreams; i++) { in NineBuffer9_RebindIfRequired() 231 if (device->state.stream[i] == (struct NineVertexBuffer9 *)This) in NineBuffer9_RebindIfRequired() 232 nine_context_set_stream_source_apply(device, in NineBuffer9_RebindIfRequired() 221 NineBuffer9_RebindIfRequired( struct NineBuffer9 *This, struct NineDevice9 *device, struct pipe_resource *resource, unsigned offset ) NineBuffer9_RebindIfRequired() argument 250 struct NineDevice9 *device = This->base.base.device; NineBuffer9_Lock() local 505 struct NineDevice9 *device = This->base.base.device; NineBuffer9_Unlock() local 568 struct NineDevice9 *device = This->base.base.device; NineBuffer9_Upload() local [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/ |
H A D | classic_adapter.cpp | 154 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 D | vkPlatform.cpp | 149 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 D | audio_bluetooth_manager.cpp | 126 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 D | dmaengine.h | 8 #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 D | vfio.h | 38 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...] |
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_image.c | 94 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...] |
/kernel/linux/linux-5.10/include/linux/phy/ |
H A D | phy.h | 15 #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 D | rdma.c | 22 * 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 D | mcp77.c | 44 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...] |
/kernel/linux/linux-6.6/include/linux/phy/ |
H A D | phy.h | 15 #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 D | rdma.c | 22 * 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 D | mcp77.c | 44 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...] |
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_pass.c | 159 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 D | vktSynchronizationBasicFenceTests.cpp | 59 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 D | SwapChain9.cpp | 99 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 D | vktSynchronizationBasicFenceTests.cpp | 59 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...] |
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | ac.c | 39 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...] |