/drivers/misc/ |
D | lattice-ecp3-config.c | 77 int rx_len = 8; in firmware_load() local 94 ret = spi_write_then_read(spi, txbuf, 8, rxbuf, rx_len); in firmware_load() 112 ret = spi_write_then_read(spi, txbuf, 8, rxbuf, rx_len); in firmware_load() 144 ret = spi_write_then_read(spi, txbuf, 8, rxbuf, rx_len); in firmware_load() 167 ret = spi_write_then_read(spi, txbuf, 8, rxbuf, rx_len); in firmware_load()
|
/drivers/net/wireless/ath/ath6kl/ |
D | bmi.c | 119 u32 len_remain, rx_len; in ath6kl_bmi_read() local 141 rx_len = (len_remain < ar->bmi.max_data_size) ? in ath6kl_bmi_read() 148 memcpy(&(ar->bmi.cmd_buf[offset]), &rx_len, sizeof(rx_len)); in ath6kl_bmi_read() 157 ret = ath6kl_hif_bmi_read(ar, ar->bmi.cmd_buf, rx_len); in ath6kl_bmi_read() 163 memcpy(&buf[len - len_remain], ar->bmi.cmd_buf, rx_len); in ath6kl_bmi_read() 164 len_remain -= rx_len; addr += rx_len; in ath6kl_bmi_read()
|
/drivers/net/wireless/ |
D | ray_cs.c | 112 unsigned int pkt_addr, int rx_len); 117 unsigned int pkt_addr, int rx_len); 119 unsigned int pkt_addr, int rx_len); 2054 int rx_len; in ray_rx() local 2063 rx_len = (readb(&prcs->var.rx_packet.rx_data_length[0]) << 8) in ray_rx() 2071 rx_data(dev, prcs, pkt_addr, rx_len); in ray_rx() 2076 rx_data(dev, prcs, pkt_addr, rx_len); in ray_rx() 2078 rx_authenticate(local, prcs, pkt_addr, rx_len); in ray_rx() 2083 rx_data(dev, prcs, pkt_addr, rx_len); in ray_rx() 2085 rx_deauthenticate(local, prcs, pkt_addr, rx_len); in ray_rx() [all …]
|
/drivers/net/ieee802154/ |
D | mrf24j40.c | 267 u8 rx_len; in mrf24j40_read_rx_buf() local 288 ret = read_long_reg(devrec, REG_RX_FIFO, &rx_len); in mrf24j40_read_rx_buf() 294 if (rx_len > RX_FIFO_SIZE-1) { in mrf24j40_read_rx_buf() 296 rx_len = RX_FIFO_SIZE-1; in mrf24j40_read_rx_buf() 299 if (rx_len > *len) { in mrf24j40_read_rx_buf() 302 rx_len = *len; in mrf24j40_read_rx_buf() 309 data_xfer.len = rx_len; in mrf24j40_read_rx_buf() 323 *len = rx_len; in mrf24j40_read_rx_buf()
|
/drivers/net/wireless/mwifiex/ |
D | sdio.c | 1008 u32 rx_len = skb->len; in mwifiex_sdio_card_to_host_mp_aggr() local 1122 port, rx_len); in mwifiex_sdio_card_to_host_mp_aggr() 1176 u16 rx_len; in mwifiex_process_int_status() local 1229 rx_len = ((u16) card->mp_regs[len_reg_u]) << 8; in mwifiex_process_int_status() 1230 rx_len |= (u16) card->mp_regs[len_reg_l]; in mwifiex_process_int_status() 1232 port, rx_len); in mwifiex_process_int_status() 1234 (rx_len + MWIFIEX_SDIO_BLOCK_SIZE - in mwifiex_process_int_status() 1236 if (rx_len <= INTF_HEADER_LEN || in mwifiex_process_int_status() 1240 rx_len); in mwifiex_process_int_status() 1243 rx_len = (u16) (rx_blocks * MWIFIEX_SDIO_BLOCK_SIZE); in mwifiex_process_int_status() [all …]
|
D | sdio.h | 232 #define MP_RX_AGGR_BUF_HAS_ROOM(a, rx_len) \ argument 233 ((a->mpa_rx.buf_len+rx_len) <= a->mpa_rx.buf_size)
|
D | pcie.c | 1192 u16 rx_len; in mwifiex_pcie_process_recv_data() local 1207 rx_len = le16_to_cpu(pkt_len); in mwifiex_pcie_process_recv_data() 1208 skb_put(skb_data, rx_len); in mwifiex_pcie_process_recv_data() 1211 card->rxbd_rdptr, wrptr, rx_len); in mwifiex_pcie_process_recv_data() 1493 u16 rx_len; in mwifiex_pcie_process_cmd_complete() local 1504 rx_len = le16_to_cpu(pkt_len); in mwifiex_pcie_process_cmd_complete() 1505 skb_trim(skb, rx_len); in mwifiex_pcie_process_cmd_complete()
|
/drivers/acpi/ |
D | acpi_ipmi.c | 96 int rx_len; member 205 if (!msg->msg_done || !msg->rx_len) { in acpi_format_ipmi_response() 214 buffer->length = msg->rx_len; in acpi_format_ipmi_response() 215 memcpy(buffer->data, msg->rx_data, msg->rx_len); in acpi_format_ipmi_response() 272 tx_msg->rx_len = msg->msg.data_len; in ipmi_msg_handler()
|
/drivers/net/caif/ |
D | caif_hsi.c | 620 int desc_pld_len = 0, rx_len, rx_state; in cfhsi_rx_done() local 645 rx_len = desc_pld_len; in cfhsi_rx_done() 647 rx_len += CFHSI_DESC_SZ; in cfhsi_rx_done() 653 rx_len = CFHSI_DESC_SZ; in cfhsi_rx_done() 669 rx_len = desc_pld_len; in cfhsi_rx_done() 671 rx_len += CFHSI_DESC_SZ; in cfhsi_rx_done() 689 rx_len = CFHSI_DESC_SZ; in cfhsi_rx_done() 698 res = cfhsi->ops->cfhsi_rx(rx_ptr, rx_len, in cfhsi_rx_done() 729 cfhsi->rx_len = rx_len; in cfhsi_rx_done() 854 res = cfhsi->ops->cfhsi_rx(cfhsi->rx_ptr, cfhsi->rx_len, cfhsi->ops); in cfhsi_wake_up() [all …]
|
/drivers/net/ethernet/wiznet/ |
D | w5300.c | 393 u16 rx_len; in w5300_napi_poll() local 400 rx_len = w5300_read(priv, W5300_S0_RX_FIFO); in w5300_napi_poll() 402 skb = netdev_alloc_skb_ip_align(ndev, roundup(rx_len, 2)); in w5300_napi_poll() 411 skb_put(skb, rx_len); in w5300_napi_poll() 412 w5300_read_frame(priv, skb->data, rx_len); in w5300_napi_poll() 417 ndev->stats.rx_bytes += rx_len; in w5300_napi_poll()
|
D | w5100.c | 466 u16 rx_len; in w5100_napi_poll() local 477 rx_len = get_unaligned_be16(header) - 2; in w5100_napi_poll() 479 skb = netdev_alloc_skb_ip_align(ndev, rx_len); in w5100_napi_poll() 488 skb_put(skb, rx_len); in w5100_napi_poll() 489 w5100_readbuf(priv, offset + 2, skb->data, rx_len); in w5100_napi_poll() 490 w5100_write16(priv, W5100_S0_RX_RD, offset + 2 + rx_len); in w5100_napi_poll() 497 ndev->stats.rx_bytes += rx_len; in w5100_napi_poll()
|
/drivers/net/hamradio/ |
D | yam.c | 146 int rx_len; member 545 if (yp->dcd && yp->rx_len >= 3 && yp->rx_len < YAM_MAX_FRAME) { in yam_rx_flag() 546 int pkt_len = yp->rx_len - 2 + 1; /* -CRC + kiss */ in yam_rx_flag() 566 yp->rx_len = 0; in yam_rx_flag() 573 if (yp->rx_len < YAM_MAX_FRAME) { in yam_rx_byte() 577 yp->rx_buf[yp->rx_len++] = rxb; in yam_rx_byte()
|
D | dmascc.c | 205 int rx_len[NUM_RX_BUF]; member 1225 priv->rx_len[priv->rx_head] = cb; in special_condition() 1263 cb = priv->rx_len[i]; in rx_bh()
|
/drivers/net/ethernet/silan/ |
D | sc92031.c | 727 unsigned rx_len; in _sc92031_rx_tasklet() local 743 rx_len = rx_ring_head - priv->rx_ring_tail; in _sc92031_rx_tasklet() 745 rx_len = RX_BUF_LEN - (priv->rx_ring_tail - rx_ring_head); in _sc92031_rx_tasklet() 747 if (!rx_len) in _sc92031_rx_tasklet() 750 if (unlikely(rx_len > RX_BUF_LEN)) { in _sc92031_rx_tasklet() 759 while (rx_len) { in _sc92031_rx_tasklet() 781 if (unlikely(rx_size_align + 4 > rx_len)) { in _sc92031_rx_tasklet() 787 rx_len -= rx_size_align + 4; in _sc92031_rx_tasklet()
|
/drivers/net/wireless/libertas/ |
D | if_sdio.c | 182 u16 rx_len; in if_sdio_read_rx_len() local 187 rx_len = if_sdio_read_scratch(card, &ret); in if_sdio_read_rx_len() 191 rx_len = sdio_readb(card->func, IF_SDIO_RX_LEN, &ret); in if_sdio_read_rx_len() 193 rx_len <<= card->rx_unit; in if_sdio_read_rx_len() 195 rx_len = 0xffff; /* invalid length */ in if_sdio_read_rx_len() 203 return rx_len; in if_sdio_read_rx_len()
|
/drivers/hwmon/ |
D | ibmaem.c | 328 unsigned short rx_len; in aem_msg_handler() local 347 rx_len = msg->msg.data_len - 1; in aem_msg_handler() 348 if (data->rx_msg_len < rx_len) in aem_msg_handler() 349 rx_len = data->rx_msg_len; in aem_msg_handler() 350 data->rx_msg_len = rx_len; in aem_msg_handler()
|
/drivers/atm/ |
D | horizon.c | 1277 u16 rx_len; in rx_data_av_handler() local 1294 rx_len = rx_q_entry_to_length (rx_queue_entry); in rx_data_av_handler() 1304 if (!rx_len) { in rx_data_av_handler() 1317 PRINTD (DBG_RX, "got a frame on rx_channel %x len %u", rx_channel, rx_len); in rx_data_av_handler() 1327 if (rx_len <= atm_vcc->qos.rxtp.max_sdu) { in rx_data_av_handler() 1329 struct sk_buff * skb = atm_alloc_charge (atm_vcc, rx_len, GFP_ATOMIC); in rx_data_av_handler() 1337 skb_put (skb, rx_len); in rx_data_av_handler() 1343 dev->rx_bytes = rx_len; in rx_data_av_handler() 1346 skb->data, rx_len); in rx_data_av_handler()
|
D | ambassador.c | 476 u16 rx_len = be16_to_cpu (rx->length); in rx_complete() local 478 PRINTD (DBG_FLOW|DBG_RX, "rx_complete %p %p (len=%hu)", dev, rx, rx_len); in rx_complete() 487 if (rx_len <= atm_vcc->qos.rxtp.max_sdu) { in rx_complete() 493 skb_put (skb, rx_len); in rx_complete()
|
/drivers/net/ethernet/amd/ |
D | 7990.h | 80 volatile unsigned short rx_len; /* receive len and high addr */ member
|
D | a2065.c | 90 unsigned short rx_len; /* receive len and high addr */ member 205 ib->rx_len = (lp->lance_log_rx_bufs << 13) | (leptr >> 16); in lance_init_ring()
|
D | sunlance.c | 222 u16 rx_len; /* receive len and high addr */ member 369 ib->rx_len = (LANCE_LOG_RX_BUFFERS << 13) | (leptr >> 16); in lance_init_ring_dvma() 429 &ib->rx_len); in lance_init_ring_pio()
|
D | declance.c | 214 unsigned short rx_len; /* receive len and high addr */ member 473 *lib_ptr(ib, rx_len, lp->type) = (LANCE_LOG_RX_BUFFERS << 13) | in lance_init_ring()
|
/drivers/net/ethernet/sgi/ |
D | meth.h | 100 u64 rx_len:16; member
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_stats.c | 372 u16 rx_len, tx_len; in bnx2x_port_stats_init() local 389 rx_len = (8 + BIGMAC_REGISTER_RX_STAT_GRIPJ - in bnx2x_port_stats_init() 398 rx_len = (8 + BIGMAC2_REGISTER_RX_STAT_GRIPJ - in bnx2x_port_stats_init() 413 rx_len = sizeof(bp->slowpath-> in bnx2x_port_stats_init() 439 dmae->len = rx_len; in bnx2x_port_stats_init()
|
/drivers/scsi/qla2xxx/ |
D | qla_fw.h | 715 uint32_t rx_len; /* Data segment 1 length. */ member 1320 uint32_t rx_len; /* Data segment 1 length. */ member
|