Home
last modified time | relevance | path

Searched refs:slot_idx (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/scsi/mvsas/
H A Dmv_sas.c853 u32 slot_idx = rx_desc & RXQ_SLOT_MASK; in mvs_slot_free() local
854 mvs_tag_free(mvi, slot_idx); in mvs_slot_free()
858 struct mvs_slot_info *slot, u32 slot_idx) in mvs_slot_task_free() argument
894 mvs_slot_free(mvi, slot_idx); in mvs_slot_task_free()
1377 u32 slot_idx = (u32)(slot - mvi->slot_info); in mvs_abort_task() local
1380 mvi, task, slot, slot_idx); in mvs_abort_task()
1382 mvs_slot_task_free(mvi, task, slot, slot_idx); in mvs_abort_task()
1395 u32 slot_idx, int err) in mvs_sata_done() argument
1469 u32 slot_idx) in mvs_slot_err() argument
1471 struct mvs_slot_info *slot = &mvi->slot_info[slot_idx]; in mvs_slot_err()
[all …]
H A Dmv_64xx.c467 static void mvs_64xx_command_active(struct mvs_info *mvi, u32 slot_idx) in mvs_64xx_command_active() argument
470 mvs_cw32(mvi, 0x40 + (slot_idx >> 3), 1 << (slot_idx % 32)); in mvs_64xx_command_active()
471 mvs_cw32(mvi, 0x00 + (slot_idx >> 3), 1 << (slot_idx % 32)); in mvs_64xx_command_active()
473 tmp = mvs_cr32(mvi, 0x00 + (slot_idx >> 3)); in mvs_64xx_command_active()
474 } while (tmp & 1 << (slot_idx % 32)); in mvs_64xx_command_active()
476 tmp = mvs_cr32(mvi, 0x40 + (slot_idx >> 3)); in mvs_64xx_command_active()
477 } while (tmp & 1 << (slot_idx % 32)); in mvs_64xx_command_active()
H A Dmv_94xx.c651 static void mvs_94xx_command_active(struct mvs_info *mvi, u32 slot_idx) in mvs_94xx_command_active() argument
654 tmp = mvs_cr32(mvi, MVS_COMMAND_ACTIVE+(slot_idx >> 3)); in mvs_94xx_command_active()
655 if (tmp & 1 << (slot_idx % 32)) { in mvs_94xx_command_active()
656 mv_printk("command active %08X, slot [%x].\n", tmp, slot_idx); in mvs_94xx_command_active()
657 mvs_cw32(mvi, MVS_COMMAND_ACTIVE + (slot_idx >> 3), in mvs_94xx_command_active()
658 1 << (slot_idx % 32)); in mvs_94xx_command_active()
661 MVS_COMMAND_ACTIVE + (slot_idx >> 3)); in mvs_94xx_command_active()
662 } while (tmp & 1 << (slot_idx % 32)); in mvs_94xx_command_active()
H A Dmv_sas.h117 void (*command_active)(struct mvs_info *mvi, u32 slot_idx);
/linux/drivers/net/ethernet/sfc/
H A Drx_common.c818 int slot_idx = req - efx->rps_slot; in efx_filter_rfs_work() local
894 clear_bit(slot_idx, &efx->rps_slot_map); in efx_filter_rfs_work()
905 int slot_idx; in efx_filter_rfs() local
910 for (slot_idx = 0; slot_idx < EFX_RPS_MAX_IN_FLIGHT; slot_idx++) in efx_filter_rfs()
911 if (!test_and_set_bit(slot_idx, &efx->rps_slot_map)) in efx_filter_rfs()
913 if (slot_idx >= EFX_RPS_MAX_IN_FLIGHT) in efx_filter_rfs()
935 req = efx->rps_slot + slot_idx; in efx_filter_rfs()
997 clear_bit(slot_idx, &efx->rps_slot_map); in efx_filter_rfs()
/linux/drivers/net/ethernet/sfc/siena/
H A Drx_common.c808 int slot_idx = req - efx->rps_slot; in efx_filter_rfs_work() local
885 clear_bit(slot_idx, &efx->rps_slot_map); in efx_filter_rfs_work()
896 int slot_idx; in efx_siena_filter_rfs() local
901 for (slot_idx = 0; slot_idx < EFX_RPS_MAX_IN_FLIGHT; slot_idx++) in efx_siena_filter_rfs()
902 if (!test_and_set_bit(slot_idx, &efx->rps_slot_map)) in efx_siena_filter_rfs()
904 if (slot_idx >= EFX_RPS_MAX_IN_FLIGHT) in efx_siena_filter_rfs()
926 req = efx->rps_slot + slot_idx; in efx_siena_filter_rfs()
988 clear_bit(slot_idx, &efx->rps_slot_map); in efx_siena_filter_rfs()
/linux/block/
H A Dblk-crypto-profile.c251 int slot_idx; in blk_crypto_get_keyslot() local
291 slot_idx = blk_crypto_keyslot_index(slot); in blk_crypto_get_keyslot()
293 err = profile->ll_ops.keyslot_program(profile, key, slot_idx); in blk_crypto_get_keyslot()
/linux/drivers/hid/
H A Dhid-input.c734 (0xff - field->slot_idx) << 16; in hidinput_configure_usage()
2235 unsigned int slot_idx = 0; in hidinput_configure_usages() local
2262 field->slot_idx = slot_idx; in hidinput_configure_usages()
2270 slot_idx++; in hidinput_configure_usages()
2277 report->field[k]->slot_idx = slot_idx; in hidinput_configure_usages()
/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c187 static void hisi_sas_slot_index_clear(struct hisi_hba *hisi_hba, int slot_idx) in hisi_sas_slot_index_clear() argument
191 __clear_bit(slot_idx, bitmap); in hisi_sas_slot_index_clear()
194 static void hisi_sas_slot_index_free(struct hisi_hba *hisi_hba, int slot_idx) in hisi_sas_slot_index_free() argument
197 slot_idx < HISI_SAS_RESERVED_IPTT) { in hisi_sas_slot_index_free()
199 hisi_sas_slot_index_clear(hisi_hba, slot_idx); in hisi_sas_slot_index_free()
204 static void hisi_sas_slot_index_set(struct hisi_hba *hisi_hba, int slot_idx) in hisi_sas_slot_index_set() argument
208 __set_bit(slot_idx, bitmap); in hisi_sas_slot_index_set()
/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_fp.c1697 start_idx = swq->slot_idx; in bnxt_qplib_fill_msn_search()
1734 psns_ext->start_slot_idx = cpu_to_le16(swq->slot_idx); in bnxt_qplib_fill_psn_search()
1840 tail = swq->slot_idx / sq->dbinfo.max_slot; in bnxt_qplib_pull_psn_buff()
1899 swq->slot_idx = hwq->prod; in bnxt_qplib_post_send()
2585 if (swq->slot_idx == cqe_slot) { in bnxt_qplib_get_cqe_sq_cons()
/linux/include/linux/
H A Dhid.h551 unsigned int slot_idx; /* slot index in a report */ member
/linux/drivers/net/wireless/realtek/rtw89/
H A Dfw.c10397 int rtw89_fw_h2c_mrc_del(struct rtw89_dev *rtwdev, u8 sch_idx, u8 slot_idx) in rtw89_fw_h2c_mrc_del() argument
10415 le32_encode_bits(slot_idx, RTW89_H2C_MRC_DEL_W0_STOP_SLOT_IDX); in rtw89_fw_h2c_mrc_del()
10590 le32_encode_bits(arg->slots[i].slot_idx, in rtw89_fw_h2c_mrc_upd_duration()