Lines Matching refs:port_params
2099 struct fman_port_init_params *port_params) in fman_set_port_params() argument
2103 u8 port_id = port_params->port_id, mac_id; in fman_set_port_params()
2107 err = set_num_of_tasks(fman, port_params->port_id, in fman_set_port_params()
2108 &port_params->num_of_tasks, in fman_set_port_params()
2109 &port_params->num_of_extra_tasks); in fman_set_port_params()
2114 if (port_params->port_type != FMAN_PORT_TYPE_RX) { in fman_set_port_params()
2119 port_params->deq_pipeline_depth; in fman_set_port_params()
2154 err = set_size_of_fifo(fman, port_params->port_id, in fman_set_port_params()
2155 &port_params->size_of_fifo, in fman_set_port_params()
2156 &port_params->extra_size_of_fifo); in fman_set_port_params()
2160 err = set_num_of_open_dmas(fman, port_params->port_id, in fman_set_port_params()
2161 &port_params->num_of_open_dmas, in fman_set_port_params()
2162 &port_params->num_of_extra_open_dmas); in fman_set_port_params()
2174 if (port_params->max_frame_length >= fman->state->mac_mfl[mac_id]) { in fman_set_port_params()
2175 fman->state->port_mfl[mac_id] = port_params->max_frame_length; in fman_set_port_params()