/openbmc/linux/drivers/hid/ |
H A D | hid-cherry.c | 25 static __u8 *ch_report_fixup(struct hid_device *hdev, __u8 *rdesc, in ch_report_fixup() argument 29 hid_info(hdev, "fixing up Cherry Cymotion report descriptor\n"); in ch_report_fixup() 38 static int ch_input_mapping(struct hid_device *hdev, struct hid_input *hi, in ch_input_mapping() argument
|
H A D | hid-tmff.c | 213 static int tm_probe(struct hid_device *hdev, const struct hid_device_id *id) in tm_probe() argument 217 ret = hid_parse(hdev); in tm_probe() 219 hid_err(hdev, "parse failed\n"); in tm_probe() 223 ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT & ~HID_CONNECT_FF); in tm_probe() 225 hid_err(hdev, "hw start failed\n"); in tm_probe() 229 tmff_init(hdev, (void *)id->driver_data); in tm_probe()
|
H A D | hid-gembird.c | 60 static __u8 *gembird_report_fixup(struct hid_device *hdev, __u8 *rdesc, in gembird_report_fixup() argument 72 new_rdesc = devm_kzalloc(&hdev->dev, new_size, GFP_KERNEL); in gembird_report_fixup() 76 dev_info(&hdev->dev, in gembird_report_fixup()
|
H A D | wacom_wac.c | 2197 if (hdev->vendor == 0x56a && in wacom_wac_pad_event() 2198 (hdev->product == 0x34d || hdev->product == 0x34e || /* MobileStudio Pro */ in wacom_wac_pad_event() 2199 hdev->product == 0x357 || hdev->product == 0x358 || /* Intuos Pro 2 */ in wacom_wac_pad_event() 2201 hdev->product == 0x398 || hdev->product == 0x399 || /* MobileStudio Pro */ in wacom_wac_pad_event() 2205 if (hdev->product == 0x357 || hdev->product == 0x358 || in wacom_wac_pad_event() 2206 hdev->product == 0x392) in wacom_wac_pad_event() 2208 else if (hdev->product == 0x34d || hdev->product == 0x34e || in wacom_wac_pad_event() 2209 hdev->product == 0x398 || hdev->product == 0x399 || in wacom_wac_pad_event() 2210 hdev->product == 0x3AA) in wacom_wac_pad_event() 2948 wacom_wac_pen_report(hdev, report); in wacom_wac_collection() [all …]
|
H A D | hid-ezkey.c | 25 static int ez_input_mapping(struct hid_device *hdev, struct hid_input *hi, in ez_input_mapping() argument 47 static int ez_event(struct hid_device *hdev, struct hid_field *field, in ez_event() argument 50 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || in ez_event()
|
H A D | hid-waltop.c | 602 static __u8 *waltop_report_fixup(struct hid_device *hdev, __u8 *rdesc, in waltop_report_fixup() argument 605 switch (hdev->product) { in waltop_report_fixup() 652 static int waltop_raw_event(struct hid_device *hdev, struct hid_report *report, in waltop_raw_event() argument 671 if (hdev->product == USB_DEVICE_ID_WALTOP_SIRIUS_BATTERY_FREE_TABLET && in waltop_raw_event()
|
H A D | hid-uclogic-params.h | 184 struct hid_device *hdev; member 260 struct hid_device *hdev); 271 extern void uclogic_params_hid_dbg(const struct hid_device *hdev,
|
H A D | hid-gyration.c | 24 static int gyration_input_mapping(struct hid_device *hdev, struct hid_input *hi, in gyration_input_mapping() argument 54 static int gyration_event(struct hid_device *hdev, struct hid_field *field, in gyration_event() argument 58 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput) in gyration_event()
|
H A D | wacom.h | 161 struct hid_device *hdev; member 230 void wacom_wac_usage_mapping(struct hid_device *hdev, 232 void wacom_wac_event(struct hid_device *hdev, struct hid_field *field, 234 void wacom_wac_report(struct hid_device *hdev, struct hid_report *report);
|
H A D | hid-picolcd_lcd.c | 29 struct hid_report *report = picolcd_out_report(REPORT_CONTRAST, data->hdev); in picolcd_set_contrast() 39 hid_hw_request(data->hdev, report, HID_REQ_SET_REPORT); in picolcd_set_contrast() 57 struct device *dev = &data->hdev->dev; in picolcd_init_lcd()
|
H A D | hid-semitek.c | 14 static __u8 *semitek_report_fixup(struct hid_device *hdev, __u8 *rdesc, in semitek_report_fixup() argument 21 hid_info(hdev, "fixing up Semitek report descriptor\n"); in semitek_report_fixup()
|
H A D | hid-aureal.c | 21 static __u8 *aureal_report_fixup(struct hid_device *hdev, __u8 *rdesc, in aureal_report_fixup() argument 25 dev_info(&hdev->dev, "fixing Aureal Cy se W-01RN USB_V3.1 report descriptor.\n"); in aureal_report_fixup()
|
H A D | hid-redragon.c | 36 static __u8 *redragon_report_fixup(struct hid_device *hdev, __u8 *rdesc, in redragon_report_fixup() argument 40 dev_info(&hdev->dev, "Fixing Redragon ASURA report descriptor.\n"); in redragon_report_fixup()
|
/openbmc/linux/drivers/bluetooth/ |
H A D | hci_h4.c | 115 h4->rx_skb = h4_recv_buf(hu->hdev, h4->rx_skb, data, count, in h4_recv() 119 bt_dev_err(hu->hdev, "Frame reassembly failed (%d)", err); in h4_recv() 154 struct sk_buff *h4_recv_buf(struct hci_dev *hdev, struct sk_buff *skb, in h4_recv_buf() argument 158 struct hci_uart *hu = hci_get_drvdata(hdev); in h4_recv_buf() 259 (&pkts[i])->recv(hdev, skb); in h4_recv_buf() 267 (&pkts[i])->recv(hdev, skb); in h4_recv_buf()
|
H A D | h4_recv.h | 17 int (*recv)(struct hci_dev *hdev, struct sk_buff *skb); 41 static inline struct sk_buff *h4_recv_buf(struct hci_dev *hdev, in h4_recv_buf() argument 135 (&pkts[i])->recv(hdev, skb); in h4_recv_buf() 140 (&pkts[i])->recv(hdev, skb); in h4_recv_buf()
|
H A D | hci_nokia.c | 348 hu->hdev->name, err); in nokia_setup_fw() 367 skb = __hci_cmd_sync(hu->hdev, opcode, cmd->plen, in nokia_setup_fw() 373 hu->hdev->name, opcode, err); in nokia_setup_fw() 446 hu->hdev->set_bdaddr = btbcm_set_bdaddr; in nokia_setup() 447 set_bit(HCI_QUIRK_INVALID_BDADDR, &hu->hdev->quirks); in nokia_setup() 531 static int nokia_recv_negotiation_packet(struct hci_dev *hdev, in nokia_recv_negotiation_packet() argument 534 struct hci_uart *hu = hci_get_drvdata(hdev); in nokia_recv_negotiation_packet() 571 struct hci_uart *hu = hci_get_drvdata(hdev); in nokia_recv_alive_packet() 604 static int nokia_recv_radio(struct hci_dev *hdev, struct sk_buff *skb) in nokia_recv_radio() argument 610 return hci_recv_frame(hdev, skb); in nokia_recv_radio() [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | hwmon.c | 763 struct device *hdev; in __hwmon_device_register() local 783 hdev = &hwdev->dev; in __hwmon_device_register() 814 hdev->groups = hwdev->groups; in __hwmon_device_register() 816 hdev->groups = groups; in __hwmon_device_register() 832 hdev->class = &hwmon_class; in __hwmon_device_register() 833 hdev->parent = dev; in __hwmon_device_register() 840 err = device_register(hdev); in __hwmon_device_register() 842 put_device(hdev); in __hwmon_device_register() 853 device_unregister(hdev); in __hwmon_device_register() 862 return hdev; in __hwmon_device_register() [all …]
|
H A D | aquacomputer_d5next.c | 521 struct hid_device *hdev; member 1506 priv->hdev = hdev; in aqc_probe() 1507 hid_set_drvdata(hdev, priv); in aqc_probe() 1511 ret = hid_parse(hdev); in aqc_probe() 1519 ret = hid_hw_open(hdev); in aqc_probe() 1523 switch (hdev->product) { in aqc_probe() 1695 if (hdev->type != 2) { in aqc_probe() 1820 hid_hw_close(hdev); in aqc_probe() 1822 hid_hw_stop(hdev); in aqc_probe() 1833 hid_hw_close(hdev); in aqc_remove() [all …]
|
/openbmc/linux/sound/soc/sof/intel/ |
H A D | cnl.c | 105 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; in cnl_ipc4_irq_thread() local 107 if (hdev->delayed_ipc_tx_msg) in cnl_ipc4_irq_thread() 108 cnl_ipc4_send_msg(sdev, hdev->delayed_ipc_tx_msg); in cnl_ipc4_irq_thread() 264 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; in cnl_ipc4_send_msg() local 268 hdev->delayed_ipc_tx_msg = msg; in cnl_ipc4_send_msg() 272 hdev->delayed_ipc_tx_msg = NULL; in cnl_ipc4_send_msg() 283 hda_dsp_ipc4_schedule_d0i3_work(hdev, msg); in cnl_ipc4_send_msg() 290 struct sof_intel_hda_dev *hdev = sdev->pdata->hw_pdata; in cnl_ipc_send_msg() local 329 mod_delayed_work(system_wq, &hdev->d0i3_work, in cnl_ipc_send_msg()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.h | 175 #define HCLGE_NIC_MEM_OFFSET(hdev) \ argument 176 (pci_resource_len((hdev)->pdev, HCLGE_MEM_BAR) >> 1) 177 #define HCLGE_TQP_MEM_OFFSET(hdev, i) \ argument 178 (HCLGE_NIC_MEM_OFFSET(hdev) + HCLGE_TQP_MEM_SIZE * (i)) 1112 int hclge_buffer_alloc(struct hclge_dev *hdev); 1113 int hclge_rss_init_hw(struct hclge_dev *hdev); 1115 void hclge_mbx_handler(struct hclge_dev *hdev); 1117 int hclge_cfg_flowctrl(struct hclge_dev *hdev); 1125 int hclge_notify_client(struct hclge_dev *hdev, 1146 void hclge_report_hw_error(struct hclge_dev *hdev, [all …]
|
H A D | hclge_dcb.h | 10 void hclge_dcb_ops_set(struct hclge_dev *hdev); 12 static inline void hclge_dcb_ops_set(struct hclge_dev *hdev) {} in hclge_dcb_ops_set() argument
|
/openbmc/linux/net/bluetooth/ |
H A D | hci_codec.h | 5 void hci_read_supported_codecs(struct hci_dev *hdev); 6 void hci_read_supported_codecs_v2(struct hci_dev *hdev);
|
/openbmc/linux/drivers/nfc/microread/ |
H A D | microread.h | 15 int phy_payload, struct nfc_hci_dev **hdev); 17 void microread_remove(struct nfc_hci_dev *hdev);
|
H A D | i2c.c | 40 struct nfc_hci_dev *hdev; member 216 nfc_hci_recv_frame(phy->hdev, NULL); in microread_i2c_irq_thread_fn() 223 nfc_hci_recv_frame(phy->hdev, skb); in microread_i2c_irq_thread_fn() 258 MICROREAD_I2C_LLC_MAX_PAYLOAD, &phy->hdev); in microread_i2c_probe() 274 microread_remove(phy->hdev); in microread_i2c_remove()
|
/openbmc/linux/drivers/nfc/pn544/ |
H A D | pn544.h | 22 struct nfc_hci_dev **hdev); 23 void pn544_hci_remove(struct nfc_hci_dev *hdev);
|