Lines Matching refs:src_ptr
1979 u32 *src_ptr = NULL; in get_platform_fw_field_metadata() local
1992 src_ptr = in get_platform_fw_field_metadata()
2000 if (!src_ptr) in get_platform_fw_field_metadata()
2004 *field_start_bits = *src_ptr & in get_platform_fw_field_metadata()
2008 *field_len_bits = (*src_ptr >> METADATA_TABLE_FIELD_LEN_SHIFT) in get_platform_fw_field_metadata()
2036 u32 field_len_bits = 0, field_start_bits = 0, *src_ptr = NULL; in get_platform_config_field() local
2066 src_ptr = pcfgcache->config_tables[table_type].table; in get_platform_config_field()
2075 src_ptr = (u32 *)((u8 *)src_ptr + seek); in get_platform_config_field()
2081 memcpy(data, src_ptr, wlen); in get_platform_config_field()
2087 src_ptr = dd->hfi1_id ? in get_platform_config_field()
2095 src_ptr = pcfgcache->config_tables[table_type].table; in get_platform_config_field()
2099 src_ptr += table_index; in get_platform_config_field()
2101 src_ptr = NULL; in get_platform_config_field()
2108 if (!src_ptr || len < field_len_bits) in get_platform_config_field()
2111 src_ptr += (field_start_bits / 32); in get_platform_config_field()
2112 *data = (*src_ptr >> (field_start_bits % 32)) & in get_platform_config_field()