/drivers/net/wireless/ath/ath9k/ |
D | htc_drv_txrx.c | 970 struct ath9k_htc_rxbuf *rxbuf, in ath9k_rx_prepare() argument 976 struct sk_buff *skb = rxbuf->skb; in ath9k_rx_prepare() 1002 memcpy(&rxbuf->rxstatus, rxstatus, HTC_RX_FRAME_HEADER_SIZE); in ath9k_rx_prepare() 1019 if (rxbuf->rxstatus.rs_status != 0) { in ath9k_rx_prepare() 1020 if (rxbuf->rxstatus.rs_status & ATH9K_RXERR_CRC) in ath9k_rx_prepare() 1022 if (rxbuf->rxstatus.rs_status & ATH9K_RXERR_PHY) in ath9k_rx_prepare() 1025 if (rxbuf->rxstatus.rs_status & ATH9K_RXERR_DECRYPT) { in ath9k_rx_prepare() 1027 } else if (rxbuf->rxstatus.rs_status & ATH9K_RXERR_MIC) { in ath9k_rx_prepare() 1034 rxbuf->rxstatus.rs_status &= ~ATH9K_RXERR_MIC; in ath9k_rx_prepare() 1045 if (rxbuf->rxstatus.rs_status & in ath9k_rx_prepare() [all …]
|
D | recv.c | 157 bf = list_first_entry(&sc->rx.rxbuf, struct ath_buf, list); in ath_rx_edma_buf_link() 179 if (list_empty(&sc->rx.rxbuf)) { in ath_rx_addbuffer_edma() 184 list_for_each_entry_safe(bf, tbf, &sc->rx.rxbuf, list) in ath_rx_addbuffer_edma() 202 list_add_tail(&bf->list, &sc->rx.rxbuf); in ath_rx_remove_buffer() 215 list_for_each_entry(bf, &sc->rx.rxbuf, list) { in ath_rx_edma_cleanup() 226 INIT_LIST_HEAD(&sc->rx.rxbuf); in ath_rx_edma_cleanup() 260 INIT_LIST_HEAD(&sc->rx.rxbuf); in ath_rx_edma_init() 287 list_add_tail(&bf->list, &sc->rx.rxbuf); in ath_rx_edma_init() 344 error = ath_descdma_setup(sc, &sc->rx.rxdma, &sc->rx.rxbuf, in ath_rx_init() 353 list_for_each_entry(bf, &sc->rx.rxbuf, list) { in ath_rx_init() [all …]
|
/drivers/rtc/ |
D | rtc-pcf2123.c | 90 u8 txbuf[1], rxbuf[1]; in pcf2123_show() local 100 ret = spi_write_then_read(spi, txbuf, 1, rxbuf, 1); in pcf2123_show() 104 return sprintf(buffer, "0x%x\n", rxbuf[0]); in pcf2123_show() 135 u8 txbuf[1], rxbuf[7]; in pcf2123_rtc_read_time() local 140 rxbuf, sizeof(rxbuf)); in pcf2123_rtc_read_time() 145 tm->tm_sec = bcd2bin(rxbuf[0] & 0x7F); in pcf2123_rtc_read_time() 146 tm->tm_min = bcd2bin(rxbuf[1] & 0x7F); in pcf2123_rtc_read_time() 147 tm->tm_hour = bcd2bin(rxbuf[2] & 0x3F); /* rtc hr 0-23 */ in pcf2123_rtc_read_time() 148 tm->tm_mday = bcd2bin(rxbuf[3] & 0x3F); in pcf2123_rtc_read_time() 149 tm->tm_wday = rxbuf[4] & 0x07; in pcf2123_rtc_read_time() [all …]
|
D | rtc-rs5c348.c | 104 u8 txbuf[5], rxbuf[7]; in rs5c348_rtc_read_time() local 116 rxbuf, sizeof(rxbuf)); in rs5c348_rtc_read_time() 121 tm->tm_sec = bcd2bin(rxbuf[RS5C348_REG_SECS] & RS5C348_SECS_MASK); in rs5c348_rtc_read_time() 122 tm->tm_min = bcd2bin(rxbuf[RS5C348_REG_MINS] & RS5C348_MINS_MASK); in rs5c348_rtc_read_time() 123 tm->tm_hour = bcd2bin(rxbuf[RS5C348_REG_HOURS] & RS5C348_HOURS_MASK); in rs5c348_rtc_read_time() 125 if (rxbuf[RS5C348_REG_HOURS] & RS5C348_BIT_PM) { in rs5c348_rtc_read_time() 132 tm->tm_wday = bcd2bin(rxbuf[RS5C348_REG_WDAY] & RS5C348_WDAY_MASK); in rs5c348_rtc_read_time() 133 tm->tm_mday = bcd2bin(rxbuf[RS5C348_REG_DAY] & RS5C348_DAY_MASK); in rs5c348_rtc_read_time() 135 bcd2bin(rxbuf[RS5C348_REG_MONTH] & RS5C348_MONTH_MASK) - 1; in rs5c348_rtc_read_time() 137 tm->tm_year = bcd2bin(rxbuf[RS5C348_REG_YEAR]) + in rs5c348_rtc_read_time() [all …]
|
D | rtc-r9701.c | 57 u8 txbuf[1], rxbuf[1]; in read_regs() local 64 ret = spi_write_then_read(spi, txbuf, 1, rxbuf, 1); in read_regs() 65 regs[k] = rxbuf[0]; in read_regs()
|
/drivers/staging/iio/adc/ |
D | max1363_ring.c | 46 __u8 *rxbuf; in max1363_trigger_handler() local 69 rxbuf = kmalloc(d_size, GFP_KERNEL); in max1363_trigger_handler() 70 if (rxbuf == NULL) in max1363_trigger_handler() 73 b_sent = i2c_master_recv(st->client, rxbuf, numvals*2); in max1363_trigger_handler() 75 b_sent = i2c_master_recv(st->client, rxbuf, numvals); in max1363_trigger_handler() 82 memcpy(rxbuf + d_size - sizeof(s64), &time_ns, sizeof(time_ns)); in max1363_trigger_handler() 83 iio_push_to_buffer(indio_dev->buffer, rxbuf, time_ns); in max1363_trigger_handler() 87 kfree(rxbuf); in max1363_trigger_handler()
|
D | ad7476_ring.c | 59 __u8 *rxbuf; in ad7476_trigger_handler() local 62 rxbuf = kzalloc(st->d_size, GFP_KERNEL); in ad7476_trigger_handler() 63 if (rxbuf == NULL) in ad7476_trigger_handler() 66 b_sent = spi_read(st->spi, rxbuf, in ad7476_trigger_handler() 74 memcpy(rxbuf + st->d_size - sizeof(s64), in ad7476_trigger_handler() 77 indio_dev->buffer->access->store_to(indio_dev->buffer, rxbuf, time_ns); in ad7476_trigger_handler() 80 kfree(rxbuf); in ad7476_trigger_handler()
|
D | ad799x_ring.c | 77 __u8 *rxbuf; in ad799x_trigger_handler() local 81 rxbuf = kmalloc(st->d_size, GFP_KERNEL); in ad799x_trigger_handler() 82 if (rxbuf == NULL) in ad799x_trigger_handler() 108 indio_dev->masklength) * 2, rxbuf); in ad799x_trigger_handler() 115 memcpy(rxbuf + st->d_size - sizeof(s64), in ad799x_trigger_handler() 118 ring->access->store_to(indio_dev->buffer, rxbuf, time_ns); in ad799x_trigger_handler() 120 kfree(rxbuf); in ad799x_trigger_handler()
|
D | max1363_core.c | 193 char rxbuf[2]; in max1363_read_single_chan() local 220 data = i2c_master_recv(client, rxbuf, 2); in max1363_read_single_chan() 225 data = (s32)(rxbuf[1]) | ((s32)(rxbuf[0] & 0x0F)) << 8; in max1363_read_single_chan() 228 data = i2c_master_recv(client, rxbuf, 1); in max1363_read_single_chan() 233 data = rxbuf[0]; in max1363_read_single_chan()
|
D | ad799x_core.c | 110 u16 rxbuf; in ad799x_scan_direct() local 133 ret = ad799x_i2c_read16(st, cmd, &rxbuf); in ad799x_scan_direct() 137 return rxbuf; in ad799x_scan_direct()
|
/drivers/hwmon/ |
D | lm70.c | 59 u8 rxbuf[2]; in lm70_sense_temp() local 70 status = spi_write_then_read(spi, NULL, 0, &rxbuf[0], 2); in lm70_sense_temp() 75 raw = (rxbuf[0] << 8) + rxbuf[1]; in lm70_sense_temp() 77 rxbuf[0], rxbuf[1], raw); in lm70_sense_temp()
|
/drivers/spi/ |
D | spi-coldfire-qspi.c | 173 const u8 *txbuf, u8 *rxbuf) in mcfqspi_transfer_msg8() argument 201 if (rxbuf) { in mcfqspi_transfer_msg8() 205 *rxbuf++ = mcfqspi_rd_qdr(mcfqspi); in mcfqspi_transfer_msg8() 221 if (rxbuf) { in mcfqspi_transfer_msg8() 224 *rxbuf++ = mcfqspi_rd_qdr(mcfqspi); in mcfqspi_transfer_msg8() 232 if (rxbuf) { in mcfqspi_transfer_msg8() 235 *rxbuf++ = mcfqspi_rd_qdr(mcfqspi); in mcfqspi_transfer_msg8() 240 const u16 *txbuf, u16 *rxbuf) in mcfqspi_transfer_msg16() argument 268 if (rxbuf) { in mcfqspi_transfer_msg16() 272 *rxbuf++ = mcfqspi_rd_qdr(mcfqspi); in mcfqspi_transfer_msg16() [all …]
|
D | spi-txx9.c | 187 void *rxbuf = t->rx_buf; in txx9spi_work_one() local 248 if (rxbuf) { in txx9spi_work_one() 250 *(u8 *)rxbuf = data; in txx9spi_work_one() 252 *(u16 *)rxbuf = data; in txx9spi_work_one() 253 rxbuf += wsize; in txx9spi_work_one()
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-devtrace.h | 264 TP_PROTO(const struct device *dev, void *rxbuf, size_t len), 265 TP_ARGS(dev, rxbuf, len), 268 __dynamic_array(u8, rxbuf, len) 272 memcpy(__get_dynamic_array(rxbuf), rxbuf, len); 275 __get_str(dev), ((u8 *)__get_dynamic_array(rxbuf))[4])
|
/drivers/i2c/busses/ |
D | i2c-cpm.c | 122 u_char *rxbuf[CPM_MAXBD]; member 209 rb = cpm->rxbuf[rx]; in cpm_i2c_parse_message() 265 rb = cpm->rxbuf[rx]; in cpm_i2c_check_message() 534 cpm->rxbuf[i] = dma_alloc_coherent(&cpm->ofdev->dev, in cpm_i2c_setup() 537 if (!cpm->rxbuf[i]) { in cpm_i2c_setup() 587 if (cpm->rxbuf[i]) in cpm_i2c_setup() 589 cpm->rxbuf[i], cpm->rxdma[i]); in cpm_i2c_setup() 623 cpm->rxbuf[i], cpm->rxdma[i]); in cpm_i2c_shutdown()
|
/drivers/net/wan/ |
D | cosa.c | 161 char *txbuf, *rxbuf; member 1862 cosa->rxbuf = NULL; in rx_interrupt() 1864 cosa->rxbuf = cosa->rxchan->setup_rx(cosa->rxchan, cosa->rxsize); in rx_interrupt() 1866 if (!cosa->rxbuf) { in rx_interrupt() 1870 cosa->rxbuf = cosa->bouncebuf; in rx_interrupt() 1878 if (cosa_dma_able(cosa->rxchan, cosa->rxbuf, cosa->rxsize & 0x1fff)) { in rx_interrupt() 1879 set_dma_addr(cosa->dma, virt_to_bus(cosa->rxbuf)); in rx_interrupt() 1918 pr_cont(" %02x", cosa->rxbuf[i]&0xff); in eot_interrupt() 1923 if (cosa->rxbuf == cosa->bouncebuf) in eot_interrupt() 1925 if (!cosa_dma_able(cosa->rxchan, cosa->rxbuf, cosa->rxsize)) in eot_interrupt() [all …]
|
/drivers/tty/serial/ |
D | max3107.c | 176 if ((s->rxbuf == 0) || (s->rxstr == 0)) { in max3107_handlerx() 180 buf = s->rxbuf; in max3107_handlerx() 989 s->rxbuf = kzalloc(sizeof(u16) * (MAX3107_RX_FIFO_SIZE+2), GFP_KERNEL); in max3107_probe() 990 if (!s->rxbuf) { in max3107_probe() 1106 kfree(s->rxbuf); in max3107_probe() 1126 kfree(s->rxbuf); in max3107_remove()
|
D | pch_uart.c | 235 struct pch_uart_buffer rxbuf; member 820 buf = &priv->rxbuf; in handle_rx_to() 1667 unsigned char *rxbuf; in pch_uart_init_port() local 1680 rxbuf = (unsigned char *)__get_free_page(GFP_KERNEL); in pch_uart_init_port() 1681 if (!rxbuf) in pch_uart_init_port() 1707 priv->rxbuf.buf = rxbuf; in pch_uart_init_port() 1708 priv->rxbuf.size = PAGE_SIZE; in pch_uart_init_port() 1750 free_page((unsigned long)rxbuf); in pch_uart_init_port() 1767 free_page((unsigned long)priv->rxbuf.buf); in pch_uart_exit_port()
|
D | max3107.h | 408 u16 *rxbuf; member
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
D | dhd_sdio.c | 493 u8 *rxbuf; /* Buffer for receiving control packets */ member 1511 bus->rxctl = bus->rxbuf; in brcmf_sdbrcm_read_control() 1601 struct sk_buff **pkt, u8 **rxbuf) in brcmf_alloc_pkt_and_read() argument 1610 *rxbuf = (u8 *) ((*pkt)->data); in brcmf_alloc_pkt_and_read() 1632 brcmf_check_rxbuf(struct brcmf_sdio *bus, struct sk_buff *pkt, u8 *rxbuf, in brcmf_check_rxbuf() argument 1639 memcpy(bus->rxhdr, rxbuf, SDPCM_HDRLEN); in brcmf_check_rxbuf() 1701 u8 *rxbuf; in brcmf_sdbrcm_readframes() local 1740 brcmf_alloc_pkt_and_read(bus, rdlen, &pkt, &rxbuf); in brcmf_sdbrcm_readframes() 1748 if (brcmf_check_rxbuf(bus, pkt, rxbuf, rxseq, nextlen, in brcmf_sdbrcm_readframes() 1805 rxbuf, len, "Rx Data:\n"); in brcmf_sdbrcm_readframes() [all …]
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_init.c | 1673 struct qlcnic_rx_buffer *rxbuf; in qlcnic_process_rcv_ring() local 1695 rxbuf = qlcnic_process_rcv(adapter, sds_ring, in qlcnic_process_rcv_ring() 1701 rxbuf = qlcnic_process_lro(adapter, sds_ring, in qlcnic_process_rcv_ring() 1712 if (likely(rxbuf)) in qlcnic_process_rcv_ring() 1713 list_add_tail(&rxbuf->list, &sds_ring->free_list[ring]); in qlcnic_process_rcv_ring() 1733 rxbuf = list_entry(cur, in qlcnic_process_rcv_ring() 1735 qlcnic_alloc_rx_skb(adapter, rds_ring, rxbuf); in qlcnic_process_rcv_ring()
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_init.c | 1683 struct netxen_rx_buffer *rxbuf; in netxen_process_rcv_ring() local 1707 rxbuf = netxen_process_rcv(adapter, sds_ring, in netxen_process_rcv_ring() 1713 rxbuf = netxen_process_lro(adapter, sds_ring, in netxen_process_rcv_ring() 1724 if (rxbuf) in netxen_process_rcv_ring() 1725 list_add_tail(&rxbuf->list, &sds_ring->free_list[ring]); in netxen_process_rcv_ring() 1743 rxbuf = list_entry(cur, in netxen_process_rcv_ring() 1745 netxen_alloc_rx_skb(adapter, rds_ring, rxbuf); in netxen_process_rcv_ring()
|
/drivers/net/wireless/ath/ath5k/ |
D | base.c | 807 INIT_LIST_HEAD(&ah->rxbuf); in ath5k_desc_alloc() 811 list_add_tail(&bf->list, &ah->rxbuf); in ath5k_desc_alloc() 875 list_for_each_entry(bf, &ah->rxbuf, list) in ath5k_desc_free() 1094 list_for_each_entry(bf, &ah->rxbuf, list) { in ath5k_rx_start() 1101 bf = list_first_entry(&ah->rxbuf, struct ath5k_buf, list); in ath5k_rx_start() 1462 if (list_empty(&ah->rxbuf)) { in ath5k_tasklet_rx() 1467 bf = list_first_entry(&ah->rxbuf, struct ath5k_buf, list); in ath5k_tasklet_rx() 1507 list_move_tail(&bf->list, &ah->rxbuf); in ath5k_tasklet_rx()
|
/drivers/mfd/ |
D | twl4030-irq.c | 379 u8 rxbuf[4]; in twl4030_init_sih_modules() local 397 status = twl_i2c_read(sih->module, rxbuf, in twl4030_init_sih_modules()
|
/drivers/media/dvb/dvb-core/ |
D | dvb_ca_en50221.c | 978 void *rxbuf; in dvb_ca_en50221_thread() local 1118 rxbuf = vmalloc(RX_BUFFER_SIZE); in dvb_ca_en50221_thread() 1119 if (rxbuf == NULL) { in dvb_ca_en50221_thread() 1125 dvb_ringbuffer_init(&ca->slot_info[slot].rx_buffer, rxbuf, RX_BUFFER_SIZE); in dvb_ca_en50221_thread()
|