Lines Matching refs:rev_info

471 	struct fman_rev_info rev_info;  member
753 if (fman->state->rev_info.major == 2) { in dma_init()
1107 u8 minor = state->rev_info.minor; in fill_soc_specific_params()
1112 switch (state->rev_info.major) { in fill_soc_specific_params()
1290 hw_port_id_to_sw_port_id(fman->state->rev_info.major, port_id); in dma_err_event()
1638 if ((fman->state->rev_info.major < 6) && in set_num_of_open_dmas()
1644 } else if ((fman->state->rev_info.major >= 6) && in set_num_of_open_dmas()
1645 !((fman->state->rev_info.major == 6) && in set_num_of_open_dmas()
1646 (fman->state->rev_info.minor == 0)) && in set_num_of_open_dmas()
1661 if (fman->state->rev_info.major < 6) in set_num_of_open_dmas()
1746 fman_get_revision(fman, &fman->state->rev_info); in fman_config()
1753 if (fman->state->rev_info.major >= 6) in fman_config()
1759 (u8)DFLT_TOTAL_NUM_OF_TASKS(fman->state->rev_info.major, in fman_config()
1760 fman->state->rev_info.minor, in fman_config()
1763 if (fman->state->rev_info.major < 6) { in fman_config()
1765 (u8)DFLT_DMA_COMM_Q_LOW(fman->state->rev_info.major, in fman_config()
1769 (u8)DFLT_DMA_COMM_Q_HIGH(fman->state->rev_info.major, in fman_config()
1773 DFLT_DMA_CAM_NUM_OF_ENTRIES(fman->state->rev_info.major); in fman_config()
1807 if (fman->state->rev_info.major < 6) { in fman_reset()
1907 if (fman->state->rev_info.major < 6) in fman_init()
1910 if (fman->state->rev_info.major >= 6) in fman_init()
2169 if (fman->state->rev_info.major < 6) in fman_set_port_params()
2172 mac_id = hw_port_id_to_sw_port_id(fman->state->rev_info.major, port_id); in fman_set_port_params()
2207 if (fman->state->rev_info.major >= 6) { in fman_reset_mac()
2328 void fman_get_revision(struct fman *fman, struct fman_rev_info *rev_info) in fman_get_revision() argument
2333 rev_info->major = (u8)((tmp & FPM_REV1_MAJOR_MASK) >> in fman_get_revision()
2335 rev_info->minor = tmp & FPM_REV1_MINOR_MASK; in fman_get_revision()
2352 if (fman->state->rev_info.major >= 6) { in fman_get_qman_channel_id()