Lines Matching refs:wr_regl
369 static inline void wr_regl (const hrz_dev * dev, unsigned char reg, u32 data) { in wr_regl() function
398 wr_regl (dev, MEM_WR_ADDR_REG_OFF, (addr - (HDW *) 0) * sizeof(HDW)); in wr_mem()
399 wr_regl (dev, MEMORY_PORT_OFF, data); in wr_mem()
404 wr_regl (dev, MEM_RD_ADDR_REG_OFF, (addr - (HDW *) 0) * sizeof(HDW)); in rd_mem()
409 wr_regl (dev, MEM_WR_ADDR_REG_OFF, (u32) addr | 0x80000000); in wr_framer()
410 wr_regl (dev, MEMORY_PORT_OFF, data); in wr_framer()
414 wr_regl (dev, MEM_RD_ADDR_REG_OFF, (u32) addr | 0x80000000); in rd_framer()
447 wr_regl (dev, TX_CHANNEL_PORT_OFF, tx_channel); in SELECT_TX_CHANNEL()
982 wr_regl (dev, MASTER_RX_COUNT_REG_OFF, 0); in rx_schedule()
1065 wr_regl (dev, MASTER_RX_COUNT_REG_OFF, 0); in rx_schedule()
1068 wr_regl (dev, MASTER_RX_ADDR_REG_OFF, virt_to_bus (dev->rx_addr)); in rx_schedule()
1069 wr_regl (dev, MASTER_RX_COUNT_REG_OFF, rx_bytes); in rx_schedule()
1074 wr_regl (dev, MASTER_RX_COUNT_REG_OFF, 0); in rx_schedule()
1102 wr_regl (dev, MASTER_RX_COUNT_REG_OFF, 0); in rx_bus_master_complete_handler()
1150 wr_regl (dev, MASTER_TX_COUNT_REG_OFF, 0); in tx_schedule()
1218 wr_regl (dev, MASTER_TX_COUNT_REG_OFF, 0); in tx_schedule()
1221 wr_regl (dev, TX_DESCRIPTOR_PORT_OFF, cpu_to_be32 (dev->tx_skb->len)); in tx_schedule()
1223 wr_regl (dev, MASTER_TX_ADDR_REG_OFF, virt_to_bus (dev->tx_addr)); in tx_schedule()
1225 wr_regl (dev, TX_DESCRIPTOR_REG_OFF, cpu_to_be32 (dev->tx_skb->len)); in tx_schedule()
1226 wr_regl (dev, MASTER_TX_COUNT_REG_OFF, in tx_schedule()
1234 wr_regl (dev, MASTER_TX_COUNT_REG_OFF, 0); in tx_schedule()
1260 wr_regl (dev, MASTER_TX_COUNT_REG_OFF, 0); in tx_bus_master_complete_handler()
1810 wr_regl (dev, CONTROL_0_REG, control_0_reg); in hrz_reset()
1815 wr_regl (dev, CONTROL_0_REG, control_0_reg | in hrz_reset()
1820 wr_regl (dev, CONTROL_0_REG, control_0_reg); in hrz_reset()
1830 wr_regl (dev, CONTROL_0_REG, ctrl); in read_bia()
2024 wr_regl (dev, CONTROL_0_REG, ctrl); in hrz_init()
2032 wr_regl (dev, CONTROL_0_REG, ctrl); in hrz_init()
2104 wr_regl (dev, INT_ENABLE_REG_OFF, INTERESTING_INTERRUPTS); in hrz_init()