Home
last modified time | relevance | path

Searched refs:sgcl_data (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c730 struct sgcl_data *sgcl_data; in enetc_streamgate_hw_set() local
780 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 …]
Denetc_hw.h864 struct sgcl_data { struct