Searched refs:max_bytes (Results 1 - 6 of 6) sorted by relevance

/drivers/gpu/drm/radeon/
H A Datombios_i2c.c110 int i, remaining, current_count, buffer_offset, max_bytes, ret; local
129 /* max_bytes are a limitation of ProcessI2cChannelTransaction not the hw */
131 max_bytes = ATOM_MAX_HW_I2C_READ;
134 max_bytes = ATOM_MAX_HW_I2C_WRITE;
138 if (remaining > max_bytes)
139 current_count = max_bytes;
H A Dr600_blit.c597 int max_bytes; local
604 max_bytes = 8192;
615 h = (cur_size / max_bytes);
621 cur_size = max_bytes;
623 if (cur_size > max_bytes)
624 cur_size = max_bytes;
625 if (cur_size > (max_bytes - dst_x))
626 cur_size = (max_bytes - dst_x);
627 if (cur_size > (max_bytes - src_x))
628 cur_size = (max_bytes
[all...]
/drivers/scsi/osd/
H A Dosd_initiator.c251 void *cur_p, struct osd_attr *oa, unsigned max_bytes)
257 if (max_bytes < sizeof(*attr))
262 if (inc > max_bytes)
277 if (max_bytes < sizeof(*attr))
282 if (inc > max_bytes)
537 struct _osd_req_data_segment *seg, unsigned max_bytes)
541 if (seg->alloc_size >= max_bytes)
544 buff = krealloc(seg->buff, max_bytes, or->alloc_flags);
546 OSD_ERR("Failed to Realloc %d-bytes was-%d\n", max_bytes,
551 memset(buff + seg->alloc_size, 0, max_bytes
250 _osd_req_alist_elem_decode(struct osd_request *or, void *cur_p, struct osd_attr *oa, unsigned max_bytes) argument
536 _osd_realloc_seg(struct osd_request *or, struct _osd_req_data_segment *seg, unsigned max_bytes) argument
575 _alloc_get_attr_desc(struct osd_request *or, unsigned max_bytes) argument
1249 unsigned max_bytes; local
[all...]
/drivers/s390/scsi/
H A Dzfcp_fc.c573 struct zfcp_adapter *adapter, int max_bytes)
580 zfcp_fc_ct_ns_init(&req->ct_hdr, FC_NS_GPN_FT, max_bytes);
687 int chain, max_entries, buf_num, max_bytes; local
692 max_bytes = chain ? ZFCP_FC_GPN_FT_MAX_SIZE : ZFCP_FC_CT_SIZE_PAGE;
706 ret = zfcp_fc_send_gpn_ft(fc_req, adapter, max_bytes);
572 zfcp_fc_send_gpn_ft(struct zfcp_fc_req *fc_req, struct zfcp_adapter *adapter, int max_bytes) argument
/drivers/tty/serial/
H A Dserial-tegra.c355 static void tegra_uart_fill_tx_fifo(struct tegra_uart_port *tup, int max_bytes) argument
360 for (i = 0; i < max_bytes; i++) {
/drivers/block/
H A Dskd_main.c2492 uint16_t insert_pt, max_bytes, drive_pages, drive_bytes, new_size; local
2508 max_bytes = (cdb[3] << 8) | cdb[4];
2526 if (insert_pt < max_bytes) {
2592 unsigned max_bytes; local
2633 max_bytes = (cdb[3] << 8) | cdb[4];
2634 memcpy(buf, &inq, min_t(unsigned, max_bytes, sizeof(inq)));
2637 be32_to_cpu(min_t(uint16_t, max_bytes, sizeof(inq)));

Completed in 133 milliseconds