Home
last modified time | relevance | path

Searched refs:attr_type (Results 1 – 10 of 10) sorted by relevance

/drivers/platform/x86/hp/hp-bioscfg/
A Dbioscfg.c407 switch (attr_type) { in hp_alloc_attributes_data()
596 switch (attr_type) { in hp_add_other_attributes()
622 switch (attr_type) { in hp_add_other_attributes()
680 if (attr_type == HPWMI_PASSWORD_TYPE) in hp_init_bios_package_attribute()
724 switch (attr_type) { in hp_init_bios_package_attribute()
784 if (attr_type == HPWMI_PASSWORD_TYPE || in hp_init_bios_buffer_attribute()
785 attr_type == HPWMI_SECURE_PLATFORM_TYPE) in hp_init_bios_buffer_attribute()
809 if (attr_type == HPWMI_SECURE_PLATFORM_TYPE) in hp_init_bios_buffer_attribute()
820 switch (attr_type) { in hp_init_bios_buffer_attribute()
882 ret = hp_alloc_attributes_data(attr_type); in hp_init_bios_attributes()
[all …]
/drivers/platform/x86/dell/dell-wmi-sysman/
A Dsysman.c318 static int alloc_attributes_data(int attr_type) in alloc_attributes_data() argument
322 switch (attr_type) { in alloc_attributes_data()
390 static int init_bios_attributes(int attr_type, const char *guid) in init_bios_attributes() argument
405 retval = alloc_attributes_data(attr_type); in init_bios_attributes()
409 switch (attr_type) { in init_bios_attributes()
415 pr_err("Error: Unknown attr_type: %d\n", attr_type); in init_bios_attributes()
449 if (attr_type == PO) in init_bios_attributes()
479 switch (attr_type) { in init_bios_attributes()
/drivers/media/usb/pvrusb2/
A Dpvrusb2-sysfs.c51 struct device_attribute attr_type; member
90 cip = container_of(attr, struct pvr2_sysfs_ctl_item, attr_type); in show_type()
313 sysfs_attr_init(&cip->attr_type.attr); in pvr2_sysfs_add_control()
314 cip->attr_type.attr.name = "type"; in pvr2_sysfs_add_control()
315 cip->attr_type.attr.mode = S_IRUGO; in pvr2_sysfs_add_control()
316 cip->attr_type.show = show_type; in pvr2_sysfs_add_control()
358 cip->attr_gen[acnt++] = &cip->attr_type.attr; in pvr2_sysfs_add_control()
/drivers/scsi/
A Discsi_boot_sysfs.c69 #define iscsi_boot_rd_attr(fnname, sysfs_name, attr_type) \ argument
72 .type = attr_type, \
/drivers/hwtracing/coresight/
A Dcoresight-cti-sysfs.c1010 enum cti_conn_attr_type attr_type, in cti_create_con_sysfs_attr() argument
1019 name = devm_kstrdup(dev, con_attr_names[attr_type], in cti_create_con_sysfs_attr()
1027 eattr->attr.show = show_fns[attr_type]; in cti_create_con_sysfs_attr()
/drivers/net/wireless/microchip/wilc1000/
A Dcfg80211.c81 u8 attr_type; member
87 u8 attr_type; member
95 u8 attr_type; member
967 if (e->attr_type == IEEE80211_P2P_ATTR_CHANNEL_LIST && in wilc_wfi_cfg_parse_ch_attr()
970 else if (e->attr_type == IEEE80211_P2P_ATTR_OPER_CHANNEL && in wilc_wfi_cfg_parse_ch_attr()
/drivers/net/ethernet/mellanox/mlxsw/
A Dcore_hwmon.c491 enum mlxsw_hwmon_attr_type attr_type, in mlxsw_hwmon_attr_add() argument
500 switch (attr_type) { in mlxsw_hwmon_attr_add()
/drivers/net/wireless/realtek/rtw89/
A Dps.c384 noa_head->attr_type = IEEE80211_P2P_ATTR_ABSENCE_NOTICE; in rtw89_p2p_noa_renew()
A Dcore.h3549 u8 attr_type; member
/drivers/platform/x86/lenovo/
A Dthink-lmi.c1168 static struct kobj_attribute attr_type = __ATTR_RO(type); variable
1186 &attr_type.attr,

Completed in 63 milliseconds