Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/ezchip/
H A Dnps_enet.c297 s32 max_frame_length; in nps_enet_hw_enable_control() local
315 max_frame_length = ETH_HLEN + ndev->mtu + ETH_FCS_LEN; in nps_enet_hw_enable_control()
316 if (max_frame_length <= NPS_ENET_MAX_FRAME_LENGTH) { in nps_enet_hw_enable_control()
319 | max_frame_length << CFG_3_MAX_LEN_SHIFT; in nps_enet_hw_enable_control()
/openbmc/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_tgec.c173 u16 max_frame_length; member
214 cfg->max_frame_length = DEFAULT_MAX_FRAME_LENGTH; in set_dflts()
234 iowrite32be((u32)cfg->max_frame_length, &regs->maxfrm); in init()
655 cfg->max_frame_length); in tgec_init()
798 tgec->cfg->max_frame_length = fman_get_max_frm(); in tgec_initialization()
H A Dfman_port.c441 u16 max_frame_length; member
831 (roundup(port->max_frame_length, in verify_size_of_fifo()
854 (roundup(port->max_frame_length, in verify_size_of_fifo()
860 (roundup(min(port->max_frame_length, in verify_size_of_fifo()
1335 port->max_frame_length = DFLT_PORT_MAX_FRAME_LENGTH; in fman_port_config()
1474 params.max_frame_length = port->max_frame_length; in fman_port_init()
H A Dfman_memac.c271 u16 max_frame_length; member
377 iowrite32be((u32)cfg->max_frame_length, &regs->maxfrm); in init()
396 cfg->max_frame_length = DEFAULT_FRAME_LENGTH; in set_dflts()
948 memac_drv_param->max_frame_length); in memac_init()
1102 memac->memac_drv_param->max_frame_length = fman_get_max_frm(); in memac_initialization()
H A Dfman.h345 u16 max_frame_length; /* Port's max frame length. */ member
H A 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()
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpni.c949 u16 max_frame_length) in dpni_set_max_frame_length() argument
959 cmd_params->max_frame_length = cpu_to_le16(max_frame_length); in dpni_set_max_frame_length()
979 u16 *max_frame_length) in dpni_get_max_frame_length() argument
997 *max_frame_length = le16_to_cpu(rsp_params->max_frame_length); in dpni_get_max_frame_length()
H A Ddpni-cmd.h336 __le16 max_frame_length; member
340 __le16 max_frame_length; member
H A Ddpni.h554 u16 max_frame_length);
559 u16 *max_frame_length);
/openbmc/u-boot/drivers/net/
H A Daltera_tse.h168 u32 max_frame_length; member
H A Daltera_tse.c526 writel(PKTSIZE_ALIGN, &mac_dev->max_frame_length); in altera_tse_start()