Home
last modified time | relevance | path

Searched refs:device (Results 851 - 875 of 29939) sorted by relevance

1...<<31323334353637383940>>...1198

/kernel/linux/linux-6.6/drivers/block/drbd/
H A Ddrbd_polymorph_printk.h15 #define __drbd_printk_drbd_device_prep(device) \
16 const struct drbd_device *__d = (device); \
25 __d = (peer_device)->device; \
97 #define drbd_emerg(device, fmt, args...) \
98 drbd_printk(KERN_EMERG, device, fmt, ## args)
99 #define drbd_alert(device, fmt, args...) \
100 drbd_printk(KERN_ALERT, device, fmt, ## args)
101 #define drbd_crit(device, fmt, args...) \
102 drbd_printk(KERN_CRIT, device, fmt, ## args)
103 #define drbd_err(device, fm
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dg84.c119 struct nvkm_device *device = subdev->device; in g84_gr_tlb_flush() local
120 struct nvkm_timer *tmr = device->timer; in g84_gr_tlb_flush()
128 nvkm_mask(device, 0x400500, 0x00000001, 0x00000000); in g84_gr_tlb_flush()
134 for (tmp = nvkm_rd32(device, 0x400380); tmp && idle; tmp >>= 3) { in g84_gr_tlb_flush()
139 for (tmp = nvkm_rd32(device, 0x400384); tmp && idle; tmp >>= 3) { in g84_gr_tlb_flush()
144 for (tmp = nvkm_rd32(device, 0x400388); tmp && idle; tmp >>= 3) { in g84_gr_tlb_flush()
154 tmp = nvkm_rd32(device, 0x400700); in g84_gr_tlb_flush()
159 nvkm_rd32(device, 0x400380)); in g84_gr_tlb_flush()
161 nvkm_rd32(device, in g84_gr_tlb_flush()
195 g84_gr_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_gr **pgr) g84_gr_new() argument
[all...]
/third_party/libinput/udev/
H A Dlibinput-device-group.c37 wacom_handle_paired(struct udev_device *device, in wacom_handle_paired() argument
94 wacom_handle_ekr(struct udev_device *device, in wacom_handle_ekr() argument
104 udev = udev_device_get_udev(device); in wacom_handle_ekr()
116 /* Find and use the closest Wacom device on the system, in wacom_handle_ekr()
134 dist = find_tree_distance(device, d); in wacom_handle_ekr()
156 struct udev_device *device = NULL; in main() local
173 device = udev_device_new_from_syspath(udev, syspath); in main()
174 if (!device) in main()
179 * bit and use the remainder as device group identifier */ in main()
180 while (device ! in main()
[all...]
/third_party/backends/backend/
H A Dumax.c59 . - sane_open() : open a particular scanner-device and attach_scanner(devicename,&dev)
75 . - sane_close() : close opened scanner-device, do_cancel, free buffer and handle
76 - sane_exit() : terminate use of backend, free devicename and device-struture
214 static int umax_handle_bad_sense_error = 0; /* default: handle bad sense error code as device busy */
353 DBG(DBG_inquiry,"peripheral device type........: %d\n", get_inquiry_periph_devtype(inquiry_block)); in umax_print_inquiry()
1019 DBG(DBG_sense, "-> power on, reset or bus device reset\n"); in sense_handler()
1087 if (scanner->device->inquiry_analog_gamma) in umax_set_rgb_bind()
1094 if (scanner->device->inquiry_highlight) in umax_set_rgb_bind()
1101 if (scanner->device->inquiry_shadow) in umax_set_rgb_bind()
1111 if (scanner->device in umax_set_rgb_bind()
[all...]
/third_party/mesa3d/src/virtio/vulkan/
H A Dvn_queue.c27 vn_GetDeviceQueue2(VkDevice device, in vn_GetDeviceQueue2() argument
31 struct vn_device *dev = vn_device_from_handle(device); in vn_GetDeviceQueue2()
124 const VkAllocationCallbacks *alloc = &queue->device->base.base.alloc; in vn_queue_submission_alloc_storage()
202 vn_semaphore_reset_wsi(queue->device, sem); in vn_queue_submission_filter_batch_wsi_semaphores()
310 const VkAllocationCallbacks *alloc = &queue->device->base.base.alloc; in vn_queue_submission_cleanup()
318 for (uint32_t i = 0; i < queue->device->queue_family_count; i++) { in vn_queue_family_array_index()
319 if (queue->device->queue_families[i] == queue->family) in vn_queue_family_array_index()
355 struct vn_device *dev = queue->device; in vn_QueueSubmit()
457 struct vn_device *dev = queue->device; in vn_QueueBindSparse()
486 VkDevice device in vn_QueueWaitIdle() local
612 vn_CreateFence(VkDevice device, const VkFenceCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkFence *pFence) vn_CreateFence() argument
666 vn_DestroyFence(VkDevice device, VkFence _fence, const VkAllocationCallbacks *pAllocator) vn_DestroyFence() argument
691 vn_ResetFences(VkDevice device, uint32_t fenceCount, const VkFence *pFences) vn_ResetFences() argument
719 vn_GetFenceStatus(VkDevice device, VkFence _fence) vn_GetFenceStatus() argument
758 vn_find_first_signaled_fence(VkDevice device, const VkFence *fences, uint32_t count) vn_find_first_signaled_fence() argument
771 vn_remove_signaled_fences(VkDevice device, VkFence *fences, uint32_t *count) vn_remove_signaled_fences() argument
807 vn_WaitForFences(VkDevice device, uint32_t fenceCount, const VkFence *pFences, VkBool32 waitAll, uint64_t timeout) vn_WaitForFences() argument
880 vn_ImportFenceFdKHR(VkDevice device, const VkImportFenceFdInfoKHR *pImportFenceFdInfo) vn_ImportFenceFdKHR() argument
907 vn_GetFenceFdKHR(VkDevice device, const VkFenceGetFdInfoKHR *pGetFdInfo, int *pFd) vn_GetFenceFdKHR() argument
974 vn_CreateSemaphore(VkDevice device, const VkSemaphoreCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSemaphore *pSemaphore) vn_CreateSemaphore() argument
1018 vn_DestroySemaphore(VkDevice device, VkSemaphore semaphore, const VkAllocationCallbacks *pAllocator) vn_DestroySemaphore() argument
1041 vn_GetSemaphoreCounterValue(VkDevice device, VkSemaphore semaphore, uint64_t *pValue) vn_GetSemaphoreCounterValue() argument
1056 vn_SignalSemaphore(VkDevice device, const VkSemaphoreSignalInfo *pSignalInfo) vn_SignalSemaphore() argument
1071 vn_find_first_signaled_semaphore(VkDevice device, const VkSemaphore *semaphores, const uint64_t *values, uint32_t count) vn_find_first_signaled_semaphore() argument
1087 vn_remove_signaled_semaphores(VkDevice device, VkSemaphore *semaphores, uint64_t *values, uint32_t *count) vn_remove_signaled_semaphores() argument
1108 vn_WaitSemaphores(VkDevice device, const VkSemaphoreWaitInfo *pWaitInfo, uint64_t timeout) vn_WaitSemaphores() argument
1160 vn_ImportSemaphoreFdKHR( VkDevice device, const VkImportSemaphoreFdInfoKHR *pImportSemaphoreFdInfo) vn_ImportSemaphoreFdKHR() argument
1188 vn_GetSemaphoreFdKHR(VkDevice device, const VkSemaphoreGetFdInfoKHR *pGetFdInfo, int *pFd) vn_GetSemaphoreFdKHR() argument
1249 vn_CreateEvent(VkDevice device, const VkEventCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkEvent *pEvent) vn_CreateEvent() argument
1283 vn_DestroyEvent(VkDevice device, VkEvent event, const VkAllocationCallbacks *pAllocator) vn_DestroyEvent() argument
1305 vn_GetEventStatus(VkDevice device, VkEvent event) vn_GetEventStatus() argument
1321 vn_SetEvent(VkDevice device, VkEvent event) vn_SetEvent() argument
1340 vn_ResetEvent(VkDevice device, VkEvent event) vn_ResetEvent() argument
[all...]
/drivers/hdf_core/framework/test/unittest/platform/virtual/
H A Di3c_virtual.c179 struct I3cDevice *device = NULL; in VirtualI3cHotJoin() local
183 device = (struct I3cDevice *)OsalMemCalloc(sizeof(*device)); in VirtualI3cHotJoin()
184 if (device == NULL) { in VirtualI3cHotJoin()
185 HDF_LOGE("VirtualI3cHotJoin: device is null!"); in VirtualI3cHotJoin()
188 device->cntlr = &virtual->cntlr; in VirtualI3cHotJoin()
189 device->addr = deviceAddr; in VirtualI3cHotJoin()
190 device->type = I3C_CNTLR_I3C_DEVICE; in VirtualI3cHotJoin()
191 device->supportIbi = I3C_DEVICE_SUPPORT_IBI; in VirtualI3cHotJoin()
192 ret = I3cDeviceAdd(device); in VirtualI3cHotJoin()
228 struct I3cDevice *device = NULL; I3cIbiHandle() local
332 VirtualI3cParseAndInit(struct HdfDeviceObject *device, const struct DeviceResourceNode *node) VirtualI3cParseAndInit() argument
369 VirtualI3cInit(struct HdfDeviceObject *device) VirtualI3cInit() argument
420 VirtualI3cRelease(struct HdfDeviceObject *device) VirtualI3cRelease() argument
[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/device_manager/
H A Ddevice_manager_test.cpp32 void MockInit(OHOS::sptr<V2_0::MockIDevice> device, const std::vector<int32_t>& typeVect,
36 void DeviceManagerTest::MockInit(OHOS::sptr<V2_0::MockIDevice> device, const std::vector<int32_t>& typeVect, in MockInit() argument
42 EXPECT_CALL(*device, GetDeviceName(::testing::_)) in MockInit()
46 EXPECT_CALL(*device, GetVendorName(::testing::_)) in MockInit()
51 EXPECT_CALL(*device, GetDeviceStatus(::testing::_)) in MockInit()
57 EXPECT_CALL(*device, GetVersion(::testing::_, ::testing::_)) in MockInit()
95 * @tc.desc: Verify the GetDevice function validate device name return specified device name.
121 OHOS::sptr<V2_0::MockIDevice> device = OHOS::sptr<V2_0::MockIDevice>(new (std::nothrow) V2_0::MockIDevice()); in HWTEST_F() local
122 EXPECT_NE(device in HWTEST_F()
157 OHOS::sptr<V2_0::MockIDevice> device = OHOS::sptr<V2_0::MockIDevice>(new (std::nothrow) V2_0::MockIDevice()); HWTEST_F() local
179 OHOS::sptr<V2_0::MockIDevice> device = OHOS::sptr<V2_0::MockIDevice>(new (std::nothrow) V2_0::MockIDevice()); HWTEST_F() local
201 OHOS::sptr<V2_0::MockIDevice> device = OHOS::sptr<V2_0::MockIDevice>(new (std::nothrow) V2_0::MockIDevice()); HWTEST_F() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_hid_host_server.cpp35 void OnConnectionStateChanged(const RawAddress &device, int state) override
38 HILOGI("addr:%{public}s, state:%{public}d", GET_ENCRYPT_ADDR(device), state);
39 observers_->ForEach([device, state](sptr<IBluetoothHidHostObserver> observer) {
40 observer->OnConnectionStateChanged(device, state,
195 for (auto &device : serviceDeviceList) { in GetDevicesByStates()
196 BluetoothRawAddress bluetoothDevice(device.GetAddress()); in GetDevicesByStates()
203 int32_t BluetoothHidHostServer::GetDeviceState(const BluetoothRawAddress &device, int32_t &state) in GetDeviceState() argument
205 HILOGI("start, addr:%{public}s", GET_ENCRYPT_ADDR(device)); in GetDeviceState()
214 state = pimpl->hidHostService_->GetDeviceState(device); in GetDeviceState()
219 int32_t BluetoothHidHostServer::Connect(const BluetoothRawAddress &device) in Connect() argument
237 Disconnect(const BluetoothRawAddress &device) Disconnect() argument
255 HidHostVCUnplug(std::string &device, uint8_t &id, uint16_t &size, uint8_t &type, int& result) HidHostVCUnplug() argument
272 HidHostSendData(std::string &device, uint8_t &id, uint16_t &size, uint8_t &type, int& result) HidHostSendData() argument
289 HidHostSetReport(std::string &device, uint8_t &type, std::string &report, int& result) HidHostSetReport() argument
311 HidHostGetReport(std::string &device, uint8_t &id, uint16_t &size, uint8_t &type, int& result) HidHostGetReport() argument
328 SetConnectStrategy(const BluetoothRawAddress &device, int strategy) SetConnectStrategy() argument
338 GetConnectStrategy(const BluetoothRawAddress &device, int &strategy) GetConnectStrategy() argument
[all...]
/foundation/multimedia/audio_framework/frameworks/cj/src/
H A Dmultimedia_audio_common.cpp77 CDeviceDescriptor *device = static_cast<CDeviceDescriptor *>(malloc(sizeof(CDeviceDescriptor) * deviceSize)); in Convert2CArrDeviceDescriptorByDeviceInfo() local
78 if (device == nullptr) { in Convert2CArrDeviceDescriptorByDeviceInfo()
83 Convert2CDeviceDescriptor(&(device[i]), deviceInfo, errorCode); in Convert2CArrDeviceDescriptorByDeviceInfo()
85 devices.head = device; in Convert2CArrDeviceDescriptorByDeviceInfo()
89 void InitializeDeviceRatesAndChannels(CDeviceDescriptor *device, const DeviceInfo &deviceInfo, int32_t *errorCode) in InitializeDeviceRatesAndChannels() argument
107 device->sampleRates.size = rateSize; in InitializeDeviceRatesAndChannels()
108 device->sampleRates.head = rates; in InitializeDeviceRatesAndChannels()
125 device->channelCounts.size = channelSize; in InitializeDeviceRatesAndChannels()
126 device->channelCounts.head = channels; in InitializeDeviceRatesAndChannels()
129 void Convert2CDeviceDescriptor(CDeviceDescriptor *device, cons argument
169 CDeviceDescriptor *device = static_cast<CDeviceDescriptor *>(malloc(sizeof(CDeviceDescriptor) * devices.size)); Convert2CArrDeviceDescriptor() local
[all...]
/foundation/communication/bluetooth_service/test/unittest/gatt/
H A Dgatt_client_test.cpp121 BluetoothRemoteDevice device; in HWTEST_F() local
122 GattClient client(device); in HWTEST_F()
133 BluetoothRemoteDevice device; in HWTEST_F() local
134 GattClient client(device); in HWTEST_F()
150 BluetoothRemoteDevice device; in HWTEST_F() local
151 GattClient client(device); in HWTEST_F()
168 BluetoothRemoteDevice device; in HWTEST_F() local
169 GattClient client(device); in HWTEST_F()
186 BluetoothRemoteDevice device; in HWTEST_F() local
187 GattClient client(device); in HWTEST_F()
209 BluetoothRemoteDevice device; HWTEST_F() local
226 BluetoothRemoteDevice device; HWTEST_F() local
248 BluetoothRemoteDevice device; HWTEST_F() local
269 BluetoothRemoteDevice device; HWTEST_F() local
288 BluetoothRemoteDevice device; HWTEST_F() local
311 BluetoothRemoteDevice device; HWTEST_F() local
333 BluetoothRemoteDevice device; HWTEST_F() local
354 BluetoothRemoteDevice device; HWTEST_F() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A Dscsi_pm.c23 static int do_scsi_suspend(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_suspend()
28 static int do_scsi_freeze(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_freeze()
33 static int do_scsi_poweroff(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_poweroff()
38 static int do_scsi_resume(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_resume()
43 static int do_scsi_thaw(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_thaw()
48 static int do_scsi_restore(struct device *dev, const struct dev_pm_ops *pm) in do_scsi_restore()
53 static int scsi_dev_type_suspend(struct device *dev, in scsi_dev_type_suspend()
54 int (*cb)(struct device *, const struct dev_pm_ops *)) in scsi_dev_type_suspend()
72 static int scsi_dev_type_resume(struct device *dev, in scsi_dev_type_resume()
73 int (*cb)(struct device *, cons in scsi_dev_type_resume()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Ddmanv04.c39 struct nvkm_instmem *imem = chan->fifo->base.engine.subdev.device->imem; in nv04_fifo_dma_object_dtor()
51 struct nvkm_instmem *imem = chan->fifo->base.engine.subdev.device->imem; in nv04_fifo_dma_object_ctor()
78 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv04_fifo_dma_fini() local
79 struct nvkm_memory *fctx = device->imem->ramfc; in nv04_fifo_dma_fini()
88 nvkm_wr32(device, NV03_PFIFO_CACHES, 0); in nv04_fifo_dma_fini()
91 chid = nvkm_rd32(device, NV03_PFIFO_CACHE1_PUSH1) & mask; in nv04_fifo_dma_fini()
93 nvkm_mask(device, NV04_PFIFO_CACHE1_DMA_PUSH, 0x00000001, 0); in nv04_fifo_dma_fini()
94 nvkm_wr32(device, NV03_PFIFO_CACHE1_PUSH0, 0); in nv04_fifo_dma_fini()
95 nvkm_mask(device, NV04_PFIFO_CACHE1_PULL in nv04_fifo_dma_fini()
131 struct nvkm_device *device = fifo->base.engine.subdev.device; nv04_fifo_dma_init() local
174 struct nvkm_device *device = fifo->base.engine.subdev.device; nv04_fifo_dma_new() local
[all...]
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dintel-vbtn.c75 static void detect_tablet_mode(struct platform_device *device) in detect_tablet_mode() argument
77 struct intel_vbtn_priv *priv = dev_get_drvdata(&device->dev); in detect_tablet_mode()
78 acpi_handle handle = ACPI_HANDLE(&device->dev); in detect_tablet_mode()
93 static int intel_vbtn_input_setup(struct platform_device *device) in intel_vbtn_input_setup() argument
95 struct intel_vbtn_priv *priv = dev_get_drvdata(&device->dev); in intel_vbtn_input_setup()
114 priv->input_dev = devm_input_allocate_device(&device->dev); in intel_vbtn_input_setup()
122 priv->input_dev->dev.parent = &device->dev; in intel_vbtn_input_setup()
127 detect_tablet_mode(device); in intel_vbtn_input_setup()
134 struct platform_device *device = context; in notify_handler() local
135 struct intel_vbtn_priv *priv = dev_get_drvdata(&device in notify_handler()
248 intel_vbtn_probe(struct platform_device *device) intel_vbtn_probe() argument
295 intel_vbtn_remove(struct platform_device *device) intel_vbtn_remove() argument
[all...]
/drivers/hdf_core/adapter/platform/uart/
H A Duart_bes.c271 static int32_t InitUartCtxCfg(const struct UartDevice *device) in InitUartCtxCfg() argument
275 if (device == NULL) { in InitUartCtxCfg()
279 uartCfg = &device->config; in InitUartCtxCfg()
284 uartId = device->uartId; in InitUartCtxCfg()
314 static void HalUartHandlerInit(struct UartDevice *device) in HalUartHandlerInit() argument
319 if (device == NULL) { in HalUartHandlerInit()
324 uartId = device->uartId; in HalUartHandlerInit()
329 ret = InitUartCtxCfg(device); in HalUartHandlerInit()
361 static void UartStart(struct UartDevice *device) in UartStart() argument
365 if (device in UartStart()
482 GetUartDeviceResource(struct UartDevice *device, const char *deviceMatchAttr) GetUartDeviceResource() argument
510 GetUartDeviceResource( struct UartDevice *device, const struct DeviceResourceNode *resourceNode) GetUartDeviceResource() argument
566 AttachUartDevice(struct UartHost *uartHost, struct HdfDeviceObject *device) global() argument
599 UartDriverBind(struct HdfDeviceObject *device) global() argument
618 UartDriverRelease(struct HdfDeviceObject *device) global() argument
646 UartDriverInit(struct HdfDeviceObject *device) global() argument
709 struct UartDevice *device = NULL; global() local
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Ddmaengine.h8 #include <linux/device.h>
302 * @dev: pointer to the DMA router device
306 struct device *dev;
307 void (*route_free)(struct device *dev, void *route_data);
312 * @device: ptr to the dma device who supplies this channel, always !%NULL
313 * @slave: ptr to the device using this channel
317 * @dev: class device for sysfs
321 * @device_node: used to add this to the device chan list
330 struct dma_device *device; member
363 struct device device; global() member
[all...]
/drivers/peripheral/sensor/chipset/hall/
H A Dhall_ak8789.c50 static int32_t Ak8789BindDriver(struct HdfDeviceObject *device) in Ak8789BindDriver() argument
52 CHECK_NULL_PTR_RETURN_VALUE(device, HDF_ERR_INVALID_PARAM); in Ak8789BindDriver()
61 drvData->device = device; in Ak8789BindDriver()
62 device->service = &drvData->ioService; in Ak8789BindDriver()
68 static int32_t AK8789InitDriver(struct HdfDeviceObject *device) in AK8789InitDriver() argument
72 CHECK_NULL_PTR_RETURN_VALUE(device, HDF_ERR_INVALID_PARAM); in AK8789InitDriver()
73 struct Ak8789DrvData *drvData = (struct Ak8789DrvData *)device->service; in AK8789InitDriver()
82 drvData->sensorCfg = HallCreateCfgData(device->property); in AK8789InitDriver()
98 static void Ak8789ReleaseDriver(struct HdfDeviceObject *device) in Ak8789ReleaseDriver() argument
[all...]
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/
H A Di_bluetooth_hfp_ag.h33 virtual int32_t GetDeviceState(const BluetoothRawAddress &device, int32_t &state) = 0;
34 virtual int32_t Connect(const BluetoothRawAddress &device) = 0;
35 virtual int32_t Disconnect(const BluetoothRawAddress &device) = 0;
36 virtual int GetScoState(const BluetoothRawAddress &device) = 0;
44 virtual bool OpenVoiceRecognition(const BluetoothRawAddress &device) = 0;
45 virtual bool CloseVoiceRecognition(const BluetoothRawAddress &device) = 0;
46 virtual bool SetActiveDevice(const BluetoothRawAddress &device) = 0;
48 virtual bool IntoMock(const BluetoothRawAddress &device, int state) = 0;
49 virtual bool SendNoCarrier(const BluetoothRawAddress &device) = 0;
52 virtual int SetConnectStrategy(const BluetoothRawAddress &device, in
[all...]
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_gatt_server.h57 * @param device Remote device object.
62 virtual void OnConnectionStateUpdate(const BluetoothRemoteDevice &device, int state) = 0;
78 * @param device Remote device object.
85 const BluetoothRemoteDevice &device, GattCharacteristic &characteristic, int requestId) in OnCharacteristicReadRequest()
91 * @param device Remote device object.
98 const BluetoothRemoteDevice &device, GattCharacteristic &characteristic, int requestId) in OnCharacteristicWriteRequest()
104 * @param device Remot
84 OnCharacteristicReadRequest( const BluetoothRemoteDevice &device, GattCharacteristic &characteristic, int requestId) OnCharacteristicReadRequest() argument
97 OnCharacteristicWriteRequest( const BluetoothRemoteDevice &device, GattCharacteristic &characteristic, int requestId) OnCharacteristicWriteRequest() argument
110 OnDescriptorReadRequest(const BluetoothRemoteDevice &device, GattDescriptor &descriptor, int requestId) OnDescriptorReadRequest() argument
122 OnDescriptorWriteRequest( const BluetoothRemoteDevice &device, GattDescriptor &descriptor, int requestId) OnDescriptorWriteRequest() argument
134 OnMtuUpdate(const BluetoothRemoteDevice &device, int mtu) OnMtuUpdate() argument
143 OnNotificationCharacteristicChanged(const BluetoothRemoteDevice &device, int result) OnNotificationCharacteristicChanged() argument
156 OnConnectionParameterChanged( const BluetoothRemoteDevice &device, int interval, int latency, int timeout, int status) OnConnectionParameterChanged() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/server/include/
H A Dbluetooth_hfp_ag_server.h34 int32_t GetDeviceState(const BluetoothRawAddress &device, int32_t &state) override;
35 int32_t Connect(const BluetoothRawAddress &device) override;
36 int32_t Disconnect(const BluetoothRawAddress &device) override;
37 int GetScoState(const BluetoothRawAddress &device) override;
43 bool OpenVoiceRecognition(const BluetoothRawAddress &device) override;
44 bool CloseVoiceRecognition(const BluetoothRawAddress &device) override;
45 bool SetActiveDevice(const BluetoothRawAddress &device) override;
47 bool IntoMock(const BluetoothRawAddress &device, int state) override;
48 bool SendNoCarrier(const BluetoothRawAddress &device) override;
51 int SetConnectStrategy(const BluetoothRawAddress &device, in
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/include/
H A Dinterface_profile_hfp_ag.h61 * @param device Remote device object.
65 virtual void OnConnectionStateChanged(const RawAddress &device, int state) in OnConnectionStateChanged() argument
71 * @param device Remote device object.
75 virtual void OnScoStateChanged(const RawAddress &device, int state, int reason = 0) in OnScoStateChanged() argument
79 * @brief The observer function to notify active device changed.
81 * @param device Remote active device object.
84 virtual void OnActiveDeviceChanged(const RawAddress &device) in OnActiveDeviceChanged() argument
94 OnHfEnhancedDriverSafetyChanged(const RawAddress &device, int indValue) OnHfEnhancedDriverSafetyChanged() argument
104 OnHfBatteryLevelChanged(const RawAddress &device, int indValue) OnHfBatteryLevelChanged() argument
114 OnHfpStackChanged(const RawAddress &device, int action) OnHfpStackChanged() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Drammcp77.c36 struct nvkm_device *device = ram->base.fb->subdev.device; in mcp77_ram_init() local
44 nvkm_wr32(device, 0x100c18, dniso); in mcp77_ram_init()
45 nvkm_mask(device, 0x100c14, 0x00000000, 0x00000001); in mcp77_ram_init()
46 nvkm_wr32(device, 0x100c1c, hostnb); in mcp77_ram_init()
47 nvkm_mask(device, 0x100c14, 0x00000000, 0x00000002); in mcp77_ram_init()
48 nvkm_wr32(device, 0x100c24, flush); in mcp77_ram_init()
49 nvkm_mask(device, 0x100c14, 0x00000000, 0x00010000); in mcp77_ram_init()
61 struct nvkm_device *device = fb->subdev.device; in mcp77_ram_new() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dbusnv4e.c36 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv4e_i2c_bus_drive_scl() local
37 nvkm_mask(device, bus->addr, 0x2f, state ? 0x21 : 0x01); in nv4e_i2c_bus_drive_scl()
44 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv4e_i2c_bus_drive_sda() local
45 nvkm_mask(device, bus->addr, 0x1f, state ? 0x11 : 0x01); in nv4e_i2c_bus_drive_sda()
52 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv4e_i2c_bus_sense_scl() local
53 return !!(nvkm_rd32(device, bus->addr) & 0x00040000); in nv4e_i2c_bus_sense_scl()
60 struct nvkm_device *device in nv4e_i2c_bus_sense_sda() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dbusnv4e.c36 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv4e_i2c_bus_drive_scl() local
37 nvkm_mask(device, bus->addr, 0x2f, state ? 0x21 : 0x01); in nv4e_i2c_bus_drive_scl()
44 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv4e_i2c_bus_drive_sda() local
45 nvkm_mask(device, bus->addr, 0x1f, state ? 0x11 : 0x01); in nv4e_i2c_bus_drive_sda()
52 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv4e_i2c_bus_sense_scl() local
53 return !!(nvkm_rd32(device, bus->addr) & 0x00040000); in nv4e_i2c_bus_sense_scl()
60 struct nvkm_device *device in nv4e_i2c_bus_sense_sda() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Drammcp77.c36 struct nvkm_device *device = ram->base.fb->subdev.device; in mcp77_ram_init() local
44 nvkm_wr32(device, 0x100c18, dniso); in mcp77_ram_init()
45 nvkm_mask(device, 0x100c14, 0x00000000, 0x00000001); in mcp77_ram_init()
46 nvkm_wr32(device, 0x100c1c, hostnb); in mcp77_ram_init()
47 nvkm_mask(device, 0x100c14, 0x00000000, 0x00000002); in mcp77_ram_init()
48 nvkm_wr32(device, 0x100c24, flush); in mcp77_ram_init()
49 nvkm_mask(device, 0x100c14, 0x00000000, 0x00010000); in mcp77_ram_init()
61 struct nvkm_device *device = fb->subdev.device; in mcp77_ram_new() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c13 static int hisi_sas_softreset_ata_disk(struct domain_device *device);
17 struct domain_device *device);
18 static void hisi_sas_dev_gone(struct domain_device *device);
135 static struct hisi_hba *dev_to_hisi_hba(struct domain_device *device) in dev_to_hisi_hba() argument
137 return device->port->ha->lldd_ha; in dev_to_hisi_hba()
214 struct device *dev = hisi_hba->dev; in hisi_sas_slot_task_free()
283 struct device *dev = hisi_hba->dev; in hisi_sas_dma_unmap()
299 struct device *dev = hisi_hba->dev; in hisi_sas_dma_map()
347 struct device *dev = hisi_hba->dev; in hisi_sas_dif_dma_unmap()
362 struct device *de in hisi_sas_dif_dma_map()
464 struct domain_device *device = task->dev; hisi_sas_queue_command() local
657 hisi_sas_alloc_dev(struct domain_device *device) hisi_sas_alloc_dev() argument
742 struct domain_device *device = task->dev; hisi_sas_tmf_aborted() local
759 hisi_sas_init_device(struct domain_device *device) hisi_sas_init_device() argument
826 hisi_sas_dev_found(struct domain_device *device) hisi_sas_dev_found() argument
1101 hisi_sas_release_task(struct hisi_hba *hisi_hba, struct domain_device *device) hisi_sas_release_task() argument
1117 struct domain_device *device; hisi_sas_release_tasks() local
1133 hisi_sas_dereg_device(struct hisi_hba *hisi_hba, struct domain_device *device) hisi_sas_dereg_device() argument
1145 struct domain_device *device = sas_dev->sas_device; hisi_sas_internal_task_abort_dev() local
1163 hisi_sas_dev_gone(struct domain_device *device) hisi_sas_dev_gone() argument
1304 hisi_sas_softreset_ata_disk(struct domain_device *device) hisi_sas_softreset_ata_disk() argument
1350 struct domain_device *device = sas_dev->sas_device; hisi_sas_refresh_port_id() local
1419 struct domain_device *device; hisi_sas_reset_init_all_devices() local
1433 hisi_sas_send_ata_reset_each_phy(struct hisi_hba *hisi_hba, struct asd_sas_port *sas_port, struct domain_device *device) hisi_sas_send_ata_reset_each_phy() argument
1469 struct domain_device *device = sas_dev->sas_device; hisi_sas_terminate_stp_reject() local
1483 struct domain_device *device; hisi_sas_terminate_stp_reject() local
1611 struct domain_device *device = task->dev; hisi_sas_abort_task() local
1719 hisi_sas_abort_task_set(struct domain_device *device, u8 *lun) hisi_sas_abort_task_set() argument
1740 hisi_sas_debug_I_T_nexus_reset(struct domain_device *device) hisi_sas_debug_I_T_nexus_reset() argument
1804 hisi_sas_I_T_nexus_reset(struct domain_device *device) hisi_sas_I_T_nexus_reset() argument
1854 hisi_sas_lu_reset(struct domain_device *device, u8 *lun) hisi_sas_lu_reset() argument
1893 struct domain_device *device = data; hisi_sas_async_I_T_nexus_reset() local
1917 struct domain_device *device = sas_dev->sas_device; hisi_sas_clear_nexus_ha() local
1960 struct domain_device *device = task->dev; hisi_sas_internal_abort_timeout() local
[all...]

Completed in 24 milliseconds

1...<<31323334353637383940>>...1198