Lines Matching defs:wr_regl
370 static inline void wr_regl (const hrz_dev * dev, unsigned char reg, u32 data) {
398 // wr_regl (dev, MEM_WR_ADDR_REG_OFF, (u32) addr);
399 wr_regl (dev, MEM_WR_ADDR_REG_OFF, (addr - (HDW *) 0) * sizeof(HDW));
400 wr_regl (dev, MEMORY_PORT_OFF, data);
404 // wr_regl (dev, MEM_RD_ADDR_REG_OFF, (u32) addr);
405 wr_regl (dev, MEM_RD_ADDR_REG_OFF, (addr - (HDW *) 0) * sizeof(HDW));
410 wr_regl (dev, MEM_WR_ADDR_REG_OFF, (u32) addr | 0x80000000);
411 wr_regl (dev, MEMORY_PORT_OFF, data);
415 wr_regl (dev, MEM_RD_ADDR_REG_OFF, (u32) addr | 0x80000000);
448 wr_regl (dev, TX_CHANNEL_PORT_OFF, tx_channel);
979 wr_regl (dev, MASTER_RX_COUNT_REG_OFF, 0);
982 wr_regl (dev, MASTER_RX_ADDR_REG_OFF, virt_to_bus (dev->rx_addr));
983 wr_regl (dev, MASTER_RX_COUNT_REG_OFF, rx_bytes);
988 wr_regl (dev, MASTER_RX_COUNT_REG_OFF, 0);
1016 wr_regl (dev, MASTER_RX_COUNT_REG_OFF, 0);
1117 wr_regl (dev, MASTER_TX_COUNT_REG_OFF, 0);
1120 wr_regl (dev, TX_DESCRIPTOR_PORT_OFF, cpu_to_be32 (dev->tx_skb->len));
1122 wr_regl (dev, MASTER_TX_ADDR_REG_OFF, virt_to_bus (dev->tx_addr));
1124 wr_regl (dev, TX_DESCRIPTOR_REG_OFF, cpu_to_be32 (dev->tx_skb->len));
1125 wr_regl (dev, MASTER_TX_COUNT_REG_OFF,
1133 wr_regl (dev, MASTER_TX_COUNT_REG_OFF, 0);
1159 wr_regl (dev, MASTER_TX_COUNT_REG_OFF, 0);
1651 wr_regl (dev, CONTROL_0_REG, control_0_reg);
1656 wr_regl (dev, CONTROL_0_REG, control_0_reg |
1661 wr_regl (dev, CONTROL_0_REG, control_0_reg);
1668 wr_regl (dev, CONTROL_0_REG, ctrl);
1865 wr_regl (dev, CONTROL_0_REG, ctrl);
1873 wr_regl (dev, CONTROL_0_REG, ctrl);
1945 wr_regl (dev, INT_ENABLE_REG_OFF, INTERESTING_INTERRUPTS);