Home
last modified time | relevance | path

Searched refs:bmi_max_fifo_size (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/fman/
H A Dfman_port.c55 #define MAX_PORT_FIFO_SIZE(bmi_max_fifo_size) \
56 min((u32)bmi_max_fifo_size, (u32)1024 * FMAN_BMI_FIFO_UNITS)
77 #define DFLT_PORT_RX_FIFO_PRI_ELEVATION_LEV(bmi_max_fifo_size) \
78 MAX_PORT_FIFO_SIZE(bmi_max_fifo_size)
80 #define DFLT_PORT_RX_FIFO_THRESHOLD(major, bmi_max_fifo_size) \
82 MAX_PORT_FIFO_SIZE(bmi_max_fifo_size) : \
83 (MAX_PORT_FIFO_SIZE(bmi_max_fifo_size) * 3 / 4)) \
1037 u32 bmi_max_fifo_size; in fill_soc_specific_params() local
1039 bmi_max_fifo_size = fman_get_bmi_max_fifo_size(port->fm); in fill_soc_specific_params()
1040 port->max_port_fifo_size = MAX_PORT_FIFO_SIZE(bmi_max_fifo_size); in fill_soc_specific_params()
[all...]
H A Dfman.c523 u32 bmi_max_fifo_size; member
1140 state->bmi_max_fifo_size = 160 * 1024; in fill_soc_specific_params()
1154 state->bmi_max_fifo_size = 160 * 1024; in fill_soc_specific_params()
1176 state->bmi_max_fifo_size = 192 * 1024; in fill_soc_specific_params()
1188 state->bmi_max_fifo_size = 384 * 1024; in fill_soc_specific_params()
2339 return fman->state->bmi_max_fifo_size; in fman_get_bmi_max_fifo_size()
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/fman/
H A Dfman_port.c29 #define MAX_PORT_FIFO_SIZE(bmi_max_fifo_size) \
30 min((u32)bmi_max_fifo_size, (u32)1024 * FMAN_BMI_FIFO_UNITS)
51 #define DFLT_PORT_RX_FIFO_PRI_ELEVATION_LEV(bmi_max_fifo_size) \
52 MAX_PORT_FIFO_SIZE(bmi_max_fifo_size)
54 #define DFLT_PORT_RX_FIFO_THRESHOLD(major, bmi_max_fifo_size) \
56 MAX_PORT_FIFO_SIZE(bmi_max_fifo_size) : \
57 (MAX_PORT_FIFO_SIZE(bmi_max_fifo_size) * 3 / 4)) \
1011 u32 bmi_max_fifo_size; in fill_soc_specific_params() local
1013 bmi_max_fifo_size = fman_get_bmi_max_fifo_size(port->fm); in fill_soc_specific_params()
1014 port->max_port_fifo_size = MAX_PORT_FIFO_SIZE(bmi_max_fifo_size); in fill_soc_specific_params()
[all...]
H A Dfman.c497 u32 bmi_max_fifo_size; member
1114 state->bmi_max_fifo_size = 160 * 1024; in fill_soc_specific_params()
1128 state->bmi_max_fifo_size = 160 * 1024; in fill_soc_specific_params()
1150 state->bmi_max_fifo_size = 192 * 1024; in fill_soc_specific_params()
1162 state->bmi_max_fifo_size = 384 * 1024; in fill_soc_specific_params()
2313 return fman->state->bmi_max_fifo_size; in fman_get_bmi_max_fifo_size()

Completed in 14 milliseconds