Lines Matching defs:shared
61 * Registers shared between all ports.
367 struct mv643xx_eth_shared_private *shared;
420 return readl(mp->shared->base + offset);
430 writel(data, mp->shared->base + offset);
685 if (length - hdr_len > mp->shared->tx_csum_limit ||
1127 * Set total maximum TX rate (shared by all TX queues for this port)
1148 switch (mp->shared->tx_bw_control) {
1190 switch (mp->shared->tx_bw_control) {
1356 if (mp->shared->extended_rx_coal_limit)
1378 if (mp->shared->extended_rx_coal_limit) {
2709 ppd.shared = pdev;
3090 if (pd->shared == NULL) {
3091 dev_err(&pdev->dev, "no mv643xx_eth_platform_data->shared\n");
3103 mp->shared = platform_get_drvdata(pd->shared);
3104 mp->base = mp->shared->base + 0x0400 + (pd->port_number << 10);
3127 } else if (!IS_ERR(mp->shared->clk)) {
3128 mp->t_clk = clk_get_rate(mp->shared->clk);
3200 if (mp->shared->win_protect)
3201 wrl(mp, WINDOW_PROTECT(mp->port_num), mp->shared->win_protect);