Home
last modified time | relevance | path

Searched refs:is_readonly (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/drivers/platform/x86/hp/hp-bioscfg/
Dstring-attributes.c39 if (string_data->common.is_readonly) in validate_string_input()
189 string_data->common.is_readonly = int_value; in hp_populate_string_elements_from_package()
285 hp_update_attribute_permissions(string_data->common.is_readonly, in hp_populate_string_package_data()
364 hp_update_attribute_permissions(string_data->common.is_readonly, in hp_populate_string_buffer_data()
Denum-attributes.c38 if (enum_data->common.is_readonly) in validate_enumeration_input()
181 enum_data->common.is_readonly = int_value; in hp_populate_enumeration_elements_from_package()
322 hp_update_attribute_permissions(enum_data->common.is_readonly, in hp_populate_enumeration_package_data()
422 hp_update_attribute_permissions(enum_data->common.is_readonly, in hp_populate_enumeration_buffer_data()
Dint-attributes.c38 if (integer_data->common.is_readonly) in validate_integer_input()
199 integer_data->common.is_readonly = int_value; in hp_populate_integer_elements_from_package()
294 hp_update_attribute_permissions(integer_data->common.is_readonly, in hp_populate_integer_package_data()
387 hp_update_attribute_permissions(integer_data->common.is_readonly, in hp_populate_integer_buffer_data()
Dorder-list-attributes.c191 ordered_list_data->common.is_readonly = int_value; in hp_populate_ordered_list_elements_from_package()
318 hp_update_attribute_permissions(ordered_list_data->common.is_readonly, in hp_populate_ordered_list_package_data()
409 hp_update_attribute_permissions(ordered_list_data->common.is_readonly, in hp_populate_ordered_list_buffer_data()
Dbioscfg.c140 &common_data->is_readonly); in hp_get_common_data_from_buffer()
527 void hp_update_attribute_permissions(bool is_readonly, struct kobj_attribute *current_val) in hp_update_attribute_permissions() argument
529 current_val->attr.mode = is_readonly ? 0444 : 0644; in hp_update_attribute_permissions()
Dbioscfg.h122 u32 is_readonly; member
Dpasswdobj-attributes.c280 password_data->common.is_readonly = int_value; in hp_populate_password_elements_from_package()
/linux-6.6.21/drivers/mmc/host/
Dsdhci.c2519 int is_readonly; in sdhci_check_ro() local
2524 is_readonly = 0; in sdhci_check_ro()
2526 is_readonly = host->ops->get_ro(host); in sdhci_check_ro()
2528 is_readonly = mmc_gpio_get_ro(host->mmc); in sdhci_check_ro()
2530 is_readonly = !(sdhci_readl(host, SDHCI_PRESENT_STATE) in sdhci_check_ro()
2537 !is_readonly : is_readonly; in sdhci_check_ro()
/linux-6.6.21/drivers/nvme/host/
Dcore.c39 bool is_readonly; member
1490 info->is_readonly = id->nsattr & NVME_NS_ATTR_RO; in nvme_ns_info_from_identify()
1528 info->is_readonly = id->nsattr & NVME_NS_ATTR_RO; in nvme_ns_info_from_id_cs_indep()
1962 return info->is_readonly || test_bit(NVME_NS_FORCE_RO, &ns->flags); in nvme_ns_is_readonly()