Home
last modified time | relevance | path

Searched refs:max_frame_length (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/ezchip/
Dnps_enet.c298 s32 max_frame_length; in nps_enet_hw_enable_control() local
316 max_frame_length = ETH_HLEN + ndev->mtu + ETH_FCS_LEN; in nps_enet_hw_enable_control()
317 if (max_frame_length <= NPS_ENET_MAX_FRAME_LENGTH) { in nps_enet_hw_enable_control()
320 | max_frame_length << CFG_3_MAX_LEN_SHIFT; in nps_enet_hw_enable_control()
/linux-6.1.9/drivers/net/ethernet/freescale/fman/
Dfman_tgec.c172 u16 max_frame_length; member
213 cfg->max_frame_length = DEFAULT_MAX_FRAME_LENGTH; in set_dflts()
233 iowrite32be((u32)cfg->max_frame_length, &regs->maxfrm); in init()
679 cfg->max_frame_length); in tgec_init()
812 tgec->cfg->max_frame_length = fman_get_max_frm(); in tgec_initialization()
Dfman_port.c440 u16 max_frame_length; member
830 (roundup(port->max_frame_length, in verify_size_of_fifo()
853 (roundup(port->max_frame_length, in verify_size_of_fifo()
859 (roundup(min(port->max_frame_length, in verify_size_of_fifo()
1334 port->max_frame_length = DFLT_PORT_MAX_FRAME_LENGTH; in fman_port_config()
1473 params.max_frame_length = port->max_frame_length; in fman_port_init()
Dfman_memac.c301 u16 max_frame_length; member
408 iowrite32be((u32)cfg->max_frame_length, &regs->maxfrm); in init()
462 cfg->max_frame_length = DEFAULT_FRAME_LENGTH; in set_dflts()
1066 memac_drv_param->max_frame_length); in memac_init()
1187 memac->memac_drv_param->max_frame_length = fman_get_max_frm(); in memac_initialization()
Dfman.h342 u16 max_frame_length; /* Port's max frame length. */ member
Dfman.c2173 if (port_params->max_frame_length >= fman->state->mac_mfl[mac_id]) { in fman_set_port_params()
2174 fman->state->port_mfl[mac_id] = port_params->max_frame_length; in fman_set_port_params()
/linux-6.1.9/drivers/net/ethernet/freescale/dpaa2/
Ddpni.c945 u16 max_frame_length) in dpni_set_max_frame_length() argument
955 cmd_params->max_frame_length = cpu_to_le16(max_frame_length); in dpni_set_max_frame_length()
975 u16 *max_frame_length) in dpni_get_max_frame_length() argument
993 *max_frame_length = le16_to_cpu(rsp_params->max_frame_length); in dpni_get_max_frame_length()
Ddpni-cmd.h329 __le16 max_frame_length; member
333 __le16 max_frame_length; member
Ddpni.h545 u16 max_frame_length);
550 u16 *max_frame_length);