Lines Matching defs:read
1119 * @dropped: Temporary buffer to remember last read packet dropped values.
1121 * MIB counters needs to be read periodically so that counters do not get
1125 * It is pointless to read MIB counters when the port is disconnected. The
1126 * @state provides the connection status so that MIB counters are read only
1128 * disconnected so that all MIB counters are read one last time to update the
1382 * @counter: Wait queue to wakeup after counters are read.
1383 * @time: Next time in jiffies to read counter.
1384 * @read: Indication of counters read in full or not.
1389 int read;
1404 * @mib_read: Workqueue to read MIB counters.
1405 * @mib_timer_info: Timer to read MIB counters.
1658 * sw_r_table - read 4 bytes of data from switch table
1662 * @data: Buffer to store the read data.
1665 * Hardware interrupts are disabled to minimize corruption of read data.
1752 * sw_r_vlan_table - read from the VLAN table
1781 * port_r_mib_cnt - read MIB counter
1788 * Hardware interrupts are disabled to minimize corruption of read data.
1820 * port_r_mib_pkt - read dropped packet counts
1827 * Hardware interrupts are disabled to minimize corruption of read data.
1867 * port_r_cnt - read MIB counters periodically
1871 * This routine is used to read the counters of the port periodically to avoid
1875 * Return non-zero when not all counters not read.
2021 * port_r8 - read byte from port register
2039 * port_r16 - read word from port register.
2959 * hw_r_phy - read data from PHY register
2961 * @port: Port to read.
2962 * @reg: PHY register to read.
2963 * @val: Buffer to store the read data.
3105 * eeprom_read - read from AT93C46 EEPROM
4050 * hw_read_addr - read MAC address
5872 * mdio_read - read PHY register
6521 hw_priv->counter[p].read = 1;
6523 /* Remember first port that requests read. */
6537 2 == hw_priv->counter[p].read,
6544 2 == hw_priv->counter[p].read,
6549 2 == hw_priv->counter[p].read,
6644 /* Reading MIB counters or requested to read. */
6645 if (mib->cnt_ptr || 1 == hw_priv->counter[i].read) {
6650 hw_priv->counter[i].read = 0;
6654 hw_priv->counter[i].read = 2;
6659 /* Only read MIB counters when the port is connected. */
6661 hw_priv->counter[i].read = 1;
6670 hw_priv->counter[i].read = 1;