Lines Matching full:modem

51  * Each filter rule is associated with an AP or modem TX endpoint, though
64 * entry. Once initialized the modem and AP update the entries for
72 * 1st endpoint | 0x000123456789abc0 | DMA address for modem endpoint 2 rule
84 * and modem. The AP initializes all entries in a route table to refer to
85 * a "zero entry". Once initialized, the modem and AP are responsible for
91 * 1st modem route | 0x0001234500001100 | DMA address for first route rule
93 * 2nd modem route | 0x0001234500001140 | DMA address for second route rule
97 * Last modem route| 0x0001234500002280 | DMA address for Nth route rule
109 /* Assignment of route table entries to the modem and AP */
141 /* The modem must be allotted at least one route table entry */ in ipa_table_validate_build()
264 * modem to refer to the zero entry. The memory region supplied will be
268 ipa_filter_reset_table(struct ipa *ipa, enum ipa_mem_id mem_id, bool modem) in ipa_filter_reset_table() argument
279 modem ? "modem" : "AP"); in ipa_filter_reset_table()
283 ee_id = modem ? GSI_EE_MODEM : GSI_EE_AP; in ipa_filter_reset_table()
306 static int ipa_filter_reset(struct ipa *ipa, bool modem) in ipa_filter_reset() argument
310 ret = ipa_filter_reset_table(ipa, IPA_MEM_V4_FILTER, modem); in ipa_filter_reset()
314 ret = ipa_filter_reset_table(ipa, IPA_MEM_V4_FILTER_HASHED, modem); in ipa_filter_reset()
318 ret = ipa_filter_reset_table(ipa, IPA_MEM_V6_FILTER, modem); in ipa_filter_reset()
321 ret = ipa_filter_reset_table(ipa, IPA_MEM_V6_FILTER_HASHED, modem); in ipa_filter_reset()
326 /* The AP routes and modem routes are each contiguous within the
330 static int ipa_route_reset(struct ipa *ipa, bool modem) in ipa_route_reset() argument
340 modem ? "modem" : "AP"); in ipa_route_reset()
344 if (modem) { in ipa_route_reset()
365 void ipa_table_reset(struct ipa *ipa, bool modem) in ipa_table_reset() argument
371 ee_name = modem ? "modem" : "AP"; in ipa_table_reset()
374 ret = ipa_filter_reset(ipa, modem); in ipa_table_reset()
379 ret = ipa_route_reset(ipa, modem); in ipa_table_reset()
519 * Endpoint must be for the AP (not modem) and support filtering. Updates
542 static void ipa_filter_config(struct ipa *ipa, bool modem) in ipa_filter_config() argument
544 enum gsi_ee_id ee_id = modem ? GSI_EE_MODEM : GSI_EE_AP; in ipa_filter_config()
593 static void ipa_route_config(struct ipa *ipa, bool modem) in ipa_route_config() argument
601 if (ipa_route_id_modem(route_id) == modem) in ipa_route_config()