Searched refs:attr_type (Results 1 – 7 of 7) sorted by relevance
/drivers/platform/x86/dell/dell-wmi-sysman/ |
D | sysman.c | 322 static int alloc_attributes_data(int attr_type) in alloc_attributes_data() argument 326 switch (attr_type) { in alloc_attributes_data() 394 static int init_bios_attributes(int attr_type, const char *guid) in init_bios_attributes() argument 409 retval = alloc_attributes_data(attr_type); in init_bios_attributes() 413 switch (attr_type) { in init_bios_attributes() 419 pr_err("Error: Unknown attr_type: %d\n", attr_type); in init_bios_attributes() 453 if (attr_type == PO) in init_bios_attributes() 483 switch (attr_type) { in init_bios_attributes()
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-sysfs.c | 51 struct device_attribute attr_type; member 94 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_type); in show_type() 317 sysfs_attr_init(&cip->attr_type.attr); in pvr2_sysfs_add_control() 318 cip->attr_type.attr.name = "type"; in pvr2_sysfs_add_control() 319 cip->attr_type.attr.mode = S_IRUGO; in pvr2_sysfs_add_control() 320 cip->attr_type.show = show_type; in pvr2_sysfs_add_control() 362 cip->attr_gen[acnt++] = &cip->attr_type.attr; in pvr2_sysfs_add_control()
|
/drivers/scsi/ |
D | iscsi_boot_sysfs.c | 69 #define iscsi_boot_rd_attr(fnname, sysfs_name, attr_type) \ argument 72 .type = attr_type, \
|
/drivers/net/wireless/microchip/wilc1000/ |
D | cfg80211.c | 79 u8 attr_type; member 85 u8 attr_type; member 93 u8 attr_type; member 953 if (e->attr_type == IEEE80211_P2P_ATTR_CHANNEL_LIST && in wilc_wfi_cfg_parse_ch_attr() 956 else if (e->attr_type == IEEE80211_P2P_ATTR_OPER_CHANNEL && in wilc_wfi_cfg_parse_ch_attr()
|
/drivers/hwtracing/coresight/ |
D | coresight-cti-sysfs.c | 1051 enum cti_conn_attr_type attr_type, in cti_create_con_sysfs_attr() argument 1060 name = devm_kstrdup(dev, con_attr_names[attr_type], in cti_create_con_sysfs_attr() 1068 eattr->attr.show = show_fns[attr_type]; in cti_create_con_sysfs_attr()
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_hwmon.c | 462 enum mlxsw_hwmon_attr_type attr_type, in mlxsw_hwmon_attr_add() argument 470 switch (attr_type) { in mlxsw_hwmon_attr_add()
|
/drivers/platform/x86/ |
D | think-lmi.c | 620 static struct kobj_attribute attr_type = __ATTR_RO(type); variable 638 &attr_type.attr,
|