Lines Matching refs:ctrl_addr
1601 u16 ctrl_addr; in sw_r_table() local
1604 ctrl_addr = (((table << TABLE_SEL_SHIFT) | TABLE_READ) << 8) | addr; in sw_r_table()
1608 writew(ctrl_addr, hw->io + KS884X_IACR_OFFSET); in sw_r_table()
1629 u16 ctrl_addr; in sw_w_table_64() local
1632 ctrl_addr = ((table << TABLE_SEL_SHIFT) << 8) | addr; in sw_w_table_64()
1639 writew(ctrl_addr, hw->io + KS884X_IACR_OFFSET); in sw_w_table_64()
1725 u16 ctrl_addr; in port_r_mib_cnt() local
1729 ctrl_addr = addr + PORT_COUNTER_NUM * port; in port_r_mib_cnt()
1733 ctrl_addr |= (((TABLE_MIB << TABLE_SEL_SHIFT) | TABLE_READ) << 8); in port_r_mib_cnt()
1734 writew(ctrl_addr, hw->io + KS884X_IACR_OFFSET); in port_r_mib_cnt()
1765 u16 ctrl_addr; in port_r_mib_pkt() local
1773 ctrl_addr = (u16) index; in port_r_mib_pkt()
1774 ctrl_addr |= (((TABLE_MIB << TABLE_SEL_SHIFT) | TABLE_READ) in port_r_mib_pkt()
1776 writew(ctrl_addr, hw->io + KS884X_IACR_OFFSET); in port_r_mib_pkt()