Home
last modified time | relevance | path

Searched refs:cap_str (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/usb/typec/
Dstusb160x.c536 const char *cap_str; in stusb160x_get_fw_caps() local
545 ret = fwnode_property_read_string(fwnode, "power-role", &cap_str); in stusb160x_get_fw_caps()
547 ret = typec_find_port_power_role(cap_str); in stusb160x_get_fw_caps()
565 ret = fwnode_property_read_string(fwnode, "typec-power-opmode", &cap_str); in stusb160x_get_fw_caps()
567 ret = typec_find_pwr_opmode(cap_str); in stusb160x_get_fw_caps()
/Linux-v5.10/drivers/mmc/core/
Dblock.c2407 char cap_str[10]; in mmc_blk_alloc_part() local
2418 cap_str, sizeof(cap_str)); in mmc_blk_alloc_part()
2421 mmc_card_name(card), part_md->part_type, cap_str); in mmc_blk_alloc_part()
2517 char cap_str[10]; in mmc_blk_alloc_rpmb_part() local
2556 cap_str, sizeof(cap_str)); in mmc_blk_alloc_rpmb_part()
2560 mmc_card_name(card), EXT_CSD_PART_CONFIG_ACC_RPMB, cap_str, in mmc_blk_alloc_rpmb_part()
2876 char cap_str[10]; in mmc_blk_probe() local
2898 cap_str, sizeof(cap_str)); in mmc_blk_probe()
2901 cap_str, md->read_only ? "(ro)" : ""); in mmc_blk_probe()
/Linux-v5.10/drivers/usb/typec/tcpm/
Dtcpm.c4738 const char *cap_str; in tcpm_fw_get_caps() local
4746 ret = fwnode_property_read_string(fwnode, "data-role", &cap_str); in tcpm_fw_get_caps()
4748 ret = typec_find_port_data_role(cap_str); in tcpm_fw_get_caps()
4754 ret = fwnode_property_read_string(fwnode, "power-role", &cap_str); in tcpm_fw_get_caps()
4758 ret = typec_find_port_power_role(cap_str); in tcpm_fw_get_caps()
4783 ret = fwnode_property_read_string(fwnode, "try-power-role", &cap_str); in tcpm_fw_get_caps()
4787 port->typec_caps.prefer_role = typec_find_power_role(cap_str); in tcpm_fw_get_caps()
/Linux-v5.10/fs/ceph/
Dcaps.c55 static char cap_str[MAX_CAP_STR][40]; variable
92 s = cap_str[i]; in ceph_cap_string()
121 if (s == cap_str[i]) in ceph_cap_string()
124 return cap_str[i]; in ceph_cap_string()