Lines Matching refs:hrz_dev
371 static inline void wr_regl (const hrz_dev * dev, unsigned char reg, u32 data) { in wr_regl()
375 static inline u32 rd_regl (const hrz_dev * dev, unsigned char reg) { in rd_regl()
379 static inline void wr_regw (const hrz_dev * dev, unsigned char reg, u16 data) { in wr_regw()
383 static inline u16 rd_regw (const hrz_dev * dev, unsigned char reg) { in rd_regw()
387 static inline void wrs_regb (const hrz_dev * dev, unsigned char reg, void * addr, u32 len) { in wrs_regb()
391 static inline void rds_regb (const hrz_dev * dev, unsigned char reg, void * addr, u32 len) { in rds_regb()
398 static inline void wr_mem (const hrz_dev * dev, HDW * addr, u32 data) { in wr_mem()
404 static inline u32 rd_mem (const hrz_dev * dev, HDW * addr) { in rd_mem()
410 static inline void wr_framer (const hrz_dev * dev, u32 addr, u32 data) { in wr_framer()
415 static inline u32 rd_framer (const hrz_dev * dev, u32 addr) { in rd_framer()
424 static inline void FLUSH_RX_CHANNEL (hrz_dev * dev, u16 channel) { in FLUSH_RX_CHANNEL()
429 static void WAIT_FLUSH_RX_COMPLETE (hrz_dev * dev) { in WAIT_FLUSH_RX_COMPLETE()
435 static inline void SELECT_RX_CHANNEL (hrz_dev * dev, u16 channel) { in SELECT_RX_CHANNEL()
440 static void WAIT_UPDATE_COMPLETE (hrz_dev * dev) { in WAIT_UPDATE_COMPLETE()
448 static inline void SELECT_TX_CHANNEL (hrz_dev * dev, u16 tx_channel) { in SELECT_TX_CHANNEL()
455 static inline void update_tx_channel_config (hrz_dev * dev, short chan, u8 mode, u16 value) { in update_tx_channel_config()
480 static inline void dump_regs (hrz_dev * dev) { in dump_regs()
494 static inline void dump_framer (hrz_dev * dev) { in dump_framer()
587 static int make_rate (const hrz_dev * dev, u32 c, rounding r, in make_rate()
694 static int make_rate_with_tolerance (const hrz_dev * dev, u32 c, rounding r, unsigned int tol, in make_rate_with_tolerance()
719 static int hrz_open_rx (hrz_dev * dev, u16 channel) { in hrz_open_rx()
795 static void hrz_close_rx (hrz_dev * dev, u16 vc) { in hrz_close_rx()
934 static void rx_schedule (hrz_dev * dev, int irq) { in rx_schedule()
1065 static void rx_bus_master_complete_handler (hrz_dev * dev) { in rx_bus_master_complete_handler()
1078 static int tx_hold (hrz_dev * dev) { in tx_hold()
1090 static inline void tx_release (hrz_dev * dev) { in tx_release()
1098 static void tx_schedule (hrz_dev * const dev, int irq) { in tx_schedule()
1221 static void tx_bus_master_complete_handler (hrz_dev * dev) { in tx_bus_master_complete_handler()
1235 static u32 rx_queue_entry_next (hrz_dev * dev) { in rx_queue_entry_next()
1251 static void rx_data_av_handler (hrz_dev * dev) { in rx_data_av_handler()
1365 hrz_dev *dev = dev_id; in interrupt_handler()
1423 hrz_dev * dev = from_timer(dev, t, housekeeping); in do_housekeeping()
1439 static short setup_idle_tx_channel (hrz_dev * dev, hrz_vcc * vcc) { in setup_idle_tx_channel()
1566 hrz_dev * dev = HRZ_DEV(atm_vcc->dev); in hrz_send()
1735 static void hrz_reset (const hrz_dev * dev) { in hrz_reset()
1756 static void WRITE_IT_WAIT (const hrz_dev *dev, u32 ctrl) in WRITE_IT_WAIT()
1762 static void CLOCK_IT (const hrz_dev *dev, u32 ctrl) in CLOCK_IT()
1769 static u16 read_bia(const hrz_dev *dev, u16 addr) in read_bia()
1825 static int hrz_init(hrz_dev *dev) in hrz_init()
2117 hrz_dev * dev = HRZ_DEV(atm_vcc->dev); in hrz_open()
2494 hrz_dev * dev = HRZ_DEV(atm_vcc->dev); in hrz_close()
2548 hrz_dev * dev = HRZ_DEV(atm_vcc->dev);
2567 hrz_dev * dev = HRZ_DEV(atm_vcc->dev);
2587 hrz_dev * dev = HRZ_DEV(atm_dev);
2593 hrz_dev * dev = HRZ_DEV(atm_dev);
2600 hrz_dev * dev = HRZ_DEV(atm_dev);
2605 hrz_dev * dev = HRZ_DEV(vcc->dev);
2614 hrz_dev * dev = HRZ_DEV(atm_dev); in hrz_proc_read()
2665 hrz_dev * dev; in hrz_probe()
2685 dev = kzalloc(sizeof(hrz_dev), GFP_KERNEL); in hrz_probe()
2818 hrz_dev *dev; in hrz_remove_one()