Lines Matching refs:trans
256 static void ipa_table_reset_add(struct gsi_trans *trans, bool filter, in ipa_table_reset_add() argument
259 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_table_reset_add()
275 ipa_cmd_dma_shared_mem_add(trans, offset, size, addr, true); in ipa_table_reset_add()
287 struct gsi_trans *trans; in ipa_filter_reset_table() local
293 trans = ipa_cmd_trans_alloc(ipa, count); in ipa_filter_reset_table()
294 if (!trans) { in ipa_filter_reset_table()
312 ipa_table_reset_add(trans, true, endpoint_id, 1, mem); in ipa_filter_reset_table()
315 gsi_trans_commit_wait(trans); in ipa_filter_reset_table()
352 struct gsi_trans *trans; in ipa_route_reset() local
356 trans = ipa_cmd_trans_alloc(ipa, 4); in ipa_route_reset()
357 if (!trans) { in ipa_route_reset()
372 ipa_table_reset_add(trans, false, first, count, in ipa_route_reset()
374 ipa_table_reset_add(trans, false, first, count, in ipa_route_reset()
377 ipa_table_reset_add(trans, false, first, count, in ipa_route_reset()
379 ipa_table_reset_add(trans, false, first, count, in ipa_route_reset()
382 gsi_trans_commit_wait(trans); in ipa_route_reset()
410 struct gsi_trans *trans; in ipa_table_hash_flush() local
417 trans = ipa_cmd_trans_alloc(ipa, 1); in ipa_table_hash_flush()
418 if (!trans) { in ipa_table_hash_flush()
426 ipa_cmd_register_write_add(trans, offset, val, val, false); in ipa_table_hash_flush()
428 gsi_trans_commit_wait(trans); in ipa_table_hash_flush()
433 static void ipa_table_init_add(struct gsi_trans *trans, bool filter, in ipa_table_init_add() argument
438 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_table_init_add()
465 ipa_cmd_table_init_add(trans, opcode, size, mem->offset, addr, in ipa_table_init_add()
471 struct gsi_trans *trans; in ipa_table_setup() local
473 trans = ipa_cmd_trans_alloc(ipa, 4); in ipa_table_setup()
474 if (!trans) { in ipa_table_setup()
479 ipa_table_init_add(trans, false, IPA_CMD_IP_V4_ROUTING_INIT, in ipa_table_setup()
483 ipa_table_init_add(trans, false, IPA_CMD_IP_V6_ROUTING_INIT, in ipa_table_setup()
487 ipa_table_init_add(trans, true, IPA_CMD_IP_V4_FILTER_INIT, in ipa_table_setup()
491 ipa_table_init_add(trans, true, IPA_CMD_IP_V6_FILTER_INIT, in ipa_table_setup()
495 gsi_trans_commit_wait(trans); in ipa_table_setup()