Searched refs:c_ptr (Results 1 – 2 of 2) sorted by relevance
1310 unsigned char *c_ptr; in atom_get_vbios_name() local1324 c_ptr = (unsigned char *)(p_rom + off_to_vbios_str); in atom_get_vbios_name()1337 while (*c_ptr != 0) in atom_get_vbios_name()1338 c_ptr++; in atom_get_vbios_name()1339 c_ptr++; in atom_get_vbios_name()1343 c_ptr += 2; in atom_get_vbios_name()1345 name_size = strnlen(c_ptr, STRLEN_LONG - 1); in atom_get_vbios_name()1346 memcpy(ctx->name, c_ptr, name_size); in atom_get_vbios_name()
2560 const char *c_ptr = NULL; in scmi_debugfs_common_setup() local2572 of_property_read_string(info->dev->of_node, "compatible", &c_ptr); in scmi_debugfs_common_setup()2573 dbg->type = kstrdup(c_ptr, GFP_KERNEL); in scmi_debugfs_common_setup()