/drivers/parport/ |
D | parport_gsc.h | 85 static inline void parport_gsc_write_data(struct parport *p, unsigned char d) in parport_gsc_write_data() 93 static inline unsigned char parport_gsc_read_data(struct parport *p) in parport_gsc_read_data() 105 static inline unsigned char __parport_gsc_frob_control(struct parport *p, in __parport_gsc_frob_control() 123 static inline void parport_gsc_data_reverse(struct parport *p) in parport_gsc_data_reverse() 128 static inline void parport_gsc_data_forward(struct parport *p) in parport_gsc_data_forward() 133 static inline void parport_gsc_write_control(struct parport *p, in parport_gsc_write_control() 151 static inline unsigned char parport_gsc_read_control(struct parport *p) in parport_gsc_read_control() 161 static inline unsigned char parport_gsc_frob_control(struct parport *p, in parport_gsc_frob_control() 188 static inline unsigned char parport_gsc_read_status(struct parport *p) in parport_gsc_read_status() 193 static inline void parport_gsc_disable_irq(struct parport *p) in parport_gsc_disable_irq() [all …]
|
D | share.c | 56 static void dead_write_lines (struct parport *p, unsigned char b){} in dead_write_lines() 57 static unsigned char dead_read_lines (struct parport *p) { return 0; } in dead_read_lines() 58 static unsigned char dead_frob_lines (struct parport *p, unsigned char b, in dead_frob_lines() 60 static void dead_onearg (struct parport *p){} in dead_onearg() 62 static void dead_state (struct parport *p, struct parport_state *s) { } in dead_state() 63 static size_t dead_write (struct parport *p, const void *b, size_t l, int f) in dead_write() 65 static size_t dead_read (struct parport *p, void *b, size_t l, int f) in dead_read() 104 static void attach_driver_chain(struct parport *port) in attach_driver_chain() 113 static void detach_driver_chain(struct parport *port) in detach_driver_chain() 156 struct parport *port; in parport_register_driver() [all …]
|
D | daisy.c | 40 struct parport *port; 49 static int mux_present(struct parport *port); 50 static int num_mux_ports(struct parport *port); 51 static int select_port(struct parport *port); 52 static int assign_addrs(struct parport *port); 55 static void add_dev(int devnum, struct parport *port, int daisy) in add_dev() 73 static struct parport *clone_parport(struct parport *real, int muxport) in clone_parport() 75 struct parport *extra = parport_register_port(real->base, in clone_parport() 91 int parport_daisy_init(struct parport *port) in parport_daisy_init() 116 struct parport *extra = clone_parport(port, i); in parport_daisy_init() [all …]
|
D | parport_atari.c | 21 static struct parport *this_port = NULL; 24 parport_atari_read_data(struct parport *p) in parport_atari_read_data() 37 parport_atari_write_data(struct parport *p, unsigned char data) in parport_atari_write_data() 48 parport_atari_read_control(struct parport *p) in parport_atari_read_control() 62 parport_atari_write_control(struct parport *p, unsigned char control) in parport_atari_write_control() 76 parport_atari_frob_control(struct parport *p, unsigned char mask, in parport_atari_frob_control() 85 parport_atari_read_status(struct parport *p) in parport_atari_read_status() 97 parport_atari_save_state(struct parport *p, struct parport_state *s) in parport_atari_save_state() 102 parport_atari_restore_state(struct parport *p, struct parport_state *s) in parport_atari_restore_state() 107 parport_atari_enable_irq(struct parport *p) in parport_atari_enable_irq() [all …]
|
D | parport_ip32.c | 140 static struct parport *this_port = NULL; 299 ({ const struct parport *__p = (p); \ 330 static void parport_ip32_dump_state(struct parport *p, char *str, in parport_ip32_dump_state() 506 &mace->perif.ctrl.parport.context_a : in parport_ip32_dma_setup_context() 507 &mace->perif.ctrl.parport.context_b; in parport_ip32_dma_setup_context() 591 writeq(ctrl, &mace->perif.ctrl.parport.cntlstat); in parport_ip32_dma_start() 611 writeq(ctrl, &mace->perif.ctrl.parport.cntlstat); in parport_ip32_dma_start() 620 writeq(ctrl, &mace->perif.ctrl.parport.cntlstat); in parport_ip32_dma_start() 656 ctrl = readq(&mace->perif.ctrl.parport.cntlstat); in parport_ip32_dma_stop() 658 writeq(ctrl, &mace->perif.ctrl.parport.cntlstat); in parport_ip32_dma_stop() [all …]
|
D | parport_ax88796.c | 35 struct parport *parport; member 49 static inline struct ax_drvdata *pp_to_drv(struct parport *p) in pp_to_drv() 55 parport_ax88796_read_data(struct parport *p) in parport_ax88796_read_data() 63 parport_ax88796_write_data(struct parport *p, unsigned char data) in parport_ax88796_write_data() 71 parport_ax88796_read_control(struct parport *p) in parport_ax88796_read_control() 93 parport_ax88796_write_control(struct parport *p, unsigned char control) in parport_ax88796_write_control() 122 parport_ax88796_read_status(struct parport *p) in parport_ax88796_read_status() 147 parport_ax88796_frob_control(struct parport *p, unsigned char mask, in parport_ax88796_frob_control() 161 parport_ax88796_enable_irq(struct parport *p) in parport_ax88796_enable_irq() 175 parport_ax88796_disable_irq(struct parport *p) in parport_ax88796_disable_irq() [all …]
|
D | parport_amiga.c | 34 static struct parport *this_port = NULL; 36 static void amiga_write_data(struct parport *p, unsigned char data) in amiga_write_data() 44 static unsigned char amiga_read_data(struct parport *p) in amiga_read_data() 75 static void amiga_write_control(struct parport *p, unsigned char control) in amiga_write_control() 81 static unsigned char amiga_read_control( struct parport *p) in amiga_read_control() 87 static unsigned char amiga_frob_control( struct parport *p, unsigned char mask, unsigned char val) in amiga_frob_control() 131 static unsigned char amiga_read_status(struct parport *p) in amiga_read_status() 140 static void amiga_enable_irq(struct parport *p) in amiga_enable_irq() 145 static void amiga_disable_irq(struct parport *p) in amiga_disable_irq() 150 static void amiga_data_forward(struct parport *p) in amiga_data_forward() [all …]
|
D | parport_mfc3.c | 78 static struct parport *this_port[MAX_MFC] = {NULL, }; 84 static void mfc3_write_data(struct parport *p, unsigned char data) in mfc3_write_data() 93 static unsigned char mfc3_read_data(struct parport *p) in mfc3_read_data() 128 static void mfc3_write_control(struct parport *p, unsigned char control) in mfc3_write_control() 134 static unsigned char mfc3_read_control( struct parport *p) in mfc3_read_control() 140 static unsigned char mfc3_frob_control( struct parport *p, unsigned char mask, unsigned char val) in mfc3_frob_control() 188 static void mfc3_write_status( struct parport *p, unsigned char status) 195 static unsigned char mfc3_read_status(struct parport *p) in mfc3_read_status() 205 static void mfc3_change_mode( struct parport *p, int m) 227 static void mfc3_enable_irq(struct parport *p) in mfc3_enable_irq() [all …]
|
D | parport_sunbpp.c | 50 static void parport_sunbpp_disable_irq(struct parport *p) in parport_sunbpp_disable_irq() 60 static void parport_sunbpp_enable_irq(struct parport *p) in parport_sunbpp_enable_irq() 70 static void parport_sunbpp_write_data(struct parport *p, unsigned char d) in parport_sunbpp_write_data() 78 static unsigned char parport_sunbpp_read_data(struct parport *p) in parport_sunbpp_read_data() 86 static void control_pc_to_sunbpp(struct parport *p, unsigned char status) 106 static unsigned char status_sunbpp_to_pc(struct parport *p) in status_sunbpp_to_pc() 129 static unsigned char control_sunbpp_to_pc(struct parport *p) in control_sunbpp_to_pc() 150 static unsigned char parport_sunbpp_read_control(struct parport *p) in parport_sunbpp_read_control() 155 static unsigned char parport_sunbpp_frob_control(struct parport *p, in parport_sunbpp_frob_control() 201 static void parport_sunbpp_write_control(struct parport *p, unsigned char d) in parport_sunbpp_write_control() [all …]
|
D | procfs.c | 37 struct parport *port = (struct parport *)table->extra1; in do_active_device() 117 struct parport *port = (struct parport *)table->extra1; in do_hardware_base_addr() 145 struct parport *port = (struct parport *)table->extra1; in do_hardware_irq() 173 struct parport *port = (struct parport *)table->extra1; in do_hardware_dma() 201 struct parport *port = (struct parport *)table->extra1; in do_hardware_modes() 476 int parport_proc_register(struct parport *port) in parport_proc_register() 513 int parport_proc_unregister(struct parport *port) in parport_proc_unregister() 527 struct parport * port = device->port; in parport_device_proc_register() 584 int parport_proc_register(struct parport *pp) in parport_proc_register() 589 int parport_proc_unregister(struct parport *pp) in parport_proc_unregister()
|
D | ieee1284.c | 42 static void parport_ieee1284_wakeup (struct parport *port) in parport_ieee1284_wakeup() 47 static struct parport *port_from_cookie[PARPORT_MAX]; 69 int parport_wait_event (struct parport *port, signed long timeout) in parport_wait_event() 120 int parport_poll_peripheral(struct parport *port, in parport_poll_peripheral() 169 int parport_wait_peripheral(struct parport *port, in parport_wait_peripheral() 227 static void parport_ieee1284_terminate (struct parport *port) in parport_ieee1284_terminate() 334 int parport_negotiate (struct parport *port, int mode) in parport_negotiate() 560 static int parport_ieee1284_ack_data_avail (struct parport *port) in parport_ieee1284_ack_data_avail() 576 struct parport *port = handle; in parport_ieee1284_interrupt() 607 ssize_t parport_write (struct parport *port, const void *buffer, size_t len) in parport_write() [all …]
|
D | parport_gsc.c | 58 static int clear_epp_timeout(struct parport *pb) in clear_epp_timeout() 88 void parport_gsc_save_state(struct parport *p, struct parport_state *s) in parport_gsc_save_state() 93 void parport_gsc_restore_state(struct parport *p, struct parport_state *s) in parport_gsc_restore_state() 140 static int __devinit parport_SPP_supported(struct parport *pb) in parport_SPP_supported() 204 static int __devinit parport_PS2_supported(struct parport *pb) in parport_PS2_supported() 235 struct parport *__devinit parport_gsc_probe_port (unsigned long base, in parport_gsc_probe_port() 242 struct parport tmp; in parport_gsc_probe_port() 243 struct parport *p = &tmp; in parport_gsc_probe_port() 351 struct parport *p; in parport_init_chip() 386 struct parport *p = dev->dev.driver_data; in parport_remove_chip()
|
D | parport_pc.c | 112 static void frob_econtrol (struct parport *pb, unsigned char m, in frob_econtrol() 126 static __inline__ void frob_set_mode (struct parport *p, int mode) in frob_set_mode() 138 static int change_mode(struct parport *p, int m) in change_mode() 201 static int get_fifo_residue (struct parport *p) 250 static int clear_epp_timeout(struct parport *pb) in clear_epp_timeout() 287 static void parport_pc_save_state(struct parport *p, struct parport_state *s) in parport_pc_save_state() 295 static void parport_pc_restore_state(struct parport *p, struct parport_state *s) in parport_pc_restore_state() 306 static size_t parport_pc_epp_read_data (struct parport *port, void *buf, in parport_pc_epp_read_data() 374 static size_t parport_pc_epp_write_data (struct parport *port, const void *buf, in parport_pc_epp_write_data() 403 static size_t parport_pc_epp_read_addr (struct parport *port, void *buf, in parport_pc_epp_read_addr() [all …]
|
D | ieee1284_ops.c | 40 size_t parport_ieee1284_write_compat (struct parport *port, in parport_ieee1284_write_compat() 149 size_t parport_ieee1284_read_nibble (struct parport *port, in parport_ieee1284_read_nibble() 240 size_t parport_ieee1284_read_byte (struct parport *port, in parport_ieee1284_read_byte() 334 int ecp_forward_to_reverse (struct parport *port) in ecp_forward_to_reverse() 368 int ecp_reverse_to_forward (struct parport *port) in ecp_reverse_to_forward() 403 size_t parport_ieee1284_ecp_write_data (struct parport *port, in parport_ieee1284_ecp_write_data() 490 size_t parport_ieee1284_ecp_read_data (struct parport *port, in parport_ieee1284_ecp_read_data() 638 size_t parport_ieee1284_ecp_write_addr (struct parport *port, in parport_ieee1284_ecp_write_addr() 730 size_t parport_ieee1284_epp_write_data (struct parport *port, in parport_ieee1284_epp_write_data() 774 size_t parport_ieee1284_epp_read_data (struct parport *port, in parport_ieee1284_epp_read_data() [all …]
|
D | BUGS-parport | 1 Currently known (or at least suspected) bugs in parport: 6 o parport_pc_ecp_read_block_pio() is broken. parport will revert to the 9 See <URL:http://people.redhat.com/twaugh/parport/>.
|
D | Makefile | 5 parport-objs := share.o ieee1284.o ieee1284_ops.o procfs.o 8 parport-objs += daisy.o probe.o 11 obj-$(CONFIG_PARPORT) += parport.o
|
/drivers/i2c/busses/ |
D | i2c-parport.c | 48 static void port_write_data(struct parport *p, unsigned char d) in port_write_data() 53 static void port_write_control(struct parport *p, unsigned char d) in port_write_control() 58 static unsigned char port_read_data(struct parport *p) in port_read_data() 63 static unsigned char port_read_status(struct parport *p) in port_read_status() 68 static unsigned char port_read_control(struct parport *p) in port_read_control() 73 static void (*port_write[])(struct parport *, unsigned char) = { 79 static unsigned char (*port_read[])(struct parport *) = { 87 static inline void line_set(struct parport *data, int state, in line_set() 99 static inline int line_get(struct parport *data, in line_get() 112 line_set((struct parport *) data, state, &adapter_parm[type].setscl); in parport_setscl() [all …]
|
/drivers/usb/misc/ |
D | uss720.c | 64 struct parport *pp; 112 struct parport *pp; in async_complete() 206 static int get_1284_register(struct parport *pp, unsigned char reg, unsigned char *val, gfp_t mem_f… in get_1284_register() 241 static int set_1284_register(struct parport *pp, unsigned char reg, unsigned char val, gfp_t mem_fl… in set_1284_register() 268 static int change_mode(struct parport *pp, int m) in change_mode() 318 static int clear_epp_timeout(struct parport *pp) in clear_epp_timeout() 333 struct parport *pp = (struct parport *)dev_id; 346 static void parport_uss720_write_data(struct parport *pp, unsigned char d) in parport_uss720_write_data() 351 static unsigned char parport_uss720_read_data(struct parport *pp) in parport_uss720_read_data() 360 static void parport_uss720_write_control(struct parport *pp, unsigned char d) in parport_uss720_write_control() [all …]
|
/drivers/media/video/ |
D | cpia_pp.c | 65 static char *parport[PARPORT_MAX] = {NULL,}; variable 71 module_param_array(parport, charp, NULL, 0); 72 MODULE_PARM_DESC(parport, "'auto' or a list of parallel port numbers. Just like lp."); 76 struct parport *port; 107 static void cpia_parport_enable_irq( struct parport *port ) { in cpia_parport_enable_irq() 113 static void cpia_parport_disable_irq( struct parport *port ) { in cpia_parport_disable_irq() 149 static size_t cpia_read_nibble (struct parport *port, in cpia_read_nibble() 258 static size_t cpia_read_nibble_stream(struct parport *port, in cpia_read_nibble_stream() 497 static int cpia_pp_read(struct parport *port, u8 *buffer, int len) in cpia_pp_read() 703 static int cpia_pp_register(struct parport *port) in cpia_pp_register() [all …]
|
D | bw-qcam.c | 168 static struct qcam_device *qcam_init(struct parport *port) in qcam_init() 931 static int init_bwqcam(struct parport *port) in init_bwqcam() 984 static char *parport[MAX_CAMS] = { NULL, }; variable 985 module_param_array(parport, charp, NULL, 0); 988 static int accept_bwqcam(struct parport *port) in accept_bwqcam() 993 if (parport[0] && strncmp(parport[0], "auto", 4) != 0) { in accept_bwqcam() 995 for(n=0; parport[n] && n<MAX_CAMS; n++){ in accept_bwqcam() 998 r = simple_strtoul(parport[n], &ep, 0); in accept_bwqcam() 999 if (ep == parport[n]) { in accept_bwqcam() 1002 parport[n]); in accept_bwqcam() [all …]
|
D | c-qcam.c | 47 struct parport *pport; 73 static int parport[MAX_CAMS] = { [1 ... MAX_CAMS-1] = -1 }; variable 725 static struct qcam_device *qcam_init(struct parport *port) in qcam_init() 764 static int init_cqcam(struct parport *port) in init_cqcam() 768 if (parport[0] != -1) in init_cqcam() 772 for (i = 0; i < MAX_CAMS && parport[i] != -1; i++) in init_cqcam() 774 if (parport[0] == port->number) in init_cqcam() 827 static void cq_attach(struct parport *port) in cq_attach() 832 static void cq_detach(struct parport *port) in cq_detach() 865 MODULE_PARM_DESC(parport ,"parport=<auto|n[,n]...> for port detection method\n\ [all …]
|
/drivers/input/joystick/ |
D | walkera0701.c | 60 struct parport *parport; member 190 parport_enable_irq(w->parport); in walkera0701_open() 198 parport_disable_irq(w->parport); in walkera0701_close() 201 static int walkera0701_connect(struct walkera_dev *w, int parport) in walkera0701_connect() argument 205 w->parport = parport_find_number(parport); in walkera0701_connect() 206 if (w->parport == NULL) in walkera0701_connect() 209 if (w->parport->irq == -1) { in walkera0701_connect() 215 w->pardevice = parport_register_device(w->parport, "walkera0701", in walkera0701_connect() 233 w->input_dev->phys = w->parport->name; in walkera0701_connect() 268 parport_put_port(w->parport); in walkera0701_connect() [all …]
|
D | db9.c | 145 static void db9_saturn_write_sub(struct parport *port, int type, unsigned char data, int powered, i… in db9_saturn_write_sub() 168 static unsigned char db9_saturn_read_sub(struct parport *port, int type) in db9_saturn_read_sub() 188 static unsigned char db9_saturn_read_analog(struct parport *port, int type, int powered) in db9_saturn_read_analog() 205 static unsigned char db9_saturn_read_packet(struct parport *port, unsigned char *data, int type, in… in db9_saturn_read_packet() 335 static int db9_saturn(int mode, struct parport *port, struct input_dev *devs[]) in db9_saturn() 368 struct parport *port = db9->pd->port; in db9_timer() 519 struct parport *port = db9->pd->port; in db9_open() 543 struct parport *port = db9->pd->port; in db9_close() 555 static struct db9 __init *db9_probe(int parport, int mode) in db9_probe() argument 559 struct parport *pp; in db9_probe() [all …]
|
/drivers/char/ |
D | lp.c | 148 static struct parport *console_registered; 194 static int lp_negotiate(struct parport * port, int mode) in lp_negotiate() 297 struct parport *port = lp_table[minor].dev->port; in lp_write() 416 struct parport *port = lp_table[minor].dev->port; in lp_read() 707 struct parport *port = dev->port; in lp_console_write() 766 static char *parport[LP_NO]; variable 769 module_param_array(parport, charp, NULL, 0); 804 static int lp_register(int nr, struct parport *port) in lp_register() 837 static void lp_attach (struct parport *port) in lp_attach() 867 static void lp_detach (struct parport *port) in lp_detach() [all …]
|
/drivers/net/ |
D | plip.c | 231 struct parport *port = in enable_parport_interrupts() 241 struct parport *port = in disable_parport_interrupts() 249 struct parport *port = in write_data() 257 struct parport *port = in read_status() 1222 static int parport[PLIP_MAX] = { [0 ... PLIP_MAX-1] = -1 }; variable 1225 module_param_array(parport, int, NULL, 0); 1227 MODULE_PARM_DESC(parport, "List of parport device numbers to use by plip"); 1243 static void plip_attach (struct parport *port) in plip_attach() 1250 if ((parport[0] == -1 && (!timid || !port->devices)) || in plip_attach() 1251 plip_searchfor(parport, port->number)) { in plip_attach() [all …]
|