| /linux/drivers/spi/ |
| H A D | spi-cadence.c | 128 u8 n_bytes; member 331 if (xspi->rxbuf && !IS_ALIGNED((uintptr_t)xspi->rxbuf, xspi->n_bytes)) { in cdns_spi_reader() 333 __func__, xspi->n_bytes); in cdns_spi_reader() 339 switch (xspi->n_bytes) { in cdns_spi_reader() 351 xspi->n_bytes); in cdns_spi_reader() 354 xspi->rxbuf = (u8 *)xspi->rxbuf + xspi->n_bytes; in cdns_spi_reader() 362 if (xspi->txbuf && !IS_ALIGNED((uintptr_t)xspi->txbuf, xspi->n_bytes)) { in cdns_spi_writer() 364 __func__, xspi->n_bytes); in cdns_spi_writer() 369 switch (xspi->n_bytes) { in cdns_spi_writer() 381 xspi->n_bytes); in cdns_spi_writer() [all …]
|
| H A D | spi-dw-dma.c | 269 static enum dma_slave_buswidth dw_spi_dma_convert_width(u8 n_bytes) in dw_spi_dma_wait() 271 switch (n_bytes) { in dw_spi_dma_wait() 288 u8 n_bytes = roundup_pow_of_two(BITS_TO_BYTES(xfer->bits_per_word)); 293 dma_bus_width = dw_spi_dma_convert_width(n_bytes); in dw_spi_dma_wait_tx_done() 336 dws->n_bytes * BITS_PER_BYTE; in dw_spi_dma_config_tx() 381 txconf.dst_addr_width = dw_spi_dma_convert_width(dws->n_bytes); in dw_spi_dma_wait_rx_done() 482 rxconf.src_addr_width = dw_spi_dma_convert_width(dws->n_bytes); in dw_spi_dma_setup() 846 dma_bus_width = dw_spi_dma_convert_width(dws->n_bytes); 231 dw_spi_dma_convert_width(u8 n_bytes) dw_spi_dma_convert_width() argument 250 u8 n_bytes = roundup_pow_of_two(BITS_TO_BYTES(xfer->bits_per_word)); dw_spi_can_dma() local
|
| H A D | spi-dw-core.c | 159 if (dws->n_bytes == 1) in dw_reader() 161 else if (dws->n_bytes == 2) in dw_reader() 166 dws->tx += dws->n_bytes; in dw_reader() 184 if (dws->n_bytes == 1) in dw_spi_check_status() 186 else if (dws->n_bytes == 2) in dw_spi_check_status() 191 dws->rx += dws->n_bytes; in dw_spi_check_status() 545 nbits = dws->n_bytes * BITS_PER_BYTE; in dw_spi_transfer_one() 577 dws->n_bytes = spi_bpw_to_bytes(transfer->bits_per_word); in dw_spi_adjust_enh_mem_op_size() 579 dws->tx_len = transfer->len / dws->n_bytes; in dw_spi_adjust_enh_mem_op_size() 740 dws->n_bytes in dw_spi_write_then_read() [all...] |
| H A D | spi-imx.c | 469 int n_bytes = spi_imx->target_burst % sizeof(val); in mx53_ecspi_rx_target() local 471 if (!n_bytes) in mx53_ecspi_rx_target() 472 n_bytes = sizeof(val); in mx53_ecspi_rx_target() 475 ((u8 *)&val) + sizeof(val) - n_bytes, n_bytes); in mx53_ecspi_rx_target() 477 spi_imx->rx_buf += n_bytes; in mx53_ecspi_rx_target() 478 spi_imx->target_burst -= n_bytes; in mx53_ecspi_rx_target() 487 int n_bytes = spi_imx->count % sizeof(val); in mx53_ecspi_tx_target() local 492 if (!n_bytes) in mx53_ecspi_tx_target() 493 n_bytes in mx53_ecspi_tx_target() [all...] |
| H A D | spi-pxa2xx.h | 68 u8 n_bytes; member
|
| H A D | spi-dw.h | 206 u8 n_bytes; /* current is a 1/2 bytes op */ 216 u8 n_bytes; /* current is a 1/2 bytes op */ global() member
|
| H A D | spi-qcom-qspi.c | 313 uint32_t n_bytes) in qcom_qspi_alloc_desc() argument 334 virt_cmd_desc->length = n_bytes; in qcom_qspi_alloc_desc()
|
| /linux/drivers/usb/dwc2/ |
| H A D | hcd_ddma.c | 80 qh->n_bytes = kzalloc_objs(u32, dwc2_max_desc_num(qh), flags); in dwc2_desc_list_alloc() 81 if (!qh->n_bytes) { in dwc2_desc_list_alloc() 110 kfree(qh->n_bytes); in dwc2_desc_list_free() 111 qh->n_bytes = NULL; in dwc2_desc_list_free() 523 qh->n_bytes[idx] = max_xfer_size; in dwc2_fill_host_isoc_dma_desc() 525 qh->n_bytes[idx] = frame_desc->length; in dwc2_fill_host_isoc_dma_desc() 528 dma_desc->status = qh->n_bytes[idx] << HOST_DMA_ISOC_NBYTES_SHIFT & in dwc2_fill_host_isoc_dma_desc() 685 qh->n_bytes[n_desc] = len; in dwc2_fill_host_dma_desc() 902 frame_desc->actual_length = qh->n_bytes[idx] - remain; in dwc2_cmpl_host_isoc_dma_desc() 906 frame_desc->actual_length = qh->n_bytes[id in dwc2_cmpl_host_isoc_dma_desc() 1049 dwc2_update_non_isoc_urb_state_ddma(struct dwc2_hsotg * hsotg,struct dwc2_host_chan * chan,struct dwc2_qtd * qtd,struct dwc2_dma_desc * dma_desc,enum dwc2_halt_status halt_status,u32 n_bytes,int * xfer_done) dwc2_update_non_isoc_urb_state_ddma() argument 1136 u32 n_bytes; dwc2_process_non_isoc_desc() local [all...] |
| H A D | hcd.h | 341 u32 *n_bytes; member
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | fault.c | 47 u64 n_packets = 0, n_bytes = 0; in _fault_stats_seq_show() local 56 n_bytes += rcd->opstats->stats[i].n_bytes; in _fault_stats_seq_show() 65 n_bytes += sp->stats[i].n_bytes; in _fault_stats_seq_show() 67 if (!n_packets && !n_bytes) in _fault_stats_seq_show() 73 (unsigned long long)n_bytes, in _fault_stats_seq_show()
|
| H A D | debugfs.c | 66 u64 n_packets = 0, n_bytes = 0; in _opcode_stats_seq_show() local 75 n_bytes += rcd->opstats->stats[i].n_bytes; in _opcode_stats_seq_show() 79 return opcode_stats_show(s, i, n_packets, n_bytes); in _opcode_stats_seq_show() 105 u64 n_packets = 0, n_bytes = 0; in _tx_opcode_stats_seq_show() local 113 n_bytes += s->stats[i].n_bytes; in _tx_opcode_stats_seq_show() 115 return opcode_stats_show(s, i, n_packets, n_bytes); in _tx_opcode_stats_seq_show()
|
| H A D | verbs.h | 209 u64 n_bytes; /* total number of bytes */ member 221 stats->n_bytes += tlen; in inc_opstats()
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| H A D | ucode_loader.h | 51 int brcms_ucode_init_uint(struct brcms_info *wl, size_t *n_bytes,
|
| H A D | mac80211_if.c | 1637 int brcms_ucode_init_uint(struct brcms_info *wl, size_t *n_bytes, u32 idx) in brcms_ucode_init_uint() argument 1654 *n_bytes = le32_to_cpu(*((__le32 *) pdata)); in brcms_ucode_init_uint()
|
| /linux/drivers/usb/gadget/udc/ |
| H A 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/net/vmw_vsock/ |
| H A D | af_vsock.c | 1594 ssize_t n_bytes; in vsock_do_ioctl() 1607 n_bytes = vsock_stream_has_data(vsk); in vsock_do_ioctl() 1608 if (n_bytes < 0) { in vsock_do_ioctl() 1609 ret = n_bytes; in vsock_do_ioctl() 1612 ret = put_user(n_bytes, arg); in vsock_do_ioctl() 1616 ssize_t n_bytes; in vsock_do_ioctl() 1628 n_bytes = vsk->transport->unsent_bytes(vsk); in vsock_do_ioctl() 1629 if (n_bytes < 0) { in vsock_do_ioctl() 1630 ret = n_bytes; in vsock_do_ioctl() 1634 ret = put_user(n_bytes, ar in vsock_do_ioctl() 1593 ssize_t n_bytes; vsock_do_ioctl() local 1615 ssize_t n_bytes; vsock_do_ioctl() local [all...] |
| /linux/drivers/media/test-drivers/vimc/ |
| H A D | vimc-debayer.c | 393 const unsigned int n_bytes) in vimc_debayer_get_val() 398 for (i = 0; i < n_bytes; i++) in vimc_debayer_get_val() 392 vimc_debayer_get_val(const u8 * bytes,const unsigned int n_bytes) vimc_debayer_get_val() argument
|
| /linux/net/openvswitch/ |
| H A D | meter.c | 637 meter->stats.n_bytes += skb->len; in ovs_meter_execute() 674 band->stats.n_bytes += skb->len; in ovs_meter_execute()
|
| H A D | flow.c | 149 ovs_stats->n_bytes += stats->byte_count; in ovs_flow_stats_get()
|
| /linux/include/uapi/linux/ |
| H A D | openvswitch.h | 387 __u64 n_bytes; /* Number of matched bytes. */ member
|
| /linux/drivers/md/ |
| H A D | dm-integrity.c | 900 size_t n_bytes = (size_t)(n_sections * ic->journal_section_sectors) << SECTOR_SHIFT; in xor_journal() local 914 atomic_add(roundup(pl_offset + n_bytes, PAGE_SIZE) >> PAGE_SHIFT, &comp->in_flight); in xor_journal() 937 this_step = min(n_bytes, (size_t)PAGE_SIZE - pl_offset); in xor_journal() 946 n_bytes -= this_step; in xor_journal() 947 } while (n_bytes); in xor_journal()
|