| /Linux-v5.15/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.15/drivers/infiniband/hw/hfi1/ |
| D | fault.c | 48 u64 n_packets = 0, n_bytes = 0; in _fault_stats_seq_show() local 57 n_bytes += rcd->opstats->stats[i].n_bytes; in _fault_stats_seq_show() 66 n_bytes += sp->stats[i].n_bytes; in _fault_stats_seq_show() 68 if (!n_packets && !n_bytes) in _fault_stats_seq_show() 74 (unsigned long long)n_bytes, in _fault_stats_seq_show()
|
| D | debugfs.c | 95 u64 n_packets = 0, n_bytes = 0; in _opcode_stats_seq_show() local 104 n_bytes += rcd->opstats->stats[i].n_bytes; in _opcode_stats_seq_show() 108 return opcode_stats_show(s, i, n_packets, n_bytes); in _opcode_stats_seq_show() 134 u64 n_packets = 0, n_bytes = 0; in _tx_opcode_stats_seq_show() local 142 n_bytes += s->stats[i].n_bytes; in _tx_opcode_stats_seq_show() 144 return opcode_stats_show(s, i, n_packets, n_bytes); in _tx_opcode_stats_seq_show()
|
| D | verbs.h | 209 u64 n_bytes; /* total number of bytes */ member 221 stats->n_bytes += tlen; in inc_opstats()
|
| /Linux-v5.15/drivers/spi/ |
| D | spi-rockchip.c | 191 u8 n_bytes; member 297 if (rs->n_bytes == 1) in rockchip_spi_pio_writer() 303 rs->tx += rs->n_bytes; in rockchip_spi_pio_writer() 333 if (rs->n_bytes == 1) in rockchip_spi_pio_reader() 337 rs->rx += rs->n_bytes; in rockchip_spi_pio_reader() 364 rs->tx_left = rs->tx ? xfer->len / rs->n_bytes : 0; in rockchip_spi_prepare_irq() 365 rs->rx_left = xfer->len / rs->n_bytes; in rockchip_spi_prepare_irq() 431 .src_addr_width = rs->n_bytes, in rockchip_spi_prepare_dma() 433 rs->n_bytes), in rockchip_spi_prepare_dma() 454 .dst_addr_width = rs->n_bytes, in rockchip_spi_prepare_dma() [all …]
|
| D | spi-hisi-kunpeng.c | 137 u8 n_bytes; /* current is a 1/2/4 bytes op */ member 233 switch (hs->n_bytes) { in hisi_spi_reader() 244 hs->rx += hs->n_bytes; in hisi_spi_reader() 258 switch (hs->n_bytes) { in hisi_spi_writer() 269 hs->tx += hs->n_bytes; in hisi_spi_writer() 391 hs->n_bytes = hisi_spi_n_bytes(transfer); in hisi_spi_transfer_one() 393 hs->tx_len = transfer->len / hs->n_bytes; in hisi_spi_transfer_one()
|
| D | spi-dw-core.c | 144 if (dws->n_bytes == 1) in dw_writer() 146 else if (dws->n_bytes == 2) in dw_writer() 151 dws->tx += dws->n_bytes; in dw_writer() 166 if (dws->n_bytes == 1) in dw_reader() 168 else if (dws->n_bytes == 2) in dw_reader() 173 dws->rx += dws->n_bytes; in dw_reader() 389 nbits = dws->n_bytes * BITS_PER_BYTE; in dw_spi_poll_transfer() 419 dws->n_bytes = DIV_ROUND_UP(transfer->bits_per_word, BITS_PER_BYTE); in dw_spi_transfer_one() 421 dws->tx_len = transfer->len / dws->n_bytes; in dw_spi_transfer_one() 524 dws->n_bytes = 1; in dw_spi_init_mem_buf() [all …]
|
| D | spi-dw-dma.c | 194 static enum dma_slave_buswidth dw_spi_dma_convert_width(u8 n_bytes) in dw_spi_dma_convert_width() argument 196 if (n_bytes == 1) in dw_spi_dma_convert_width() 198 else if (n_bytes == 2) in dw_spi_dma_convert_width() 241 delay.value = nents * dws->n_bytes * BITS_PER_BYTE; in dw_spi_dma_wait_tx_done() 278 txconf.dst_addr_width = dw_spi_dma_convert_width(dws->n_bytes); in dw_spi_dma_config_tx() 379 rxconf.src_addr_width = dw_spi_dma_convert_width(dws->n_bytes); in dw_spi_dma_config_rx()
|
| D | spi-imx.c | 396 int n_bytes = spi_imx->slave_burst % sizeof(val); in mx53_ecspi_rx_slave() local 398 if (!n_bytes) in mx53_ecspi_rx_slave() 399 n_bytes = sizeof(val); in mx53_ecspi_rx_slave() 402 ((u8 *)&val) + sizeof(val) - n_bytes, n_bytes); in mx53_ecspi_rx_slave() 404 spi_imx->rx_buf += n_bytes; in mx53_ecspi_rx_slave() 405 spi_imx->slave_burst -= n_bytes; in mx53_ecspi_rx_slave() 414 int n_bytes = spi_imx->count % sizeof(val); in mx53_ecspi_tx_slave() local 416 if (!n_bytes) in mx53_ecspi_tx_slave() 417 n_bytes = sizeof(val); in mx53_ecspi_tx_slave() 420 memcpy(((u8 *)&val) + sizeof(val) - n_bytes, in mx53_ecspi_tx_slave() [all …]
|
| D | spi-pxa2xx.h | 48 u8 n_bytes; member 64 u8 n_bytes; member
|
| D | spi-pxa2xx.c | 505 u8 n_bytes = drv_data->n_bytes; in null_writer() local 512 drv_data->tx += n_bytes; in null_writer() 519 u8 n_bytes = drv_data->n_bytes; in null_reader() local 523 drv_data->rx += n_bytes; in null_reader() 708 switch (drv_data->n_bytes) { in interrupt_transfer() 997 drv_data->n_bytes = chip->n_bytes; in pxa2xx_spi_transfer_one() 1012 drv_data->n_bytes = 1; in pxa2xx_spi_transfer_one() 1018 drv_data->n_bytes = 2; in pxa2xx_spi_transfer_one() 1024 drv_data->n_bytes = 4; in pxa2xx_spi_transfer_one() 1395 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 | 424 u8 n_bytes; member 701 pl022->rx += (pl022->cur_chip->n_bytes); in readwriter() 723 pl022->tx += (pl022->cur_chip->n_bytes); in readwriter() 750 pl022->rx += (pl022->cur_chip->n_bytes); in readwriter() 1344 residue = pl022->cur_transfer->len % pl022->cur_chip->n_bytes; in set_up_next_transfer() 1350 pl022->cur_chip->n_bytes); in set_up_next_transfer() 1946 chip->n_bytes = 1; in pl022_setup() 1951 chip->n_bytes = 2; in pl022_setup() 1956 chip->n_bytes = 4; in pl022_setup()
|
| D | spi-pxa2xx-dma.c | 74 switch (drv_data->n_bytes) { in pxa2xx_spi_dma_prepare_one()
|
| D | spi-dw.h | 173 u8 n_bytes; /* current is a 1/2 bytes op */ member
|
| /Linux-v5.15/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.15/drivers/media/rc/ |
| D | imon.c | 69 size_t n_bytes, loff_t *pos); 73 size_t n_bytes, loff_t *pos); 931 size_t n_bytes, loff_t *pos) in vfd_write() argument 955 if (n_bytes <= 0 || n_bytes > 32) { in vfd_write() 961 if (copy_from_user(ictx->tx.data_buf, buf, n_bytes)) { in vfd_write() 967 for (i = n_bytes; i < 32; ++i) in vfd_write() 1001 return (!retval) ? n_bytes : retval; in vfd_write() 1018 size_t n_bytes, loff_t *pos) in lcd_write() argument 1037 if (n_bytes != 8) { in lcd_write() 1039 (int)n_bytes); in lcd_write() [all …]
|
| /Linux-v5.15/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 | 1630 int brcms_ucode_init_uint(struct brcms_info *wl, size_t *n_bytes, u32 idx) in brcms_ucode_init_uint() argument 1647 *n_bytes = le32_to_cpu(*((__le32 *) pdata)); in brcms_ucode_init_uint()
|
| /Linux-v5.15/drivers/usb/gadget/udc/ |
| D | bcm63xx_udc.c | 610 unsigned int n_bytes; in iudma_write() local 620 n_bytes = min_t(int, bytes_left, max_bd_bytes); in iudma_write() 621 if (n_bytes) in iudma_write() 622 dmaflags |= n_bytes << DMADESC_LENGTH_SHIFT; in iudma_write() 641 (n_bytes == bytes_left && !extra_zero_pkt)) { in iudma_write() 650 breq->offset += n_bytes; in iudma_write() 651 breq->bd_bytes += n_bytes; in iudma_write() 652 bytes_left -= n_bytes; in iudma_write()
|
| /Linux-v5.15/drivers/media/test-drivers/vimc/ |
| D | vimc-debayer.c | 398 const unsigned int n_bytes) in vimc_deb_get_val() argument 403 for (i = 0; i < n_bytes; i++) in vimc_deb_get_val()
|
| /Linux-v5.15/net/openvswitch/ |
| D | meter.c | 633 meter->stats.n_bytes += skb->len; in ovs_meter_execute() 670 band->stats.n_bytes += skb->len; in ovs_meter_execute()
|
| /Linux-v5.15/include/uapi/linux/ |
| D | openvswitch.h | 318 __u64 n_bytes; /* Number of matched bytes. */ member
|