Lines Matching refs:parport
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()
647 ctrl = readq(&mace->perif.ctrl.parport.cntlstat); in parport_ip32_dma_stop()
649 writeq(ctrl, &mace->perif.ctrl.parport.cntlstat); in parport_ip32_dma_stop()
652 ctx_a = readq(&mace->perif.ctrl.parport.context_a); in parport_ip32_dma_stop()
653 ctx_b = readq(&mace->perif.ctrl.parport.context_b); in parport_ip32_dma_stop()
654 ctrl = readq(&mace->perif.ctrl.parport.cntlstat); in parport_ip32_dma_stop()
655 diag = readq(&mace->perif.ctrl.parport.diagnostic); in parport_ip32_dma_stop()
672 writeq(ctrl, &mace->perif.ctrl.parport.cntlstat); in parport_ip32_dma_stop()
705 writeq(MACEPAR_CTLSTAT_RESET, &mace->perif.ctrl.parport.cntlstat); in parport_ip32_dma_register()
753 static inline void parport_ip32_wakeup(struct parport *p) in parport_ip32_wakeup()
769 struct parport * const p = dev_id; in parport_ip32_interrupt()
791 static inline unsigned int parport_ip32_read_econtrol(struct parport *p) in parport_ip32_read_econtrol()
802 static inline void parport_ip32_write_econtrol(struct parport *p, in parport_ip32_write_econtrol()
818 static inline void parport_ip32_frob_econtrol(struct parport *p, in parport_ip32_frob_econtrol()
835 static void parport_ip32_set_mode(struct parport *p, unsigned int mode) in parport_ip32_set_mode()
857 static inline unsigned char parport_ip32_read_data(struct parport *p) in parport_ip32_read_data()
868 static inline void parport_ip32_write_data(struct parport *p, unsigned char d) in parport_ip32_write_data()
878 static inline unsigned char parport_ip32_read_status(struct parport *p) in parport_ip32_read_status()
888 static inline unsigned int __parport_ip32_read_control(struct parport *p) in __parport_ip32_read_control()
899 static inline void __parport_ip32_write_control(struct parport *p, in __parport_ip32_write_control()
919 static inline void __parport_ip32_frob_control(struct parport *p, in __parport_ip32_frob_control()
935 static inline unsigned char parport_ip32_read_control(struct parport *p) in parport_ip32_read_control()
950 static inline void parport_ip32_write_control(struct parport *p, in parport_ip32_write_control()
968 static inline unsigned char parport_ip32_frob_control(struct parport *p, in parport_ip32_frob_control()
984 static inline void parport_ip32_disable_irq(struct parport *p) in parport_ip32_disable_irq()
993 static inline void parport_ip32_enable_irq(struct parport *p) in parport_ip32_enable_irq()
1004 static inline void parport_ip32_data_forward(struct parport *p) in parport_ip32_data_forward()
1016 static inline void parport_ip32_data_reverse(struct parport *p) in parport_ip32_data_reverse()
1038 static void parport_ip32_save_state(struct parport *p, in parport_ip32_save_state()
1050 static void parport_ip32_restore_state(struct parport *p, in parport_ip32_restore_state()
1066 static unsigned int parport_ip32_clear_epp_timeout(struct parport *p) in parport_ip32_clear_epp_timeout()
1100 struct parport *p, void *buf, in parport_ip32_epp_read()
1139 struct parport *p, const void *buf, in parport_ip32_epp_write()
1175 static size_t parport_ip32_epp_read_data(struct parport *p, void *buf, in parport_ip32_epp_read_data()
1189 static size_t parport_ip32_epp_write_data(struct parport *p, const void *buf, in parport_ip32_epp_write_data()
1203 static size_t parport_ip32_epp_read_addr(struct parport *p, void *buf, in parport_ip32_epp_read_addr()
1217 static size_t parport_ip32_epp_write_addr(struct parport *p, const void *buf, in parport_ip32_epp_write_addr()
1238 static unsigned int parport_ip32_fifo_wait_break(struct parport *p, in parport_ip32_fifo_wait_break()
1265 static unsigned int parport_ip32_fwp_wait_polling(struct parport *p) in parport_ip32_fwp_wait_polling()
1268 struct parport * const physport = p->physport; in parport_ip32_fwp_wait_polling()
1305 static unsigned int parport_ip32_fwp_wait_interrupt(struct parport *p) in parport_ip32_fwp_wait_interrupt()
1309 struct parport * const physport = p->physport; in parport_ip32_fwp_wait_interrupt()
1381 static size_t parport_ip32_fifo_write_block_pio(struct parport *p, in parport_ip32_fifo_write_block_pio()
1425 static size_t parport_ip32_fifo_write_block_dma(struct parport *p, in parport_ip32_fifo_write_block_dma()
1429 struct parport * const physport = p->physport; in parport_ip32_fifo_write_block_dma()
1470 static size_t parport_ip32_fifo_write_block(struct parport *p, in parport_ip32_fifo_write_block()
1491 static unsigned int parport_ip32_drain_fifo(struct parport *p, in parport_ip32_drain_fifo()
1531 static unsigned int parport_ip32_get_fifo_residue(struct parport *p, in parport_ip32_get_fifo_residue()
1619 static size_t parport_ip32_compat_write_data(struct parport *p, in parport_ip32_compat_write_data()
1625 struct parport * const physport = p->physport; in parport_ip32_compat_write_data()
1685 static size_t parport_ip32_ecp_write_data(struct parport *p, in parport_ip32_ecp_write_data()
1691 struct parport * const physport = p->physport; in parport_ip32_ecp_write_data()
1807 static __init unsigned int parport_ip32_ecp_supported(struct parport *p) in parport_ip32_ecp_supported()
1835 static __init unsigned int parport_ip32_fifo_supported(struct parport *p) in parport_ip32_fifo_supported()
2023 static __init struct parport *parport_ip32_probe_port(void) in parport_ip32_probe_port()
2028 struct parport *p = NULL; in parport_ip32_probe_port()
2173 static __exit void parport_ip32_unregister_port(struct parport *p) in parport_ip32_unregister_port()