Home
last modified time | relevance | path

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

12

/linux-5.19.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 …]
/linux-5.19.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 __le64 ctrl0; member
/linux-5.19.10/drivers/input/rmi4/
Drmi_f01.c117 u8 ctrl0; member
413 &f01->device_control.ctrl0); in rmi_f01_probe()
423 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_probe()
426 f01->device_control.ctrl0 |= RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_probe()
435 if ((f01->device_control.ctrl0 & RMI_F01_CTRL0_SLEEP_MODE_MASK) != in rmi_f01_probe()
439 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK; in rmi_f01_probe()
442 f01->device_control.ctrl0 |= RMI_F01_CTRL0_CONFIGURED_BIT; in rmi_f01_probe()
445 f01->device_control.ctrl0); in rmi_f01_probe()
591 f01->device_control.ctrl0); in rmi_f01_config()
638 f01->device_control.ctrl0 & RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_suspend()
[all …]
/linux-5.19.10/drivers/phy/samsung/
Dphy-exynos5250-usb2.c198 u32 ctrl0; in exynos5250_power_on() local
242 ctrl0 = readl(drv->reg_phy + EXYNOS_5250_HOSTPHYCTRL0); in exynos5250_power_on()
244 ctrl0 &= ~EXYNOS_5250_HOSTPHYCTRL0_FSEL_MASK; in exynos5250_power_on()
245 ctrl0 |= drv->ref_reg_val << in exynos5250_power_on()
249 ctrl0 &= ~(EXYNOS_5250_HOSTPHYCTRL0_PHYSWRST | in exynos5250_power_on()
254 ctrl0 |= EXYNOS_5250_HOSTPHYCTRL0_LINKSWRST | in exynos5250_power_on()
257 writel(ctrl0, drv->reg_phy + EXYNOS_5250_HOSTPHYCTRL0); in exynos5250_power_on()
259 ctrl0 &= ~(EXYNOS_5250_HOSTPHYCTRL0_LINKSWRST | in exynos5250_power_on()
261 writel(ctrl0, drv->reg_phy + EXYNOS_5250_HOSTPHYCTRL0); in exynos5250_power_on()
324 u32 ctrl0; in exynos5250_power_off() local
[all …]
/linux-5.19.10/drivers/media/platform/renesas/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,
281 u32 ctrl0; in sru_configure_stream() local
289 ctrl0 = VI6_SRU_CTRL0_PARAM2 | VI6_SRU_CTRL0_PARAM3 in sru_configure_stream()
292 ctrl0 = VI6_SRU_CTRL0_PARAM3; in sru_configure_stream()
[all …]
/linux-5.19.10/sound/soc/codecs/
Dadau1977.c299 unsigned int ctrl0, ctrl0_mask; in adau1977_hw_params() local
317 ctrl0 = fs; in adau1977_hw_params()
322 ctrl0 |= ADAU1977_SAI_CTRL0_FMT_RJ_16BIT; in adau1977_hw_params()
325 ctrl0 |= ADAU1977_SAI_CTRL0_FMT_RJ_24BIT; in adau1977_hw_params()
367 ctrl0_mask, ctrl0); in adau1977_hw_params()
499 unsigned int ctrl0, ctrl1, drv; in adau1977_set_tdm_slot() local
549 ctrl0 = ADAU1977_SAI_CTRL0_SAI_TDM_2; in adau1977_set_tdm_slot()
552 ctrl0 = ADAU1977_SAI_CTRL0_SAI_TDM_4; in adau1977_set_tdm_slot()
555 ctrl0 = ADAU1977_SAI_CTRL0_SAI_TDM_8; in adau1977_set_tdm_slot()
558 ctrl0 = ADAU1977_SAI_CTRL0_SAI_TDM_16; in adau1977_set_tdm_slot()
[all …]
Dadau17x1.c567 unsigned int ctrl0, ctrl1; in adau17x1_set_dai_fmt() local
573 ctrl0 = ADAU17X1_SERIAL_PORT0_MASTER; in adau17x1_set_dai_fmt()
577 ctrl0 = 0; in adau17x1_set_dai_fmt()
596 ctrl0 |= ADAU17X1_SERIAL_PORT0_PULSE_MODE; in adau17x1_set_dai_fmt()
601 ctrl0 |= ADAU17X1_SERIAL_PORT0_PULSE_MODE; in adau17x1_set_dai_fmt()
612 ctrl0 |= ADAU17X1_SERIAL_PORT0_BCLK_POL; in adau17x1_set_dai_fmt()
618 ctrl0 |= ADAU17X1_SERIAL_PORT0_BCLK_POL; in adau17x1_set_dai_fmt()
626 ctrl0 |= ADAU17X1_SERIAL_PORT0_LRCLK_POL; in adau17x1_set_dai_fmt()
635 ctrl0); in adau17x1_set_dai_fmt()
/linux-5.19.10/drivers/pinctrl/intel/
Dpinctrl-cherryview.c648 u32 ctrl0, ctrl1; in chv_pin_dbg_show() local
653 ctrl0 = chv_readl(pctrl, offset, CHV_PADCTRL0); in chv_pin_dbg_show()
659 if (ctrl0 & CHV_PADCTRL0_GPIOEN) { in chv_pin_dbg_show()
664 mode = ctrl0 & CHV_PADCTRL0_PMODE_MASK; in chv_pin_dbg_show()
670 seq_printf(s, "0x%08x 0x%08x", ctrl0, ctrl1); in chv_pin_dbg_show()
868 u32 ctrl0; in chv_gpio_set_direction() local
872 ctrl0 = chv_readl(pctrl, offset, CHV_PADCTRL0) & ~CHV_PADCTRL0_GPIOCFG_MASK; in chv_gpio_set_direction()
874 ctrl0 |= CHV_PADCTRL0_GPIOCFG_GPI << CHV_PADCTRL0_GPIOCFG_SHIFT; in chv_gpio_set_direction()
876 ctrl0 |= CHV_PADCTRL0_GPIOCFG_GPO << CHV_PADCTRL0_GPIOCFG_SHIFT; in chv_gpio_set_direction()
877 chv_writel(pctrl, offset, CHV_PADCTRL0, ctrl0); in chv_gpio_set_direction()
[all …]
/linux-5.19.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 …]
/linux-5.19.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()
611 if (!(cc770_read_reg(priv, msgobj[mo].ctrl0) & in cc770_rx_interrupt()
629 cc770_write_reg(priv, msgobj[mo].ctrl0, in cc770_rx_interrupt()
[all …]
Dcc770.h14 u8 ctrl0; member
/linux-5.19.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()
/linux-5.19.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 …]
/linux-5.19.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()
/linux-5.19.10/drivers/iio/proximity/
Dsx9310.c776 unsigned int ctrl0; in sx9310_init_compensation() local
778 ret = regmap_read(data->regmap, SX9310_REG_PROX_CTRL0, &ctrl0); in sx9310_init_compensation()
784 ctrl0 | SX9310_REG_PROX_CTRL0_SENSOREN_MASK); in sx9310_init_compensation()
794 regmap_write(data->regmap, SX9310_REG_PROX_CTRL0, ctrl0); in sx9310_init_compensation()
971 u8 ctrl0; in sx9310_suspend() local
982 ctrl0 = data->suspend_ctrl & ~SX9310_REG_PROX_CTRL0_SENSOREN_MASK; in sx9310_suspend()
983 ret = regmap_write(data->regmap, SX9310_REG_PROX_CTRL0, ctrl0); in sx9310_suspend()
/linux-5.19.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
/linux-5.19.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.c468 u32 ctrl0, qidx; in copy_cpltx_pktxt() local
484 ctrl0 = TXPKT_OPCODE_V(CPL_TX_PKT_XT) | TXPKT_INTF_V(pi->tx_chan) | in copy_cpltx_pktxt()
491 cpl->ctrl0 = htonl(ctrl0); in copy_cpltx_pktxt()
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c1506 u32 wr_mid, ctrl0, op, sgl_off = 0; in cxgb4_eth_xmit() local
1708 ctrl0 = TXPKT_OPCODE_V(CPL_TX_PKT_XT) | TXPKT_INTF_V(pi->tx_chan) | in cxgb4_eth_xmit()
1711 ctrl0 |= TXPKT_TSTAMP_F; in cxgb4_eth_xmit()
1714 ctrl0 |= TXPKT_OVLAN_IDX_V(q->dcb_prio); in cxgb4_eth_xmit()
1716 ctrl0 |= TXPKT_T5_OVLAN_IDX_V(q->dcb_prio); in cxgb4_eth_xmit()
1718 cpl->ctrl0 = htonl(ctrl0); in cxgb4_eth_xmit()
2011 cpl->ctrl0 = cpu_to_be32(TXPKT_OPCODE_V(CPL_TX_PKT_XT) | in cxgb4_vf_eth_xmit()
2335 cpl->ctrl0 = cpu_to_be32(TXPKT_OPCODE_V(CPL_TX_PKT_XT) | in ethofld_hard_xmit()
2673 u32 ctrl0, ndesc, flits; in cxgb4_selftest_lb_pkt() local
2708 ctrl0 = TXPKT_OPCODE_V(CPL_TX_PKT_XT) | TXPKT_PF_V(adap->pf) | in cxgb4_selftest_lb_pkt()
[all …]
/linux-5.19.10/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.h1025 u32 ctrl0; member
1057 u32 ctrl0; member
/linux-5.19.10/drivers/gpu/drm/msm/adreno/
Da6xx_gpu_state.c212 static int vbif_debugbus_read(struct msm_gpu *gpu, u32 ctrl0, u32 ctrl1, in vbif_debugbus_read() argument
217 gpu_write(gpu, ctrl0, reg); in vbif_debugbus_read()
/linux-5.19.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.c1046 cpl->ctrl0 = htonl(TXPKT_OPCODE_V(CPL_TX_PKT) | TXPKT_INTF_V(tx_chan) | in chcr_ktls_write_tcp_options()
1630 cpl->ctrl0 = htonl(TXPKT_OPCODE_V(CPL_TX_PKT) | in chcr_ktls_tunnel_pkt()

12