/linux-6.1.9/include/linux/ |
D | parport.h | 21 struct parport; 67 void (*write_data)(struct parport *, unsigned char); 68 unsigned char (*read_data)(struct parport *); 70 void (*write_control)(struct parport *, unsigned char); 71 unsigned char (*read_control)(struct parport *); 72 unsigned char (*frob_control)(struct parport *, unsigned char mask, 75 unsigned char (*read_status)(struct parport *); 78 void (*enable_irq)(struct parport *); 79 void (*disable_irq)(struct parport *); 82 void (*data_forward) (struct parport *); [all …]
|
D | parport_pc.h | 43 struct parport *port; 63 static __inline__ void parport_pc_write_data(struct parport *p, unsigned char d) in parport_pc_write_data() 71 static __inline__ unsigned char parport_pc_read_data(struct parport *p) in parport_pc_read_data() 82 static inline void dump_parport_state (char *str, struct parport *p) in dump_parport_state() 128 static __inline__ unsigned char __parport_pc_frob_control (struct parport *p, in __parport_pc_frob_control() 146 static __inline__ void parport_pc_data_reverse (struct parport *p) in parport_pc_data_reverse() 151 static __inline__ void parport_pc_data_forward (struct parport *p) in parport_pc_data_forward() 156 static __inline__ void parport_pc_write_control (struct parport *p, in parport_pc_write_control() 174 static __inline__ unsigned char parport_pc_read_control(struct parport *p) in parport_pc_read_control() 184 static __inline__ unsigned char parport_pc_frob_control (struct parport *p, in parport_pc_frob_control() [all …]
|
/linux-6.1.9/drivers/parport/ |
D | parport_gsc.h | 71 static inline void parport_gsc_write_data(struct parport *p, unsigned char d) in parport_gsc_write_data() 79 static inline unsigned char parport_gsc_read_data(struct parport *p) in parport_gsc_read_data() 90 static inline unsigned char __parport_gsc_frob_control(struct parport *p, in __parport_gsc_frob_control() 108 static inline void parport_gsc_data_reverse(struct parport *p) in parport_gsc_data_reverse() 113 static inline void parport_gsc_data_forward(struct parport *p) in parport_gsc_data_forward() 118 static inline void parport_gsc_write_control(struct parport *p, in parport_gsc_write_control() 136 static inline unsigned char parport_gsc_read_control(struct parport *p) in parport_gsc_read_control() 146 static inline unsigned char parport_gsc_frob_control(struct parport *p, in parport_gsc_frob_control() 173 static inline unsigned char parport_gsc_read_status(struct parport *p) in parport_gsc_read_status() 178 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 | 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 | 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_ax88796.c | 32 struct parport *parport; member 46 static inline struct ax_drvdata *pp_to_drv(struct parport *p) in pp_to_drv() 52 parport_ax88796_read_data(struct parport *p) in parport_ax88796_read_data() 60 parport_ax88796_write_data(struct parport *p, unsigned char data) in parport_ax88796_write_data() 68 parport_ax88796_read_control(struct parport *p) in parport_ax88796_read_control() 90 parport_ax88796_write_control(struct parport *p, unsigned char control) in parport_ax88796_write_control() 119 parport_ax88796_read_status(struct parport *p) in parport_ax88796_read_status() 144 parport_ax88796_frob_control(struct parport *p, unsigned char mask, in parport_ax88796_frob_control() 158 parport_ax88796_enable_irq(struct parport *p) in parport_ax88796_enable_irq() 172 parport_ax88796_disable_irq(struct parport *p) in parport_ax88796_disable_irq() [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 | 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 | 39 struct parport *port = (struct parport *)table->extra1; in do_active_device() 119 struct parport *port = (struct parport *)table->extra1; in do_hardware_base_addr() 146 struct parport *port = (struct parport *)table->extra1; in do_hardware_irq() 173 struct parport *port = (struct parport *)table->extra1; in do_hardware_dma() 200 struct parport *port = (struct parport *)table->extra1; in do_hardware_modes() 477 int parport_proc_register(struct parport *port) in parport_proc_register() 512 int parport_proc_unregister(struct parport *port) in parport_proc_unregister() 526 struct parport * port = device->port; in parport_device_proc_register() 591 int parport_proc_register(struct parport *pp) in parport_proc_register() 596 int parport_proc_unregister(struct parport *pp) in parport_proc_unregister()
|
D | parport_gsc.c | 52 static int clear_epp_timeout(struct parport *pb) in clear_epp_timeout() 82 void parport_gsc_save_state(struct parport *p, struct parport_state *s) in parport_gsc_save_state() 87 void parport_gsc_restore_state(struct parport *p, struct parport_state *s) in parport_gsc_restore_state() 134 static int parport_SPP_supported(struct parport *pb) in parport_SPP_supported() 198 static int parport_PS2_supported(struct parport *pb) in parport_PS2_supported() 229 struct parport *parport_gsc_probe_port(unsigned long base, in parport_gsc_probe_port() 235 struct parport tmp; in parport_gsc_probe_port() 236 struct parport *p = &tmp; in parport_gsc_probe_port() 348 struct parport *p; in parport_init_chip() 383 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() 120 static inline void frob_set_mode(struct parport *p, int mode) in frob_set_mode() 132 static int change_mode(struct parport *p, int m) in change_mode() 201 static int clear_epp_timeout(struct parport *pb) in clear_epp_timeout() 239 static void parport_pc_save_state(struct parport *p, struct parport_state *s) in parport_pc_save_state() 247 static void parport_pc_restore_state(struct parport *p, in parport_pc_restore_state() 259 static size_t parport_pc_epp_read_data(struct parport *port, void *buf, in parport_pc_epp_read_data() 325 static size_t parport_pc_epp_write_data(struct parport *port, const void *buf, in parport_pc_epp_write_data() 353 static size_t parport_pc_epp_read_addr(struct parport *port, void *buf, in parport_pc_epp_read_addr() 378 static size_t parport_pc_epp_write_addr(struct parport *port, in parport_pc_epp_write_addr() [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 | 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 | 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
|
/linux-6.1.9/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 …]
|
/linux-6.1.9/Documentation/driver-api/ |
D | parport-lowlevel.rst | 64 The parport subsystem comprises ``parport`` (the core port-sharing 69 The parport interface to the device driver author can be broken down 73 driver and the parport subsystem: acquiring a list of available ports, 79 core parport module provides generic ``defaults`` for some routines. 103 parport_register_driver - register a device driver with parport 111 #include <linux/parport.h> 115 void (*attach) (struct parport *); 116 void (*detach) (struct parport *); 135 The visible parts of the ``struct parport *`` argument given to 138 struct parport [all …]
|
/linux-6.1.9/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 …]
|
/linux-6.1.9/sound/drivers/ |
D | mts64.c | 126 static void mts64_enable_readout(struct parport *p); 127 static void mts64_disable_readout(struct parport *p); 128 static int mts64_device_ready(struct parport *p); 129 static int mts64_device_init(struct parport *p); 133 static int mts64_probe(struct parport *p); 134 static u16 mts64_read(struct parport *p); 135 static u8 mts64_read_char(struct parport *p); 136 static void mts64_smpte_start(struct parport *p, 140 static void mts64_smpte_stop(struct parport *p); 141 static void mts64_write_command(struct parport *p, u8 c); [all …]
|
/linux-6.1.9/Documentation/admin-guide/ |
D | parport.rst | 4 The ``parport`` code provides parallel-port support under Linux. This 8 You can pass parameters to the ``parport`` code to override its automatic 15 The ``parport`` code is split into two parts: generic (which deals with 23 If you load the `parport`` code as a module, say:: 25 # insmod parport 27 to load the generic ``parport`` code. You then must load the 32 to tell the ``parport`` code that you want three PC-style ports, one at 70 The probe information is available from files in ``/proc/sys/dev/parport/``. 76 If you compile the ``parport`` code into the kernel, then you can use 80 parport=0x3bc parport=0x378,7 parport=0x278,auto,nofifo [all …]
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/char/ |
D | lp.c | 151 static struct parport *console_registered; 197 static int lp_negotiate(struct parport *port, int mode) in lp_negotiate() 303 struct parport *port = lp_table[minor].dev->port; in lp_write() 422 struct parport *port = lp_table[minor].dev->port; in lp_read() 816 struct parport *port = dev->port; in lp_console_write() 877 static char *parport[LP_NO]; variable 880 module_param_array(parport, charp, NULL, 0); 919 static int lp_register(int nr, struct parport *port) in lp_register() 957 static void lp_attach(struct parport *port) in lp_attach() 991 static void lp_detach(struct parport *port) in lp_detach() [all …]
|