• Home
  • Raw
  • Download

Lines Matching refs:attr

36 			   struct device_attribute *attr, char *buf,  in netdev_show()  argument
57 struct device_attribute *attr, char *buf) \
59 return netdev_show(dev, attr, buf, format_##field); \
64 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr, in netdev_store() argument
101 static ssize_t show_address(struct device *dev, struct device_attribute *attr, in show_address() argument
115 struct device_attribute *attr, char *buf) in show_broadcast() argument
124 struct device_attribute *attr, char *buf) in show_carrier() argument
134 struct device_attribute *attr, char *buf) in show_dormant() argument
155 struct device_attribute *attr, char *buf) in show_operstate() argument
180 static ssize_t store_mtu(struct device *dev, struct device_attribute *attr, in store_mtu() argument
183 return netdev_store(dev, attr, buf, len, change_mtu); in store_mtu()
193 static ssize_t store_flags(struct device *dev, struct device_attribute *attr, in store_flags() argument
196 return netdev_store(dev, attr, buf, len, change_flags); in store_flags()
208 struct device_attribute *attr, in store_tx_queue_len() argument
211 return netdev_store(dev, attr, buf, len, change_tx_queue_len); in store_tx_queue_len()
214 static ssize_t store_ifalias(struct device *dev, struct device_attribute *attr, in store_ifalias() argument
236 struct device_attribute *attr, char *buf) in show_ifalias() argument
271 struct device_attribute *attr, char *buf, in netstat_show() argument
293 struct device_attribute *attr, char *buf) \
295 return netstat_show(d, attr, buf, \
325 &dev_attr_rx_packets.attr,
326 &dev_attr_tx_packets.attr,
327 &dev_attr_rx_bytes.attr,
328 &dev_attr_tx_bytes.attr,
329 &dev_attr_rx_errors.attr,
330 &dev_attr_tx_errors.attr,
331 &dev_attr_rx_dropped.attr,
332 &dev_attr_tx_dropped.attr,
333 &dev_attr_multicast.attr,
334 &dev_attr_collisions.attr,
335 &dev_attr_rx_length_errors.attr,
336 &dev_attr_rx_over_errors.attr,
337 &dev_attr_rx_crc_errors.attr,
338 &dev_attr_rx_frame_errors.attr,
339 &dev_attr_rx_fifo_errors.attr,
340 &dev_attr_rx_missed_errors.attr,
341 &dev_attr_tx_aborted_errors.attr,
342 &dev_attr_tx_carrier_errors.attr,
343 &dev_attr_tx_fifo_errors.attr,
344 &dev_attr_tx_heartbeat_errors.attr,
345 &dev_attr_tx_window_errors.attr,
346 &dev_attr_rx_compressed.attr,
347 &dev_attr_tx_compressed.attr,
387 struct device_attribute *attr, char *buf) \
405 &dev_attr_status.attr,
406 &dev_attr_link.attr,
407 &dev_attr_level.attr,
408 &dev_attr_noise.attr,
409 &dev_attr_nwid.attr,
410 &dev_attr_crypt.attr,
411 &dev_attr_fragment.attr,
412 &dev_attr_retries.attr,
413 &dev_attr_misc.attr,
414 &dev_attr_beacon.attr,