Searched refs:sgcl_data (Results 1 – 2 of 2) sorted by relevance
730 struct sgcl_data *sgcl_data; in enetc_streamgate_hw_set() local780 data_size = struct_size(sgcl_data, sgcl, sgi->num_entries); in enetc_streamgate_hw_set()782 sgcl_data = kzalloc(data_size, __GFP_DMA | GFP_KERNEL); in enetc_streamgate_hw_set()783 if (!sgcl_data) in enetc_streamgate_hw_set()789 sgcl_data, data_size, in enetc_streamgate_hw_set()793 kfree(sgcl_data); in enetc_streamgate_hw_set()800 sgce = &sgcl_data->sgcl[0]; in enetc_streamgate_hw_set()804 sgcl_data->ct = cpu_to_le32(sgi->cycletime); in enetc_streamgate_hw_set()805 sgcl_data->cte = cpu_to_le32(sgi->cycletimext); in enetc_streamgate_hw_set()839 sgcl_data->btl = cpu_to_le32(lower_32_bits(start)); in enetc_streamgate_hw_set()[all …]
864 struct sgcl_data { struct