/Linux-v5.4/drivers/usb/dwc2/ |
D | hcd_ddma.c | 110 qh->n_bytes = kcalloc(dwc2_max_desc_num(qh), sizeof(u32), flags); in dwc2_desc_list_alloc() 111 if (!qh->n_bytes) { in dwc2_desc_list_alloc() 140 kfree(qh->n_bytes); in dwc2_desc_list_free() 141 qh->n_bytes = NULL; in dwc2_desc_list_free() 553 qh->n_bytes[idx] = max_xfer_size; in dwc2_fill_host_isoc_dma_desc() 555 qh->n_bytes[idx] = frame_desc->length; in dwc2_fill_host_isoc_dma_desc() 558 dma_desc->status = qh->n_bytes[idx] << HOST_DMA_ISOC_NBYTES_SHIFT & in dwc2_fill_host_isoc_dma_desc() 715 qh->n_bytes[n_desc] = len; in dwc2_fill_host_dma_desc() 925 frame_desc->actual_length = qh->n_bytes[idx] - remain; in dwc2_cmpl_host_isoc_dma_desc() 929 frame_desc->actual_length = qh->n_bytes[idx] - remain; in dwc2_cmpl_host_isoc_dma_desc() [all …]
|
D | hcd.h | 370 u32 *n_bytes; member
|
/Linux-v5.4/drivers/infiniband/hw/hfi1/ |
D | fault.c | 89 u64 n_packets = 0, n_bytes = 0; in _fault_stats_seq_show() local 98 n_bytes += rcd->opstats->stats[i].n_bytes; in _fault_stats_seq_show() 107 n_bytes += sp->stats[i].n_bytes; in _fault_stats_seq_show() 109 if (!n_packets && !n_bytes) in _fault_stats_seq_show() 115 (unsigned long long)n_bytes, in _fault_stats_seq_show()
|
D | debugfs.c | 136 u64 n_packets = 0, n_bytes = 0; in _opcode_stats_seq_show() local 145 n_bytes += rcd->opstats->stats[i].n_bytes; in _opcode_stats_seq_show() 149 return opcode_stats_show(s, i, n_packets, n_bytes); in _opcode_stats_seq_show() 175 u64 n_packets = 0, n_bytes = 0; in _tx_opcode_stats_seq_show() local 183 n_bytes += s->stats[i].n_bytes; in _tx_opcode_stats_seq_show() 185 return opcode_stats_show(s, i, n_packets, n_bytes); in _tx_opcode_stats_seq_show()
|
D | verbs.h | 251 u64 n_bytes; /* total number of bytes */ member 263 stats->n_bytes += tlen; in inc_opstats()
|
/Linux-v5.4/drivers/infiniband/hw/qib/ |
D | qib_debugfs.c | 98 u64 n_packets = 0, n_bytes = 0; in _opcode_stats_seq_show() local 106 n_bytes += dd->rcd[j]->opstats->stats[i].n_bytes; in _opcode_stats_seq_show() 108 if (!n_packets && !n_bytes) in _opcode_stats_seq_show() 112 (unsigned long long) n_bytes); in _opcode_stats_seq_show()
|
D | qib_verbs.h | 130 u64 n_bytes; /* total number of bytes */ member
|
/Linux-v5.4/drivers/spi/ |
D | spi-dw.c | 147 tx_left = (dws->tx_end - dws->tx) / dws->n_bytes; in tx_max() 159 / dws->n_bytes; in tx_max() 167 u32 rx_left = (dws->rx_end - dws->rx) / dws->n_bytes; in rx_max() 180 if (dws->n_bytes == 1) in dw_writer() 186 dws->tx += dws->n_bytes; in dw_writer() 199 if (dws->n_bytes == 1) in dw_reader() 204 dws->rx += dws->n_bytes; in dw_reader() 304 dws->n_bytes = DIV_ROUND_UP(transfer->bits_per_word, BITS_PER_BYTE); in dw_spi_transfer_one() 350 txlevel = min_t(u16, dws->fifo_len / 2, dws->len / dws->n_bytes); in dw_spi_transfer_one()
|
D | spi-rockchip.c | 182 u8 n_bytes; member 276 if (rs->n_bytes == 1) in rockchip_spi_pio_writer() 282 rs->tx += rs->n_bytes; in rockchip_spi_pio_writer() 312 if (rs->n_bytes == 1) in rockchip_spi_pio_reader() 316 rs->rx += rs->n_bytes; in rockchip_spi_pio_reader() 343 rs->tx_left = rs->tx ? xfer->len / rs->n_bytes : 0; in rockchip_spi_prepare_irq() 344 rs->rx_left = xfer->len / rs->n_bytes; in rockchip_spi_prepare_irq() 397 .src_addr_width = rs->n_bytes, in rockchip_spi_prepare_dma() 419 .dst_addr_width = rs->n_bytes, in rockchip_spi_prepare_dma() 559 rs->n_bytes = xfer->bits_per_word <= 8 ? 1 : 2; in rockchip_spi_transfer_one()
|
D | spi-pxa2xx.h | 54 u8 n_bytes; member 73 u8 n_bytes; member
|
D | spi-imx.c | 389 int n_bytes = spi_imx->slave_burst % sizeof(val); in mx53_ecspi_rx_slave() local 391 if (!n_bytes) in mx53_ecspi_rx_slave() 392 n_bytes = sizeof(val); in mx53_ecspi_rx_slave() 395 ((u8 *)&val) + sizeof(val) - n_bytes, n_bytes); in mx53_ecspi_rx_slave() 397 spi_imx->rx_buf += n_bytes; in mx53_ecspi_rx_slave() 398 spi_imx->slave_burst -= n_bytes; in mx53_ecspi_rx_slave() 407 int n_bytes = spi_imx->count % sizeof(val); in mx53_ecspi_tx_slave() local 409 if (!n_bytes) in mx53_ecspi_tx_slave() 410 n_bytes = sizeof(val); in mx53_ecspi_tx_slave() 413 memcpy(((u8 *)&val) + sizeof(val) - n_bytes, in mx53_ecspi_tx_slave() [all …]
|
D | spi-pxa2xx.c | 464 u8 n_bytes = drv_data->n_bytes; in null_writer() local 471 drv_data->tx += n_bytes; in null_writer() 478 u8 n_bytes = drv_data->n_bytes; in null_reader() local 483 drv_data->rx += n_bytes; in null_reader() 663 switch (drv_data->n_bytes) { in interrupt_transfer() 958 drv_data->n_bytes = chip->n_bytes; in pxa2xx_spi_transfer_one() 973 drv_data->n_bytes = 1; in pxa2xx_spi_transfer_one() 979 drv_data->n_bytes = 2; in pxa2xx_spi_transfer_one() 985 drv_data->n_bytes = 4; in pxa2xx_spi_transfer_one() 1361 chip->n_bytes = 1; in setup() [all …]
|
D | spi-pic32.c | 161 static u32 pic32_tx_max(struct pic32_spi *pic32s, int n_bytes) in pic32_tx_max() argument 165 tx_left = (pic32s->tx_end - pic32s->tx) / n_bytes; in pic32_tx_max() 177 (pic32s->tx_end - pic32s->tx)) / n_bytes; in pic32_tx_max() 182 static u32 pic32_rx_max(struct pic32_spi *pic32s, int n_bytes) in pic32_rx_max() argument 184 u32 rx_left = (pic32s->rx_end - pic32s->rx) / n_bytes; in pic32_rx_max()
|
D | spi-pl022.c | 422 u8 n_bytes; member 707 pl022->rx += (pl022->cur_chip->n_bytes); in readwriter() 729 pl022->tx += (pl022->cur_chip->n_bytes); in readwriter() 756 pl022->rx += (pl022->cur_chip->n_bytes); in readwriter() 1348 residue = pl022->cur_transfer->len % pl022->cur_chip->n_bytes; in set_up_next_transfer() 1354 pl022->cur_chip->n_bytes); in set_up_next_transfer() 1957 chip->n_bytes = 1; in pl022_setup() 1962 chip->n_bytes = 2; in pl022_setup() 1967 chip->n_bytes = 4; in pl022_setup()
|
D | spi-dw.h | 126 u8 n_bytes; /* current is a 1/2 bytes op */ member
|
D | spi-pxa2xx-dma.c | 81 switch (drv_data->n_bytes) { in pxa2xx_spi_dma_prepare_one()
|
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | ucode_loader.h | 51 int brcms_ucode_init_uint(struct brcms_info *wl, size_t *n_bytes,
|
D | mac80211_if.c | 1626 int brcms_ucode_init_uint(struct brcms_info *wl, size_t *n_bytes, u32 idx) in brcms_ucode_init_uint() argument 1643 *n_bytes = le32_to_cpu(*((__le32 *) pdata)); in brcms_ucode_init_uint()
|
/Linux-v5.4/drivers/media/rc/ |
D | imon.c | 69 size_t n_bytes, loff_t *pos); 73 size_t n_bytes, loff_t *pos); 906 size_t n_bytes, loff_t *pos) in vfd_write() argument 930 if (n_bytes <= 0 || n_bytes > 32) { in vfd_write() 936 if (copy_from_user(ictx->tx.data_buf, buf, n_bytes)) { in vfd_write() 942 for (i = n_bytes; i < 32; ++i) in vfd_write() 976 return (!retval) ? n_bytes : retval; in vfd_write() 993 size_t n_bytes, loff_t *pos) in lcd_write() argument 1012 if (n_bytes != 8) { in lcd_write() 1014 (int)n_bytes); in lcd_write() [all …]
|
/Linux-v5.4/drivers/usb/gadget/udc/ |
D | bcm63xx_udc.c | 612 unsigned int n_bytes; in iudma_write() local 622 n_bytes = min_t(int, bytes_left, max_bd_bytes); in iudma_write() 623 if (n_bytes) in iudma_write() 624 dmaflags |= n_bytes << DMADESC_LENGTH_SHIFT; in iudma_write() 643 (n_bytes == bytes_left && !extra_zero_pkt)) { in iudma_write() 652 breq->offset += n_bytes; in iudma_write() 653 breq->bd_bytes += n_bytes; in iudma_write() 654 bytes_left -= n_bytes; in iudma_write()
|
/Linux-v5.4/drivers/media/platform/vimc/ |
D | vimc-debayer.c | 364 const unsigned int n_bytes) in vimc_deb_get_val() argument 369 for (i = 0; i < n_bytes; i++) in vimc_deb_get_val()
|
/Linux-v5.4/net/openvswitch/ |
D | meter.c | 474 meter->stats.n_bytes += skb->len; in ovs_meter_execute() 511 band->stats.n_bytes += skb->len; in ovs_meter_execute()
|
D | flow.c | 148 ovs_stats->n_bytes += stats->byte_count; in ovs_flow_stats_get()
|
/Linux-v5.4/include/uapi/linux/ |
D | openvswitch.h | 307 __u64 n_bytes; /* Number of matched bytes. */ member
|
/Linux-v5.4/drivers/md/ |
D | dm-integrity.c | 786 size_t n_bytes = (size_t)(n_sections * ic->journal_section_sectors) << SECTOR_SHIFT; in xor_journal() local 800 atomic_add(roundup(pl_offset + n_bytes, PAGE_SIZE) >> PAGE_SHIFT, &comp->in_flight); in xor_journal() 822 this_step = min(n_bytes, (size_t)PAGE_SIZE - pl_offset); in xor_journal() 831 n_bytes -= this_step; in xor_journal() 832 } while (n_bytes); in xor_journal()
|