Home
last modified time | relevance | path

Searched refs:mbs (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/gadget/udc/bdc/
H A Dbdc_cmd.c139 u32 mps, mbs, mul, si; in bdc_config_ep() local
144 cmd_sc = mul = mbs = param2 = 0; in bdc_config_ep()
171 mbs = comp_desc->bMaxBurst; in bdc_config_ep()
172 param2 |= mbs << MB_SHIFT; in bdc_config_ep()
180 mbs = usb_endpoint_maxp_mult(desc); in bdc_config_ep()
181 param2 |= mbs << MB_SHIFT; in bdc_config_ep()
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/bdc/
H A Dbdc_cmd.c139 u32 mps, mbs, mul, si; in bdc_config_ep() local
144 cmd_sc = mul = mbs = param2 = 0; in bdc_config_ep()
170 mbs = comp_desc->bMaxBurst; in bdc_config_ep()
171 param2 |= mbs << MB_SHIFT; in bdc_config_ep()
179 mbs = usb_endpoint_maxp_mult(desc); in bdc_config_ep()
180 param2 |= mbs << MB_SHIFT; in bdc_config_ep()
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
H A Dpm_helpers.c135 u32 mbs; in load_per_instance() local
140 mbs = (ALIGN(inst->width, 16) / 16) * (ALIGN(inst->height, 16) / 16); in load_per_instance()
142 return mbs * inst->fps; in load_per_instance()
160 static void mbs_to_bw(struct venus_inst *inst, u32 mbs, u32 *avg, u32 *peak) in mbs_to_bw() argument
169 if (mbs == 0) in mbs_to_bw()
186 if (mbs > bw_tbl[i].mbs_per_sec) in mbs_to_bw()
H A Dhfi_helper.h649 u32 mbs; member
H A Dhfi_cmds.c1146 intra->mbs = in->cir_mbs; in pkt_session_set_property_3xx()
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/
H A Dpm_helpers.c151 u32 mbs; in load_per_instance() local
156 mbs = (ALIGN(inst->width, 16) / 16) * (ALIGN(inst->height, 16) / 16); in load_per_instance()
158 return mbs * inst->fps; in load_per_instance()
176 static void mbs_to_bw(struct venus_inst *inst, u32 mbs, u32 *avg, u32 *peak) in mbs_to_bw() argument
185 if (mbs == 0) in mbs_to_bw()
202 if (i != 0 && mbs > bw_tbl[i].mbs_per_sec) in mbs_to_bw()
H A Dvenc.c977 u32 mbs; in venc_set_properties() local
979 mbs = ALIGN(inst->width, 16) * ALIGN(inst->height, 16); in venc_set_properties()
980 mbs /= 16 * 16; in venc_set_properties()
981 if (mbs % ctr->intra_refresh_period) in venc_set_properties()
982 mbs++; in venc_set_properties()
983 mbs /= ctr->intra_refresh_period; in venc_set_properties()
985 intra_refresh.cir_mbs = mbs; in venc_set_properties()
H A Dhfi_helper.h702 u32 mbs; member
H A Dhfi_cmds.c1173 intra->mbs = in->cir_mbs; in pkt_session_set_property_3xx()
/kernel/linux/linux-5.10/drivers/atm/
H A Dhorizon.c158 rtVBR(pcr,scr,mbs) scr bandwidth always available, up to pcr at mbs too
162 nrtVBR(pcr,scr,mbs) scr bandwidth always available, up to pcr at mbs too
166 mbs is max burst size (bucket)
2263 unsigned int mbs = 60; // just for fun in hrz_open()
2306 bucket = mbs*(pcr-scr)/pcr; in hrz_open()
2307 if (bucket*pcr != mbs*(pcr-scr)) in hrz_open()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
H A Dqla_def.h1040 static inline bool qla2xxx_is_valid_mbs(unsigned int mbs) in qla2xxx_is_valid_mbs() argument
1042 return MBS_COMMAND_COMPLETE <= mbs && mbs <= MBS_DIAG_ECHO_TEST_ERROR; in qla2xxx_is_valid_mbs()
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/
H A Dqla_def.h1150 static inline bool qla2xxx_is_valid_mbs(unsigned int mbs) in qla2xxx_is_valid_mbs() argument
1152 return MBS_COMMAND_COMPLETE <= mbs && mbs <= MBS_DIAG_ECHO_TEST_ERROR; in qla2xxx_is_valid_mbs()

Completed in 76 milliseconds