Home
last modified time | relevance | path

Searched refs:hdev (Results 1 – 15 of 15) sorted by relevance

/device/soc/rockchip/common/sdk_linux/drivers/hid/
Dhid-core.c1819 bool hid_match_one_id(const struct hid_device *hdev, const struct hid_device_id *id) in hid_match_one_id() argument
1821 return (id->bus == HID_BUS_ANY || id->bus == hdev->bus) && in hid_match_one_id()
1822 (id->group == HID_GROUP_ANY || id->group == hdev->group) && in hid_match_one_id()
1823 (id->vendor == HID_ANY_ID || id->vendor == hdev->vendor) && in hid_match_one_id()
1824 (id->product == HID_ANY_ID || id->product == hdev->product); in hid_match_one_id()
1827 const struct hid_device_id *hid_match_id(const struct hid_device *hdev, const struct hid_device_id … in hid_match_id() argument
1830 if (hid_match_one_id(hdev, id)) { in hid_match_id()
1842 static bool hid_hiddev(struct hid_device *hdev) in hid_hiddev() argument
1844 return !!hid_match_id(hdev, hid_hiddev_list); in hid_hiddev()
1851 struct hid_device *hdev = to_hid_device(dev); in read_report_descriptor() local
[all …]
Dhid-input.c307 static unsigned find_battery_quirk(struct hid_device *hdev) in find_battery_quirk() argument
312 match = hid_match_id(hdev, hid_battery_quirks); in find_battery_quirk()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/bluetooth/
Drtk_btusb.c132 struct hci_dev *hdev; member
591 struct hci_dev *hdev; in hci_dev_open() local
596 hdev = hci_dev_get(dev); in hci_dev_open()
597 if (!hdev) { in hci_dev_open()
602 if (test_bit(HCI_UNREGISTER, &hdev->flags)) { in hci_dev_open()
607 if (test_bit(HCI_UP, &hdev->flags)) { in hci_dev_open()
616 static int hci_dev_do_close(struct hci_dev *hdev) in hci_dev_do_close() argument
618 if (hdev->flush) in hci_dev_do_close()
619 hdev->flush(hdev); in hci_dev_do_close()
622 hdev->close(hdev); in hci_dev_do_close()
[all …]
Drtk_btusb.h115 #define HDEV_BUS hdev->bus
118 #define HDEV_BUS hdev->type
448 int (*open)(struct hci_dev *hdev);
449 int (*close)(struct hci_dev *hdev);
450 int (*flush)(struct hci_dev *hdev);
453 void (*destruct)(struct hci_dev *hdev);
456 void (*notify)(struct hci_dev *hdev, unsigned int evt);
457 int (*ioctl)(struct hci_dev *hdev, unsigned int cmd, unsigned long arg);
474 static inline void *hci_get_drvdata(struct hci_dev *hdev) in hci_get_drvdata() argument
476 return dev_get_drvdata(&hdev->dev); in hci_get_drvdata()
[all …]
Dbcm_btlpm.c415 struct hci_dev *hdev = (struct hci_dev *) data; in bluesleep_hci_event() local
419 if (!hdev) in bluesleep_hci_event()
425 bluesleep_hdev = hdev; in bluesleep_hci_event()
426 hu = (struct hci_uart *) hdev->driver_data; in bluesleep_hci_event()
/device/soc/allwinner/t507/patches/hdf/linux-5.10/
Dhdf.patch229 +static void notify_connect_event(struct hid_device *hdev)
238 + type = check_mouse(hdev->name)?HID_TYPE_MOUSE:type;
239 + type = check_kbd(hdev->name)?HID_TYPE_KEYBOARD:type;
240 + type = check_rocker(hdev->name)?HID_TYPE_ROCKER:type;
241 + type = check_encoder(hdev->name)?HID_TYPE_ENCODER:type;
242 + type = check_trackball(hdev->name)?HID_TYPE_TRACKBALL:type;
250 + dev->devName = hdev->name;
251 + hdev->input_dev = HidRegisterHdfInputDev(dev);
252 + if (hdev->input_dev == NULL) {
260 int hid_connect(struct hid_device *hdev, unsigned int connect_mask)
[all …]
/device/board/hihope/dayu210/kernel/kernel_patch/linux-5.10/dayu210_patch/
Dhdf.patch162 +static void notify_connect_event(struct hid_device *hdev)
171 + type = check_mouse(hdev->name)?HID_TYPE_MOUSE:type;
172 + type = check_kbd(hdev->name)?HID_TYPE_KEYBOARD:type;
173 + type = check_rocker(hdev->name)?HID_TYPE_ROCKER:type;
174 + type = check_encoder(hdev->name)?HID_TYPE_ENCODER:type;
175 + type = check_trackball(hdev->name)?HID_TYPE_TRACKBALL:type;
186 + dev->devName = hdev->name;
187 + hdev->input_dev = HidRegisterHdfInputDev(dev);
188 + if (hdev->input_dev == NULL) {
196 int hid_connect(struct hid_device *hdev, unsigned int connect_mask)
[all …]
Dkernel.patch60616 - } else if (hub_is_superspeed(hub->hdev))
60625 if (portchange || (hub_is_superspeed(hub->hdev) &&
60635 if (hdev->parent) { /* normal device */
60636 - usb_enable_autosuspend(hdev);
60637 + if (!(hdev->parent->quirks & USB_QUIRK_AUTO_SUSPEND))
60638 + usb_enable_autosuspend(hdev);
60640 const struct hc_driver *drv = bus_to_hcd(hdev->bus)->driver;
60720 if (hcd->driver->relinquish_port && !hub->hdev->parent) {
70352 …-5119,6 +5104,15 @@ static int xhci_update_hub_device(struct usb_hcd *hcd, struct usb_device *hdev,
70356 + ret = xhci_vendor_sync_dev_ctx(xhci, hdev->slot_id);
[all …]
/device/soc/rockchip/common/sdk_linux/net/bluetooth/
Dsco.c127 struct hci_dev *hdev = hcon->hdev; in sco_conn_add() local
145 if (hdev->sco_mtu > 0) { in sco_conn_add()
146 conn->mtu = hdev->sco_mtu; in sco_conn_add()
243 static int sco_connect(struct hci_dev *hdev, struct sock *sk) in sco_connect() argument
251 if (lmp_esco_capable(hdev) && !disable_esco) { in sco_connect()
257 …i(sk)->setting == BT_VOICE_TRANSPARENT && (!lmp_transp_capable(hdev) || !lmp_esco_capable(hdev))) { in sco_connect()
261 hcon = hci_connect_sco(hdev, type, &sco_pi(sk)->dst, sco_pi(sk)->setting); in sco_connect()
578 struct hci_dev *hdev; in sco_sock_connect() local
597 hdev = hci_get_route(&sa->sco_bdaddr, &sco_pi(sk)->src, BDADDR_BREDR); in sco_sock_connect()
598 if (!hdev) { in sco_sock_connect()
[all …]
Dl2cap_sock.c1031 if (!conn || !lmp_no_flush_capable(conn->hcon->hdev)) { in l2cap_sock_setsockopt()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/media/vout/hdmi_tx/
Dhdmi_tx_ddc.h87 void scdc_config(struct hdmitx_dev *hdev);
89 int scdc_status_flags(struct hdmitx_dev *hdev);
Dhdmi_tx_module.h663 bool hdmitx_edid_check_valid_mode(struct hdmitx_dev *hdev,
706 int hdmitx_construct_vsif(struct hdmitx_dev *hdev, enum vsif_type type, int on,
797 extern void hdmitx_hdcp_do_work(struct hdmitx_dev *hdev);
890 extern void vsem_init_cfg(struct hdmitx_dev *hdev);
/device/board/hihope/rk3568/audio_drivers/codec/rk809_codec/include/
Drk809_codec_impl.h38 struct HdfDeviceObject *hdev; member
/device/board/kaihong/khdvk_3566b/kernel/audio/codec/rk809_codec/include/
Drk809_codec_impl.h38 struct HdfDeviceObject *hdev; member
/device/soc/rockchip/rk3588/kernel/include/linux/usb/
Dhcd.h398 int (*update_hub_device)(struct usb_hcd *, struct usb_device *hdev,
519 extern void usb_wakeup_notification(struct usb_device *hdev,