Home
last modified time | relevance | path

Searched refs:ctl1 (Results 1 – 7 of 7) sorted by relevance

/drivers/gpu/drm/i915/
Ddvo_tfp410.c239 uint8_t ctl1; in tfp410_dpms() local
241 if (!tfp410_readb(dvo, TFP410_CTL_1, &ctl1)) in tfp410_dpms()
245 ctl1 |= TFP410_CTL_1_PD; in tfp410_dpms()
247 ctl1 &= ~TFP410_CTL_1_PD; in tfp410_dpms()
249 tfp410_writeb(dvo, TFP410_CTL_1, ctl1); in tfp410_dpms()
254 uint8_t ctl1; in tfp410_get_hw_state() local
256 if (!tfp410_readb(dvo, TFP410_CTL_1, &ctl1)) in tfp410_get_hw_state()
259 if (ctl1 & TFP410_CTL_1_PD) in tfp410_get_hw_state()
/drivers/mtd/nand/
Dcafe_nand.c64 uint32_t ctl1; member
163 uint32_t ctl1; in cafe_nand_cmdfunc() local
172 ctl1 = cafe->ctl1; in cafe_nand_cmdfunc()
175 cafe->ctl1, cafe->nr_data); in cafe_nand_cmdfunc()
209 ctl1 = 0x80000000 | command | (cafe->ctl1 & CTRL1_CHIPSELECT); in cafe_nand_cmdfunc()
213 ctl1 |= (1<<26); /* rd */ in cafe_nand_cmdfunc()
220 ctl1 |= 1<<26; /* rd */ in cafe_nand_cmdfunc()
224 ctl1 |= 1<<25; /* wr */ in cafe_nand_cmdfunc()
228 ctl1 |= ((adrbytes-1)|8) << 27; in cafe_nand_cmdfunc()
233 cafe->ctl1 = ctl1; in cafe_nand_cmdfunc()
[all …]
/drivers/net/wireless/ath/ath9k/
Dar9002_mac.c179 u32 ctl1, ctl6; in ar9002_set_txdesc() local
190 ctl1 = i->buf_len[0] | (i->is_last ? 0 : AR_TxMore); in ar9002_set_txdesc()
220 ACCESS_ONCE(ads->ds_ctl1) = ctl1; in ar9002_set_txdesc()
225 ctl1 |= (i->keyix != ATH9K_TXKEYIX_INVALID ? SM(i->keyix, AR_DestIdx) : 0) in ar9002_set_txdesc()
236 ctl1 |= AR_IsAggr | AR_MoreAggr; in ar9002_set_txdesc()
240 ctl1 |= AR_IsAggr; in ar9002_set_txdesc()
256 ACCESS_ONCE(ads->ds_ctl1) = ctl1; in ar9002_set_txdesc()
/drivers/net/can/mscan/
Dmscan.c637 u8 ctl1; in register_mscandev() local
639 ctl1 = in_8(&regs->canctl1); in register_mscandev()
641 ctl1 |= MSCAN_CLKSRC; in register_mscandev()
643 ctl1 &= ~MSCAN_CLKSRC; in register_mscandev()
647 ctl1 |= MSCAN_BORM; /* bus-off recovery upon request */ in register_mscandev()
650 ctl1 |= MSCAN_CANE; in register_mscandev()
651 out_8(&regs->canctl1, ctl1); in register_mscandev()
/drivers/net/ethernet/broadcom/
Dbgmac.c112 u32 ctl0, ctl1; in bgmac_dma_tx_add() local
143 ctl1 = skb->len & BGMAC_DESC_CTL1_LEN; in bgmac_dma_tx_add()
150 dma_desc->ctl1 = cpu_to_le32(ctl1); in bgmac_dma_tx_add()
486 u32 ctl0, ctl1; in bgmac_dma_init() local
517 ctl0 = ctl1 = 0; in bgmac_dma_init()
521 ctl1 |= BGMAC_RX_BUF_SIZE & BGMAC_DESC_CTL1_LEN; in bgmac_dma_init()
530 dma_desc->ctl1 = cpu_to_le32(ctl1); in bgmac_dma_init()
Dbgmac.h360 __le32 ctl1; member
/drivers/net/wireless/b43/
Ddma.c197 u32 ctl0 = 0, ctl1 = 0; in op64_fill_descriptor() local
216 ctl1 |= bufsize & B43_DMA64_DCTL1_BYTECNT; in op64_fill_descriptor()
217 ctl1 |= (addrext << B43_DMA64_DCTL1_ADDREXT_SHIFT) in op64_fill_descriptor()
221 desc->dma64.control1 = cpu_to_le32(ctl1); in op64_fill_descriptor()