/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() 329 src += xfer_size; in mdc_prep_dma_memcpy() 330 dest += xfer_size; in mdc_prep_dma_memcpy() 331 len -= xfer_size; in mdc_prep_dma_memcpy() 401 size_t xfer_size; in mdc_prep_dma_cyclic() local 416 xfer_size = min_t(size_t, mdma->max_xfer_size, in mdc_prep_dma_cyclic() [all …]
|
D | at_xdmac.c | 253 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/dma/sh/ |
D | rcar-dmac.c | 127 unsigned int xfer_size; member 815 unsigned int xfer_size; in rcar_dmac_chan_configure_desc() local 822 xfer_size = chan->src.xfer_size; in rcar_dmac_chan_configure_desc() 828 xfer_size = chan->dst.xfer_size; in rcar_dmac_chan_configure_desc() 835 xfer_size = RCAR_DMAC_MEMCPY_XFER_SIZE; in rcar_dmac_chan_configure_desc() 839 desc->xfer_shift = ilog2(xfer_size); in rcar_dmac_chan_configure_desc() 1043 if (map->slave.xfer_size) { in rcar_dmac_free_chan_resources() 1045 map->slave.xfer_size, map->dir, 0); in rcar_dmac_free_chan_resources() 1046 map->slave.xfer_size = 0; in rcar_dmac_free_chan_resources() 1083 dev_size = rchan->src.xfer_size; in rcar_dmac_map_slave_addr() [all …]
|
/drivers/input/ |
D | evdev.c | 1028 size_t cnt, size, xfer_size; in evdev_get_mask() local 1035 xfer_size = min_t(size_t, codes_size, size); in evdev_get_mask() 1041 xfer_size, codes, compat); in evdev_get_mask() 1046 for (i = 0; i < xfer_size; i++) in evdev_get_mask() 1052 if (xfer_size < codes_size) in evdev_get_mask() 1053 if (clear_user(codes + xfer_size, codes_size - xfer_size)) in evdev_get_mask()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_ethtool.c | 1488 unsigned int start_addr = ee->offset, xfer_size = 0; in bnx2x_get_module_eeprom() local 1502 xfer_size = ETH_MODULE_SFF_8079_LEN - start_addr; in bnx2x_get_module_eeprom() 1504 xfer_size = ee->len; in bnx2x_get_module_eeprom() 1510 xfer_size, in bnx2x_get_module_eeprom() 1518 user_data += xfer_size; in bnx2x_get_module_eeprom() 1519 start_addr += xfer_size; in bnx2x_get_module_eeprom() 1525 xfer_size = ee->len - xfer_size; in bnx2x_get_module_eeprom() 1527 if (start_addr + xfer_size > ETH_MODULE_SFF_8472_LEN) in bnx2x_get_module_eeprom() 1528 xfer_size = ETH_MODULE_SFF_8472_LEN - start_addr; in bnx2x_get_module_eeprom() 1535 xfer_size, in bnx2x_get_module_eeprom()
|
D | bnx2x_link.c | 8081 u8 xfer_size; in bnx2x_read_sfp_module_eeprom() local 8106 xfer_size = (byte_cnt > SFP_EEPROM_PAGE_SIZE) ? in bnx2x_read_sfp_module_eeprom() 8108 rc = read_func(phy, params, dev_addr, addr, xfer_size, in bnx2x_read_sfp_module_eeprom() 8110 byte_cnt -= xfer_size; in bnx2x_read_sfp_module_eeprom() 8111 user_data += xfer_size; in bnx2x_read_sfp_module_eeprom() 8112 addr += xfer_size; in bnx2x_read_sfp_module_eeprom()
|
/drivers/usb/host/ |
D | isp1362-hcd.c | 176 u16 xfer_size = min_t(size_t, MAX_XFER_SIZE, size); in max_transfer_size() local 178 xfer_size = min_t(size_t, xfer_size, epq->buf_avail * epq->blk_size - PTD_HEADER_SIZE); in max_transfer_size() 179 if (xfer_size < size && xfer_size % mps) in max_transfer_size() 180 xfer_size -= xfer_size % mps; in max_transfer_size() 182 return xfer_size; in max_transfer_size()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 2056 u16 xfer_size; in bnxt_read_sfp_module_eeprom_info() local 2058 xfer_size = min_t(u16, data_length, BNXT_MAX_PHY_I2C_RESP_SIZE); in bnxt_read_sfp_module_eeprom_info() 2059 data_length -= xfer_size; in bnxt_read_sfp_module_eeprom_info() 2061 req.data_length = xfer_size; in bnxt_read_sfp_module_eeprom_info() 2068 memcpy(buf + byte_offset, output->data, xfer_size); in bnxt_read_sfp_module_eeprom_info() 2070 byte_offset += xfer_size; in bnxt_read_sfp_module_eeprom_info()
|
/drivers/net/ethernet/tile/ |
D | tilegx.c | 1859 edesc_head.xfer_size = sh_len; in tso_egress() 1900 edesc_body.xfer_size = n; in tso_egress() 2033 edesc.xfer_size = frags[i].length; in tile_net_tx()
|