Home
last modified time | relevance | path

Searched refs:slot_idx (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/staging/gasket/
H A Dgasket_page_table.c645 uint slot_idx, remain, len; in gasket_unmap_extended_pages() local
650 slot_idx = gasket_extended_lvl1_page_idx(pg_tbl, dev_addr); in gasket_unmap_extended_pages()
656 len = min(remain, GASKET_PAGES_PER_SUBTABLE - slot_idx); in gasket_unmap_extended_pages()
662 pte->sublevel + slot_idx, in gasket_unmap_extended_pages()
663 slot_base + slot_idx, len, 0); in gasket_unmap_extended_pages()
667 slot_idx = 0; in gasket_unmap_extended_pages()
822 uint slot_idx = gasket_simple_page_idx(pg_tbl, dev_addr); in gasket_map_simple_pages() local
828 slot_idx, dev_addr, slot_idx + num_pages - 1); in gasket_map_simple_pages()
832 ret = gasket_perform_mapping(pg_tbl, pg_tbl->entries + slot_idx, in gasket_map_simple_pages()
959 uint slot_idx, remain, len; gasket_map_extended_pages() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/mvsas/
H A Dmv_sas.c863 u32 slot_idx = rx_desc & RXQ_SLOT_MASK; in mvs_slot_free() local
864 mvs_tag_free(mvi, slot_idx); in mvs_slot_free()
868 struct mvs_slot_info *slot, u32 slot_idx) in mvs_slot_task_free()
904 mvs_slot_free(mvi, slot_idx); in mvs_slot_task_free()
1387 u32 slot_idx = (u32)(slot - mvi->slot_info); in mvs_abort_task() local
1389 "slot=%p slot_idx=x%x\n", in mvs_abort_task()
1390 mvi, task, slot, slot_idx); in mvs_abort_task()
1392 mvs_slot_task_free(mvi, task, slot, slot_idx); in mvs_abort_task()
1405 u32 slot_idx, int err) in mvs_sata_done()
1479 u32 slot_idx) in mvs_slot_err()
867 mvs_slot_task_free(struct mvs_info *mvi, struct sas_task *task, struct mvs_slot_info *slot, u32 slot_idx) mvs_slot_task_free() argument
1404 mvs_sata_done(struct mvs_info *mvi, struct sas_task *task, u32 slot_idx, int err) mvs_sata_done() argument
1478 mvs_slot_err(struct mvs_info *mvi, struct sas_task *task, u32 slot_idx) mvs_slot_err() argument
1531 u32 slot_idx = rx_desc & RXQ_SLOT_MASK; mvs_slot_complete() local
1658 u32 slot_idx; mvs_do_release_task() local
[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);
/kernel/linux/linux-5.10/drivers/scsi/mvsas/
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_sas.c869 u32 slot_idx = rx_desc & RXQ_SLOT_MASK; in mvs_slot_free() local
870 mvs_tag_clear(mvi, slot_idx); in mvs_slot_free()
874 struct mvs_slot_info *slot, u32 slot_idx) in mvs_slot_task_free()
910 mvs_slot_free(mvi, slot_idx); in mvs_slot_task_free()
1523 u32 slot_idx = (u32)(slot - mvi->slot_info); in mvs_abort_task() local
1525 "slot=%p slot_idx=x%x\n", in mvs_abort_task()
1526 mvi, task, slot, slot_idx); in mvs_abort_task()
1528 mvs_slot_task_free(mvi, task, slot, slot_idx); in mvs_abort_task()
1574 u32 slot_idx, int err) in mvs_sata_done()
1648 u32 slot_idx) in mvs_slot_err()
873 mvs_slot_task_free(struct mvs_info *mvi, struct sas_task *task, struct mvs_slot_info *slot, u32 slot_idx) mvs_slot_task_free() argument
1573 mvs_sata_done(struct mvs_info *mvi, struct sas_task *task, u32 slot_idx, int err) mvs_sata_done() argument
1647 mvs_slot_err(struct mvs_info *mvi, struct sas_task *task, u32 slot_idx) mvs_slot_err() argument
1700 u32 slot_idx = rx_desc & RXQ_SLOT_MASK; mvs_slot_complete() local
1828 u32 slot_idx; mvs_do_release_task() local
[all...]
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);
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Drx_common.c880 int slot_idx = req - efx->rps_slot; in efx_filter_rfs_work() local
956 clear_bit(slot_idx, &efx->rps_slot_map); in efx_filter_rfs_work()
967 int slot_idx; in efx_filter_rfs() local
972 for (slot_idx = 0; slot_idx < EFX_RPS_MAX_IN_FLIGHT; slot_idx++) in efx_filter_rfs()
973 if (!test_and_set_bit(slot_idx, &efx->rps_slot_map)) in efx_filter_rfs()
975 if (slot_idx >= EFX_RPS_MAX_IN_FLIGHT) in efx_filter_rfs()
997 req = efx->rps_slot + slot_idx; in efx_filter_rfs()
1058 clear_bit(slot_idx, in efx_filter_rfs()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Drx_common.c863 int slot_idx = req - efx->rps_slot; in efx_filter_rfs_work() local
939 clear_bit(slot_idx, &efx->rps_slot_map); in efx_filter_rfs_work()
950 int slot_idx; in efx_filter_rfs() local
955 for (slot_idx = 0; slot_idx < EFX_RPS_MAX_IN_FLIGHT; slot_idx++) in efx_filter_rfs()
956 if (!test_and_set_bit(slot_idx, &efx->rps_slot_map)) in efx_filter_rfs()
958 if (slot_idx >= EFX_RPS_MAX_IN_FLIGHT) in efx_filter_rfs()
980 req = efx->rps_slot + slot_idx; in efx_filter_rfs()
1041 clear_bit(slot_idx, in efx_filter_rfs()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/
H A Drx_common.c868 int slot_idx = req - efx->rps_slot; in efx_filter_rfs_work() local
945 clear_bit(slot_idx, &efx->rps_slot_map); in efx_filter_rfs_work()
956 int slot_idx; in efx_siena_filter_rfs() local
961 for (slot_idx = 0; slot_idx < EFX_RPS_MAX_IN_FLIGHT; slot_idx++) in efx_siena_filter_rfs()
962 if (!test_and_set_bit(slot_idx, &efx->rps_slot_map)) in efx_siena_filter_rfs()
964 if (slot_idx >= EFX_RPS_MAX_IN_FLIGHT) in efx_siena_filter_rfs()
986 req = efx->rps_slot + slot_idx; in efx_siena_filter_rfs()
1047 clear_bit(slot_idx, in efx_siena_filter_rfs()
[all...]
/kernel/linux/linux-5.10/block/
H A Dkeyslot-manager.c204 int slot_idx; in blk_ksm_get_slot_for_key() local
236 slot_idx = blk_ksm_get_slot_idx(slot); in blk_ksm_get_slot_for_key()
238 err = ksm->ksm_ll_ops.keyslot_program(ksm, key, slot_idx); in blk_ksm_get_slot_for_key()
/kernel/linux/linux-6.6/block/
H A Dblk-crypto-profile.c253 int slot_idx; in blk_crypto_get_keyslot() local
293 slot_idx = blk_crypto_keyslot_index(slot); in blk_crypto_get_keyslot()
295 err = profile->ll_ops.keyslot_program(profile, key, slot_idx); in blk_crypto_get_keyslot()
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c157 static void hisi_sas_slot_index_clear(struct hisi_hba *hisi_hba, int slot_idx) in hisi_sas_slot_index_clear() argument
161 clear_bit(slot_idx, bitmap); in hisi_sas_slot_index_clear()
164 static void hisi_sas_slot_index_free(struct hisi_hba *hisi_hba, int slot_idx) in hisi_sas_slot_index_free() argument
167 slot_idx >= HISI_SAS_UNRESERVED_IPTT) { in hisi_sas_slot_index_free()
169 hisi_sas_slot_index_clear(hisi_hba, slot_idx); in hisi_sas_slot_index_free()
174 static void hisi_sas_slot_index_set(struct hisi_hba *hisi_hba, int slot_idx) in hisi_sas_slot_index_set() argument
178 set_bit(slot_idx, bitmap); in hisi_sas_slot_index_set()
419 int dlvry_queue_slot, dlvry_queue, rc, slot_idx; in hisi_sas_task_prep() local
494 slot_idx = rc; in hisi_sas_task_prep()
495 slot = &hisi_hba->slot_info[slot_idx]; in hisi_sas_task_prep()
1954 int dlvry_queue_slot, dlvry_queue, n_elem = 0, rc, slot_idx; hisi_sas_internal_abort_task_exec() local
[all...]
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-input.c732 (0xff - field->slot_idx) << 16; in hidinput_configure_usage()
2215 unsigned int slot_idx = 0; in hidinput_configure_usages() local
2242 field->slot_idx = slot_idx; in hidinput_configure_usages()
2250 slot_idx++; in hidinput_configure_usages()
2257 report->field[k]->slot_idx = slot_idx; in hidinput_configure_usages()
/kernel/linux/linux-6.6/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c155 static void hisi_sas_slot_index_clear(struct hisi_hba *hisi_hba, int slot_idx) in hisi_sas_slot_index_clear() argument
159 __clear_bit(slot_idx, bitmap); in hisi_sas_slot_index_clear()
162 static void hisi_sas_slot_index_free(struct hisi_hba *hisi_hba, int slot_idx) in hisi_sas_slot_index_free() argument
165 slot_idx < HISI_SAS_RESERVED_IPTT) { in hisi_sas_slot_index_free()
167 hisi_sas_slot_index_clear(hisi_hba, slot_idx); in hisi_sas_slot_index_free()
172 static void hisi_sas_slot_index_set(struct hisi_hba *hisi_hba, int slot_idx) in hisi_sas_slot_index_set() argument
176 __set_bit(slot_idx, bitmap); in hisi_sas_slot_index_set()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
H A Dbgmac.c249 int slot_idx = ring->start % BGMAC_TX_RING_SLOTS; in bgmac_dma_tx_free() local
250 struct bgmac_slot_info *slot = &ring->slots[slot_idx]; in bgmac_dma_tx_free()
254 if (slot_idx == empty_slot) in bgmac_dma_tx_free()
257 ctl0 = le32_to_cpu(ring->cpu_base[slot_idx].ctl0); in bgmac_dma_tx_free()
258 ctl1 = le32_to_cpu(ring->cpu_base[slot_idx].ctl1); in bgmac_dma_tx_free()
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/
H A Dbgmac.c249 int slot_idx = ring->start % BGMAC_TX_RING_SLOTS; in bgmac_dma_tx_free() local
250 struct bgmac_slot_info *slot = &ring->slots[slot_idx]; in bgmac_dma_tx_free()
254 if (slot_idx == empty_slot) in bgmac_dma_tx_free()
257 ctl0 = le32_to_cpu(ring->cpu_base[slot_idx].ctl0); in bgmac_dma_tx_free()
258 ctl1 = le32_to_cpu(ring->cpu_base[slot_idx].ctl1); in bgmac_dma_tx_free()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
H A Dqplib_fp.h122 u32 slot_idx; member
H A Dqplib_fp.c1588 psns_ext->start_slot_idx = cpu_to_le16(swq->slot_idx); in bnxt_qplib_fill_psn_search()
1694 tail = swq->slot_idx / sq->dbinfo.max_slot; in bnxt_qplib_pull_psn_buff()
1749 swq->slot_idx = hwq->prod; in bnxt_qplib_post_send()
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/
H A Dqplib_fp.h124 u32 slot_idx; member
H A Dqplib_fp.c1618 psns_ext->start_slot_idx = cpu_to_le16(swq->slot_idx); in bnxt_qplib_fill_psn_search()
1724 tail = swq->slot_idx / sq->dbinfo.max_slot; in bnxt_qplib_pull_psn_buff()
1779 swq->slot_idx = hwq->prod; in bnxt_qplib_post_send()
/kernel/linux/linux-6.6/include/linux/
H A Dhid.h513 unsigned int slot_idx; /* slot index in a report */ member

Completed in 47 milliseconds