/drivers/bluetooth/ |
D | hci_ll.c | 81 unsigned long rx_count; member 361 ll->rx_count = len; in ll_check_data_len() 367 ll->rx_count = 0; in ll_check_data_len() 382 BT_DBG("hu %p count %d rx_state %ld rx_count %ld", hu, count, ll->rx_state, ll->rx_count); in ll_recv() 386 if (ll->rx_count) { in ll_recv() 387 len = min_t(unsigned int, ll->rx_count, count); in ll_recv() 389 ll->rx_count -= len; count -= len; ptr += len; in ll_recv() 391 if (ll->rx_count) in ll_recv() 435 ll->rx_count = HCI_EVENT_HDR_SIZE; in ll_recv() 442 ll->rx_count = HCI_ACL_HDR_SIZE; in ll_recv() [all …]
|
D | hci_bcsp.c | 65 unsigned long rx_count; member 444 bcsp->rx_count--; in bcsp_unslip_one_byte() 456 bcsp->rx_count--; in bcsp_unslip_one_byte() 465 bcsp->rx_count--; in bcsp_unslip_one_byte() 473 bcsp->rx_count = 0; in bcsp_unslip_one_byte() 563 hu, count, bcsp->rx_state, bcsp->rx_count); in bcsp_recv() 567 if (bcsp->rx_count) { in bcsp_recv() 572 bcsp->rx_count = 0; in bcsp_recv() 587 bcsp->rx_count = 0; in bcsp_recv() 597 bcsp->rx_count = 0; in bcsp_recv() [all …]
|
D | btuart_cs.c | 76 unsigned long rx_count; member 193 info->rx_count = 0; in btuart_receive() 209 info->rx_count = HCI_EVENT_HDR_SIZE; in btuart_receive() 214 info->rx_count = HCI_ACL_HDR_SIZE; in btuart_receive() 219 info->rx_count = HCI_SCO_HDR_SIZE; in btuart_receive() 237 info->rx_count--; in btuart_receive() 239 if (info->rx_count == 0) { in btuart_receive() 252 info->rx_count = eh->plen; in btuart_receive() 259 info->rx_count = dlen; in btuart_receive() 265 info->rx_count = sh->dlen; in btuart_receive() [all …]
|
D | bt3c_cs.c | 81 unsigned long rx_count; member 240 info->rx_count = 0; in bt3c_receive() 259 info->rx_count = HCI_EVENT_HDR_SIZE; in bt3c_receive() 264 info->rx_count = HCI_ACL_HDR_SIZE; in bt3c_receive() 269 info->rx_count = HCI_SCO_HDR_SIZE; in bt3c_receive() 290 info->rx_count--; in bt3c_receive() 292 if (info->rx_count == 0) { in bt3c_receive() 304 info->rx_count = eh->plen; in bt3c_receive() 311 info->rx_count = dlen; in bt3c_receive() 317 info->rx_count = sh->dlen; in bt3c_receive() [all …]
|
D | bluecard_cs.c | 76 unsigned long rx_count; member 395 info->rx_count = 0; in bluecard_receive() 424 info->rx_count = HCI_EVENT_HDR_SIZE; in bluecard_receive() 429 info->rx_count = HCI_ACL_HDR_SIZE; in bluecard_receive() 434 info->rx_count = HCI_SCO_HDR_SIZE; in bluecard_receive() 451 info->rx_count--; in bluecard_receive() 453 if (info->rx_count == 0) { in bluecard_receive() 465 info->rx_count = eh->plen; in bluecard_receive() 472 info->rx_count = dlen; in bluecard_receive() 478 info->rx_count = sh->dlen; in bluecard_receive() [all …]
|
D | dtl1_cs.c | 79 unsigned long rx_count; member 224 info->rx_count = NSHL; in dtl1_receive() 232 info->rx_count--; in dtl1_receive() 234 if (info->rx_count == 0) { in dtl1_receive() 239 info->rx_count = nsh->len + (nsh->len & 0x0001); in dtl1_receive() 273 info->rx_count = NSHL; in dtl1_receive() 450 info->rx_count = NSHL; in dtl1_open()
|
D | hci_h4.c | 53 unsigned long rx_count; member
|
/drivers/staging/octeon/ |
D | ethernet-rx.c | 237 int rx_count = 0; in cvm_oct_napi_poll() local 260 while (rx_count < budget) { in cvm_oct_napi_poll() 284 if (USE_ASYNC_IOBDMA && rx_count < (budget - 1)) { in cvm_oct_napi_poll() 289 if (rx_count == 0) { in cvm_oct_napi_poll() 303 rx_count++; in cvm_oct_napi_poll() 476 if (rx_count < budget && napi != NULL) { in cvm_oct_napi_poll() 481 return rx_count; in cvm_oct_napi_poll()
|
/drivers/misc/ti-st/ |
D | st_core.c | 190 st_gdata->rx_count = len; in st_check_data_len() 198 st_gdata->rx_count = 0; in st_check_data_len() 258 st_gdata->rx_count); in st_int_recv() 263 if (st_gdata->rx_count) { in st_int_recv() 264 len = min_t(unsigned int, st_gdata->rx_count, count); in st_int_recv() 266 st_gdata->rx_count -= len; in st_int_recv() 270 if (st_gdata->rx_count) in st_int_recv() 367 st_gdata->rx_count = st_gdata->list[type]->hdr_len; in st_int_recv() 368 pr_debug("rx_count %ld\n", st_gdata->rx_count); in st_int_recv() 766 st_gdata->rx_count = 0; in st_tty_close()
|
D | st_kim.c | 85 kim_gdata->rx_count = 0; in validate_firmware_response() 120 kim_gdata->rx_count = len; in kim_check_data_len() 128 kim_gdata->rx_count = 0; in kim_check_data_len() 155 if (kim_gdata->rx_count) { in kim_int_recv() 156 len = min_t(unsigned int, kim_gdata->rx_count, count); in kim_int_recv() 158 kim_gdata->rx_count -= len; in kim_int_recv() 162 if (kim_gdata->rx_count) in kim_int_recv() 187 kim_gdata->rx_count = 2; in kim_int_recv() 203 kim_gdata->rx_count = 0; in kim_int_recv()
|
/drivers/spi/ |
D | spi-au1550.c | 61 unsigned rx_count; member 328 hw->rx_count = 0; in au1550_spi_dma_txrxb() 423 return hw->rx_count < hw->tx_count ? hw->rx_count : hw->tx_count; in au1550_spi_dma_txrxb() 452 hw->rx_count = hw->len - au1xxx_get_dma_residue(hw->dma_rx_ch); in au1550_spi_dma_irq_callback() 474 hw->rx_count = hw->len; in au1550_spi_dma_irq_callback() 492 hw->rx_count += (size) / 8; \ 526 hw->rx_count = 0; in au1550_spi_pio_txrxb() 557 return hw->rx_count < hw->tx_count ? hw->rx_count : hw->tx_count; in au1550_spi_pio_txrxb() 608 if (!(stat & PSC_SPISTAT_RE) && hw->rx_count < hw->len) { in au1550_spi_pio_irq_callback() 642 if (hw->rx_count >= hw->len) { in au1550_spi_pio_irq_callback()
|
D | spi-fsl-dspi.c | 246 int rx_count = 0; in dspi_transfer_read() local 250 && (rx_count < DSPI_FIFO_SIZE)) { in dspi_transfer_read() 273 rx_count++; in dspi_transfer_read() 276 return rx_count; in dspi_transfer_read()
|
/drivers/net/hamradio/ |
D | 6pack.c | 100 unsigned int rx_count; member 537 sp->rx_count = 0; in resync_tnc() 635 sp->rx_count = 0; in sixpack_open() 889 if (sp->rx_count != 3) { in decode_data() 890 sp->raw_buf[sp->rx_count++] = inbyte; in decode_data() 902 sp->rx_count = 0; in decode_data() 972 if ((sp->rx_count == 0) && (sp->rx_count_cooked == 0)) { in decode_std_command() 982 rest = sp->rx_count; in decode_std_command()
|
D | dmascc.c | 208 int rx_head, rx_tail, rx_count; member 749 priv->rx_head = priv->rx_tail = priv->rx_count = 0; in scc_open() 1223 if (priv->rx_count < NUM_RX_BUF - 1) { in special_condition() 1229 priv->rx_count++; in special_condition() 1261 while (priv->rx_count) { in rx_bh() 1282 priv->rx_count--; in rx_bh()
|
/drivers/tty/ |
D | ehv_bytechan.c | 192 unsigned int rx_count, tx_count; in udbg_init_ehv_bc() local 197 &rx_count, &tx_count); in udbg_init_ehv_bc() 340 unsigned int rx_count, tx_count, len; in ehv_bc_tty_rx_isr() local 349 ev_byte_channel_poll(bc->handle, &rx_count, &tx_count); in ehv_bc_tty_rx_isr() 350 count = tty_buffer_request_room(&bc->port, rx_count); in ehv_bc_tty_rx_isr()
|
/drivers/usb/musb/ |
D | musb_host.c | 459 u16 rx_count; in musb_host_packet_rx() local 472 rx_count = musb_readw(epio, MUSB_RXCOUNT); in musb_host_packet_rx() 473 dev_dbg(musb->controller, "RX%d count %d, buffer %p len %d/%d\n", epnum, rx_count, in musb_host_packet_rx() 490 if (rx_count > length) { in musb_host_packet_rx() 495 dev_dbg(musb->controller, "** OVERFLOW %d into %d\n", rx_count, length); in musb_host_packet_rx() 498 length = rx_count; in musb_host_packet_rx() 510 if (rx_count > length) { in musb_host_packet_rx() 513 dev_dbg(musb->controller, "** OVERFLOW %d into %d\n", rx_count, length); in musb_host_packet_rx() 516 length = rx_count; in musb_host_packet_rx() 522 || (rx_count < qh->maxpacket) in musb_host_packet_rx() [all …]
|
/drivers/net/ethernet/wiznet/ |
D | w5300.c | 392 int rx_count; in w5300_napi_poll() local 395 for (rx_count = 0; rx_count < budget; rx_count++) { in w5300_napi_poll() 420 if (rx_count < budget) { in w5300_napi_poll() 426 return rx_count; in w5300_napi_poll()
|
D | w5100.c | 465 int rx_count; in w5100_napi_poll() local 470 for (rx_count = 0; rx_count < budget; rx_count++) { in w5100_napi_poll() 500 if (rx_count < budget) { in w5100_napi_poll() 506 return rx_count; in w5100_napi_poll()
|
/drivers/staging/rtl8188eu/core/ |
D | rtw_debug.c | 911 if (pmlmeext->channel_set[i].rx_count < pmlmeext->channel_set[index_24G].rx_count) { in proc_get_best_channel() 922 (pmlmeext->channel_set[i].rx_count < pmlmeext->channel_set[index_5G].rx_count)) { in proc_get_best_channel() 932 (pmlmeext->channel_set[i].rx_count < pmlmeext->channel_set[index_5G].rx_count)) { in proc_get_best_channel() 939 pmlmeext->channel_set[i].ChannelNum, pmlmeext->channel_set[i].rx_count); in proc_get_best_channel()
|
/drivers/tty/serial/ |
D | sirfsoc_uart.c | 414 unsigned int ch, rx_count = 0; in sirfsoc_uart_pio_rx_chars() local 426 rx_count++; in sirfsoc_uart_pio_rx_chars() 427 if (rx_count >= max_rx_count) in sirfsoc_uart_pio_rx_chars() 431 sirfport->rx_io_count += rx_count; in sirfsoc_uart_pio_rx_chars() 432 port->icount.rx += rx_count; in sirfsoc_uart_pio_rx_chars() 434 return rx_count; in sirfsoc_uart_pio_rx_chars()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ethtool.c | 720 channel->rx_count = adapter->drv_sds_rings; in qlcnic_get_channels() 738 err = qlcnic_validate_ring_count(adapter, channel->rx_count, in qlcnic_set_channels() 743 if (adapter->drv_sds_rings != channel->rx_count) { in qlcnic_set_channels() 744 err = qlcnic_validate_rings(adapter, channel->rx_count, in qlcnic_set_channels() 748 channel->rx_count); in qlcnic_set_channels() 751 adapter->drv_rss_rings = channel->rx_count; in qlcnic_set_channels()
|
/drivers/net/ethernet/ibm/emac/ |
D | mal.h | 291 u32 rx_count; member
|
/drivers/net/wireless/hostap/ |
D | hostap_ap.h | 72 u32 rx_count[WLAN_RATE_COUNT]; /* number of frames received (per rate) member
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.h | 486 int bnx2x_vfpf_acquire(struct bnx2x *bp, u8 tx_count, u8 rx_count); 559 u8 tx_count, u8 rx_count) {return 0; } in bnx2x_vfpf_acquire() argument
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 1138 channel->rx_count = priv->rx_ring_num; in mlx4_en_get_channels() 1152 channel->rx_count > MAX_RX_RINGS || in mlx4_en_set_channels() 1153 !channel->tx_count || !channel->rx_count) in mlx4_en_set_channels() 1166 priv->rx_ring_num = channel->rx_count; in mlx4_en_set_channels()
|