Searched refs:__ATTR (Results 1 - 5 of 5) sorted by relevance
/freebsd-11.0-release/sys/compat/linuxkpi/common/include/linux/ |
H A D | sysfs.h | 53 #define __ATTR(_name, _mode, _show, _store) { \ macro
|
H A D | device.h | 124 { __ATTR(_name, _mode, show_class_attr_string, NULL), _str }
|
/freebsd-11.0-release/sys/ofed/drivers/infiniband/core/ |
H A D | sysfs.c | 61 struct port_attribute port_attr_##_name = __ATTR(_name, _mode, _show, _store) 368 .attr = __ATTR(_name, S_IRUGO, show_pma_counter, NULL), \ 422 .attr = __ATTR(_name, S_IRUGO, show_pma_counter_ext, NULL), \
|
/freebsd-11.0-release/sys/ofed/drivers/net/mlx4/ |
H A D | main.c | 2987 info->firmware_attr = (struct device_attribute)__ATTR(fw_ver, S_IRUGO, 2992 info->hca_attr = (struct device_attribute)__ATTR(hca, S_IRUGO, show_hca, 2997 info->board_attr = (struct device_attribute)__ATTR(board_id, S_IRUGO,
|
H A D | en_netdev.c | 1713 struct en_port_attribute en_port_attr_##_name = __ATTR(_name, _mode, _show, _store)
|
Completed in 57 milliseconds