Searched refs:max_burst (Results 1 – 15 of 15) sorted by relevance
/drivers/usb/host/whci/ |
D | qset.c | 68 qset->max_burst = epcd->bMaxBurst; in qset_fill_qh() 71 qset->max_burst = 1; in qset_fill_qh() 98 QH_INFO2_BURST(qset->max_burst) in qset_fill_qh() 113 qset->qh.cur_window = cpu_to_le32((1 << qset->max_burst) - 1); in qset_fill_qh() 150 qset->qh.cur_window = cpu_to_le32((1 << qset->max_burst) - 1); in qset_reset() 560 max_std_len = qset->max_burst * qset->max_packet; in qset_add_urb_sg_linearize()
|
D | whci-hc.h | 264 uint8_t max_burst; member
|
/drivers/net/xen-netback/ |
D | netback.c | 823 unsigned long max_burst, max_credit; in tx_add_credit() local 829 max_burst = RING_GET_REQUEST(&vif->tx, vif->tx.req_cons)->size; in tx_add_credit() 830 max_burst = min(max_burst, 131072UL); in tx_add_credit() 831 max_burst = max(max_burst, vif->credit_bytes); in tx_add_credit() 838 vif->remaining_credit = min(max_credit, max_burst); in tx_add_credit()
|
/drivers/scsi/be2iscsi/ |
D | be_iscsi.c | 267 if (session->max_burst > 262144) in beiscsi_set_param() 268 session->max_burst = 262144; in beiscsi_set_param() 393 params, session->max_burst); in beiscsi_set_params_for_offld()
|
/drivers/usb/host/ |
D | xhci-mem.c | 1378 int max_burst; in xhci_get_max_esit_payload() local 1390 max_burst = (usb_endpoint_maxp(&ep->desc) & 0x1800) >> 11; in xhci_get_max_esit_payload() 1392 return max_packet * (max_burst + 1); in xhci_get_max_esit_payload() 1408 unsigned int max_burst; in xhci_endpoint_init() local 1451 max_burst = 0; in xhci_endpoint_init() 1455 max_burst = ep->ss_ep_comp.bMaxBurst; in xhci_endpoint_init() 1466 max_burst = (usb_endpoint_maxp(&ep->desc) in xhci_endpoint_init() 1477 MAX_BURST(max_burst)); in xhci_endpoint_init()
|
D | xhci-ring.c | 3585 unsigned int max_burst; in xhci_get_burst_count() local 3590 max_burst = urb->ep->ss_ep_comp.bMaxBurst; in xhci_get_burst_count() 3591 return roundup(total_packet_count, max_burst + 1) - 1; in xhci_get_burst_count() 3606 unsigned int max_burst; in xhci_get_last_burst_packet_count() local 3615 max_burst = urb->ep->ss_ep_comp.bMaxBurst; in xhci_get_last_burst_packet_count() 3616 residue = total_packet_count % (max_burst + 1); in xhci_get_last_burst_packet_count() 3621 return max_burst; in xhci_get_last_burst_packet_count()
|
/drivers/scsi/ |
D | libiscsi_tcp.c | 575 if (r2t->data_length > session->max_burst) in iscsi_tcp_r2t_rsp() 578 r2t->data_length, session->max_burst); in iscsi_tcp_r2t_rsp()
|
D | libiscsi.c | 2966 session->first_burst > session->max_burst) { in iscsi_conn_start() 2969 session->first_burst, session->max_burst); in iscsi_conn_start() 3213 sscanf(buf, "%d", &session->max_burst); in iscsi_set_param() 3291 len = sprintf(buf, "%u\n", session->max_burst); in iscsi_session_get_param()
|
/drivers/usb/gadget/ |
D | f_mass_storage.c | 3043 unsigned max_burst; in fsg_bind() local 3046 max_burst = min_t(unsigned, FSG_BUFLEN / 1024, 15); in fsg_bind() 3050 fsg_ss_bulk_in_comp_desc.bMaxBurst = max_burst; in fsg_bind() 3054 fsg_ss_bulk_out_comp_desc.bMaxBurst = max_burst; in fsg_bind()
|
D | file_storage.c | 3474 unsigned max_burst; in fsg_bind() local 3479 max_burst = min_t(unsigned, mod_data.buflen / 1024, 15); in fsg_bind() 3484 fsg_ss_bulk_in_comp_desc.bMaxBurst = max_burst; in fsg_bind() 3488 fsg_ss_bulk_out_comp_desc.bMaxBurst = max_burst; in fsg_bind()
|
/drivers/scsi/qla4xxx/ |
D | ql4_mbx.c | 1734 if (sess->max_burst) in qla4xxx_set_param_ddbentry() 1736 __constant_cpu_to_le16((sess->max_burst / BYTE_UNITS)); in qla4xxx_set_param_ddbentry()
|
D | ql4_os.c | 1899 sess->max_burst = BYTE_UNITS * in qla4xxx_copy_fwddb_param() 2027 sess->max_burst = BYTE_UNITS * in qla4xxx_update_session_conn_param()
|
/drivers/net/ethernet/sun/ |
D | niu.h | 2875 int max_burst; member
|
D | niu.c | 4394 rp->max_burst = mtu + 32; in niu_set_max_burst() 4395 if (rp->max_burst > 4096) in niu_set_max_burst() 4396 rp->max_burst = 4096; in niu_set_max_burst() 4686 nw64(TXC_DMA_MAX(channel), rp->max_burst); in niu_init_one_tx_channel()
|
/drivers/scsi/bnx2i/ |
D | bnx2i_hwi.c | 675 update_wqe->max_burst_length = conn->session->max_burst; in bnx2i_update_iscsi_conn()
|