Lines Matching defs:read

1051  * @dropped:	Temporary buffer to remember last read packet dropped values.
1053 * MIB counters needs to be read periodically so that counters do not get
1057 * It is pointless to read MIB counters when the port is disconnected. The
1058 * @state provides the connection status so that MIB counters are read only
1060 * disconnected so that all MIB counters are read one last time to update the
1314 * @counter: Wait queue to wakeup after counters are read.
1315 * @time: Next time in jiffies to read counter.
1316 * @read: Indication of counters read in full or not.
1321 int read;
1336 * @mib_read: Workqueue to read MIB counters.
1337 * @mib_timer_info: Timer to read MIB counters.
1581 * sw_r_table - read 4 bytes of data from switch table
1585 * @data: Buffer to store the read data.
1588 * Hardware interrupts are disabled to minimize corruption of read data.
1675 * sw_r_vlan_table - read from the VLAN table
1704 * port_r_mib_cnt - read MIB counter
1711 * Hardware interrupts are disabled to minimize corruption of read data.
1743 * port_r_mib_pkt - read dropped packet counts
1750 * Hardware interrupts are disabled to minimize corruption of read data.
1790 * port_r_cnt - read MIB counters periodically
1794 * This routine is used to read the counters of the port periodically to avoid
1798 * Return non-zero when not all counters not read.
1874 * port_r8 - read byte from port register
1892 * port_r16 - read word from port register.
2588 * hw_r_phy - read data from PHY register
2590 * @port: Port to read.
2591 * @reg: PHY register to read.
2592 * @val: Buffer to store the read data.
2734 * eeprom_read - read from AT93C46 EEPROM
3677 * hw_read_addr - read MAC address
5497 * mdio_read - read PHY register
6150 hw_priv->counter[p].read = 1;
6152 /* Remember first port that requests read. */
6166 2 == hw_priv->counter[p].read,
6173 2 == hw_priv->counter[p].read,
6178 2 == hw_priv->counter[p].read,
6274 /* Reading MIB counters or requested to read. */
6275 if (mib->cnt_ptr || 1 == hw_priv->counter[i].read) {
6280 hw_priv->counter[i].read = 0;
6284 hw_priv->counter[i].read = 2;
6289 /* Only read MIB counters when the port is connected. */
6291 hw_priv->counter[i].read = 1;
6300 hw_priv->counter[i].read = 1;