Home
last modified time | relevance | path

Searched refs:cbw (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/mmc/host/
H A Dushc.c97 struct ushc_cbw *cbw; member
277 ushc->cbw->cmd_idx = cpu_to_le16(req->cmd->opcode); in ushc_request()
279 ushc->cbw->block_size = cpu_to_le16(req->data->blksz); in ushc_request()
281 ushc->cbw->block_size = 0; in ushc_request()
282 ushc->cbw->arg = cpu_to_le32(req->cmd->arg); in ushc_request()
405 kfree(ushc->cbw); in ushc_clean_up()
484 ushc->cbw = kzalloc(sizeof(struct ushc_cbw), GFP_KERNEL); in ushc_probe()
485 if (ushc->cbw == NULL) { in ushc_probe()
489 ushc->cbw->signature = USHC_CBW_SIGNATURE; in ushc_probe()
492 ushc->cbw, sizeo in ushc_probe()
[all...]
/kernel/linux/linux-6.6/drivers/mmc/host/
H A Dushc.c97 struct ushc_cbw *cbw; member
277 ushc->cbw->cmd_idx = cpu_to_le16(req->cmd->opcode); in ushc_request()
279 ushc->cbw->block_size = cpu_to_le16(req->data->blksz); in ushc_request()
281 ushc->cbw->block_size = 0; in ushc_request()
282 ushc->cbw->arg = cpu_to_le32(req->cmd->arg); in ushc_request()
405 kfree(ushc->cbw); in ushc_clean_up()
484 ushc->cbw = kzalloc(sizeof(struct ushc_cbw), GFP_KERNEL); in ushc_probe()
485 if (ushc->cbw == NULL) { in ushc_probe()
489 ushc->cbw->signature = USHC_CBW_SIGNATURE; in ushc_probe()
492 ushc->cbw, sizeo in ushc_probe()
[all...]
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
H A Df_mass_storage.c1721 * implementations. Many have issues with cbw->Length in check_command()
1727 * REQUEST SENSE with cbw->Length == 12 where it should in check_command()
1729 * REQUEST SENSE with cbw->Length == 10 where it should in check_command()
2095 struct bulk_cb_wrap *cbw = req->buf; in received_cbw() local
2104 cbw->Signature != cpu_to_le32( in received_cbw()
2108 le32_to_cpu(cbw->Signature)); in received_cbw()
2127 if (cbw->Lun >= ARRAY_SIZE(common->luns) || in received_cbw()
2128 cbw->Flags & ~US_BULK_FLAG_IN || cbw->Length <= 0 || in received_cbw()
2129 cbw in received_cbw()
[all...]
H A Df_tcm.c1208 struct bulk_cb_wrap *cbw = cmdbuf; in bot_submit_command() local
1214 if (cbw->Signature != cpu_to_le32(US_BULK_CB_SIGN)) { in bot_submit_command()
1223 cmd_len = cbw->Length; in bot_submit_command()
1233 cmd = usbg_get_cmd(fu, tv_nexus, cbw->Tag); in bot_submit_command()
1238 memcpy(cmd->cmd_buf, cbw->CDB, cmd_len); in bot_submit_command()
1240 cmd->bot_tag = cbw->Tag; in bot_submit_command()
1242 cmd->unpacked_lun = cbw->Lun; in bot_submit_command()
1243 cmd->is_read = cbw->Flags & US_BULK_FLAG_IN ? 1 : 0; in bot_submit_command()
1244 cmd->data_len = le32_to_cpu(cbw->DataTransferLength); in bot_submit_command()
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Df_mass_storage.c1770 * implementations. Many have issues with cbw->Length in check_command()
1776 * REQUEST SENSE with cbw->Length == 12 where it should in check_command()
1778 * REQUEST SENSE with cbw->Length == 10 where it should in check_command()
2185 struct bulk_cb_wrap *cbw = req->buf; in received_cbw() local
2194 cbw->Signature != cpu_to_le32( in received_cbw()
2198 le32_to_cpu(cbw->Signature)); in received_cbw()
2217 if (cbw->Lun >= ARRAY_SIZE(common->luns) || in received_cbw()
2218 cbw->Flags & ~US_BULK_FLAG_IN || cbw->Length <= 0 || in received_cbw()
2219 cbw in received_cbw()
[all...]
H A Df_tcm.c1204 struct bulk_cb_wrap *cbw = cmdbuf; in bot_submit_command() local
1210 if (cbw->Signature != cpu_to_le32(US_BULK_CB_SIGN)) { in bot_submit_command()
1219 cmd_len = cbw->Length; in bot_submit_command()
1229 cmd = usbg_get_cmd(fu, tv_nexus, cbw->Tag); in bot_submit_command()
1234 memcpy(cmd->cmd_buf, cbw->CDB, cmd_len); in bot_submit_command()
1236 cmd->bot_tag = cbw->Tag; in bot_submit_command()
1238 cmd->unpacked_lun = cbw->Lun; in bot_submit_command()
1239 cmd->is_read = cbw->Flags & US_BULK_FLAG_IN ? 1 : 0; in bot_submit_command()
1240 cmd->data_len = le32_to_cpu(cbw->DataTransferLength); in bot_submit_command()
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/
H A Dphy.c599 enum rtw89_bandwidth cbw = chan->band_width; in rtw89_phy_get_txsc() local
605 if (cbw == dbw || cbw == RTW89_CHANNEL_WIDTH_20) in rtw89_phy_get_txsc()
608 switch (cbw) { in rtw89_phy_get_txsc()
4154 enum rtw89_bandwidth cbw = chan->band_width; in rtw89_phy_dig_dyn_pd_th() local
4163 switch (cbw) { in rtw89_phy_dig_dyn_pd_th()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmac.c196 u8 cbw = FIELD_GET(MT_RXV1_FRAME_MODE, rxv1); in mt7615_mac_fill_tm_rx() local
199 u32 foe_const = (BIT(cbw + 1) & 0xf) * 10000; in mt7615_mac_fill_tm_rx()
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmac.c224 u8 cbw = FIELD_GET(MT_RXV1_FRAME_MODE, rxv1); in mt7615_mac_fill_tm_rx() local
227 u32 foe_const = (BIT(cbw + 1) & 0xf) * 10000; in mt7615_mac_fill_tm_rx()

Completed in 27 milliseconds