Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/scsi/mvsas/
Dmv_64xx.c482 static void mvs_64xx_command_active(struct mvs_info *mvi, u32 slot_idx) in mvs_64xx_command_active() argument
485 mvs_cw32(mvi, 0x40 + (slot_idx >> 3), 1 << (slot_idx % 32)); in mvs_64xx_command_active()
486 mvs_cw32(mvi, 0x00 + (slot_idx >> 3), 1 << (slot_idx % 32)); in mvs_64xx_command_active()
488 tmp = mvs_cr32(mvi, 0x00 + (slot_idx >> 3)); in mvs_64xx_command_active()
489 } while (tmp & 1 << (slot_idx % 32)); in mvs_64xx_command_active()
491 tmp = mvs_cr32(mvi, 0x40 + (slot_idx >> 3)); in mvs_64xx_command_active()
492 } while (tmp & 1 << (slot_idx % 32)); in mvs_64xx_command_active()
Dmv_sas.c883 u32 slot_idx = rx_desc & RXQ_SLOT_MASK; in mvs_slot_free() local
884 mvs_tag_clear(mvi, slot_idx); in mvs_slot_free()
888 struct mvs_slot_info *slot, u32 slot_idx) in mvs_slot_task_free() argument
924 mvs_slot_free(mvi, slot_idx); in mvs_slot_task_free()
1537 u32 slot_idx = (u32)(slot - mvi->slot_info); in mvs_abort_task() local
1540 mvi, task, slot, slot_idx); in mvs_abort_task()
1542 mvs_slot_task_free(mvi, task, slot, slot_idx); in mvs_abort_task()
1588 u32 slot_idx, int err) in mvs_sata_done() argument
1662 u32 slot_idx) in mvs_slot_err() argument
1664 struct mvs_slot_info *slot = &mvi->slot_info[slot_idx]; in mvs_slot_err()
[all …]
Dmv_94xx.c620 static void mvs_94xx_command_active(struct mvs_info *mvi, u32 slot_idx) in mvs_94xx_command_active() argument
623 tmp = mvs_cr32(mvi, MVS_COMMAND_ACTIVE+(slot_idx >> 3)); in mvs_94xx_command_active()
624 if (tmp && 1 << (slot_idx % 32)) { in mvs_94xx_command_active()
625 mv_printk("command active %08X, slot [%x].\n", tmp, slot_idx); in mvs_94xx_command_active()
626 mvs_cw32(mvi, MVS_COMMAND_ACTIVE + (slot_idx >> 3), in mvs_94xx_command_active()
627 1 << (slot_idx % 32)); in mvs_94xx_command_active()
630 MVS_COMMAND_ACTIVE + (slot_idx >> 3)); in mvs_94xx_command_active()
631 } while (tmp & 1 << (slot_idx % 32)); in mvs_94xx_command_active()
Dmv_sas.h135 void (*command_active)(struct mvs_info *mvi, u32 slot_idx);
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dbgmac.c256 int slot_idx = ring->start % BGMAC_TX_RING_SLOTS; in bgmac_dma_tx_free() local
257 struct bgmac_slot_info *slot = &ring->slots[slot_idx]; in bgmac_dma_tx_free()
261 if (slot_idx == empty_slot) in bgmac_dma_tx_free()
264 ctl1 = le32_to_cpu(ring->cpu_base[slot_idx].ctl1); in bgmac_dma_tx_free()