Searched refs:is_readonly (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/drivers/platform/x86/hp/hp-bioscfg/ |
H A D | string-attributes.c | 39 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 D | enum-attributes.c | 38 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 D | int-attributes.c | 38 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 D | order-list-attributes.c | 191 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 D | bioscfg.c | 140 &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 D | bioscfg.h | 122 u32 is_readonly; member
|
H A D | passwdobj-attributes.c | 280 password_data->common.is_readonly = int_value; in hp_populate_password_elements_from_package()
|
/openbmc/openbmc/poky/bitbake/lib/prserv/ |
H A D | client.py | 59 async def is_readonly(self): member in PRAsyncClient
|
H A D | tests.py | 258 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 D | sdhci.c | 2519 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 D | core.c | 39 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()
|