Searched refs:max_bytes (Results 1 – 9 of 9) sorted by relevance
/drivers/gpu/drm/radeon/ |
D | r600_blit.c | 597 int max_bytes; in r600_blit_copy() local 604 max_bytes = 8192; in r600_blit_copy() 615 h = (cur_size / max_bytes); in r600_blit_copy() 621 cur_size = max_bytes; in r600_blit_copy() 623 if (cur_size > max_bytes) in r600_blit_copy() 624 cur_size = max_bytes; in r600_blit_copy() 625 if (cur_size > (max_bytes - dst_x)) in r600_blit_copy() 626 cur_size = (max_bytes - dst_x); in r600_blit_copy() 627 if (cur_size > (max_bytes - src_x)) in r600_blit_copy() 628 cur_size = (max_bytes - src_x); in r600_blit_copy() [all …]
|
D | atombios_i2c.c | 110 int i, remaining, current_count, buffer_offset, max_bytes, ret; in radeon_atom_hw_i2c_xfer() local 131 max_bytes = ATOM_MAX_HW_I2C_READ; in radeon_atom_hw_i2c_xfer() 134 max_bytes = ATOM_MAX_HW_I2C_WRITE; in radeon_atom_hw_i2c_xfer() 138 if (remaining > max_bytes) in radeon_atom_hw_i2c_xfer() 139 current_count = max_bytes; in radeon_atom_hw_i2c_xfer()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | atombios_i2c.c | 109 int i, remaining, current_count, buffer_offset, max_bytes, ret; in amdgpu_atombios_i2c_xfer() local 130 max_bytes = ATOM_MAX_HW_I2C_READ; in amdgpu_atombios_i2c_xfer() 133 max_bytes = ATOM_MAX_HW_I2C_WRITE; in amdgpu_atombios_i2c_xfer() 137 if (remaining > max_bytes) in amdgpu_atombios_i2c_xfer() 138 current_count = max_bytes; in amdgpu_atombios_i2c_xfer()
|
D | amdgpu_ttm.c | 1023 uint32_t max_bytes; in amdgpu_copy_buffer() local 1029 max_bytes = adev->mman.buffer_funcs->copy_max_bytes; in amdgpu_copy_buffer() 1030 num_loops = DIV_ROUND_UP(byte_count, max_bytes); in amdgpu_copy_buffer() 1059 uint32_t cur_size_in_bytes = min(byte_count, max_bytes); in amdgpu_copy_buffer()
|
/drivers/scsi/osd/ |
D | osd_initiator.c | 251 void *cur_p, struct osd_attr *oa, unsigned max_bytes) in _osd_req_alist_elem_decode() argument 257 if (max_bytes < sizeof(*attr)) in _osd_req_alist_elem_decode() 262 if (inc > max_bytes) in _osd_req_alist_elem_decode() 277 if (max_bytes < sizeof(*attr)) in _osd_req_alist_elem_decode() 282 if (inc > max_bytes) in _osd_req_alist_elem_decode() 537 struct _osd_req_data_segment *seg, unsigned max_bytes) in _osd_realloc_seg() argument 541 if (seg->alloc_size >= max_bytes) in _osd_realloc_seg() 544 buff = krealloc(seg->buff, max_bytes, or->alloc_flags); in _osd_realloc_seg() 546 OSD_ERR("Failed to Realloc %d-bytes was-%d\n", max_bytes, in _osd_realloc_seg() 551 memset(buff + seg->alloc_size, 0, max_bytes - seg->alloc_size); in _osd_realloc_seg() [all …]
|
/drivers/s390/scsi/ |
D | zfcp_fc.c | 640 struct zfcp_adapter *adapter, int max_bytes) in zfcp_fc_send_gpn_ft() argument 647 zfcp_fc_ct_ns_init(&req->ct_hdr, FC_NS_GPN_FT, max_bytes); in zfcp_fc_send_gpn_ft() 755 int chain, max_entries, buf_num, max_bytes; in zfcp_fc_scan_ports() local 762 max_bytes = chain ? ZFCP_FC_GPN_FT_MAX_SIZE : ZFCP_FC_CT_SIZE_PAGE; in zfcp_fc_scan_ports() 776 ret = zfcp_fc_send_gpn_ft(fc_req, adapter, max_bytes); in zfcp_fc_scan_ports()
|
/drivers/tty/serial/ |
D | serial-tegra.c | 372 static void tegra_uart_fill_tx_fifo(struct tegra_uart_port *tup, int max_bytes) in tegra_uart_fill_tx_fifo() argument 377 for (i = 0; i < max_bytes; i++) { in tegra_uart_fill_tx_fifo()
|
/drivers/block/ |
D | skd_main.c | 2498 uint16_t insert_pt, max_bytes, drive_pages, drive_bytes, new_size; in skd_do_inq_page_00() local 2514 max_bytes = (cdb[3] << 8) | cdb[4]; in skd_do_inq_page_00() 2532 if (insert_pt < max_bytes) { in skd_do_inq_page_00() 2598 unsigned max_bytes; in skd_do_inq_page_da() local 2639 max_bytes = (cdb[3] << 8) | cdb[4]; in skd_do_inq_page_da() 2640 memcpy(buf, &inq, min_t(unsigned, max_bytes, sizeof(inq))); in skd_do_inq_page_da() 2643 be32_to_cpu(min_t(uint16_t, max_bytes, sizeof(inq))); in skd_do_inq_page_da()
|
/drivers/staging/comedi/drivers/ |
D | cb_pcidas64.c | 2941 unsigned int max_bytes) in cb_pcidas64_ao_fill_buffer() argument 2943 unsigned int nsamples = comedi_bytes_to_samples(s, max_bytes); in cb_pcidas64_ao_fill_buffer()
|