Lines Matching refs:major
260 #define DFLT_DMA_COMM_Q_LOW(major, dma_thresh_max_commq) \ argument
261 ((major == 6) ? DMA_COMM_Q_LOW_FMAN_V3 : \
267 #define DFLT_DMA_COMM_Q_HIGH(major, dma_thresh_max_commq) \ argument
268 ((major == 6) ? DMA_COMM_Q_HIGH_FMAN_V3 : \
273 #define DFLT_TOTAL_NUM_OF_TASKS(major, minor, bmi_max_num_of_tasks) \ argument
274 ((major == 6) ? ((minor == 1 || minor == 4) ? \
280 #define DFLT_DMA_CAM_NUM_OF_ENTRIES(major) \ argument
281 (major == 6 ? DMA_CAM_NUM_OF_ENTRIES_FMAN_V3 : \
661 static inline u8 hw_port_id_to_sw_port_id(u8 major, u8 hw_port_id) in hw_port_id_to_sw_port_id() argument
833 if (fman->state->rev_info.major == 2) { in dma_init()
1186 switch (state->rev_info.major) { in fill_soc_specific_params()
1364 hw_port_id_to_sw_port_id(fman->state->rev_info.major, port_id); in dma_err_event()
1713 if ((fman->state->rev_info.major < 6) && in set_num_of_open_dmas()
1719 } else if ((fman->state->rev_info.major >= 6) && in set_num_of_open_dmas()
1720 !((fman->state->rev_info.major == 6) && in set_num_of_open_dmas()
1736 if (fman->state->rev_info.major < 6) in set_num_of_open_dmas()
1826 if (fman->state->rev_info.major >= 6) in fman_config()
1832 (u8)DFLT_TOTAL_NUM_OF_TASKS(fman->state->rev_info.major, in fman_config()
1836 if (fman->state->rev_info.major < 6) { in fman_config()
1838 (u8)DFLT_DMA_COMM_Q_LOW(fman->state->rev_info.major, in fman_config()
1842 (u8)DFLT_DMA_COMM_Q_HIGH(fman->state->rev_info.major, in fman_config()
1846 DFLT_DMA_CAM_NUM_OF_ENTRIES(fman->state->rev_info.major); in fman_config()
1880 if (fman->state->rev_info.major < 6) { in fman_reset()
1972 if (fman->state->rev_info.major < 6) in fman_init()
1975 if (fman->state->rev_info.major >= 6) in fman_init()
2224 if (fman->state->rev_info.major < 6) in fman_set_port_params()
2227 mac_id = hw_port_id_to_sw_port_id(fman->state->rev_info.major, port_id); in fman_set_port_params()
2262 if (fman->state->rev_info.major >= 6) { in fman_reset_mac()
2388 rev_info->major = (u8)((tmp & FPM_REV1_MAJOR_MASK) >> in fman_get_revision()
2407 if (fman->state->rev_info.major >= 6) { in fman_get_qman_channel_id()