Home
last modified time | relevance | path

Searched refs:tre_count (Results 1 – 14 of 14) sorted by relevance

/linux-5.19.10/drivers/net/ipa/
Dgsi_trans.c302 gsi_trans_tre_reserve(struct gsi_trans_info *trans_info, u32 tre_count) in gsi_trans_tre_reserve() argument
308 new = avail - (int)tre_count; in gsi_trans_tre_reserve()
318 gsi_trans_tre_release(struct gsi_trans_info *trans_info, u32 tre_count) in gsi_trans_tre_release() argument
320 atomic_add(tre_count, &trans_info->tre_avail); in gsi_trans_tre_release()
336 u32 tre_count, in gsi_channel_trans_alloc() argument
343 if (WARN_ON(tre_count > gsi_channel_trans_tre_max(gsi, channel_id))) in gsi_channel_trans_alloc()
351 if (!gsi_trans_tre_reserve(trans_info, tre_count)) in gsi_channel_trans_alloc()
358 trans->tre_count = tre_count; in gsi_channel_trans_alloc()
362 trans->sgl = gsi_trans_pool_alloc(&trans_info->sg_pool, tre_count); in gsi_channel_trans_alloc()
363 sg_init_marker(trans->sgl, tre_count); in gsi_channel_trans_alloc()
[all …]
Dipa_data-v4.2.c54 .tre_count = 256,
75 .tre_count = 256,
98 .tre_count = 512,
124 .tre_count = 256,
Dipa_data-v4.11.c58 .tre_count = 256,
79 .tre_count = 256,
102 .tre_count = 512,
127 .tre_count = 256,
Dipa_data-v3.5.1.c64 .tre_count = 512,
85 .tre_count = 256,
108 .tre_count = 512,
134 .tre_count = 256,
Dipa_data-v4.5.c67 .tre_count = 256,
88 .tre_count = 256,
111 .tre_count = 512,
136 .tre_count = 256,
Dipa_data-v4.9.c59 .tre_count = 256,
80 .tre_count = 256,
103 .tre_count = 512,
128 .tre_count = 256,
Dipa_cmd.h75 int ipa_cmd_pool_init(struct gsi_channel *channel, u32 tre_count);
163 struct gsi_trans *ipa_cmd_trans_alloc(struct ipa *ipa, u32 tre_count);
Dgsi_trans.h59 u8 tre_count; /* # TREs requested */ member
158 u32 tre_count,
Dipa_data-v3.1.c73 .tre_count = 256,
94 .tre_count = 256,
117 .tre_count = 512,
142 .tre_count = 256,
Dgsi.c2034 if (data->channel.tre_count < 2 * data->channel.tlv_count - 1) { in gsi_channel_data_valid()
2037 data->channel.tre_count); in gsi_channel_data_valid()
2041 if (!is_power_of_2(data->channel.tre_count)) { in gsi_channel_data_valid()
2043 channel_id, data->channel.tre_count); in gsi_channel_data_valid()
2062 u32 tre_count; in gsi_channel_init_one() local
2069 if (data->channel.tre_count > data->channel.event_count) { in gsi_channel_init_one()
2070 tre_count = data->channel.event_count; in gsi_channel_init_one()
2072 data->channel_id, tre_count); in gsi_channel_init_one()
2074 tre_count = data->channel.tre_count; in gsi_channel_init_one()
2084 channel->tre_count = tre_count; in gsi_channel_init_one()
[all …]
Dipa_data.h93 u16 tre_count; /* must be a power of 2 */ member
Dipa_cmd.c643 struct gsi_trans *ipa_cmd_trans_alloc(struct ipa *ipa, u32 tre_count) in ipa_cmd_trans_alloc() argument
647 if (WARN_ON(tre_count > IPA_COMMAND_TRANS_TRE_MAX)) in ipa_cmd_trans_alloc()
653 tre_count, DMA_NONE); in ipa_cmd_trans_alloc()
Dgsi.h114 u16 tre_count; member
Dipa_endpoint.c284 u32 tre_count) in ipa_endpoint_trans_alloc() argument
292 return gsi_channel_trans_alloc(gsi, channel_id, tre_count, direction); in ipa_endpoint_trans_alloc()