Lines Matching refs:DEVICE_ATTR

174 static DEVICE_ATTR(name, S_IRUGO, show_##name, NULL);
195 static DEVICE_ATTR(scan, S_IWUSR, NULL, store_scan);
267 static DEVICE_ATTR(supported_mode, S_IRUGO | S_IWUSR, show_shost_supported_mode, NULL);
281 static DEVICE_ATTR(active_mode, S_IRUGO | S_IWUSR, show_shost_active_mode, NULL);
317 static DEVICE_ATTR(host_reset, S_IWUSR, NULL, store_host_reset);
369 static DEVICE_ATTR(eh_deadline, S_IRUGO | S_IWUSR, show_shost_eh_deadline, store_shost_eh_deadline);
387 static DEVICE_ATTR(host_busy, S_IRUGO, show_host_busy, NULL);
394 static DEVICE_ATTR(use_blk_mq, S_IRUGO, show_use_blk_mq, NULL);
404 static DEVICE_ATTR(nr_hw_queues, S_IRUGO, show_nr_hw_queues, NULL);
604 static DEVICE_ATTR(field, S_IRUGO, sdev_show_##field, NULL);
623 static DEVICE_ATTR(field, S_IRUGO | S_IWUSR, sdev_show_##field, sdev_store_##field);
649 static DEVICE_ATTR(field, S_IRUGO | S_IWUSR, sdev_show_##field, sdev_store_##field);
684 static DEVICE_ATTR(device_busy, S_IRUGO, sdev_show_device_busy, NULL);
693 static DEVICE_ATTR(device_blocked, S_IRUGO, sdev_show_device_blocked, NULL);
717 static DEVICE_ATTR(timeout, S_IRUGO | S_IWUSR, sdev_show_timeout, sdev_store_timeout);
746 static DEVICE_ATTR(eh_timeout, S_IRUGO | S_IWUSR, sdev_show_eh_timeout, sdev_store_eh_timeout);
755 static DEVICE_ATTR(rescan, S_IWUSR, NULL, store_rescan_field);
790 static DEVICE_ATTR(delete, S_IWUSR, NULL, sdev_store_delete);
863 static DEVICE_ATTR(state, S_IRUGO | S_IWUSR, show_state_field, store_state_field);
892 static DEVICE_ATTR(queue_type, S_IRUGO | S_IWUSR, show_queue_type_field,
955 static DEVICE_ATTR(iocounterbits, S_IRUGO, show_iostat_counterbits, NULL);
966 static DEVICE_ATTR(field, S_IRUGO, show_iostat_##field, NULL)
979 static DEVICE_ATTR(modalias, S_IRUGO, sdev_show_modalias, NULL);
1010 static DEVICE_ATTR(evt_##name, S_IRUGO, sdev_show_evt_##name, \
1047 static DEVICE_ATTR(queue_depth, S_IRUGO | S_IWUSR, sdev_show_queue_depth,
1064 static DEVICE_ATTR(wwid, S_IRUGO, sdev_show_wwid, NULL);
1100 static DEVICE_ATTR(blacklist, S_IRUGO, sdev_show_blacklist, NULL);
1152 static DEVICE_ATTR(dh_state, S_IRUGO | S_IWUSR, sdev_show_dh_state,
1173 static DEVICE_ATTR(access_state, S_IRUGO, sdev_show_access_state, NULL);
1190 static DEVICE_ATTR(preferred_path, S_IRUGO, sdev_show_preferred_path, NULL);
1219 static DEVICE_ATTR(queue_ramp_up_period, S_IRUGO | S_IWUSR,