Lines Matching refs:tdm_id
350 u32 tdms, u32 tdm_id, bool is_rx) in tsa_cpm1_init_entries_area() argument
373 if (tdm_id == TSA_TDMA) { in tsa_cpm1_init_entries_area()
402 u32 tdms, u32 tdm_id, bool is_rx) in tsa_qe_init_entries_area() argument
416 area->entries_start = tsa->si_ram + half + (eighth * tdm_id); in tsa_qe_init_entries_area()
421 area->entries_start = tsa->si_ram + (eighth * tdm_id); in tsa_qe_init_entries_area()
428 u32 tdms, u32 tdm_id, bool is_rx) in tsa_init_entries_area() argument
431 tsa_qe_init_entries_area(tsa, area, tdms, tdm_id, is_rx); in tsa_init_entries_area()
433 tsa_cpm1_init_entries_area(tsa, area, tdms, tdm_id, is_rx); in tsa_init_entries_area()
596 u32 tdms, u32 tdm_id, bool is_rx) in tsa_of_parse_tdm_route() argument
621 tsa_init_entries_area(tsa, &area, tdms, tdm_id, is_rx); in tsa_of_parse_tdm_route()
641 tdm_id, route_name, ts, ts + count - 1, serial_name); in tsa_of_parse_tdm_route()
649 tdm = &tsa->tdm[tdm_id]; in tsa_of_parse_tdm_route()
669 u32 tdms, u32 tdm_id) in tsa_of_parse_tdm_rx_route() argument
671 return tsa_of_parse_tdm_route(tsa, tdm_np, tdms, tdm_id, true); in tsa_of_parse_tdm_rx_route()
676 u32 tdms, u32 tdm_id) in tsa_of_parse_tdm_tx_route() argument
678 return tsa_of_parse_tdm_route(tsa, tdm_np, tdms, tdm_id, false); in tsa_of_parse_tdm_tx_route()
686 u32 tdm_id, val; in tsa_of_parse_tdms() local
695 ret = of_property_read_u32(tdm_np, "reg", &tdm_id); in tsa_of_parse_tdms()
701 switch (tdm_id) { in tsa_of_parse_tdms()
721 tdm_id); in tsa_of_parse_tdms()
728 ret = of_property_read_u32(tdm_np, "reg", &tdm_id); in tsa_of_parse_tdms()
735 tdm = &tsa->tdm[tdm_id]; in tsa_of_parse_tdms()
858 tdm->simode_tdm |= TSA_QE_SIMODE_TDM_SAD(4 * tdm_id); in tsa_of_parse_tdms()
861 ret = tsa_of_parse_tdm_rx_route(tsa, tdm_np, tsa->tdms, tdm_id); in tsa_of_parse_tdms()
867 ret = tsa_of_parse_tdm_tx_route(tsa, tdm_np, tsa->tdms, tdm_id); in tsa_of_parse_tdms()