Home
last modified time | relevance | path

Searched refs:buf_margins (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_sp.c62 struct fman_sp_buf_margins *buf_margins, in fman_sp_build_buffer_struct() argument
121 buf_margins->start_margins = in fman_sp_build_buffer_struct()
128 buf_margins->start_margins = in fman_sp_build_buffer_struct()
132 tmp = (u32)(buf_margins->start_margins % in fman_sp_build_buffer_struct()
135 buf_margins->start_margins += in fman_sp_build_buffer_struct()
137 buffer_offsets->data_offset = buf_margins->start_margins; in fman_sp_build_buffer_struct()
H A Dfman_sp.h67 struct fman_sp_buf_margins *buf_margins,
H A Dfman_port.c392 struct fman_sp_buf_margins buf_margins; member
503 tmp = (cfg->buf_margins.start_margins & BMI_EXT_BUF_MARG_START_MASK) << in init_bmi_rx()
505 tmp |= cfg->buf_margins.end_margins & BMI_EXT_BUF_MARG_END_MASK; in init_bmi_rx()
1428 &port->cfg->buf_margins, in fman_port_init()
1445 if (cfg->buf_margins.start_margins + MIN_EXT_BUF_SIZE + in fman_port_init()
1446 cfg->buf_margins.end_margins > in fman_port_init()
1449 __func__, cfg->buf_margins.start_margins, in fman_port_init()
1450 cfg->buf_margins.end_margins, in fman_port_init()