Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/x86/hp/hp-bioscfg/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dbioscfg.h122 u32 is_readonly; member
H A Dpasswdobj-attributes.c280 password_data->common.is_readonly = int_value; in hp_populate_password_elements_from_package()
/openbmc/openbmc/poky/bitbake/lib/prserv/
H A Dclient.py59 async def is_readonly(self): member in PRAsyncClient
H A Dtests.py258 result = self.client1.is_readonly()
349 self.assertTrue(self.client_ro.is_readonly(), "Database should be described as 'read-only'")
/openbmc/linux/drivers/mmc/host/
H A Dsdhci.c2519 int is_readonly; in sdhci_check_ro() local
2522 is_readonly = 0; in sdhci_check_ro()
2524 is_readonly = host->ops->get_ro(host); in sdhci_check_ro()
2526 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()
2535 if (is_readonly >= 0 && in sdhci_check_ro()
2538 is_readonly = !is_readonly; in sdhci_check_ro()
2540 return is_readonly; in sdhci_check_ro()
/openbmc/linux/drivers/nvme/host/
H A Dcore.c39 bool is_readonly; member
1467 info->is_readonly = id->nsattr & NVME_NS_ATTR_RO; in nvme_ns_info_from_identify()
1505 info->is_readonly = id->nsattr & NVME_NS_ATTR_RO; in nvme_ns_info_from_id_cs_indep()
1939 return info->is_readonly || test_bit(NVME_NS_FORCE_RO, &ns->flags); in nvme_ns_is_readonly()