/drivers/hid/ |
H A D | hid-lg.h | 5 int lgff_init(struct hid_device *hdev); 7 static inline int lgff_init(struct hid_device *hdev) { return -1; } argument 11 int lg2ff_init(struct hid_device *hdev); 13 static inline int lg2ff_init(struct hid_device *hdev) { return -1; } argument 17 int lg3ff_init(struct hid_device *hdev); 19 static inline int lg3ff_init(struct hid_device *hdev) { return -1; } argument 23 int lg4ff_init(struct hid_device *hdev); 24 int lg4ff_deinit(struct hid_device *hdev); 26 static inline int lg4ff_init(struct hid_device *hdev) { return -1; } argument 27 static inline int lg4ff_deinit(struct hid_device *hdev) { retur argument [all...] |
H A D | hid-samsung.c | 57 static inline void samsung_irda_dev_trace(struct hid_device *hdev, argument 60 hid_info(hdev, "fixing up Samsung IrDA %d byte report descriptor\n", 64 static __u8 *samsung_irda_report_fixup(struct hid_device *hdev, __u8 *rdesc, argument 71 samsung_irda_dev_trace(hdev, 184); 79 samsung_irda_dev_trace(hdev, 203); 85 samsung_irda_dev_trace(hdev, 135); 91 samsung_irda_dev_trace(hdev, 171); 101 static int samsung_kbd_mouse_input_mapping(struct hid_device *hdev, argument 105 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); 134 static __u8 *samsung_report_fixup(struct hid_device *hdev, __u argument 142 samsung_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument 155 samsung_probe(struct hid_device *hdev, const struct hid_device_id *id) argument [all...] |
H A D | hid-a4tech.c | 36 static int a4_input_mapped(struct hid_device *hdev, struct hid_input *hi, argument 40 struct a4tech_sc *a4 = hid_get_drvdata(hdev); 51 static int a4_event(struct hid_device *hdev, struct hid_field *field, argument 54 struct a4tech_sc *a4 = hid_get_drvdata(hdev); 57 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || 89 static int a4_probe(struct hid_device *hdev, const struct hid_device_id *id) argument 96 hid_err(hdev, "can't alloc device descriptor\n"); 103 hid_set_drvdata(hdev, a4); 105 ret = hid_parse(hdev); 107 hid_err(hdev, "pars 123 a4_remove(struct hid_device *hdev) argument [all...] |
H A D | hid-belkin.c | 30 static int belkin_input_mapping(struct hid_device *hdev, struct hid_input *hi, argument 34 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); 50 static int belkin_probe(struct hid_device *hdev, const struct hid_device_id *id) argument 55 hid_set_drvdata(hdev, (void *)quirks); 57 ret = hid_parse(hdev); 59 hid_err(hdev, "parse failed\n"); 63 ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT | 66 hid_err(hdev, "hw start failed\n");
|
H A D | hid-cypress.c | 34 static __u8 *cp_report_fixup(struct hid_device *hdev, __u8 *rdesc, argument 37 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); 56 static int cp_input_mapped(struct hid_device *hdev, struct hid_input *hi, argument 60 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); 73 static int cp_event(struct hid_device *hdev, struct hid_field *field, argument 76 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); 78 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || 87 hid_set_drvdata(hdev, (void *)quirks); 101 static int cp_probe(struct hid_device *hdev, const struct hid_device_id *id) argument 106 hid_set_drvdata(hdev, (voi [all...] |
H A D | hid-petalynx.c | 26 static __u8 *pl_report_fixup(struct hid_device *hdev, __u8 *rdesc, argument 32 hid_info(hdev, "fixing up Petalynx Maxter Remote report descriptor\n"); 41 static int pl_input_mapping(struct hid_device *hdev, struct hid_input *hi, argument 71 static int pl_probe(struct hid_device *hdev, const struct hid_device_id *id) argument 75 hdev->quirks |= HID_QUIRK_NOGET; 77 ret = hid_parse(hdev); 79 hid_err(hdev, "parse failed\n"); 83 ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT); 85 hid_err(hdev, "hw start failed\n");
|
H A D | hid-sony.c | 42 static __u8 *sony_report_fixup(struct hid_device *hdev, __u8 *rdesc, argument 45 struct sony_sc *sc = hid_get_drvdata(hdev); 49 hid_info(hdev, "Fixing up Sony Vaio VGX report descriptor\n"); 57 hid_info(hdev, "Fixing up Sony Sixaxis report descriptor\n"); 64 static int sony_raw_event(struct hid_device *hdev, struct hid_report *report, argument 67 struct sony_sc *sc = hid_get_drvdata(hdev); 127 static int sixaxis_set_operational_usb(struct hid_device *hdev) argument 129 struct usb_interface *intf = to_usb_interface(hdev->dev.parent); 145 hid_err(hdev, "can't set operational mode\n"); 152 static int sixaxis_set_operational_bt(struct hid_device *hdev) argument 158 sony_probe(struct hid_device *hdev, const struct hid_device_id *id) argument 206 sony_remove(struct hid_device *hdev) argument [all...] |
H A D | hid-zydacron.c | 30 static __u8 *zc_report_fixup(struct hid_device *hdev, __u8 *rdesc, argument 37 hid_info(hdev, 48 static int zc_input_mapping(struct hid_device *hdev, struct hid_input *hi, argument 53 struct zc_device *zc = hid_get_drvdata(hdev); 112 static int zc_raw_event(struct hid_device *hdev, struct hid_report *report, argument 115 struct zc_device *zc = hid_get_drvdata(hdev); 167 static int zc_probe(struct hid_device *hdev, const struct hid_device_id *id) argument 174 hid_err(hdev, "can't alloc descriptor\n"); 178 hid_set_drvdata(hdev, zc); 180 ret = hid_parse(hdev); 199 zc_remove(struct hid_device *hdev) argument [all...] |
H A D | hid-picolcd.c | 192 struct hid_device *hdev; member in struct:picolcd_data 248 static struct hid_report *picolcd_report(int id, struct hid_device *hdev, int dir) argument 250 struct list_head *feature_report_list = &hdev->report_enum[dir].report_list; 257 hid_warn(hdev, "No report with id 0x%x found\n", id); 263 struct hid_device *hdev, struct hid_report *report); 273 static struct picolcd_pending *picolcd_send_and_wait(struct hid_device *hdev, argument 276 struct picolcd_data *data = hid_get_drvdata(hdev); 278 struct hid_report *report = picolcd_out_report(report_id, hdev); 303 usbhid_submit_report(data->hdev, report, USB_DIR_OUT); 315 static int picolcd_fb_send_tile(struct hid_device *hdev, in argument 1127 struct hid_device *hdev; local 1152 struct hid_device *hdev; local 1323 picolcd_check_version(struct hid_device *hdev) argument 1359 picolcd_reset(struct hid_device *hdev) argument 1840 picolcd_debug_out_report(struct picolcd_data *data, struct hid_device *hdev, struct hid_report *report) argument 2096 picolcd_debug_raw_event(struct picolcd_data *data, struct hid_device *hdev, struct hid_report *report, u8 *raw_data, int size) argument 2297 struct hid_device *hdev = data->hdev; local 2344 picolcd_debug_raw_event(struct picolcd_data *data, struct hid_device *hdev, struct hid_report *report, u8 *raw_data, int size) argument 2363 picolcd_raw_event(struct hid_device *hdev, struct hid_report *report, u8 *raw_data, int size) argument 2399 picolcd_suspend(struct hid_device *hdev, pm_message_t message) argument 2409 picolcd_resume(struct hid_device *hdev) argument 2418 picolcd_reset_resume(struct hid_device *hdev) argument 2442 struct hid_device *hdev = data->hdev; local 2506 picolcd_probe_lcd(struct hid_device *hdev, struct picolcd_data *data) argument 2564 picolcd_probe_bootloader(struct hid_device *hdev, struct picolcd_data *data) argument 2582 picolcd_probe(struct hid_device *hdev, const struct hid_device_id *id) argument 2670 picolcd_remove(struct hid_device *hdev) argument [all...] |
H A D | hid-axff.c | 134 static int ax_probe(struct hid_device *hdev, const struct hid_device_id *id) argument 138 dev_dbg(&hdev->dev, "ACRUX HID hardware probe...\n"); 140 error = hid_parse(hdev); 142 hid_err(hdev, "parse failed\n"); 146 error = hid_hw_start(hdev, HID_CONNECT_DEFAULT & ~HID_CONNECT_FF); 148 hid_err(hdev, "hw start failed\n"); 152 error = axff_init(hdev); 158 hid_warn(hdev, 167 error = hid_hw_open(hdev); 169 dev_err(&hdev 177 ax_remove(struct hid_device *hdev) argument [all...] |
H A D | hid-logitech-dj.c | 202 hid_destroy_device(dj_dev->hdev); 205 dev_err(&djrcv_dev->hdev->dev, "%s: can't destroy a NULL device\n", 214 struct hid_device *djrcv_hdev = djrcv_dev->hdev; 271 dj_dev->hdev = dj_hiddev; 310 dev_err(&djrcv_dev->hdev->dev, "%s: workitem triggered without " 371 if (hid_input_report(djdev->hdev, 402 if (hid_input_report(dj_device->hdev, 413 struct hid_device *hdev = djrcv_dev->hdev; local 416 if (!hdev 627 logi_dj_raw_event(struct hid_device *hdev, struct hid_report *report, u8 *data, int size) argument 685 logi_dj_probe(struct hid_device *hdev, const struct hid_device_id *id) argument 790 logi_dj_reset_resume(struct hid_device *hdev) argument 806 logi_dj_remove(struct hid_device *hdev) argument 838 logi_djdevice_probe(struct hid_device *hdev, const struct hid_device_id *id) argument [all...] |
H A D | hid-wacom.c | 125 static void wacom_set_features(struct hid_device *hdev) argument 133 ret = hdev->hid_output_raw_report(hdev, rep_data, 2, 138 static void wacom_poke(struct hid_device *hdev, u8 speed) argument 140 struct wacom_data *wdata = hid_get_drvdata(hdev); 147 ret = hdev->hid_output_raw_report(hdev, rep_data, 2, 160 ret = hdev->hid_output_raw_report(hdev, rep_data, 2, 174 hid_warn(hdev, "faile 192 struct hid_device *hdev = container_of(dev, struct hid_device, dev); local 208 wacom_gr_parse_report(struct hid_device *hdev, struct wacom_data *wdata, struct input_dev *input, unsigned char *data) argument 428 wacom_i4_parse_report(struct hid_device *hdev, struct wacom_data *wdata, struct input_dev *input, unsigned char *data) argument 450 wacom_raw_event(struct hid_device *hdev, struct hid_report *report, u8 *raw_data, int size) argument 495 wacom_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument 555 wacom_probe(struct hid_device *hdev, const struct hid_device_id *id) argument 647 wacom_remove(struct hid_device *hdev) argument [all...] |
H A D | hid-lg.c | 109 static __u8 *lg_report_fixup(struct hid_device *hdev, __u8 *rdesc, argument 112 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); 116 hid_info(hdev, 124 hid_info(hdev, 131 hid_info(hdev, "fixing up Logitech Speed Force Wireless button descriptor\n"); 138 switch (hdev->product) { 141 hid_info(hdev, 265 static int lg_input_mapping(struct hid_device *hdev, struct hid_input *hi, argument 281 unsigned long quirks = (unsigned long)hid_get_drvdata(hdev); 284 if (hdev 318 lg_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument 335 lg_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument 349 lg_probe(struct hid_device *hdev, const struct hid_device_id *id) argument 409 lg_remove(struct hid_device *hdev) argument [all...] |
H A D | hid-ortek.c | 27 static __u8 *ortek_report_fixup(struct hid_device *hdev, __u8 *rdesc, argument 31 hid_info(hdev, "Fixing up logical minimum in report descriptor (Ortek)\n"); 34 hid_info(hdev, "Fixing up logical minimum in report descriptor (Skycable)\n");
|
H A D | hid-elecom.c | 23 static __u8 *elecom_report_fixup(struct hid_device *hdev, __u8 *rdesc, argument 27 hid_info(hdev, "Fixing up Elecom BM084 report descriptor\n");
|
/drivers/bluetooth/ |
H A D | btwilink.c | 45 * @hdev: hci device pointer which binds to bt driver 53 struct hci_dev *hdev; member in struct:ti_st 62 struct hci_dev *hdev = hst->hdev; local 67 hdev->stat.cmd_tx++; 71 hdev->stat.acl_tx++; 75 hdev->stat.sco_tx++; 111 skb->dev = (void *) lhst->hdev; 120 lhst->hdev->stat.byte_rx += skb->len; 152 static int ti_st_open(struct hci_dev *hdev) argument 236 ti_st_close(struct hci_dev *hdev) argument 258 struct hci_dev *hdev; local 297 struct hci_dev *hdev; local 337 struct hci_dev *hdev; local [all...] |
H A D | btsdio.c | 58 struct hci_dev *hdev; member in struct:btsdio_data 81 BT_DBG("%s", data->hdev->name); 97 data->hdev->stat.byte_tx += skb->len; 110 BT_DBG("%s", data->hdev->name); 117 data->hdev->stat.err_tx++; 132 BT_DBG("%s", data->hdev->name); 158 data->hdev->stat.byte_rx += len; 160 skb->dev = (void *) data->hdev; 177 BT_DBG("%s", data->hdev->name); 184 data->hdev 190 btsdio_open(struct hci_dev *hdev) argument 226 btsdio_close(struct hci_dev *hdev) argument 247 btsdio_flush(struct hci_dev *hdev) argument 260 struct hci_dev *hdev = (struct hci_dev *) skb->dev; local 296 struct hci_dev *hdev; local 355 struct hci_dev *hdev; local [all...] |
H A D | bpa10x.c | 50 struct hci_dev *hdev; member in struct:bpa10x_data 67 static int bpa10x_recv(struct hci_dev *hdev, int queue, void *buf, int count) argument 69 struct bpa10x_data *data = hci_get_drvdata(hdev); 71 BT_DBG("%s queue %d buffer %p count %d", hdev->name, 77 hdev->stat.byte_rx += count; 128 BT_ERR("%s no memory for packet", hdev->name); 132 skb->dev = (void *) hdev; 170 struct hci_dev *hdev = (struct hci_dev *) skb->dev; local 172 BT_DBG("%s urb %p status %d count %d", hdev->name, 175 if (!test_bit(HCI_RUNNING, &hdev 191 struct hci_dev *hdev = urb->context; local 220 bpa10x_submit_intr_urb(struct hci_dev *hdev) argument 261 bpa10x_submit_bulk_urb(struct hci_dev *hdev) argument 302 bpa10x_open(struct hci_dev *hdev) argument 330 bpa10x_close(struct hci_dev *hdev) argument 344 bpa10x_flush(struct hci_dev *hdev) argument 357 struct hci_dev *hdev = (struct hci_dev *) skb->dev; local 438 struct hci_dev *hdev; local [all...] |
H A D | hci_vhci.c | 47 struct hci_dev *hdev; member in struct:vhci_data 55 static int vhci_open_dev(struct hci_dev *hdev) argument 57 set_bit(HCI_RUNNING, &hdev->flags); 62 static int vhci_close_dev(struct hci_dev *hdev) argument 64 struct vhci_data *data = hci_get_drvdata(hdev); 66 if (!test_and_clear_bit(HCI_RUNNING, &hdev->flags)) 74 static int vhci_flush(struct hci_dev *hdev) argument 76 struct vhci_data *data = hci_get_drvdata(hdev); 85 struct hci_dev* hdev = (struct hci_dev *) skb->dev; local 88 if (!hdev) { 219 struct hci_dev *hdev; local 262 struct hci_dev *hdev = data->hdev; local [all...] |
H A D | hci_ldisc.c | 89 struct hci_dev *hdev = hu->hdev; local 94 hdev->stat.cmd_tx++; 98 hdev->stat.acl_tx++; 102 hdev->stat.sco_tx++; 122 struct hci_dev *hdev = hu->hdev; local 140 hdev->stat.byte_tx += len; 161 static int hci_uart_open(struct hci_dev *hdev) argument 163 BT_DBG("%s %p", hdev 173 hci_uart_flush(struct hci_dev *hdev) argument 195 hci_uart_close(struct hci_dev *hdev) argument 210 struct hci_dev* hdev = (struct hci_dev *) skb->dev; local 296 struct hci_dev *hdev = hu->hdev; local 371 struct hci_dev *hdev; local [all...] |
H A D | btusb.c | 208 struct hci_dev *hdev; member in struct:btusb_data 257 struct hci_dev *hdev = urb->context; local 258 struct btusb_data *data = hci_get_drvdata(hdev); 261 BT_DBG("%s urb %p status %d count %d", hdev->name, 264 if (!test_bit(HCI_RUNNING, &hdev->flags)) 268 hdev->stat.byte_rx += urb->actual_length; 270 if (hci_recv_fragment(hdev, HCI_EVENT_PKT, 273 BT_ERR("%s corrupted event packet", hdev->name); 274 hdev->stat.err_rx++; 290 hdev 295 btusb_submit_intr_urb(struct hci_dev *hdev, gfp_t mem_flags) argument 345 struct hci_dev *hdev = urb->context; local 383 btusb_submit_bulk_urb(struct hci_dev *hdev, gfp_t mem_flags) argument 431 struct hci_dev *hdev = urb->context; local 497 btusb_submit_isoc_urb(struct hci_dev *hdev, gfp_t mem_flags) argument 551 struct hci_dev *hdev = (struct hci_dev *) skb->dev; local 578 struct hci_dev *hdev = (struct hci_dev *) skb->dev; local 597 btusb_open(struct hci_dev *hdev) argument 647 btusb_close(struct hci_dev *hdev) argument 677 btusb_flush(struct hci_dev *hdev) argument 690 struct hci_dev *hdev = (struct hci_dev *) skb->dev; local 799 btusb_notify(struct hci_dev *hdev, unsigned int evt) argument 811 __set_isoc_interface(struct hci_dev *hdev, int altsetting) argument 857 struct hci_dev *hdev = data->hdev; local 912 struct hci_dev *hdev; local 1086 struct hci_dev *hdev; local 1156 struct hci_dev *hdev = data->hdev; local [all...] |
H A D | bfusb.c | 65 struct hci_dev *hdev; member in struct:bfusb_data 149 data->hdev->name, urb, err); 194 if (!test_bit(HCI_RUNNING, &data->hdev->flags)) 198 data->hdev->stat.byte_tx += skb->len; 200 data->hdev->stat.err_tx++; 245 data->hdev->name, urb, err); 259 BT_ERR("%s error in block", data->hdev->name); 271 BT_ERR("%s unexpected start block", data->hdev->name); 277 BT_ERR("%s no packet type found", data->hdev->name); 289 BT_ERR("%s event block is too short", data->hdev 412 bfusb_open(struct hci_dev *hdev) argument 438 bfusb_flush(struct hci_dev *hdev) argument 449 bfusb_close(struct hci_dev *hdev) argument 470 struct hci_dev *hdev = (struct hci_dev *) skb->dev; local 547 bfusb_ioctl(struct hci_dev *hdev, unsigned int cmd, unsigned long arg) argument 638 struct hci_dev *hdev; local 731 struct hci_dev *hdev = data->hdev; local [all...] |
H A D | btuart_cs.c | 68 struct hci_dev *hdev; member in struct:btuart_info_t 166 info->hdev->stat.byte_tx += len; 187 info->hdev->stat.byte_rx++; 201 info->rx_skb->dev = (void *) info->hdev; 224 info->hdev->stat.err_rx++; 225 clear_bit(HCI_RUNNING, &(info->hdev->flags)); 294 if (!info || !info->hdev) 397 static int btuart_hci_flush(struct hci_dev *hdev) argument 399 btuart_info_t *info = hci_get_drvdata(hdev); 408 static int btuart_hci_open(struct hci_dev *hdev) argument 416 btuart_hci_close(struct hci_dev *hdev) argument 430 struct hci_dev *hdev = (struct hci_dev *)(skb->dev); local 461 btuart_hci_ioctl(struct hci_dev *hdev, unsigned int cmd, unsigned long arg) argument 475 struct hci_dev *hdev; local 542 struct hci_dev *hdev = info->hdev; local [all...] |
H A D | dtl1_cs.c | 68 struct hci_dev *hdev; member in struct:dtl1_info_t 170 info->hdev->stat.byte_tx += len; 215 info->hdev->stat.byte_rx++; 259 info->rx_skb->dev = (void *) info->hdev; 295 if (!info || !info->hdev) 356 static int dtl1_hci_open(struct hci_dev *hdev) argument 358 set_bit(HCI_RUNNING, &(hdev->flags)); 364 static int dtl1_hci_flush(struct hci_dev *hdev) argument 366 dtl1_info_t *info = hci_get_drvdata(hdev); 375 static int dtl1_hci_close(struct hci_dev *hdev) argument 389 struct hci_dev *hdev = (struct hci_dev *)(skb->dev); local 441 dtl1_hci_ioctl(struct hci_dev *hdev, unsigned int cmd, unsigned long arg) argument 455 struct hci_dev *hdev; local 525 struct hci_dev *hdev = info->hdev; local [all...] |
/drivers/media/video/s5p-tv/ |
H A D | hdmi_drv.c | 149 void hdmi_write(struct hdmi_device *hdev, u32 reg_id, u32 value) argument 151 writel(value, hdev->regs + reg_id); 155 void hdmi_write_mask(struct hdmi_device *hdev, u32 reg_id, u32 value, u32 mask) argument 157 u32 old = readl(hdev->regs + reg_id); 159 writel(value, hdev->regs + reg_id); 163 void hdmi_writeb(struct hdmi_device *hdev, u32 reg_id, u8 value) argument 165 writeb(value, hdev->regs + reg_id); 168 static inline u32 hdmi_read(struct hdmi_device *hdev, u32 reg_id) argument 170 return readl(hdev->regs + reg_id); 175 struct hdmi_device *hdev local 195 hdmi_reg_init(struct hdmi_device *hdev) argument 213 hdmi_timing_apply(struct hdmi_device *hdev, const struct hdmi_preset_conf *conf) argument 313 hdmi_dumpregs(struct hdmi_device *hdev, char *prefix) argument 554 hdmi_streamon(struct hdmi_device *hdev) argument 601 hdmi_streamoff(struct hdmi_device *hdev) argument 625 struct hdmi_device *hdev = sd_to_hdmi_dev(sd); local 658 struct hdmi_device *hdev = sd_to_hdmi_dev(sd); local 672 struct hdmi_device *hdev = sd_to_hdmi_dev(sd); local 697 struct hdmi_device *hdev = sd_to_hdmi_dev(sd); local 735 struct hdmi_device *hdev = sd_to_hdmi_dev(sd); local 746 struct hdmi_device *hdev = sd_to_hdmi_dev(sd); local 778 hdmi_resources_cleanup(struct hdmi_device *hdev) argument 801 hdmi_resources_init(struct hdmi_device *hdev) argument [all...] |