Searched refs:comp_data (Results 1 – 2 of 2) sorted by relevance
535 struct mlxfw_mfa2_comp_data *comp_data; in mlxfw_mfa2_file_component_get() local551 comp_data = kmalloc(sizeof(*comp_data) + comp_buf_size, GFP_KERNEL); in mlxfw_mfa2_file_component_get()552 if (!comp_data) in mlxfw_mfa2_file_component_get()554 comp_data->comp.data_size = comp_size; in mlxfw_mfa2_file_component_get()555 comp_data->comp.index = be16_to_cpu(comp->identifier); in mlxfw_mfa2_file_component_get()557 comp_data->buff); in mlxfw_mfa2_file_component_get()563 if (memcmp(comp_data->buff, mlxfw_mfa2_comp_magic, in mlxfw_mfa2_file_component_get()570 comp_data->comp.data = comp_data->buff + mlxfw_mfa2_comp_magic_len; in mlxfw_mfa2_file_component_get()571 return &comp_data->comp; in mlxfw_mfa2_file_component_get()573 kfree(comp_data); in mlxfw_mfa2_file_component_get()[all …]
203 unsigned char comp_data[NUM_COMP_REGS]; in tps65910_rtc_set_calibration() local226 comp_data[0] = (u16)value & 0xFF; in tps65910_rtc_set_calibration()227 comp_data[1] = ((u16)value >> 8) & 0xFF; in tps65910_rtc_set_calibration()231 comp_data, NUM_COMP_REGS); in tps65910_rtc_set_calibration()248 unsigned char comp_data[NUM_COMP_REGS]; in tps65910_rtc_get_calibration() local264 ret = regmap_bulk_read(tps->regmap, TPS65910_RTC_COMP_LSB, comp_data, in tps65910_rtc_get_calibration()271 value = (u16)comp_data[0] | ((u16)comp_data[1] << 8); in tps65910_rtc_get_calibration()