Home
last modified time | relevance | path

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

/drivers/net/wireless/ti/wlcore/
Drx.c204 u32 drv_rx_counter = wl->rx_counter % wl->num_rx_desc; in wlcore_rx()
205 u32 rx_counter; in wlcore_rx() local
221 rx_counter = drv_rx_counter; in wlcore_rx()
222 while (rx_counter != fw_rx_counter) { in wlcore_rx()
223 des = le32_to_cpu(status->rx_pkt_descs[rx_counter]); in wlcore_rx()
230 rx_counter++; in wlcore_rx()
231 rx_counter %= wl->num_rx_desc; in wlcore_rx()
274 wl->rx_counter++; in wlcore_rx()
287 wl->rx_counter); in wlcore_rx()
Dwlcore.h280 u32 rx_counter; member
Ddebugfs.c485 DRIVER_STATE_PRINT_INT(rx_counter); in driver_state_read()
Dmain.c1204 wl->rx_counter = 0; in wl1271_plt_stop()
1966 wl->rx_counter = 0; in wlcore_op_stop_locked()
6413 wl->rx_counter = 0; in wlcore_alloc_hw()
/drivers/isdn/mISDN/
Dl1oip_core.c357 u32 rx_counter; in l1oip_socket_recv() local
407 rx_counter = hc->chan[channel].rx_counter; in l1oip_socket_recv()
408 if (((s16)(timebase - rx_counter)) >= 0) { in l1oip_socket_recv()
410 if (timebase >= (rx_counter & 0xffff)) in l1oip_socket_recv()
411 rx_counter = in l1oip_socket_recv()
412 (rx_counter & 0xffff0000) | timebase; in l1oip_socket_recv()
414 rx_counter = ((rx_counter & 0xffff0000) + 0x10000) in l1oip_socket_recv()
418 if (timebase < (rx_counter & 0xffff)) in l1oip_socket_recv()
419 rx_counter = in l1oip_socket_recv()
420 (rx_counter & 0xffff0000) | timebase; in l1oip_socket_recv()
[all …]
Dl1oip.h36 u32 rx_counter; /* counts recv bytes/packets */ member
/drivers/net/wireless/ti/wl1251/
Dmain.c222 wl->rx_counter = wl1251_mem_read32( in wl1251_irq_work()
226 switch ((wl->rx_counter - wl->rx_handled) & 0xf) { in wl1251_irq_work()
246 wl->rx_counter - wl->rx_handled); in wl1251_irq_work()
250 wl->rx_handled = wl->rx_counter; in wl1251_irq_work()
253 wl->rx_counter); in wl1251_irq_work()
460 wl->rx_counter = 0; in wl1251_op_stop()
1598 wl->rx_counter = 0; in wl1251_alloc_hw()
Dwl1251.h321 u32 rx_counter; member
/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c159 struct mlx5_fc *rx_counter; member
1401 ndev->rx_counter = mlx5_fc_create(ndev->mvdev.mdev, false); in add_fwd_to_tir()
1402 if (IS_ERR(ndev->rx_counter)) { in add_fwd_to_tir()
1403 err = PTR_ERR(ndev->rx_counter); in add_fwd_to_tir()
1411 dest[1].counter_id = mlx5_fc_id(ndev->rx_counter); in add_fwd_to_tir()
1422 mlx5_fc_destroy(ndev->mvdev.mdev, ndev->rx_counter); in add_fwd_to_tir()
1434 mlx5_fc_destroy(ndev->mvdev.mdev, ndev->rx_counter); in remove_fwd_to_tir()
/drivers/net/can/peak_canfd/
Dpeak_canfd.c201 cmd->rx_counter = 0; in pucan_clr_err_counters()
/drivers/net/can/usb/peak_usb/
Dpcan_usb_fd.c240 prc->rx_counter = 0; in pcan_usb_fd_build_restart_cmd()