Lines Matching refs:ctrl_addr
1669 u16 ctrl_addr; in sw_r_table() local
1672 ctrl_addr = (((table << TABLE_SEL_SHIFT) | TABLE_READ) << 8) | addr; in sw_r_table()
1676 writew(ctrl_addr, hw->io + KS884X_IACR_OFFSET); in sw_r_table()
1697 u16 ctrl_addr; in sw_w_table_64() local
1700 ctrl_addr = ((table << TABLE_SEL_SHIFT) << 8) | addr; in sw_w_table_64()
1707 writew(ctrl_addr, hw->io + KS884X_IACR_OFFSET); in sw_w_table_64()
1793 u16 ctrl_addr; in port_r_mib_cnt() local
1797 ctrl_addr = addr + PORT_COUNTER_NUM * port; in port_r_mib_cnt()
1801 ctrl_addr |= (((TABLE_MIB << TABLE_SEL_SHIFT) | TABLE_READ) << 8); in port_r_mib_cnt()
1802 writew(ctrl_addr, hw->io + KS884X_IACR_OFFSET); in port_r_mib_cnt()
1833 u16 ctrl_addr; in port_r_mib_pkt() local
1841 ctrl_addr = (u16) index; in port_r_mib_pkt()
1842 ctrl_addr |= (((TABLE_MIB << TABLE_SEL_SHIFT) | TABLE_READ) in port_r_mib_pkt()
1844 writew(ctrl_addr, hw->io + KS884X_IACR_OFFSET); in port_r_mib_pkt()