Lines Matching refs:port_pcpu
3519 struct mvpp2_port_pcpu *port_pcpu; in mvpp2_hr_timer_cb() local
3522 port_pcpu = container_of(timer, struct mvpp2_port_pcpu, tx_done_timer); in mvpp2_hr_timer_cb()
3523 dev = port_pcpu->dev; in mvpp2_hr_timer_cb()
3528 port_pcpu->timer_scheduled = false; in mvpp2_hr_timer_cb()
3537 if (tx_todo && !port_pcpu->timer_scheduled) { in mvpp2_hr_timer_cb()
3538 port_pcpu->timer_scheduled = true; in mvpp2_hr_timer_cb()
3539 hrtimer_forward_now(&port_pcpu->tx_done_timer, in mvpp2_hr_timer_cb()
4465 struct mvpp2_port_pcpu *port_pcpu = per_cpu_ptr(port->pcpu, thread); in mvpp2_tx() local
4467 if (!port_pcpu->timer_scheduled) { in mvpp2_tx()
4468 port_pcpu->timer_scheduled = true; in mvpp2_tx()
4469 hrtimer_start(&port_pcpu->tx_done_timer, in mvpp2_tx()
4887 struct mvpp2_port_pcpu *port_pcpu; in mvpp2_stop() local
4904 port_pcpu = per_cpu_ptr(port->pcpu, thread); in mvpp2_stop()
4906 hrtimer_cancel(&port_pcpu->tx_done_timer); in mvpp2_stop()
4907 port_pcpu->timer_scheduled = false; in mvpp2_stop()
6812 struct mvpp2_port_pcpu *port_pcpu; in mvpp2_port_probe() local
6990 port_pcpu = per_cpu_ptr(port->pcpu, thread); in mvpp2_port_probe()
6992 hrtimer_setup(&port_pcpu->tx_done_timer, mvpp2_hr_timer_cb, CLOCK_MONOTONIC, in mvpp2_port_probe()
6994 port_pcpu->timer_scheduled = false; in mvpp2_port_probe()
6995 port_pcpu->dev = dev; in mvpp2_port_probe()