/Linux-v4.19/drivers/staging/gasket/ |
D | gasket_page_table.c | 649 uint slot_idx, remain, len; in gasket_unmap_extended_pages() local 654 slot_idx = gasket_extended_lvl1_page_idx(pg_tbl, dev_addr); in gasket_unmap_extended_pages() 660 len = min(remain, GASKET_PAGES_PER_SUBTABLE - slot_idx); in gasket_unmap_extended_pages() 666 pte->sublevel + slot_idx, in gasket_unmap_extended_pages() 667 slot_base + slot_idx, len, 0); in gasket_unmap_extended_pages() 671 slot_idx = 0; in gasket_unmap_extended_pages() 844 uint slot_idx = gasket_simple_page_idx(pg_tbl, dev_addr); in gasket_map_simple_pages() local 850 slot_idx, dev_addr, slot_idx + num_pages - 1); in gasket_map_simple_pages() 854 ret = gasket_perform_mapping(pg_tbl, pg_tbl->entries + slot_idx, in gasket_map_simple_pages() 855 pg_tbl->base_slot + slot_idx, host_addr, in gasket_map_simple_pages() [all …]
|
/Linux-v4.19/drivers/scsi/mvsas/ |
D | mv_64xx.c | 483 static void mvs_64xx_command_active(struct mvs_info *mvi, u32 slot_idx) in mvs_64xx_command_active() argument 486 mvs_cw32(mvi, 0x40 + (slot_idx >> 3), 1 << (slot_idx % 32)); in mvs_64xx_command_active() 487 mvs_cw32(mvi, 0x00 + (slot_idx >> 3), 1 << (slot_idx % 32)); in mvs_64xx_command_active() 489 tmp = mvs_cr32(mvi, 0x00 + (slot_idx >> 3)); in mvs_64xx_command_active() 490 } while (tmp & 1 << (slot_idx % 32)); in mvs_64xx_command_active() 492 tmp = mvs_cr32(mvi, 0x40 + (slot_idx >> 3)); in mvs_64xx_command_active() 493 } while (tmp & 1 << (slot_idx % 32)); in mvs_64xx_command_active()
|
D | mv_sas.c | 888 u32 slot_idx = rx_desc & RXQ_SLOT_MASK; in mvs_slot_free() local 889 mvs_tag_clear(mvi, slot_idx); in mvs_slot_free() 893 struct mvs_slot_info *slot, u32 slot_idx) in mvs_slot_task_free() argument 929 mvs_slot_free(mvi, slot_idx); in mvs_slot_task_free() 1542 u32 slot_idx = (u32)(slot - mvi->slot_info); in mvs_abort_task() local 1545 mvi, task, slot, slot_idx); in mvs_abort_task() 1547 mvs_slot_task_free(mvi, task, slot, slot_idx); in mvs_abort_task() 1593 u32 slot_idx, int err) in mvs_sata_done() argument 1667 u32 slot_idx) in mvs_slot_err() argument 1669 struct mvs_slot_info *slot = &mvi->slot_info[slot_idx]; in mvs_slot_err() [all …]
|
D | mv_94xx.c | 667 static void mvs_94xx_command_active(struct mvs_info *mvi, u32 slot_idx) in mvs_94xx_command_active() argument 670 tmp = mvs_cr32(mvi, MVS_COMMAND_ACTIVE+(slot_idx >> 3)); in mvs_94xx_command_active() 671 if (tmp & 1 << (slot_idx % 32)) { in mvs_94xx_command_active() 672 mv_printk("command active %08X, slot [%x].\n", tmp, slot_idx); in mvs_94xx_command_active() 673 mvs_cw32(mvi, MVS_COMMAND_ACTIVE + (slot_idx >> 3), in mvs_94xx_command_active() 674 1 << (slot_idx % 32)); in mvs_94xx_command_active() 677 MVS_COMMAND_ACTIVE + (slot_idx >> 3)); in mvs_94xx_command_active() 678 } while (tmp & 1 << (slot_idx % 32)); in mvs_94xx_command_active()
|
D | mv_sas.h | 136 void (*command_active)(struct mvs_info *mvi, u32 slot_idx);
|
/Linux-v4.19/drivers/net/ethernet/sfc/ |
D | rx.c | 841 int slot_idx = req - efx->rps_slot; in efx_filter_rfs_work() local 893 clear_bit(slot_idx, &efx->rps_slot_map); in efx_filter_rfs_work() 904 int slot_idx; in efx_filter_rfs() local 909 for (slot_idx = 0; slot_idx < EFX_RPS_MAX_IN_FLIGHT; slot_idx++) in efx_filter_rfs() 910 if (!test_and_set_bit(slot_idx, &efx->rps_slot_map)) in efx_filter_rfs() 912 if (slot_idx >= EFX_RPS_MAX_IN_FLIGHT) in efx_filter_rfs() 934 req = efx->rps_slot + slot_idx; in efx_filter_rfs() 995 clear_bit(slot_idx, &efx->rps_slot_map); in efx_filter_rfs()
|
/Linux-v4.19/drivers/scsi/hisi_sas/ |
D | hisi_sas_main.c | 177 static void hisi_sas_slot_index_clear(struct hisi_hba *hisi_hba, int slot_idx) in hisi_sas_slot_index_clear() argument 181 clear_bit(slot_idx, bitmap); in hisi_sas_slot_index_clear() 184 static void hisi_sas_slot_index_free(struct hisi_hba *hisi_hba, int slot_idx) in hisi_sas_slot_index_free() argument 186 hisi_sas_slot_index_clear(hisi_hba, slot_idx); in hisi_sas_slot_index_free() 189 static void hisi_sas_slot_index_set(struct hisi_hba *hisi_hba, int slot_idx) in hisi_sas_slot_index_set() argument 193 set_bit(slot_idx, bitmap); in hisi_sas_slot_index_set() 196 static int hisi_sas_slot_index_alloc(struct hisi_hba *hisi_hba, int *slot_idx) in hisi_sas_slot_index_alloc() argument 210 *slot_idx = index; in hisi_sas_slot_index_alloc() 297 int dlvry_queue_slot, dlvry_queue, rc, slot_idx; in hisi_sas_task_prep() local 386 rc = hisi_hba->hw->slot_index_alloc(hisi_hba, &slot_idx, in hisi_sas_task_prep() [all …]
|
D | hisi_sas.h | 220 int (*slot_index_alloc)(struct hisi_hba *hisi_hba, int *slot_idx,
|
D | hisi_sas_v2_hw.c | 773 slot_index_alloc_quirk_v2_hw(struct hisi_hba *hisi_hba, int *slot_idx, in slot_index_alloc_quirk_v2_hw() argument 818 *slot_idx = start; in slot_index_alloc_quirk_v2_hw()
|
/Linux-v4.19/drivers/net/ethernet/broadcom/ |
D | bgmac.c | 249 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()
|