/drivers/parport/ |
D | parport_gsc.h | 69 static inline void parport_gsc_write_data(struct parport *p, unsigned char d) in parport_gsc_write_data() 77 static inline unsigned char parport_gsc_read_data(struct parport *p) in parport_gsc_read_data() 88 static inline unsigned char __parport_gsc_frob_control(struct parport *p, in __parport_gsc_frob_control() 106 static inline void parport_gsc_data_reverse(struct parport *p) in parport_gsc_data_reverse() 111 static inline void parport_gsc_data_forward(struct parport *p) in parport_gsc_data_forward() 116 static inline void parport_gsc_write_control(struct parport *p, in parport_gsc_write_control() 134 static inline unsigned char parport_gsc_read_control(struct parport *p) in parport_gsc_read_control() 144 static inline unsigned char parport_gsc_frob_control(struct parport *p, in parport_gsc_frob_control() 171 static inline unsigned char parport_gsc_read_status(struct parport *p) in parport_gsc_read_status() 176 static inline void parport_gsc_disable_irq(struct parport *p) in parport_gsc_disable_irq() [all …]
|
D | parport_atari.c | 22 static struct parport *this_port; 25 parport_atari_read_data(struct parport *p) in parport_atari_read_data() 38 parport_atari_write_data(struct parport *p, unsigned char data) in parport_atari_write_data() 49 parport_atari_read_control(struct parport *p) in parport_atari_read_control() 63 parport_atari_write_control(struct parport *p, unsigned char control) in parport_atari_write_control() 77 parport_atari_frob_control(struct parport *p, unsigned char mask, in parport_atari_frob_control() 86 parport_atari_read_status(struct parport *p) in parport_atari_read_status() 98 parport_atari_save_state(struct parport *p, struct parport_state *s) in parport_atari_save_state() 103 parport_atari_restore_state(struct parport *p, struct parport_state *s) in parport_atari_restore_state() 108 parport_atari_enable_irq(struct parport *p) in parport_atari_enable_irq() [all …]
|
D | daisy.c | 35 struct parport *port; 45 static int mux_present(struct parport *port); 46 static int num_mux_ports(struct parport *port); 47 static int select_port(struct parport *port); 48 static int assign_addrs(struct parport *port); 51 static void add_dev(int devnum, struct parport *port, int daisy) in add_dev() 69 static struct parport *clone_parport(struct parport *real, int muxport) in clone_parport() 71 struct parport *extra = parport_register_port(real->base, in clone_parport() 105 int parport_daisy_init(struct parport *port) in parport_daisy_init() 146 struct parport *extra = clone_parport(port, i); in parport_daisy_init() [all …]
|
D | parport_ip32.c | 128 static struct parport *this_port; 287 ({ const struct parport *__p = (p); \ 318 static void parport_ip32_dump_state(struct parport *p, char *str, in parport_ip32_dump_state() 495 &mace->perif.ctrl.parport.context_a : in parport_ip32_dma_setup_context() 496 &mace->perif.ctrl.parport.context_b; in parport_ip32_dma_setup_context() 567 static int parport_ip32_dma_start(struct parport *p, in parport_ip32_dma_start() 581 writeq(ctrl, &mace->perif.ctrl.parport.cntlstat); in parport_ip32_dma_start() 601 writeq(ctrl, &mace->perif.ctrl.parport.cntlstat); in parport_ip32_dma_start() 610 writeq(ctrl, &mace->perif.ctrl.parport.cntlstat); in parport_ip32_dma_start() 622 static void parport_ip32_dma_stop(struct parport *p) in parport_ip32_dma_stop() [all …]
|
D | parport_amiga.c | 32 static void amiga_write_data(struct parport *p, unsigned char data) in amiga_write_data() 40 static unsigned char amiga_read_data(struct parport *p) in amiga_read_data() 54 static void amiga_write_control(struct parport *p, unsigned char control) in amiga_write_control() 60 static unsigned char amiga_read_control( struct parport *p) in amiga_read_control() 66 static unsigned char amiga_frob_control( struct parport *p, unsigned char mask, unsigned char val) in amiga_frob_control() 91 static unsigned char amiga_read_status(struct parport *p) in amiga_read_status() 100 static void amiga_enable_irq(struct parport *p) in amiga_enable_irq() 105 static void amiga_disable_irq(struct parport *p) in amiga_disable_irq() 110 static void amiga_data_forward(struct parport *p) in amiga_data_forward() 117 static void amiga_data_reverse(struct parport *p) in amiga_data_reverse() [all …]
|
D | share.c | 57 static void dead_write_lines(struct parport *p, unsigned char b){} in dead_write_lines() 58 static unsigned char dead_read_lines(struct parport *p) { return 0; } in dead_read_lines() 59 static unsigned char dead_frob_lines(struct parport *p, unsigned char b, in dead_frob_lines() 61 static void dead_onearg(struct parport *p){} in dead_onearg() 63 static void dead_state(struct parport *p, struct parport_state *s) { } in dead_state() 64 static size_t dead_write(struct parport *p, const void *b, size_t l, int f) in dead_write() 66 static size_t dead_read(struct parport *p, void *b, size_t l, int f) in dead_read() 156 struct parport *port = _port; in driver_check() 165 static void attach_driver_chain(struct parport *port) in attach_driver_chain() 183 struct parport *port = _port; in driver_detach() [all …]
|
D | parport_sunbpp.c | 51 static void parport_sunbpp_disable_irq(struct parport *p) in parport_sunbpp_disable_irq() 61 static void parport_sunbpp_enable_irq(struct parport *p) in parport_sunbpp_enable_irq() 71 static void parport_sunbpp_write_data(struct parport *p, unsigned char d) in parport_sunbpp_write_data() 79 static unsigned char parport_sunbpp_read_data(struct parport *p) in parport_sunbpp_read_data() 86 static unsigned char status_sunbpp_to_pc(struct parport *p) in status_sunbpp_to_pc() 109 static unsigned char control_sunbpp_to_pc(struct parport *p) in control_sunbpp_to_pc() 130 static unsigned char parport_sunbpp_read_control(struct parport *p) in parport_sunbpp_read_control() 135 static unsigned char parport_sunbpp_frob_control(struct parport *p, in parport_sunbpp_frob_control() 181 static void parport_sunbpp_write_control(struct parport *p, unsigned char d) in parport_sunbpp_write_control() 191 static unsigned char parport_sunbpp_read_status(struct parport *p) in parport_sunbpp_read_status() [all …]
|
D | parport_mfc3.c | 74 static struct parport *this_port[MAX_MFC] = {NULL, }; 80 static void mfc3_write_data(struct parport *p, unsigned char data) in mfc3_write_data() 89 static unsigned char mfc3_read_data(struct parport *p) in mfc3_read_data() 124 static void mfc3_write_control(struct parport *p, unsigned char control) in mfc3_write_control() 130 static unsigned char mfc3_read_control( struct parport *p) in mfc3_read_control() 136 static unsigned char mfc3_frob_control( struct parport *p, unsigned char mask, unsigned char val) in mfc3_frob_control() 164 static unsigned char mfc3_read_status(struct parport *p) in mfc3_read_status() 188 static void mfc3_enable_irq(struct parport *p) in mfc3_enable_irq() 193 static void mfc3_disable_irq(struct parport *p) in mfc3_disable_irq() 198 static void mfc3_data_forward(struct parport *p) in mfc3_data_forward() [all …]
|
D | procfs.c | 46 struct parport *port = (struct parport *)table->extra1; in do_active_device() 126 struct parport *port = (struct parport *)table->extra1; in do_hardware_base_addr() 153 struct parport *port = (struct parport *)table->extra1; in do_hardware_irq() 180 struct parport *port = (struct parport *)table->extra1; in do_hardware_dma() 207 struct parport *port = (struct parport *)table->extra1; in do_hardware_modes() 430 int parport_proc_register(struct parport *port) in parport_proc_register() 503 int parport_proc_unregister(struct parport *port) in parport_proc_unregister() 519 struct parport * port = device->port; in parport_device_proc_register() 606 int parport_proc_register(struct parport *pp) in parport_proc_register() 611 int parport_proc_unregister(struct parport *pp) in parport_proc_unregister()
|
D | parport_gsc.c | 51 static int clear_epp_timeout(struct parport *pb) in clear_epp_timeout() 81 void parport_gsc_save_state(struct parport *p, struct parport_state *s) in parport_gsc_save_state() 86 void parport_gsc_restore_state(struct parport *p, struct parport_state *s) in parport_gsc_restore_state() 133 static int parport_SPP_supported(struct parport *pb) in parport_SPP_supported() 197 static int parport_PS2_supported(struct parport *pb) in parport_PS2_supported() 228 static struct parport *parport_gsc_probe_port(unsigned long base, in parport_gsc_probe_port() 234 struct parport tmp; in parport_gsc_probe_port() 235 struct parport *p = &tmp; in parport_gsc_probe_port() 335 struct parport *p; in parport_init_chip() 369 struct parport *p = dev_get_drvdata(&dev->dev); in parport_remove_chip()
|
D | ieee1284.c | 36 static void parport_ieee1284_wakeup (struct parport *port) in parport_ieee1284_wakeup() 43 struct parport *port = from_timer(port, t, timer); in timeout_waiting_on_port() 64 int parport_wait_event (struct parport *port, signed long timeout) in parport_wait_event() 107 int parport_poll_peripheral(struct parport *port, in parport_poll_peripheral() 156 int parport_wait_peripheral(struct parport *port, in parport_wait_peripheral() 214 static void parport_ieee1284_terminate (struct parport *port) in parport_ieee1284_terminate() 317 int parport_negotiate (struct parport *port, int mode) in parport_negotiate() 536 static int parport_ieee1284_ack_data_avail (struct parport *port) in parport_ieee1284_ack_data_avail() 552 struct parport *port = handle; in parport_ieee1284_interrupt() 583 ssize_t parport_write (struct parport *port, const void *buffer, size_t len) in parport_write() [all …]
|
D | parport_pc.c | 106 static void frob_econtrol(struct parport *pb, unsigned char m, in frob_econtrol() 127 static inline void frob_set_mode(struct parport *p, int mode) in frob_set_mode() 139 static int change_mode(struct parport *p, int m) in change_mode() 208 static int clear_epp_timeout(struct parport *pb) in clear_epp_timeout() 246 static void parport_pc_save_state(struct parport *p, struct parport_state *s) in parport_pc_save_state() 254 static void parport_pc_restore_state(struct parport *p, in parport_pc_restore_state() 266 static size_t parport_pc_epp_read_data(struct parport *port, void *buf, in parport_pc_epp_read_data() 338 static size_t parport_pc_epp_write_data(struct parport *port, const void *buf, in parport_pc_epp_write_data() 372 static size_t parport_pc_epp_read_addr(struct parport *port, void *buf, in parport_pc_epp_read_addr() 397 static size_t parport_pc_epp_write_addr(struct parport *port, in parport_pc_epp_write_addr() [all …]
|
D | ieee1284_ops.c | 35 size_t parport_ieee1284_write_compat (struct parport *port, in parport_ieee1284_write_compat() 144 size_t parport_ieee1284_read_nibble (struct parport *port, in parport_ieee1284_read_nibble() 232 size_t parport_ieee1284_read_byte (struct parport *port, in parport_ieee1284_read_byte() 323 int ecp_forward_to_reverse (struct parport *port) in ecp_forward_to_reverse() 355 int ecp_reverse_to_forward (struct parport *port) in ecp_reverse_to_forward() 388 size_t parport_ieee1284_ecp_write_data (struct parport *port, in parport_ieee1284_ecp_write_data() 474 size_t parport_ieee1284_ecp_read_data (struct parport *port, in parport_ieee1284_ecp_read_data() 618 size_t parport_ieee1284_ecp_write_addr (struct parport *port, in parport_ieee1284_ecp_write_addr() 709 size_t parport_ieee1284_epp_write_data (struct parport *port, in parport_ieee1284_epp_write_data() 753 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 | 6 parport-objs := share.o ieee1284.o ieee1284_ops.o procfs.o 9 parport-objs += daisy.o probe.o 12 obj-$(CONFIG_PARPORT) += parport.o
|
D | Kconfig | 24 <file:Documentation/admin-guide/parport.rst> and 25 <file:drivers/parport/BUGS-parport>. 34 the module will be called parport. 37 look at <file:Documentation/admin-guide/parport.rst>. 76 FIFO. See <file:Documentation/admin-guide/parport.rst> to find out how to 151 appear in /proc/sys/dev/parport/*/autoprobe*. It is safe to say N.
|
/drivers/i2c/busses/ |
D | i2c-parport.c | 128 static int parport[MAX_DEVICE] = {0, -1, -1, -1}; variable 129 module_param_array(parport, int, NULL, 0); 130 MODULE_PARM_DESC(parport, 153 static void port_write_data(struct parport *p, unsigned char d) in port_write_data() 158 static void port_write_control(struct parport *p, unsigned char d) in port_write_control() 163 static unsigned char port_read_data(struct parport *p) in port_read_data() 168 static unsigned char port_read_status(struct parport *p) in port_read_status() 173 static unsigned char port_read_control(struct parport *p) in port_read_control() 178 static void (* const port_write[])(struct parport *, unsigned char) = { 184 static unsigned char (* const port_read[])(struct parport *) = { [all …]
|
/drivers/usb/misc/ |
D | uss720.c | 49 struct parport *pp; 99 struct parport *pp; in async_complete() 193 static int get_1284_register(struct parport *pp, unsigned char reg, unsigned char *val, gfp_t mem_f… in get_1284_register() 229 static int set_1284_register(struct parport *pp, unsigned char reg, unsigned char val, gfp_t mem_fl… in set_1284_register() 257 static int change_mode(struct parport *pp, int m) in change_mode() 307 static int clear_epp_timeout(struct parport *pp) in clear_epp_timeout() 322 struct parport *pp = (struct parport *)dev_id; 335 static void parport_uss720_write_data(struct parport *pp, unsigned char d) in parport_uss720_write_data() 340 static unsigned char parport_uss720_read_data(struct parport *pp) in parport_uss720_read_data() 349 static void parport_uss720_write_control(struct parport *pp, unsigned char d) in parport_uss720_write_control() [all …]
|
/drivers/input/joystick/ |
D | walkera0701.c | 56 struct parport *parport; member 185 parport_enable_irq(w->parport); in walkera0701_open() 193 parport_disable_irq(w->parport); in walkera0701_close() 199 static void walkera0701_attach(struct parport *pp) in walkera0701_attach() 215 w->parport = pp; in walkera0701_attach() 246 w->input_dev->phys = w->parport->name; in walkera0701_attach() 253 w->input_dev->dev.parent = w->parport->dev; in walkera0701_attach() 280 static void walkera0701_detach(struct parport *port) in walkera0701_detach() 284 if (!w->pardevice || w->parport->number != port->number) in walkera0701_detach() 289 w->parport = NULL; in walkera0701_detach()
|
/drivers/ata/pata_parport/ |
D | pata_parport.c | 481 struct parport *parport; member 490 return pi->pardev->port == match->parport && pi->proto == match->proto; in pi_find_dev() 493 static struct pi_adapter *pi_init_one(struct parport *parport, in pi_init_one() argument 500 struct pi_device_match match = { .parport = parport, .proto = pr }; in pi_init_one() 542 pi->port = parport->base; in pi_init_one() 545 pi->pardev = parport_register_dev_model(parport, DRV_NAME, &par_cb, id); in pi_init_one() 588 struct parport *parport; in pata_parport_register_driver() local 609 idr_for_each_entry(&parport_list, parport, port_num) in pata_parport_register_driver() 610 pi_init_one(parport, pr, -1, -1, -1); in pata_parport_register_driver() 641 struct parport *parport; in new_device_store() local [all …]
|
/drivers/char/ |
D | lp.c | 153 static struct parport *console_registered; 199 static int lp_negotiate(struct parport *port, int mode) in lp_negotiate() 305 struct parport *port = lp_table[minor].dev->port; in lp_write() 424 struct parport *port = lp_table[minor].dev->port; in lp_read() 818 struct parport *port = dev->port; in lp_console_write() 879 static char *parport[LP_NO]; variable 882 module_param_array(parport, charp, NULL, 0); 921 static int lp_register(int nr, struct parport *port) in lp_register() 959 static void lp_attach(struct parport *port) in lp_attach() 993 static void lp_detach(struct parport *port) in lp_detach() [all …]
|
/drivers/pps/clients/ |
D | pps_parport.c | 47 static inline int signal_is_set(struct parport *port) in signal_is_set() 57 struct parport *port = dev->pardev->port; in parport_irq() 123 static void parport_attach(struct parport *port) in parport_attach() 195 static void parport_detach(struct parport *port) in parport_detach()
|
/drivers/net/plip/ |
D | plip.c | 229 struct parport *port = in enable_parport_interrupts() 239 struct parport *port = in disable_parport_interrupts() 247 struct parport *port = in write_data() 255 struct parport *port = in read_status() 1245 static int parport[PLIP_MAX] = { [0 ... PLIP_MAX-1] = -1 }; variable 1248 module_param_array(parport, int, NULL, 0); 1250 MODULE_PARM_DESC(parport, "List of parport device numbers to use by plip"); 1266 static void plip_attach (struct parport *port) in plip_attach() 1274 if ((parport[0] == -1 && (!timid || !port->devices)) || in plip_attach() 1275 plip_searchfor(parport, port->number)) { in plip_attach() [all …]
|
/drivers/auxdisplay/ |
D | ks0108.c | 39 static struct parport *ks0108_parport; 111 static void ks0108_parport_attach(struct parport *port) in ks0108_parport_attach() 141 static void ks0108_parport_detach(struct parport *port) in ks0108_parport_detach()
|
/drivers/pps/generators/ |
D | pps_gen_parport.c | 59 struct parport *port; in hrtimer_event() 143 struct parport *port = dev->pardev->port; in calibrate_port() 177 static void parport_attach(struct parport *port) in parport_attach() 221 static void parport_detach(struct parport *port) in parport_detach()
|