Lines Matching refs:port_pcpu
3532 struct mvpp2_port_pcpu *port_pcpu; in mvpp2_hr_timer_cb() local
3535 port_pcpu = container_of(timer, struct mvpp2_port_pcpu, tx_done_timer); in mvpp2_hr_timer_cb()
3536 dev = port_pcpu->dev; in mvpp2_hr_timer_cb()
3541 port_pcpu->timer_scheduled = false; in mvpp2_hr_timer_cb()
3550 if (tx_todo && !port_pcpu->timer_scheduled) { in mvpp2_hr_timer_cb()
3551 port_pcpu->timer_scheduled = true; in mvpp2_hr_timer_cb()
3552 hrtimer_forward_now(&port_pcpu->tx_done_timer, in mvpp2_hr_timer_cb()
4474 struct mvpp2_port_pcpu *port_pcpu = per_cpu_ptr(port->pcpu, thread); in mvpp2_tx() local
4476 if (!port_pcpu->timer_scheduled) { in mvpp2_tx()
4477 port_pcpu->timer_scheduled = true; in mvpp2_tx()
4478 hrtimer_start(&port_pcpu->tx_done_timer, in mvpp2_tx()
4896 struct mvpp2_port_pcpu *port_pcpu; in mvpp2_stop() local
4913 port_pcpu = per_cpu_ptr(port->pcpu, thread); in mvpp2_stop()
4915 hrtimer_cancel(&port_pcpu->tx_done_timer); in mvpp2_stop()
4916 port_pcpu->timer_scheduled = false; in mvpp2_stop()
6737 struct mvpp2_port_pcpu *port_pcpu; in mvpp2_port_probe() local
6915 port_pcpu = per_cpu_ptr(port->pcpu, thread); in mvpp2_port_probe()
6917 hrtimer_init(&port_pcpu->tx_done_timer, CLOCK_MONOTONIC, in mvpp2_port_probe()
6919 port_pcpu->tx_done_timer.function = mvpp2_hr_timer_cb; in mvpp2_port_probe()
6920 port_pcpu->timer_scheduled = false; in mvpp2_port_probe()
6921 port_pcpu->dev = dev; in mvpp2_port_probe()