Lines Matching refs:port_params
2117 struct fman_port_init_params *port_params) in fman_set_port_params() argument
2121 u8 port_id = port_params->port_id, mac_id; in fman_set_port_params()
2125 err = set_num_of_tasks(fman, port_params->port_id, in fman_set_port_params()
2126 &port_params->num_of_tasks, in fman_set_port_params()
2127 &port_params->num_of_extra_tasks); in fman_set_port_params()
2132 if (port_params->port_type != FMAN_PORT_TYPE_RX) { in fman_set_port_params()
2137 port_params->deq_pipeline_depth; in fman_set_port_params()
2172 err = set_size_of_fifo(fman, port_params->port_id, in fman_set_port_params()
2173 &port_params->size_of_fifo, in fman_set_port_params()
2174 &port_params->extra_size_of_fifo); in fman_set_port_params()
2178 err = set_num_of_open_dmas(fman, port_params->port_id, in fman_set_port_params()
2179 &port_params->num_of_open_dmas, in fman_set_port_params()
2180 &port_params->num_of_extra_open_dmas); in fman_set_port_params()
2192 if (port_params->max_frame_length >= fman->state->mac_mfl[mac_id]) { in fman_set_port_params()
2193 fman->state->port_mfl[mac_id] = port_params->max_frame_length; in fman_set_port_params()