Home
last modified time | relevance | path

Searched refs:xfer_size (Results 1 – 11 of 11) sorted by relevance

/drivers/dma/
Dimg-mdc-dma.c93 u32 xfer_size; member
222 ldesc->xfer_size = len - 1; in mdc_list_desc_config()
305 size_t xfer_size; in mdc_prep_dma_memcpy() local
319 xfer_size = min_t(size_t, mdma->max_xfer_size, len); in mdc_prep_dma_memcpy()
322 xfer_size); in mdc_prep_dma_memcpy()
327 src += xfer_size; in mdc_prep_dma_memcpy()
328 dest += xfer_size; in mdc_prep_dma_memcpy()
329 len -= xfer_size; in mdc_prep_dma_memcpy()
399 size_t xfer_size; in mdc_prep_dma_cyclic() local
414 xfer_size = min_t(size_t, mdma->max_xfer_size, in mdc_prep_dma_cyclic()
[all …]
Dat_xdmac.c242 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/
Dprep.c193 size_t xfer_size = min_t(size_t, in __ioat_prep_xor_lock() local
211 xor->size = xfer_size; in __ioat_prep_xor_lock()
217 len -= xfer_size; in __ioat_prep_xor_lock()
218 offset += xfer_size; in __ioat_prep_xor_lock()
389 size_t xfer_size = min_t(size_t, len, in __ioat_prep_pq_lock() local
416 pq->size = xfer_size; in __ioat_prep_pq_lock()
428 len -= xfer_size; in __ioat_prep_pq_lock()
429 offset += xfer_size; in __ioat_prep_pq_lock()
497 size_t xfer_size = min_t(size_t, len, in __ioat_prep_pq16_lock() local
530 pq->size = xfer_size; in __ioat_prep_pq16_lock()
[all …]
/drivers/dma/sh/
Drcar-dmac.c125 unsigned int xfer_size; member
855 unsigned int xfer_size; in rcar_dmac_chan_configure_desc() local
862 xfer_size = chan->src.xfer_size; in rcar_dmac_chan_configure_desc()
868 xfer_size = chan->dst.xfer_size; in rcar_dmac_chan_configure_desc()
875 xfer_size = RCAR_DMAC_MEMCPY_XFER_SIZE; in rcar_dmac_chan_configure_desc()
879 desc->xfer_shift = ilog2(xfer_size); in rcar_dmac_chan_configure_desc()
1083 if (map->slave.xfer_size) { in rcar_dmac_free_chan_resources()
1085 map->slave.xfer_size, map->dir, 0); in rcar_dmac_free_chan_resources()
1086 map->slave.xfer_size = 0; in rcar_dmac_free_chan_resources()
1123 dev_size = rchan->src.xfer_size; in rcar_dmac_map_slave_addr()
[all …]
/drivers/input/joystick/
Dpxrc.c126 size_t xfer_size; in pxrc_probe() local
150 xfer_size = usb_endpoint_maxp(epirq); in pxrc_probe()
151 xfer_buf = devm_kmalloc(&intf->dev, xfer_size, GFP_KERNEL); in pxrc_probe()
165 xfer_buf, xfer_size, pxrc_usb_irq, pxrc, 1); in pxrc_probe()
/drivers/i2c/busses/
Di2c-tegra.c1048 size_t xfer_size; in tegra_i2c_xfer_msg() local
1063 xfer_size = msg->len; in tegra_i2c_xfer_msg()
1065 xfer_size = msg->len + I2C_PACKET_HEADER_SIZE; in tegra_i2c_xfer_msg()
1067 xfer_size = ALIGN(xfer_size, BYTES_PER_FIFO_WORD); in tegra_i2c_xfer_msg()
1068 i2c_dev->is_curr_dma_xfer = (xfer_size > I2C_PIO_MODE_MAX_LEN) && in tegra_i2c_xfer_msg()
1070 tegra_i2c_config_fifo_trig(i2c_dev, xfer_size); in tegra_i2c_xfer_msg()
1076 xfer_time += DIV_ROUND_CLOSEST(((xfer_size * 9) + 2) * MSEC_PER_SEC, in tegra_i2c_xfer_msg()
1086 xfer_size, in tegra_i2c_xfer_msg()
1088 err = tegra_i2c_dma_submit(i2c_dev, xfer_size); in tegra_i2c_xfer_msg()
1099 xfer_size, in tegra_i2c_xfer_msg()
[all …]
/drivers/input/
Devdev.c1010 size_t cnt, size, xfer_size; in evdev_get_mask() local
1017 xfer_size = min_t(size_t, codes_size, size); in evdev_get_mask()
1023 xfer_size, codes, compat); in evdev_get_mask()
1028 for (i = 0; i < xfer_size; i++) in evdev_get_mask()
1034 if (xfer_size < codes_size) in evdev_get_mask()
1035 if (clear_user(codes + xfer_size, codes_size - xfer_size)) in evdev_get_mask()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c1516 unsigned int start_addr = ee->offset, xfer_size = 0; in bnx2x_get_module_eeprom() local
1530 xfer_size = ETH_MODULE_SFF_8079_LEN - start_addr; in bnx2x_get_module_eeprom()
1532 xfer_size = ee->len; in bnx2x_get_module_eeprom()
1538 xfer_size, in bnx2x_get_module_eeprom()
1546 user_data += xfer_size; in bnx2x_get_module_eeprom()
1547 start_addr += xfer_size; in bnx2x_get_module_eeprom()
1553 xfer_size = ee->len - xfer_size; in bnx2x_get_module_eeprom()
1555 if (start_addr + xfer_size > ETH_MODULE_SFF_8472_LEN) in bnx2x_get_module_eeprom()
1556 xfer_size = ETH_MODULE_SFF_8472_LEN - start_addr; in bnx2x_get_module_eeprom()
1563 xfer_size, in bnx2x_get_module_eeprom()
Dbnx2x_link.c8078 u8 xfer_size; in bnx2x_read_sfp_module_eeprom() local
8103 xfer_size = (byte_cnt > SFP_EEPROM_PAGE_SIZE) ? in bnx2x_read_sfp_module_eeprom()
8105 rc = read_func(phy, params, dev_addr, addr, xfer_size, in bnx2x_read_sfp_module_eeprom()
8107 byte_cnt -= xfer_size; in bnx2x_read_sfp_module_eeprom()
8108 user_data += xfer_size; in bnx2x_read_sfp_module_eeprom()
8109 addr += xfer_size; in bnx2x_read_sfp_module_eeprom()
/drivers/usb/host/
Disp1362-hcd.c177 u16 xfer_size = min_t(size_t, MAX_XFER_SIZE, size); in max_transfer_size() local
179 xfer_size = min_t(size_t, xfer_size, epq->buf_avail * epq->blk_size - PTD_HEADER_SIZE); in max_transfer_size()
180 if (xfer_size < size && xfer_size % mps) in max_transfer_size()
181 xfer_size -= xfer_size % mps; in max_transfer_size()
183 return xfer_size; in max_transfer_size()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c2478 u16 xfer_size; in bnxt_read_sfp_module_eeprom_info() local
2480 xfer_size = min_t(u16, data_length, BNXT_MAX_PHY_I2C_RESP_SIZE); in bnxt_read_sfp_module_eeprom_info()
2481 data_length -= xfer_size; in bnxt_read_sfp_module_eeprom_info()
2483 req.data_length = xfer_size; in bnxt_read_sfp_module_eeprom_info()
2490 memcpy(buf + byte_offset, output->data, xfer_size); in bnxt_read_sfp_module_eeprom_info()
2492 byte_offset += xfer_size; in bnxt_read_sfp_module_eeprom_info()