Home
last modified time | relevance | path

Searched refs:ctrl0 (Results 1 – 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/vxge/
Dvxge-config.h1113 #define VXGE_HW_NODBW_GET_TYPE(ctrl0) vxge_bVALn(ctrl0, 0, 8) argument
1117 #define VXGE_HW_NODBW_GET_LAST_TXD_NUMBER(ctrl0) vxge_bVALn(ctrl0, 32, 8) argument
1120 #define VXGE_HW_NODBW_GET_NO_SNOOP(ctrl0) vxge_bVALn(ctrl0, 56, 8) argument
1263 #define VXGE_HW_FIFO_TXD_T_CODE_GET(ctrl0) vxge_bVALn(ctrl0, 12, 4) argument
1388 #define VXGE_HW_RING_RXD_RTH_BUCKET_GET(ctrl0) vxge_bVALn(ctrl0, 0, 7) argument
1392 #define VXGE_HW_RING_RXD_FAST_PATH_ELIGIBLE_GET(ctrl0) vxge_bVALn(ctrl0, 8, 1) argument
1394 #define VXGE_HW_RING_RXD_L3_CKSUM_CORRECT_GET(ctrl0) vxge_bVALn(ctrl0, 9, 1) argument
1396 #define VXGE_HW_RING_RXD_L4_CKSUM_CORRECT_GET(ctrl0) vxge_bVALn(ctrl0, 10, 1) argument
1398 #define VXGE_HW_RING_RXD_T_CODE_GET(ctrl0) vxge_bVALn(ctrl0, 12, 4) argument
1403 #define VXGE_HW_RING_RXD_SYN_GET(ctrl0) vxge_bVALn(ctrl0, 16, 1) argument
[all …]
/kernel/linux/linux-5.10/drivers/crypto/bcm/
Dspu2.c308 static void spu2_dump_fmd_ctrl0(u64 ctrl0) in spu2_dump_fmd_ctrl0() argument
321 packet_log(" FMD CTRL0 %#16llx\n", ctrl0); in spu2_dump_fmd_ctrl0()
322 if (ctrl0 & SPU2_CIPH_ENCRYPT_EN) in spu2_dump_fmd_ctrl0()
327 ciph_type = (ctrl0 & SPU2_CIPH_TYPE) >> SPU2_CIPH_TYPE_SHIFT; in spu2_dump_fmd_ctrl0()
332 ciph_mode = (ctrl0 & SPU2_CIPH_MODE) >> SPU2_CIPH_MODE_SHIFT; in spu2_dump_fmd_ctrl0()
337 cfb = (ctrl0 & SPU2_CFB_MASK) >> SPU2_CFB_MASK_SHIFT; in spu2_dump_fmd_ctrl0()
340 proto = (ctrl0 & SPU2_PROTO_SEL) >> SPU2_PROTO_SEL_SHIFT; in spu2_dump_fmd_ctrl0()
343 if (ctrl0 & SPU2_HASH_FIRST) in spu2_dump_fmd_ctrl0()
348 if (ctrl0 & SPU2_CHK_TAG) in spu2_dump_fmd_ctrl0()
351 hash_type = (ctrl0 & SPU2_HASH_TYPE) >> SPU2_HASH_TYPE_SHIFT; in spu2_dump_fmd_ctrl0()
[all …]
Dspu2.h76 u64 ctrl0; member
/kernel/linux/linux-5.10/drivers/phy/samsung/
Dphy-exynos5250-usb2.c200 u32 ctrl0; in exynos5250_power_on() local
244 ctrl0 = readl(drv->reg_phy + EXYNOS_5250_HOSTPHYCTRL0); in exynos5250_power_on()
246 ctrl0 &= ~EXYNOS_5250_HOSTPHYCTRL0_FSEL_MASK; in exynos5250_power_on()
247 ctrl0 |= drv->ref_reg_val << in exynos5250_power_on()
251 ctrl0 &= ~(EXYNOS_5250_HOSTPHYCTRL0_PHYSWRST | in exynos5250_power_on()
256 ctrl0 |= EXYNOS_5250_HOSTPHYCTRL0_LINKSWRST | in exynos5250_power_on()
259 writel(ctrl0, drv->reg_phy + EXYNOS_5250_HOSTPHYCTRL0); in exynos5250_power_on()
261 ctrl0 &= ~(EXYNOS_5250_HOSTPHYCTRL0_LINKSWRST | in exynos5250_power_on()
263 writel(ctrl0, drv->reg_phy + EXYNOS_5250_HOSTPHYCTRL0); in exynos5250_power_on()
326 u32 ctrl0; in exynos5250_power_off() local
[all …]
/kernel/linux/linux-5.10/drivers/input/rmi4/
Drmi_f01.c115 u8 ctrl0; member
411 &f01->device_control.ctrl0); in rmi_f01_probe()
421 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_probe()
424 f01->device_control.ctrl0 |= RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_probe()
433 if ((f01->device_control.ctrl0 & RMI_F01_CTRL0_SLEEP_MODE_MASK) != in rmi_f01_probe()
437 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK; in rmi_f01_probe()
440 f01->device_control.ctrl0 |= RMI_F01_CTRL0_CONFIGURED_BIT; in rmi_f01_probe()
443 f01->device_control.ctrl0); in rmi_f01_probe()
589 f01->device_control.ctrl0); in rmi_f01_config()
636 f01->device_control.ctrl0 & RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_suspend()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
Dvsp1_sru.c40 u32 ctrl0; member
55 .ctrl0 = VI6_SRU_CTRL0_PARAMS(256, 4) | VI6_SRU_CTRL0_EN,
58 .ctrl0 = VI6_SRU_CTRL0_PARAMS(256, 4) | VI6_SRU_CTRL0_EN,
61 .ctrl0 = VI6_SRU_CTRL0_PARAMS(384, 5) | VI6_SRU_CTRL0_EN,
64 .ctrl0 = VI6_SRU_CTRL0_PARAMS(384, 5) | VI6_SRU_CTRL0_EN,
67 .ctrl0 = VI6_SRU_CTRL0_PARAMS(511, 6) | VI6_SRU_CTRL0_EN,
70 .ctrl0 = VI6_SRU_CTRL0_PARAMS(511, 6) | VI6_SRU_CTRL0_EN,
279 u32 ctrl0; in sru_configure_stream() local
287 ctrl0 = VI6_SRU_CTRL0_PARAM2 | VI6_SRU_CTRL0_PARAM3 in sru_configure_stream()
290 ctrl0 = VI6_SRU_CTRL0_PARAM3; in sru_configure_stream()
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/intel/
Dpinctrl-cherryview.c646 u32 ctrl0, ctrl1; in chv_pin_dbg_show() local
651 ctrl0 = chv_readl(pctrl, offset, CHV_PADCTRL0); in chv_pin_dbg_show()
657 if (ctrl0 & CHV_PADCTRL0_GPIOEN) { in chv_pin_dbg_show()
662 mode = ctrl0 & CHV_PADCTRL0_PMODE_MASK; in chv_pin_dbg_show()
668 seq_printf(s, "0x%08x 0x%08x", ctrl0, ctrl1); in chv_pin_dbg_show()
866 u32 ctrl0; in chv_gpio_set_direction() local
870 ctrl0 = chv_readl(pctrl, offset, CHV_PADCTRL0) & ~CHV_PADCTRL0_GPIOCFG_MASK; in chv_gpio_set_direction()
872 ctrl0 |= CHV_PADCTRL0_GPIOCFG_GPI << CHV_PADCTRL0_GPIOCFG_SHIFT; in chv_gpio_set_direction()
874 ctrl0 |= CHV_PADCTRL0_GPIOCFG_GPO << CHV_PADCTRL0_GPIOCFG_SHIFT; in chv_gpio_set_direction()
875 chv_writel(pctrl, offset, CHV_PADCTRL0, ctrl0); in chv_gpio_set_direction()
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dadau1977.c300 unsigned int ctrl0, ctrl0_mask; in adau1977_hw_params() local
318 ctrl0 = fs; in adau1977_hw_params()
323 ctrl0 |= ADAU1977_SAI_CTRL0_FMT_RJ_16BIT; in adau1977_hw_params()
326 ctrl0 |= ADAU1977_SAI_CTRL0_FMT_RJ_24BIT; in adau1977_hw_params()
368 ctrl0_mask, ctrl0); in adau1977_hw_params()
500 unsigned int ctrl0, ctrl1, drv; in adau1977_set_tdm_slot() local
550 ctrl0 = ADAU1977_SAI_CTRL0_SAI_TDM_2; in adau1977_set_tdm_slot()
553 ctrl0 = ADAU1977_SAI_CTRL0_SAI_TDM_4; in adau1977_set_tdm_slot()
556 ctrl0 = ADAU1977_SAI_CTRL0_SAI_TDM_8; in adau1977_set_tdm_slot()
559 ctrl0 = ADAU1977_SAI_CTRL0_SAI_TDM_16; in adau1977_set_tdm_slot()
[all …]
Dadau17x1.c555 unsigned int ctrl0, ctrl1; in adau17x1_set_dai_fmt() local
560 ctrl0 = ADAU17X1_SERIAL_PORT0_MASTER; in adau17x1_set_dai_fmt()
564 ctrl0 = 0; in adau17x1_set_dai_fmt()
583 ctrl0 |= ADAU17X1_SERIAL_PORT0_PULSE_MODE; in adau17x1_set_dai_fmt()
588 ctrl0 |= ADAU17X1_SERIAL_PORT0_PULSE_MODE; in adau17x1_set_dai_fmt()
599 ctrl0 |= ADAU17X1_SERIAL_PORT0_BCLK_POL; in adau17x1_set_dai_fmt()
605 ctrl0 |= ADAU17X1_SERIAL_PORT0_BCLK_POL; in adau17x1_set_dai_fmt()
613 ctrl0 |= ADAU17X1_SERIAL_PORT0_LRCLK_POL; in adau17x1_set_dai_fmt()
615 regmap_write(adau->regmap, ADAU17X1_SERIAL_PORT0, ctrl0); in adau17x1_set_dai_fmt()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dmxs-mmc.c88 u32 ctrl0, ctrl1; in mxs_mmc_reset() local
95 ctrl0 = BM_SSP_CTRL0_IGNORE_CRC; in mxs_mmc_reset()
112 ctrl0 |= BM_SSP_CTRL0_SDIO_IRQ_CHECK; in mxs_mmc_reset()
116 writel(ctrl0, ssp->base + HW_SSP_CTRL0); in mxs_mmc_reset()
254 u32 ctrl0, cmd0, cmd1; in mxs_mmc_bc() local
256 ctrl0 = BM_SSP_CTRL0_ENABLE | BM_SSP_CTRL0_IGNORE_CRC; in mxs_mmc_bc()
261 ctrl0 |= BM_SSP_CTRL0_SDIO_IRQ_CHECK; in mxs_mmc_bc()
265 ssp->ssp_pio_words[0] = ctrl0; in mxs_mmc_bc()
289 u32 ctrl0, cmd0, cmd1; in mxs_mmc_ac() local
298 ctrl0 = BM_SSP_CTRL0_ENABLE | ignore_crc | get_resp | long_resp; in mxs_mmc_ac()
[all …]
/kernel/linux/linux-5.10/drivers/staging/ralink-gdma/
Dralink-gdma.c275 u32 ctrl0, ctrl1; in rt305x_gdma_start_transfer() local
278 ctrl0 = gdma_dma_read(dma_dev, GDMA_REG_CTRL0(chan->id)); in rt305x_gdma_start_transfer()
279 if (unlikely(ctrl0 & GDMA_REG_CTRL0_ENABLE)) { in rt305x_gdma_start_transfer()
281 chan->id, ctrl0); in rt305x_gdma_start_transfer()
290 ctrl0 = GDMA_REG_CTRL0_DST_ADDR_FIXED | in rt305x_gdma_start_transfer()
296 ctrl0 = GDMA_REG_CTRL0_SRC_ADDR_FIXED | in rt305x_gdma_start_transfer()
306 ctrl0 = GDMA_REG_CTRL0_SW_MODE | in rt305x_gdma_start_transfer()
315 ctrl0 |= (sg->len << GDMA_REG_CTRL0_TX_SHIFT) | in rt305x_gdma_start_transfer()
327 gdma_dma_write(dma_dev, GDMA_REG_CTRL0(chan->id), ctrl0); in rt305x_gdma_start_transfer()
352 u32 ctrl0, ctrl1; in rt3883_gdma_start_transfer() local
[all …]
/kernel/linux/linux-5.10/drivers/net/can/cc770/
Dcc770.c143 cc770_write_reg(priv, msgobj[mo].ctrl0, in enable_all_objs()
162 cc770_write_reg(priv, msgobj[mo].ctrl0, in enable_all_objs()
183 cc770_write_reg(priv, msgobj[mo].ctrl0, in disable_all_objs()
191 cc770_write_reg(priv, msgobj[mo].ctrl0, in disable_all_objs()
263 cc770_write_reg(priv, msgobj[mo].ctrl0, in chipset_init()
266 cc770_write_reg(priv, msgobj[mo].ctrl0, in chipset_init()
397 cc770_write_reg(priv, msgobj[mo].ctrl0, in cc770_tx()
422 cc770_write_reg(priv, msgobj[mo].ctrl0, in cc770_tx()
613 if (!(cc770_read_reg(priv, msgobj[mo].ctrl0) & in cc770_rx_interrupt()
631 cc770_write_reg(priv, msgobj[mo].ctrl0, in cc770_rx_interrupt()
[all …]
Dcc770.h14 u8 ctrl0; member
/kernel/linux/linux-5.10/drivers/spi/
Dspi-mxs.c174 u32 ctrl0; in mxs_spi_txrx_dma() local
191 ctrl0 = readl(ssp->base + HW_SSP_CTRL0); in mxs_spi_txrx_dma()
192 ctrl0 &= ~(BM_SSP_CTRL0_XFER_COUNT | BM_SSP_CTRL0_IGNORE_CRC | in mxs_spi_txrx_dma()
194 ctrl0 |= BM_SSP_CTRL0_DATA_XFER; in mxs_spi_txrx_dma()
197 ctrl0 |= BM_SSP_CTRL0_READ; in mxs_spi_txrx_dma()
209 ctrl0 |= BM_SSP_CTRL0_IGNORE_CRC; in mxs_spi_txrx_dma()
212 ctrl0 &= ~BM_SSP_CTRL0_XFER_COUNT; in mxs_spi_txrx_dma()
213 ctrl0 |= min; in mxs_spi_txrx_dma()
216 dma_xfer[sg_count].pio[0] = ctrl0; in mxs_spi_txrx_dma()
/kernel/linux/linux-5.10/drivers/thermal/
Darmada_thermal.c326 u32 ctrl0; in armada_select_channel() local
335 regmap_read(priv->syscon, data->syscon_control0_off, &ctrl0); in armada_select_channel()
336 ctrl0 &= ~CONTROL0_TSEN_START; in armada_select_channel()
337 regmap_write(priv->syscon, data->syscon_control0_off, ctrl0); in armada_select_channel()
340 ctrl0 &= ~(CONTROL0_TSEN_MODE_MASK << CONTROL0_TSEN_MODE_SHIFT); in armada_select_channel()
345 ctrl0 |= CONTROL0_TSEN_MODE_EXTERNAL << in armada_select_channel()
348 ctrl0 &= ~(CONTROL0_TSEN_CHAN_MASK << CONTROL0_TSEN_CHAN_SHIFT); in armada_select_channel()
349 ctrl0 |= (channel - 1) << CONTROL0_TSEN_CHAN_SHIFT; in armada_select_channel()
353 regmap_write(priv->syscon, data->syscon_control0_off, ctrl0); in armada_select_channel()
357 ctrl0 |= CONTROL0_TSEN_START; in armada_select_channel()
[all …]
/kernel/linux/linux-5.10/drivers/power/supply/
Dtps65090-charger.c64 uint8_t ctrl0 = 0; in tps65090_enable_charging() local
70 &ctrl0); in tps65090_enable_charging()
78 (ctrl0 | TPS65090_CHARGER_ENABLE)); in tps65090_enable_charging()
/kernel/linux/linux-5.10/drivers/iio/proximity/
Dsx9310.c796 unsigned int ctrl0; in sx9310_init_compensation() local
798 ret = regmap_read(data->regmap, SX9310_REG_PROX_CTRL0, &ctrl0); in sx9310_init_compensation()
804 ctrl0 | SX9310_REG_PROX_CTRL0_SENSOREN_MASK); in sx9310_init_compensation()
819 regmap_write(data->regmap, SX9310_REG_PROX_CTRL0, ctrl0); in sx9310_init_compensation()
982 u8 ctrl0; in sx9310_suspend() local
993 ctrl0 = data->suspend_ctrl0 & ~SX9310_REG_PROX_CTRL0_SENSOREN_MASK; in sx9310_suspend()
994 ret = regmap_write(data->regmap, SX9310_REG_PROX_CTRL0, ctrl0); in sx9310_suspend()
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_eqs.c425 u32 val, ctrl0; in get_ctrl0_val() local
438 ctrl0 = HINIC_AEQ_CTRL_0_SET(msix_entry->entry, INT_IDX) | in get_ctrl0_val()
444 val |= ctrl0; in get_ctrl0_val()
457 ctrl0 = HINIC_CEQ_CTRL_0_SET(msix_entry->entry, INTR_IDX) | in get_ctrl0_val()
464 val |= ctrl0; in get_ctrl0_val()
552 ceq_ctrl.ctrl0 = get_ctrl0_val(eq, addr); in set_ceq_ctrl_reg()
Dhinic_hw_dev.h264 u32 ctrl0; member
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.c470 u32 ctrl0, qidx; in copy_cpltx_pktxt() local
486 ctrl0 = TXPKT_OPCODE_V(CPL_TX_PKT_XT) | TXPKT_INTF_V(pi->tx_chan) | in copy_cpltx_pktxt()
493 cpl->ctrl0 = htonl(ctrl0); in copy_cpltx_pktxt()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c224 u32 ctrl0 = IXGB_READ_REG(hw, CTRL0); in ixgb_up() local
226 if (!(ctrl0 & IXGB_CTRL0_JFE)) { in ixgb_up()
227 ctrl0 |= IXGB_CTRL0_JFE; in ixgb_up()
228 IXGB_WRITE_REG(hw, CTRL0, ctrl0); in ixgb_up()
288 u32 ctrl0 = IXGB_READ_REG(hw, CTRL0); in ixgb_reset() local
289 if (!(ctrl0 & IXGB_CTRL0_JFE)) { in ixgb_reset()
290 ctrl0 |= IXGB_CTRL0_JFE; in ixgb_reset()
291 IXGB_WRITE_REG(hw, CTRL0, ctrl0); in ixgb_reset()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dar9003_paprd.c141 static const u32 ctrl0[3] = { in ar9003_paprd_setup_single_table() local
184 REG_RMW_FIELD(ah, ctrl0[i], in ar9003_paprd_setup_single_table()
198 REG_RMW_FIELD(ah, ctrl0[i], in ar9003_paprd_setup_single_table()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c1506 u32 wr_mid, ctrl0, op, sgl_off = 0; in cxgb4_eth_xmit() local
1707 ctrl0 = TXPKT_OPCODE_V(CPL_TX_PKT_XT) | TXPKT_INTF_V(pi->tx_chan) | in cxgb4_eth_xmit()
1710 ctrl0 |= TXPKT_TSTAMP_F; in cxgb4_eth_xmit()
1713 ctrl0 |= TXPKT_OVLAN_IDX_V(q->dcb_prio); in cxgb4_eth_xmit()
1715 ctrl0 |= TXPKT_T5_OVLAN_IDX_V(q->dcb_prio); in cxgb4_eth_xmit()
1717 cpl->ctrl0 = htonl(ctrl0); in cxgb4_eth_xmit()
2005 cpl->ctrl0 = cpu_to_be32(TXPKT_OPCODE_V(CPL_TX_PKT_XT) | in cxgb4_vf_eth_xmit()
2329 cpl->ctrl0 = cpu_to_be32(TXPKT_OPCODE_V(CPL_TX_PKT_XT) | in ethofld_hard_xmit()
2667 u32 ctrl0, ndesc, flits; in cxgb4_selftest_lb_pkt() local
2702 ctrl0 = TXPKT_OPCODE_V(CPL_TX_PKT_XT) | TXPKT_PF_V(adap->pf) | in cxgb4_selftest_lb_pkt()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.h1025 u32 ctrl0; member
1057 u32 ctrl0; member
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/adreno/
Da6xx_gpu_state.c204 static int vbif_debugbus_read(struct msm_gpu *gpu, u32 ctrl0, u32 ctrl1, in vbif_debugbus_read() argument
209 gpu_write(gpu, ctrl0, reg); in vbif_debugbus_read()

12