Lines Matching defs:parport_operations
65 struct parport_operations { struct
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 *);
83 void (*data_reverse) (struct parport *);
86 void (*init_state)(struct pardevice *, struct parport_state *);
87 void (*save_state)(struct parport *, struct parport_state *);
88 void (*restore_state)(struct parport *, struct parport_state *);
91 size_t (*epp_write_data) (struct parport *port, const void *buf,
93 size_t (*epp_read_data) (struct parport *port, void *buf, size_t len,
95 size_t (*epp_write_addr) (struct parport *port, const void *buf,
97 size_t (*epp_read_addr) (struct parport *port, void *buf, size_t len,
100 size_t (*ecp_write_data) (struct parport *port, const void *buf,
102 size_t (*ecp_read_data) (struct parport *port, void *buf, size_t len,
104 size_t (*ecp_write_addr) (struct parport *port, const void *buf,
107 size_t (*compat_write_data) (struct parport *port, const void *buf,
109 size_t (*nibble_read_data) (struct parport *port, void *buf,
111 size_t (*byte_read_data) (struct parport *port, void *buf,
113 struct module *owner;