Home
last modified time | relevance | path

Searched refs:cnum (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_dma.c123 int cnum; in sxgbe_dma_start_tx() local
126 for (cnum = 0; cnum < tchannels; cnum++) { in sxgbe_dma_start_tx()
127 tx_ctl_reg = readl(ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cnum)); in sxgbe_dma_start_tx()
130 ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cnum)); in sxgbe_dma_start_tx()
154 int cnum; in sxgbe_dma_stop_tx() local
157 for (cnum = 0; cnum < tchannels; cnum++) { in sxgbe_dma_stop_tx()
158 tx_ctl_reg = readl(ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cnum)); in sxgbe_dma_stop_tx()
160 writel(tx_ctl_reg, ioaddr + SXGBE_DMA_CHA_TXCTL_REG(cnum)); in sxgbe_dma_stop_tx()
166 int cnum; in sxgbe_dma_start_rx() local
169 for (cnum = 0; cnum < rchannels; cnum++) { in sxgbe_dma_start_rx()
[all …]
/drivers/scsi/aacraid/
Daachba.c2835 if (qd.cnum == -1) in query_disk()
2836 qd.cnum = qd.id; in query_disk()
2839 if (qd.cnum < 0 || qd.cnum >= dev->maximum_num_containers) in query_disk()
2843 qd.id = CONTAINER_TO_ID(qd.cnum); in query_disk()
2844 qd.lun = CONTAINER_TO_LUN(qd.cnum); in query_disk()
2848 qd.valid = fsa_dev_ptr[qd.cnum].valid != 0; in query_disk()
2849 qd.locked = fsa_dev_ptr[qd.cnum].locked; in query_disk()
2850 qd.deleted = fsa_dev_ptr[qd.cnum].deleted; in query_disk()
2852 if (fsa_dev_ptr[qd.cnum].devname[0] == '\0') in query_disk()
2857 strlcpy(qd.name, fsa_dev_ptr[qd.cnum].devname, in query_disk()
[all …]
Daacraid.h1880 s32 cnum; member
1894 u32 cnum; member