Searched refs:ctl1 (Results 1 – 9 of 9) sorted by relevance
/drivers/gpu/drm/i915/ |
D | dvo_tfp410.c | 239 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/ |
D | cafe_nand.c | 64 uint32_t ctl1; member 168 uint32_t ctl1; in cafe_nand_cmdfunc() local 177 ctl1 = cafe->ctl1; in cafe_nand_cmdfunc() 180 cafe->ctl1, cafe->nr_data); in cafe_nand_cmdfunc() 214 ctl1 = 0x80000000 | command | (cafe->ctl1 & CTRL1_CHIPSELECT); in cafe_nand_cmdfunc() 218 ctl1 |= (1<<26); /* rd */ in cafe_nand_cmdfunc() 225 ctl1 |= 1<<26; /* rd */ in cafe_nand_cmdfunc() 229 ctl1 |= 1<<25; /* wr */ in cafe_nand_cmdfunc() 233 ctl1 |= ((adrbytes-1)|8) << 27; in cafe_nand_cmdfunc() 238 cafe->ctl1 = ctl1; in cafe_nand_cmdfunc() [all …]
|
/drivers/net/wireless/ath/ath9k/ |
D | ar9002_mac.c | 215 u32 ctl1, ctl6; in ar9002_set_txdesc() local 226 ctl1 = i->buf_len[0] | (i->is_last ? 0 : AR_TxMore); in ar9002_set_txdesc() 256 WRITE_ONCE(ads->ds_ctl1, ctl1); in ar9002_set_txdesc() 261 ctl1 |= (i->keyix != ATH9K_TXKEYIX_INVALID ? SM(i->keyix, AR_DestIdx) : 0) in ar9002_set_txdesc() 272 ctl1 |= AR_IsAggr | AR_MoreAggr; in ar9002_set_txdesc() 276 ctl1 |= AR_IsAggr; in ar9002_set_txdesc() 292 WRITE_ONCE(ads->ds_ctl1, ctl1); in ar9002_set_txdesc()
|
/drivers/net/ethernet/broadcom/ |
D | bgmac.c | 115 u32 ctl1; in bgmac_dma_tx_add_buf() local 120 ctl1 = len & BGMAC_DESC_CTL1_LEN; in bgmac_dma_tx_add_buf() 127 dma_desc->ctl1 = cpu_to_le32(ctl1); in bgmac_dma_tx_add_buf() 216 u32 ctl1 = le32_to_cpu(ring->cpu_base[index].ctl1); in bgmac_dma_tx_add() local 217 int len = ctl1 & BGMAC_DESC_CTL1_LEN; in bgmac_dma_tx_add() 251 u32 ctl0, ctl1; in bgmac_dma_tx_free() local 258 ctl1 = le32_to_cpu(ring->cpu_base[slot_idx].ctl1); in bgmac_dma_tx_free() 259 len = ctl1 & BGMAC_DESC_CTL1_LEN; in bgmac_dma_tx_free() 382 u32 ctl0 = 0, ctl1 = 0; in bgmac_dma_rx_setup_desc() local 386 ctl1 |= BGMAC_RX_BUF_SIZE & BGMAC_DESC_CTL1_LEN; in bgmac_dma_rx_setup_desc() [all …]
|
D | bgmac.h | 441 __le32 ctl1; member
|
/drivers/net/can/mscan/ |
D | mscan.c | 639 u8 ctl1; in register_mscandev() local 641 ctl1 = in_8(®s->canctl1); in register_mscandev() 643 ctl1 |= MSCAN_CLKSRC; in register_mscandev() 645 ctl1 &= ~MSCAN_CLKSRC; in register_mscandev() 649 ctl1 |= MSCAN_BORM; /* bus-off recovery upon request */ in register_mscandev() 652 ctl1 |= MSCAN_CANE; in register_mscandev() 653 out_8(®s->canctl1, ctl1); in register_mscandev()
|
/drivers/pci/pcie/ |
D | aspm.c | 97 u32 ctl1; /* value to be programmed in ctl1 */ member 466 link->l1ss.ctl1 = link->l1ss.ctl2 = 0; in aspm_calc_l1ss_info() 475 link->l1ss.ctl1 |= val1 << 8; in aspm_calc_l1ss_info() 477 link->l1ss.ctl1 |= val2 << 8; in aspm_calc_l1ss_info() 482 link->l1ss.ctl1 |= LTR_L1_2_THRESHOLD_BITS; in aspm_calc_l1ss_info() 675 0xFF00, link->l1ss.ctl1); in pcie_config_aspm_l1ss() 679 0xE3FF0000, link->l1ss.ctl1); in pcie_config_aspm_l1ss() 681 0xE3FF0000, link->l1ss.ctl1); in pcie_config_aspm_l1ss()
|
/drivers/net/wireless/broadcom/b43/ |
D | dma.c | 197 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()
|
/drivers/net/dsa/mv88e6xxx/ |
D | chip.c | 261 u16 ctl1; in mv88e6xxx_g1_irq_thread_fn() local 282 err = mv88e6xxx_g1_read(chip, MV88E6XXX_G1_CTL1, &ctl1); in mv88e6xxx_g1_irq_thread_fn() 290 ctl1 &= GENMASK(chip->g1_irq.nirqs, 0); in mv88e6xxx_g1_irq_thread_fn() 291 } while (reg & ctl1); in mv88e6xxx_g1_irq_thread_fn()
|