Home
last modified time | relevance | path

Searched refs:driver_data (Results 1 – 25 of 224) sorted by relevance

123456789

/linux-2.4.37.9/drivers/char/
Dau1000_usbtty.c300 tty->driver_data = NULL; in serial_open()
308 tty->driver_data = port; in serial_open()
348 (struct usb_serial_port *) tty->driver_data; in serial_close()
376 (struct usb_serial_port *) tty->driver_data; in serial_write()
429 (struct usb_serial_port *) tty->driver_data; in serial_write_room()
455 (struct usb_serial_port *) tty->driver_data; in serial_chars_in_buffer()
481 (struct usb_serial_port *) tty->driver_data; in serial_throttle()
496 (struct usb_serial_port *) tty->driver_data; in serial_unthrottle()
512 (struct usb_serial_port *) tty->driver_data; in serial_ioctl()
528 (struct usb_serial_port *) tty->driver_data; in serial_set_termios()
[all …]
Dsb1250_duart.c273 uart_state_t *us = (uart_state_t *) tty->driver_data; in duart_write_room()
310 us = tty->driver_data; in duart_write()
362 uart_state_t *us = (uart_state_t *) tty->driver_data; in duart_put_char()
389 port = tty->driver_data; in duart_flush_chars()
405 uart_state_t *us = (uart_state_t *) tty->driver_data; in duart_chars_in_buffer()
420 uart_state_t *us = (uart_state_t *) tty->driver_data; in duart_flush_buffer()
491 uart_state_t *us = (uart_state_t *) tty->driver_data; in duart_set_termios()
586 uart_state_t *us = (uart_state_t *) tty->driver_data; in duart_start()
601 uart_state_t *us = (uart_state_t *) tty->driver_data; in duart_stop()
621 uart_state_t *us = (uart_state_t *) tty->driver_data; in duart_wait_until_sent()
[all …]
Dhvc_console.c80 tty->driver_data = hp; in hvc_open()
91 struct hvc_struct *hp = tty->driver_data; in hvc_close()
107 struct hvc_struct *hp = tty->driver_data; in hvc_hangup()
136 struct hvc_struct *hp = tty->driver_data; in hvc_write()
168 struct hvc_struct *hp = tty->driver_data; in hvc_write_room()
175 struct hvc_struct *hp = tty->driver_data; in hvc_chars_in_buffer()
Ddz.c127 info = (struct dz_serial *) tty->driver_data; in dz_stop()
138 struct dz_serial *info = (struct dz_serial *) tty->driver_data; in dz_start()
656 struct dz_serial *info = (struct dz_serial *) tty->driver_data; in dz_flush_chars()
680 struct dz_serial *info = (struct dz_serial *) tty->driver_data; in dz_write()
767 struct dz_serial *info = (struct dz_serial *) tty->driver_data; in dz_write_room()
785 struct dz_serial *info = (struct dz_serial *) tty->driver_data; in dz_chars_in_buffer()
799 struct dz_serial *info = (struct dz_serial *) tty->driver_data; in dz_flush_buffer()
818 struct dz_serial *info = (struct dz_serial *) tty->driver_data; in dz_throttle()
826 struct dz_serial *info = (struct dz_serial *) tty->driver_data; in dz_unthrottle()
838 struct dz_serial *info = (struct dz_serial *) tty->driver_data; in dz_send_xchar()
[all …]
Dgeneric_serial.c71 port = tty->driver_data; in gs_put_char()
212 port = tty->driver_data; in gs_write()
314 struct gs_port *port = tty->driver_data; in gs_write_room()
328 struct gs_port *port = tty->driver_data; in gs_chars_in_buffer()
342 port = tty->driver_data; in gs_real_chars_in_buffer()
433 port = tty->driver_data; in gs_flush_buffer()
455 port = tty->driver_data; in gs_flush_chars()
480 port = tty->driver_data; in gs_stop()
500 port = tty->driver_data; in gs_start()
553 port = tty->driver_data; in gs_hangup()
[all …]
Dmux.c170 struct async_struct *info = (struct async_struct *)tty->driver_data; in mux_chars_in_buffer()
225 (unsigned long)((struct async_struct *)tty->driver_data)->iomem_base; in mux_write()
337 struct async_struct *info = (struct async_struct *) tty->driver_data; in mux_ioctl()
404 struct async_struct *info = (struct async_struct *) tty->driver_data; in mux_close()
514 tty->driver_data = info; in mux_open()
Dserial_amba.c296 struct amba_info *info = tty->driver_data; in ambauart_stop()
306 struct amba_info *info = tty->driver_data; in ambauart_start()
832 struct amba_info *info = tty->driver_data; in ambauart_put_char()
848 struct amba_info *info = tty->driver_data; in ambauart_flush_chars()
865 struct amba_info *info = tty->driver_data; in ambauart_write()
934 struct amba_info *info = tty->driver_data; in ambauart_write_room()
941 struct amba_info *info = tty->driver_data; in ambauart_chars_in_buffer()
948 struct amba_info *info = tty->driver_data; in ambauart_flush_buffer()
967 struct amba_info *info = tty->driver_data; in ambauart_send_xchar()
976 struct amba_info *info = tty->driver_data; in ambauart_throttle()
[all …]
/linux-2.4.37.9/drivers/scsi/
Dsata_sil.c421 probe_ent->port_ops = sil_port_info[ent->driver_data].port_ops; in sil_init_one()
422 probe_ent->sht = sil_port_info[ent->driver_data].sht; in sil_init_one()
423 probe_ent->n_ports = (ent->driver_data == sil_3114) ? 4 : 2; in sil_init_one()
424 probe_ent->pio_mask = sil_port_info[ent->driver_data].pio_mask; in sil_init_one()
425 probe_ent->mwdma_mask = sil_port_info[ent->driver_data].mwdma_mask; in sil_init_one()
426 probe_ent->udma_mask = sil_port_info[ent->driver_data].udma_mask; in sil_init_one()
429 probe_ent->host_flags = sil_port_info[ent->driver_data].host_flags; in sil_init_one()
459 if (ent->driver_data == sil_3114) { in sil_init_one()
469 if (ent->driver_data == sil_3114) { in sil_init_one()
/linux-2.4.37.9/drivers/ide/
Dide-tape.c1599 idetape_tape_t *tape = drive->driver_data; in idetape_next_pc_storage()
1626 idetape_tape_t *tape = drive->driver_data; in idetape_next_rq_storage()
1660 idetape_tape_t *tape = drive->driver_data; in idetape_analyze_error()
1731 idetape_tape_t *tape = drive->driver_data; in idetape_active_next_stage()
1763 idetape_tape_t *tape = drive->driver_data; in idetape_increase_max_pipeline_stages()
1812 idetape_tape_t *tape = drive->driver_data; in idetape_remove_stage_head()
1849 idetape_tape_t *tape = drive->driver_data; in idetape_abort_pipeline()
1878 idetape_tape_t *tape = drive->driver_data; in idetape_end_request()
1985 idetape_tape_t *tape = drive->driver_data; in idetape_request_sense_callback()
2045 idetape_tape_t *tape = drive->driver_data; in idetape_retry_pc()
[all …]
Dide-floppy.c568 idefloppy_floppy_t *floppy = drive->driver_data; in idefloppy_do_end_request()
682 idefloppy_floppy_t *floppy = drive->driver_data; in idefloppy_next_pc_storage()
691 idefloppy_floppy_t *floppy = drive->driver_data; in idefloppy_next_rq_storage()
704 idefloppy_floppy_t *floppy = drive->driver_data; in idefloppy_analyze_error()
725 idefloppy_floppy_t *floppy = drive->driver_data; in idefloppy_request_sense_callback()
744 idefloppy_floppy_t *floppy = drive->driver_data; in idefloppy_pc_callback()
801 idefloppy_floppy_t *floppy = drive->driver_data; in idefloppy_pc_intr()
949 idefloppy_floppy_t *floppy = drive->driver_data; in idefloppy_transfer_pc()
987 idefloppy_floppy_t *floppy = drive->driver_data; in idefloppy_transfer_pc2()
997 idefloppy_floppy_t *floppy = drive->driver_data; in idefloppy_transfer_pc1()
[all …]
Dide-cd.c328 struct cdrom_info *info = drive->driver_data; in cdrom_saw_media_change()
520 struct cdrom_info *info = drive->driver_data; in cdrom_queue_request_sense()
860 struct cdrom_info *info = drive->driver_data; in cdrom_start_packet_command()
914 struct cdrom_info *info = drive->driver_data; in cdrom_transfer_packet_command()
959 struct cdrom_info *info = drive->driver_data; in cdrom_buffer_sectors()
1041 struct cdrom_info *info = drive->driver_data; in cdrom_read_intr()
1173 struct cdrom_info *info = drive->driver_data; in cdrom_read_from_buffer()
1292 struct cdrom_info *info = drive->driver_data; in cdrom_seek_intr()
1338 struct cdrom_info *info = drive->driver_data; in cdrom_start_seek()
1415 struct cdrom_info *info = drive->driver_data; in cdrom_start_read()
[all …]
/linux-2.4.37.9/drivers/usb/
Dacm.c301 tty->driver_data = acm; in acm_tty_open()
334 struct acm *acm = tty->driver_data; in acm_tty_close()
355 struct acm *acm = tty->driver_data; in acm_tty_write()
380 struct acm *acm = tty->driver_data; in acm_tty_write_room()
387 struct acm *acm = tty->driver_data; in acm_tty_chars_in_buffer()
394 struct acm *acm = tty->driver_data; in acm_tty_throttle()
401 struct acm *acm = tty->driver_data; in acm_tty_unthrottle()
410 struct acm *acm = tty->driver_data; in acm_tty_break_ctl()
418 struct acm *acm = tty->driver_data; in acm_tty_ioctl()
471 struct acm *acm = tty->driver_data; in acm_tty_set_termios()
Dbluetooth.c357 tty->driver_data = NULL; in bluetooth_open()
371 tty->driver_data = bluetooth; in bluetooth_open()
413 …struct usb_bluetooth *bluetooth = get_usb_bluetooth ((struct usb_bluetooth *)tty->driver_data, __F… in bluetooth_close()
445 …struct usb_bluetooth *bluetooth = get_usb_bluetooth ((struct usb_bluetooth *)tty->driver_data, __F… in bluetooth_write()
579 …struct usb_bluetooth *bluetooth = get_usb_bluetooth ((struct usb_bluetooth *)tty->driver_data, __F… in bluetooth_write_room()
607 …struct usb_bluetooth *bluetooth = get_usb_bluetooth ((struct usb_bluetooth *)tty->driver_data, __F… in bluetooth_chars_in_buffer()
633 …struct usb_bluetooth *bluetooth = get_usb_bluetooth ((struct usb_bluetooth *)tty->driver_data, __F… in bluetooth_throttle()
654 …struct usb_bluetooth *bluetooth = get_usb_bluetooth ((struct usb_bluetooth *)tty->driver_data, __F… in bluetooth_unthrottle()
673 …struct usb_bluetooth *bluetooth = get_usb_bluetooth ((struct usb_bluetooth *)tty->driver_data, __F… in bluetooth_ioctl()
693 …struct usb_bluetooth *bluetooth = get_usb_bluetooth ((struct usb_bluetooth *)tty->driver_data, __F… in bluetooth_set_termios()
[all …]
/linux-2.4.37.9/net/bluetooth/rfcomm/
Dtty.c571 tty->driver_data = dev; in rfcomm_tty_open()
608 struct rfcomm_dev *dev = (struct rfcomm_dev *) tty->driver_data; in rfcomm_tty_close()
622 tty->driver_data = NULL; in rfcomm_tty_close()
632 struct rfcomm_dev *dev = (struct rfcomm_dev *) tty->driver_data; in rfcomm_tty_write()
671 struct rfcomm_dev *dev = (struct rfcomm_dev *) tty->driver_data; in rfcomm_tty_put_char()
692 struct rfcomm_dev *dev = (struct rfcomm_dev *) tty->driver_data; in rfcomm_tty_write_room()
733 struct rfcomm_dev *dev = (struct rfcomm_dev *) tty->driver_data; in rfcomm_tty_ioctl()
815 struct rfcomm_dev *dev = (struct rfcomm_dev *) tty->driver_data; in rfcomm_tty_throttle()
824 struct rfcomm_dev *dev = (struct rfcomm_dev *) tty->driver_data; in rfcomm_tty_unthrottle()
833 struct rfcomm_dev *dev = (struct rfcomm_dev *) tty->driver_data; in rfcomm_tty_chars_in_buffer()
[all …]
/linux-2.4.37.9/drivers/net/wan/
Dpc300_tty.c338 tty->driver_data = &cpc_tty_area[port]; in cpc_tty_open()
365 if (!tty || !tty->driver_data ) { in cpc_tty_close()
370 cpc_tty = (st_cpc_tty_area *) tty->driver_data; in cpc_tty_close()
445 if (!tty || !tty->driver_data ) { in cpc_tty_write()
450 cpc_tty = (st_cpc_tty_area *) tty->driver_data; in cpc_tty_write()
526 if (!tty || !tty->driver_data ) { in cpc_tty_write_room()
531 cpc_tty = (st_cpc_tty_area *) tty->driver_data; in cpc_tty_write_room()
553 if (!tty || !tty->driver_data ) { in cpc_tty_chars_in_buffer()
558 cpc_tty = (st_cpc_tty_area *) tty->driver_data; in cpc_tty_chars_in_buffer()
580 if (!tty || !tty->driver_data ) { in cpc_tty_ioctl()
[all …]
/linux-2.4.37.9/include/linux/
Dusb_gadget.h145 void *driver_data; member
520 void *driver_data; member
525 { gadget->dev.driver_data = data; } in set_gadget_data()
527 { return gadget->dev.driver_data; } in get_gadget_data()
800 void *driver_data; member
/linux-2.4.37.9/drivers/scsi/aic7xxx/
Daic7770_osm.c108 eid->driver_data = i; in ahc_linux_eisa_init()
200 dev->driver_data = (void *)ahc; in aic7770_linux_config()
250 return (aic7770_linux_config(aic7770_ident_table + edev->id.driver_data, in aic7770_eisa_dev_probe()
266 ahc = ahc_find_softc((struct ahc_softc *)dev->driver_data); in aic7770_eisa_dev_remove()
/linux-2.4.37.9/drivers/net/wan/8253x/
D8253xsyn.c47 port = (struct sab_port *)tty->driver_data; in sab8253x_flush_to_ldiscS()
78 struct sab_port *port = (struct sab_port *)tty->driver_data; in sab8253x_flush_charsS()
104 struct sab_port *port = (struct sab_port *)tty->driver_data; in sab8253x_stopS()
116 struct sab_port *port = (struct sab_port *)tty->driver_data; in sab8253x_startS()
557 struct sab_port *port = (struct sab_port *)tty->driver_data; in sab8253x_set_termiosS()
769 struct sab_port *port = (struct sab_port *)tty->driver_data; in sab8253x_writeS()
895 struct sab_port *port = (struct sab_port *)tty->driver_data; in sab8253x_throttleS()
915 struct sab_port *port = (struct sab_port *)tty->driver_data; in sab8253x_unthrottleS()
935 struct sab_port *port = (struct sab_port *)tty->driver_data; in sab8253x_send_xcharS()
988 struct sab_port *port = (struct sab_port *) tty->driver_data; in sab8253x_breakS()
[all …]
/linux-2.4.37.9/drivers/usb/gadget/
Dzero.c576 struct zero_dev *dev = ep->driver_data; in source_sink_complete()
635 reinit_write_data (ep->driver_data, ep, req); in source_sink_start_ep()
639 struct zero_dev *dev = ep->driver_data; in source_sink_start_ep()
664 ep->driver_data = dev; in set_source_sink_config()
678 ep->driver_data = dev; in set_source_sink_config()
706 struct zero_dev *dev = ep->driver_data; in loopback_complete()
768 ep->driver_data = dev; in set_loopback_config()
778 ep->driver_data = dev; in set_loopback_config()
911 DBG ((struct zero_dev *) ep->driver_data, in zero_setup_complete()
1161 ep->driver_data = ep; /* claim */ in zero_bind()
[all …]
/linux-2.4.37.9/drivers/s390/char/
Dtubtty.c216 tty->driver_data = tubp; in tty3270_open()
242 if ((tubp = tty->driver_data) == NULL) in tty3270_close()
249 tty->driver_data = NULL; in tty3270_close()
267 if ((tubp = tty->driver_data) == NULL) in tty3270_write()
293 if ((tubp = tty->driver_data) == NULL) in tty3270_put_char()
314 if ((tubp = tty->driver_data) == NULL) in tty3270_flush_chars()
328 if ((tubp = tty->driver_data) == NULL) in tty3270_write_room()
341 if ((tubp = tty->driver_data) == NULL) in tty3270_chars_in_buffer()
357 if ((tubp = tty->driver_data) == NULL) in tty3270_ioctl()
408 if ((tubp = tty->driver_data) == NULL) in tty3270_set_termios()
[all …]
Dcon3215.c878 tty->driver_data = raw; in tty3215_open()
902 raw = (raw3215_info *) tty->driver_data; in tty3215_close()
919 raw = (raw3215_info *) tty->driver_data; in tty3215_write_room()
939 raw = (raw3215_info *) tty->driver_data; in tty3215_write()
953 raw = (raw3215_info *) tty->driver_data; in tty3215_put_char()
968 raw = (raw3215_info *) tty->driver_data; in tty3215_chars_in_buffer()
976 raw = (raw3215_info *) tty->driver_data; in tty3215_flush_buffer()
1004 raw = (raw3215_info *) tty->driver_data; in tty3215_throttle()
1016 raw = (raw3215_info *) tty->driver_data; in tty3215_unthrottle()
1032 raw = (raw3215_info *) tty->driver_data; in tty3215_stop()
[all …]
/linux-2.4.37.9/include/asm-arm/
Decard.h155 void *driver_data; member
284 #define ecard_set_drvdata(ec,data) ((ec)->driver_data = (data))
285 #define ecard_get_drvdata(ec) ((ec)->driver_data)
/linux-2.4.37.9/arch/ia64/drivers/
Dsimserial.c222 struct async_struct *info = (struct async_struct *)tty->driver_data; in rs_put_char()
290 struct async_struct *info = (struct async_struct *)tty->driver_data; in rs_flush_chars()
304 struct async_struct *info = (struct async_struct *)tty->driver_data; in rs_write()
369 struct async_struct *info = (struct async_struct *)tty->driver_data; in rs_write_room()
376 struct async_struct *info = (struct async_struct *)tty->driver_data; in rs_chars_in_buffer()
383 struct async_struct *info = (struct async_struct *)tty->driver_data; in rs_flush_buffer()
403 struct async_struct *info = (struct async_struct *)tty->driver_data; in rs_send_xchar()
432 struct async_struct *info = (struct async_struct *)tty->driver_data; in rs_unthrottle()
613 struct async_struct * info = (struct async_struct *)tty->driver_data; in rs_close()
693 struct async_struct * info = (struct async_struct *)tty->driver_data; in rs_hangup()
[all …]
/linux-2.4.37.9/drivers/bluetooth/
Dhci_vhci.c65 struct hci_vhci_struct *hci_vhci = (struct hci_vhci_struct *) hdev->driver_data; in hci_vhci_flush()
85 vhci = (struct hci_vhci_struct *) hdev->driver_data; in hci_vhci_destruct()
104 hci_vhci = (struct hci_vhci_struct *) hdev->driver_data; in hci_vhci_send_frame()
279 hdev->driver_data = hci_vhci; in hci_vhci_chr_open()
/linux-2.4.37.9/net/irda/ircomm/
Dircomm_tty.c443 tty->driver_data = self; in ircomm_tty_open()
507 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; in ircomm_tty_close()
598 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; in ircomm_tty_flush_buffer()
678 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; in ircomm_tty_write()
810 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; in ircomm_tty_write_room()
851 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; in ircomm_tty_wait_until_sent()
884 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; in ircomm_tty_throttle()
915 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; in ircomm_tty_unthrottle()
945 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; in ircomm_tty_chars_in_buffer()
1012 struct ircomm_tty_cb *self = (struct ircomm_tty_cb *) tty->driver_data; in ircomm_tty_hangup()
[all …]

123456789