slot_idx 249 drivers/net/ethernet/broadcom/bgmac.c int slot_idx = ring->start % BGMAC_TX_RING_SLOTS; slot_idx 250 drivers/net/ethernet/broadcom/bgmac.c struct bgmac_slot_info *slot = &ring->slots[slot_idx]; slot_idx 254 drivers/net/ethernet/broadcom/bgmac.c if (slot_idx == empty_slot) slot_idx 257 drivers/net/ethernet/broadcom/bgmac.c ctl0 = le32_to_cpu(ring->cpu_base[slot_idx].ctl0); slot_idx 258 drivers/net/ethernet/broadcom/bgmac.c ctl1 = le32_to_cpu(ring->cpu_base[slot_idx].ctl1); slot_idx 834 drivers/net/ethernet/sfc/rx.c int slot_idx = req - efx->rps_slot; slot_idx 886 drivers/net/ethernet/sfc/rx.c clear_bit(slot_idx, &efx->rps_slot_map); slot_idx 897 drivers/net/ethernet/sfc/rx.c int slot_idx; slot_idx 902 drivers/net/ethernet/sfc/rx.c for (slot_idx = 0; slot_idx < EFX_RPS_MAX_IN_FLIGHT; slot_idx++) slot_idx 903 drivers/net/ethernet/sfc/rx.c if (!test_and_set_bit(slot_idx, &efx->rps_slot_map)) slot_idx 905 drivers/net/ethernet/sfc/rx.c if (slot_idx >= EFX_RPS_MAX_IN_FLIGHT) slot_idx 927 drivers/net/ethernet/sfc/rx.c req = efx->rps_slot + slot_idx; slot_idx 988 drivers/net/ethernet/sfc/rx.c clear_bit(slot_idx, &efx->rps_slot_map); slot_idx 157 drivers/scsi/hisi_sas/hisi_sas_main.c static void hisi_sas_slot_index_clear(struct hisi_hba *hisi_hba, int slot_idx) slot_idx 161 drivers/scsi/hisi_sas/hisi_sas_main.c clear_bit(slot_idx, bitmap); slot_idx 164 drivers/scsi/hisi_sas/hisi_sas_main.c static void hisi_sas_slot_index_free(struct hisi_hba *hisi_hba, int slot_idx) slot_idx 169 drivers/scsi/hisi_sas/hisi_sas_main.c slot_idx >= HISI_SAS_UNRESERVED_IPTT) { slot_idx 171 drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_slot_index_clear(hisi_hba, slot_idx); slot_idx 176 drivers/scsi/hisi_sas/hisi_sas_main.c static void hisi_sas_slot_index_set(struct hisi_hba *hisi_hba, int slot_idx) slot_idx 180 drivers/scsi/hisi_sas/hisi_sas_main.c set_bit(slot_idx, bitmap); slot_idx 422 drivers/scsi/hisi_sas/hisi_sas_main.c int dlvry_queue_slot, dlvry_queue, rc, slot_idx; slot_idx 489 drivers/scsi/hisi_sas/hisi_sas_main.c slot_idx = rc; slot_idx 490 drivers/scsi/hisi_sas/hisi_sas_main.c slot = &hisi_hba->slot_info[slot_idx]; slot_idx 1944 drivers/scsi/hisi_sas/hisi_sas_main.c int dlvry_queue_slot, dlvry_queue, n_elem = 0, rc, slot_idx; slot_idx 1961 drivers/scsi/hisi_sas/hisi_sas_main.c slot_idx = rc; slot_idx 1962 drivers/scsi/hisi_sas/hisi_sas_main.c slot = &hisi_hba->slot_info[slot_idx]; slot_idx 467 drivers/scsi/mvsas/mv_64xx.c static void mvs_64xx_command_active(struct mvs_info *mvi, u32 slot_idx) slot_idx 470 drivers/scsi/mvsas/mv_64xx.c mvs_cw32(mvi, 0x40 + (slot_idx >> 3), 1 << (slot_idx % 32)); slot_idx 471 drivers/scsi/mvsas/mv_64xx.c mvs_cw32(mvi, 0x00 + (slot_idx >> 3), 1 << (slot_idx % 32)); slot_idx 473 drivers/scsi/mvsas/mv_64xx.c tmp = mvs_cr32(mvi, 0x00 + (slot_idx >> 3)); slot_idx 474 drivers/scsi/mvsas/mv_64xx.c } while (tmp & 1 << (slot_idx % 32)); slot_idx 476 drivers/scsi/mvsas/mv_64xx.c tmp = mvs_cr32(mvi, 0x40 + (slot_idx >> 3)); slot_idx 477 drivers/scsi/mvsas/mv_64xx.c } while (tmp & 1 << (slot_idx % 32)); slot_idx 651 drivers/scsi/mvsas/mv_94xx.c static void mvs_94xx_command_active(struct mvs_info *mvi, u32 slot_idx) slot_idx 654 drivers/scsi/mvsas/mv_94xx.c tmp = mvs_cr32(mvi, MVS_COMMAND_ACTIVE+(slot_idx >> 3)); slot_idx 655 drivers/scsi/mvsas/mv_94xx.c if (tmp & 1 << (slot_idx % 32)) { slot_idx 656 drivers/scsi/mvsas/mv_94xx.c mv_printk("command active %08X, slot [%x].\n", tmp, slot_idx); slot_idx 657 drivers/scsi/mvsas/mv_94xx.c mvs_cw32(mvi, MVS_COMMAND_ACTIVE + (slot_idx >> 3), slot_idx 658 drivers/scsi/mvsas/mv_94xx.c 1 << (slot_idx % 32)); slot_idx 661 drivers/scsi/mvsas/mv_94xx.c MVS_COMMAND_ACTIVE + (slot_idx >> 3)); slot_idx 662 drivers/scsi/mvsas/mv_94xx.c } while (tmp & 1 << (slot_idx % 32)); slot_idx 871 drivers/scsi/mvsas/mv_sas.c u32 slot_idx = rx_desc & RXQ_SLOT_MASK; slot_idx 872 drivers/scsi/mvsas/mv_sas.c mvs_tag_clear(mvi, slot_idx); slot_idx 876 drivers/scsi/mvsas/mv_sas.c struct mvs_slot_info *slot, u32 slot_idx) slot_idx 912 drivers/scsi/mvsas/mv_sas.c mvs_slot_free(mvi, slot_idx); slot_idx 1525 drivers/scsi/mvsas/mv_sas.c u32 slot_idx = (u32)(slot - mvi->slot_info); slot_idx 1528 drivers/scsi/mvsas/mv_sas.c mvi, task, slot, slot_idx); slot_idx 1530 drivers/scsi/mvsas/mv_sas.c mvs_slot_task_free(mvi, task, slot, slot_idx); slot_idx 1576 drivers/scsi/mvsas/mv_sas.c u32 slot_idx, int err) slot_idx 1650 drivers/scsi/mvsas/mv_sas.c u32 slot_idx) slot_idx 1652 drivers/scsi/mvsas/mv_sas.c struct mvs_slot_info *slot = &mvi->slot_info[slot_idx]; slot_idx 1662 drivers/scsi/mvsas/mv_sas.c MVS_CHIP_DISP->command_active(mvi, slot_idx); slot_idx 1690 drivers/scsi/mvsas/mv_sas.c mvs_sata_done(mvi, task, slot_idx, err_dw0); slot_idx 1702 drivers/scsi/mvsas/mv_sas.c u32 slot_idx = rx_desc & RXQ_SLOT_MASK; slot_idx 1703 drivers/scsi/mvsas/mv_sas.c struct mvs_slot_info *slot = &mvi->slot_info[slot_idx]; slot_idx 1738 drivers/scsi/mvsas/mv_sas.c mvs_slot_task_free(mvi, task, slot, slot_idx); slot_idx 1758 drivers/scsi/mvsas/mv_sas.c "%016llX.\n", slot->port->sas_port.id, slot_idx, slot_idx 1760 drivers/scsi/mvsas/mv_sas.c tstat->stat = mvs_slot_err(mvi, task, slot_idx); slot_idx 1795 drivers/scsi/mvsas/mv_sas.c tstat->stat = mvs_sata_done(mvi, task, slot_idx, 0); slot_idx 1815 drivers/scsi/mvsas/mv_sas.c mvs_slot_task_free(mvi, task, slot, slot_idx); slot_idx 1830 drivers/scsi/mvsas/mv_sas.c u32 slot_idx; slot_idx 1846 drivers/scsi/mvsas/mv_sas.c slot_idx = (u32) (slot - mvi->slot_info); slot_idx 1853 drivers/scsi/mvsas/mv_sas.c slot_idx, slot->slot_tag, task); slot_idx 1854 drivers/scsi/mvsas/mv_sas.c MVS_CHIP_DISP->command_active(mvi, slot_idx); slot_idx 1856 drivers/scsi/mvsas/mv_sas.c mvs_slot_complete(mvi, slot_idx, 1); slot_idx 117 drivers/scsi/mvsas/mv_sas.h void (*command_active)(struct mvs_info *mvi, u32 slot_idx); slot_idx 645 drivers/staging/gasket/gasket_page_table.c uint slot_idx, remain, len; slot_idx 650 drivers/staging/gasket/gasket_page_table.c slot_idx = gasket_extended_lvl1_page_idx(pg_tbl, dev_addr); slot_idx 656 drivers/staging/gasket/gasket_page_table.c len = min(remain, GASKET_PAGES_PER_SUBTABLE - slot_idx); slot_idx 662 drivers/staging/gasket/gasket_page_table.c pte->sublevel + slot_idx, slot_idx 663 drivers/staging/gasket/gasket_page_table.c slot_base + slot_idx, len, 0); slot_idx 667 drivers/staging/gasket/gasket_page_table.c slot_idx = 0; slot_idx 822 drivers/staging/gasket/gasket_page_table.c uint slot_idx = gasket_simple_page_idx(pg_tbl, dev_addr); slot_idx 828 drivers/staging/gasket/gasket_page_table.c slot_idx, dev_addr, slot_idx + num_pages - 1); slot_idx 832 drivers/staging/gasket/gasket_page_table.c ret = gasket_perform_mapping(pg_tbl, pg_tbl->entries + slot_idx, slot_idx 833 drivers/staging/gasket/gasket_page_table.c pg_tbl->base_slot + slot_idx, host_addr, slot_idx 959 drivers/staging/gasket/gasket_page_table.c uint slot_idx, remain, len; slot_idx 977 drivers/staging/gasket/gasket_page_table.c slot_idx = gasket_extended_lvl1_page_idx(pg_tbl, dev_addr); slot_idx 982 drivers/staging/gasket/gasket_page_table.c len = min(remain, GASKET_PAGES_PER_SUBTABLE - slot_idx); slot_idx 986 drivers/staging/gasket/gasket_page_table.c ret = gasket_perform_mapping(pg_tbl, pte->sublevel + slot_idx, slot_idx 987 drivers/staging/gasket/gasket_page_table.c slot_base + slot_idx, host_addr, slot_idx 996 drivers/staging/gasket/gasket_page_table.c slot_idx = 0;