Lines Matching defs:shared
61 * Registers shared between all ports.
368 struct mv643xx_eth_shared_private *shared;
421 return readl(mp->shared->base + offset);
431 writel(data, mp->shared->base + offset);
686 if (length - hdr_len > mp->shared->tx_csum_limit ||
1130 * Set total maximum TX rate (shared by all TX queues for this port)
1151 switch (mp->shared->tx_bw_control) {
1193 switch (mp->shared->tx_bw_control) {
1359 if (mp->shared->extended_rx_coal_limit)
1381 if (mp->shared->extended_rx_coal_limit) {
2729 ppd.shared = pdev;
3108 if (pd->shared == NULL) {
3109 dev_err(&pdev->dev, "no mv643xx_eth_platform_data->shared\n");
3121 mp->shared = platform_get_drvdata(pd->shared);
3122 mp->base = mp->shared->base + 0x0400 + (pd->port_number << 10);
3176 } else if (!IS_ERR(mp->shared->clk)) {
3177 mp->t_clk = clk_get_rate(mp->shared->clk);
3252 if (mp->shared->win_protect)
3253 wrl(mp, WINDOW_PROTECT(mp->port_num), mp->shared->win_protect);