Home
last modified time | relevance | path

Searched refs:comp_data (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlxfw/
Dmlxfw_mfa2.c536 struct mlxfw_mfa2_comp_data *comp_data; in mlxfw_mfa2_file_component_get() local
552 comp_data = vzalloc(sizeof(*comp_data) + comp_buf_size); in mlxfw_mfa2_file_component_get()
553 if (!comp_data) in mlxfw_mfa2_file_component_get()
555 comp_data->comp.data_size = comp_size; in mlxfw_mfa2_file_component_get()
556 comp_data->comp.index = be16_to_cpu(comp->identifier); in mlxfw_mfa2_file_component_get()
558 comp_data->buff); in mlxfw_mfa2_file_component_get()
564 if (memcmp(comp_data->buff, mlxfw_mfa2_comp_magic, in mlxfw_mfa2_file_component_get()
571 comp_data->comp.data = comp_data->buff + mlxfw_mfa2_comp_magic_len; in mlxfw_mfa2_file_component_get()
572 return &comp_data->comp; in mlxfw_mfa2_file_component_get()
574 vfree(comp_data); in mlxfw_mfa2_file_component_get()
[all …]
/linux-6.6.21/drivers/rtc/
Drtc-tps65910.c204 unsigned char comp_data[NUM_COMP_REGS]; in tps65910_rtc_set_calibration() local
227 comp_data[0] = (u16)value & 0xFF; in tps65910_rtc_set_calibration()
228 comp_data[1] = ((u16)value >> 8) & 0xFF; in tps65910_rtc_set_calibration()
232 comp_data, NUM_COMP_REGS); in tps65910_rtc_set_calibration()
249 unsigned char comp_data[NUM_COMP_REGS]; in tps65910_rtc_get_calibration() local
265 ret = regmap_bulk_read(tps->regmap, TPS65910_RTC_COMP_LSB, comp_data, in tps65910_rtc_get_calibration()
272 value = (u16)comp_data[0] | ((u16)comp_data[1] << 8); in tps65910_rtc_get_calibration()
/linux-6.6.21/drivers/media/platform/mediatek/mdp3/
Dmdp_cfg_data.c416 .comp_data = mt8183_mdp_comp_data,
433 return mdp_dev->mdp_data->comp_data[id].match.inner_id; in mdp_cfg_get_id_inner()
445 if (mdp_dev->mdp_data->comp_data[i].match.inner_id == inner_id) { in mdp_cfg_get_id_public()
Dmtk-mdp3-core.h58 const struct mdp_comp_data *comp_data; member
Dmtk-mdp3-comp.c790 if (mdp->mdp_data->comp_data[i].match.type == type && in mdp_comp_get_id()
791 mdp->mdp_data->comp_data[i].match.alias_id == alias_id) in mdp_comp_get_id()
891 index = mdp->mdp_data->comp_data[comp->public_id].info.dts_reg_ofst; in mdp_get_subsys_id()
913 index = mdp->mdp_data->comp_data[comp->public_id].info.dts_reg_ofst; in __mdp_comp_init()
947 comp->type = mdp->mdp_data->comp_data[id].match.type; in mdp_comp_init()
948 comp->inner_id = mdp->mdp_data->comp_data[id].match.inner_id; in mdp_comp_init()
949 comp->alias_id = mdp->mdp_data->comp_data[id].match.alias_id; in mdp_comp_init()
953 comp->clk_num = mdp->mdp_data->comp_data[id].info.clk_num; in mdp_comp_init()
959 clk_ofst = mdp->mdp_data->comp_data[id].info.clk_ofst; in mdp_comp_init()
/linux-6.6.21/drivers/infiniband/hw/erdma/
Derdma_cmdq.c318 be32_to_cpu_array(comp_wait->comp_data, cqe + 2, 4); in erdma_poll_single_cmd_completion()
450 *resp0 = *((u64 *)&comp_wait->comp_data[0]); in erdma_post_cmd_wait()
451 *resp1 = *((u64 *)&comp_wait->comp_data[2]); in erdma_post_cmd_wait()
Derdma.h83 u32 comp_data[4]; member
/linux-6.6.21/drivers/net/ethernet/microsoft/mana/
Dhw_channel.c309 struct hwc_rx_oob comp_data = {}; in mana_hwc_comp_event() local
321 comp_data = *(struct hwc_rx_oob *)completions[i].cqe_data; in mana_hwc_comp_event()
326 &comp_data); in mana_hwc_comp_event()
330 &comp_data); in mana_hwc_comp_event()