Lines Matching refs:port_params
2125 struct fman_port_init_params *port_params) in fman_set_port_params() argument
2129 u8 port_id = port_params->port_id, mac_id; in fman_set_port_params()
2133 err = set_num_of_tasks(fman, port_params->port_id, in fman_set_port_params()
2134 &port_params->num_of_tasks, in fman_set_port_params()
2135 &port_params->num_of_extra_tasks); in fman_set_port_params()
2140 if (port_params->port_type != FMAN_PORT_TYPE_RX) { in fman_set_port_params()
2145 port_params->deq_pipeline_depth; in fman_set_port_params()
2180 err = set_size_of_fifo(fman, port_params->port_id, in fman_set_port_params()
2181 &port_params->size_of_fifo, in fman_set_port_params()
2182 &port_params->extra_size_of_fifo); in fman_set_port_params()
2186 err = set_num_of_open_dmas(fman, port_params->port_id, in fman_set_port_params()
2187 &port_params->num_of_open_dmas, in fman_set_port_params()
2188 &port_params->num_of_extra_open_dmas); in fman_set_port_params()
2200 if (port_params->max_frame_length >= fman->state->mac_mfl[mac_id]) { in fman_set_port_params()
2201 fman->state->port_mfl[mac_id] = port_params->max_frame_length; in fman_set_port_params()