Searched refs:xfer_size (Results 1 – 9 of 9) sorted by relevance
/drivers/dma/ |
D | img-mdc-dma.c | 95 u32 xfer_size; member 224 ldesc->xfer_size = len - 1; in mdc_list_desc_config() 307 size_t xfer_size; in mdc_prep_dma_memcpy() local 321 xfer_size = min_t(size_t, mdma->max_xfer_size, len); in mdc_prep_dma_memcpy() 324 xfer_size); in mdc_prep_dma_memcpy() 330 src += xfer_size; in mdc_prep_dma_memcpy() 331 dest += xfer_size; in mdc_prep_dma_memcpy() 332 len -= xfer_size; in mdc_prep_dma_memcpy() 402 size_t xfer_size; in mdc_prep_dma_cyclic() local 417 xfer_size = min_t(size_t, mdma->max_xfer_size, in mdc_prep_dma_cyclic() [all …]
|
D | at_xdmac.c | 255 unsigned int xfer_size; member 463 desc->xfer_size = 0; in at_xdmac_init_used_desc() 641 unsigned int xfer_size = 0; in at_xdmac_prep_slave_sg() local 719 xfer_size += len; in at_xdmac_prep_slave_sg() 724 first->xfer_size = xfer_size; in at_xdmac_prep_slave_sg() 811 first->xfer_size = buf_len; in at_xdmac_prep_dma_cyclic() 1027 first->xfer_size = len; in at_xdmac_prep_interleaved() 1038 size_t remaining_size = len, xfer_size = 0, ublen; in at_xdmac_prep_dma_memcpy() local 1086 src_addr += xfer_size; in at_xdmac_prep_dma_memcpy() 1087 dst_addr += xfer_size; in at_xdmac_prep_dma_memcpy() [all …]
|
/drivers/dma/ioat/ |
D | prep.c | 205 size_t xfer_size = min_t(size_t, in __ioat_prep_xor_lock() local 223 xor->size = xfer_size; in __ioat_prep_xor_lock() 229 len -= xfer_size; in __ioat_prep_xor_lock() 230 offset += xfer_size; in __ioat_prep_xor_lock() 401 size_t xfer_size = min_t(size_t, len, in __ioat_prep_pq_lock() local 428 pq->size = xfer_size; in __ioat_prep_pq_lock() 440 len -= xfer_size; in __ioat_prep_pq_lock() 441 offset += xfer_size; in __ioat_prep_pq_lock() 509 size_t xfer_size = min_t(size_t, len, in __ioat_prep_pq16_lock() local 542 pq->size = xfer_size; in __ioat_prep_pq16_lock() [all …]
|
/drivers/input/ |
D | evdev.c | 1018 size_t cnt, size, xfer_size; in evdev_get_mask() local 1025 xfer_size = min_t(size_t, codes_size, size); in evdev_get_mask() 1031 xfer_size, codes, compat); in evdev_get_mask() 1036 for (i = 0; i < xfer_size; i++) in evdev_get_mask() 1042 if (xfer_size < codes_size) in evdev_get_mask() 1043 if (clear_user(codes + xfer_size, codes_size - xfer_size)) in evdev_get_mask()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_ethtool.c | 1464 unsigned int start_addr = ee->offset, xfer_size = 0; in bnx2x_get_module_eeprom() local 1478 xfer_size = ETH_MODULE_SFF_8079_LEN - start_addr; in bnx2x_get_module_eeprom() 1480 xfer_size = ee->len; in bnx2x_get_module_eeprom() 1486 xfer_size, in bnx2x_get_module_eeprom() 1494 user_data += xfer_size; in bnx2x_get_module_eeprom() 1495 start_addr += xfer_size; in bnx2x_get_module_eeprom() 1501 xfer_size = ee->len - xfer_size; in bnx2x_get_module_eeprom() 1503 if (start_addr + xfer_size > ETH_MODULE_SFF_8472_LEN) in bnx2x_get_module_eeprom() 1504 xfer_size = ETH_MODULE_SFF_8472_LEN - start_addr; in bnx2x_get_module_eeprom() 1511 xfer_size, in bnx2x_get_module_eeprom()
|
D | bnx2x_link.c | 8096 u8 xfer_size; in bnx2x_read_sfp_module_eeprom() local 8121 xfer_size = (byte_cnt > SFP_EEPROM_PAGE_SIZE) ? in bnx2x_read_sfp_module_eeprom() 8123 rc = read_func(phy, params, dev_addr, addr, xfer_size, in bnx2x_read_sfp_module_eeprom() 8125 byte_cnt -= xfer_size; in bnx2x_read_sfp_module_eeprom() 8126 user_data += xfer_size; in bnx2x_read_sfp_module_eeprom() 8127 addr += xfer_size; in bnx2x_read_sfp_module_eeprom()
|
/drivers/dma/sh/ |
D | rcar-dmac.c | 789 unsigned int xfer_size; in rcar_dmac_chan_configure_desc() local 796 xfer_size = chan->src_xfer_size; in rcar_dmac_chan_configure_desc() 802 xfer_size = chan->dst_xfer_size; in rcar_dmac_chan_configure_desc() 809 xfer_size = RCAR_DMAC_MEMCPY_XFER_SIZE; in rcar_dmac_chan_configure_desc() 813 desc->xfer_shift = ilog2(xfer_size); in rcar_dmac_chan_configure_desc()
|
/drivers/usb/host/ |
D | isp1362-hcd.c | 175 u16 xfer_size = min_t(size_t, MAX_XFER_SIZE, size); in max_transfer_size() local 177 xfer_size = min_t(size_t, xfer_size, epq->buf_avail * epq->blk_size - PTD_HEADER_SIZE); in max_transfer_size() 178 if (xfer_size < size && xfer_size % mps) in max_transfer_size() 179 xfer_size -= xfer_size % mps; in max_transfer_size() 181 return xfer_size; in max_transfer_size()
|
/drivers/net/ethernet/tile/ |
D | tilegx.c | 1855 edesc_head.xfer_size = sh_len; in tso_egress() 1896 edesc_body.xfer_size = n; in tso_egress() 2029 edesc.xfer_size = frags[i].length; in tile_net_tx()
|