Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/neterion/vxge/
A Dvxge-config.h1113 #define VXGE_HW_NODBW_GET_TYPE(ctrl0) vxge_bVALn(ctrl0, 0, 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
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
1405 #define VXGE_HW_RING_RXD_IS_ICMP_GET(ctrl0) vxge_bVALn(ctrl0, 17, 1) argument
1409 #define VXGE_HW_RING_RXD_RTH_IT_HIT_GET(ctrl0) vxge_bVALn(ctrl0, 19, 1) argument
1413 #define VXGE_HW_RING_RXD_IS_VLAN_GET(ctrl0) vxge_bVALn(ctrl0, 24, 1) argument
1419 #define VXGE_HW_RING_RXD_L3_CKSUM_GET(ctrl0) vxge_bVALn(ctrl0, 32, 16) argument
[all …]
/linux/drivers/crypto/bcm/
A Dspu2.c343 if (ctrl0 & SPU2_HASH_FIRST) in spu2_dump_fmd_ctrl0()
348 if (ctrl0 & SPU2_CHK_TAG) in spu2_dump_fmd_ctrl0()
559 u64 ctrl0; in spu2_fmd_init() local
589 fmd->ctrl0 = cpu_to_le64(ctrl0); in spu2_fmd_init()
617 u64 ctrl0 = 0; in spu2_fmd_ctrl0_write() local
629 ctrl0 |= SPU2_HASH_FIRST; in spu2_fmd_ctrl0_write()
632 ctrl0 |= SPU2_CHK_TAG; in spu2_fmd_ctrl0_write()
637 fmd->ctrl0 = cpu_to_le64(ctrl0); in spu2_fmd_ctrl0_write()
1190 u64 ctrl0; in spu2_cipher_req_finish() local
1208 ctrl0 = le64_to_cpu(fmd->ctrl0); in spu2_cipher_req_finish()
[all …]
A Dspu2.h76 __le64 ctrl0; member
/linux/drivers/input/rmi4/
A Drmi_f01.c117 u8 ctrl0; member
413 &f01->device_control.ctrl0); in rmi_f01_probe()
426 f01->device_control.ctrl0 |= RMI_F01_CTRL0_NOSLEEP_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()
643 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_RESERVED1; in rmi_f01_suspend()
648 f01->device_control.ctrl0); in rmi_f01_suspend()
654 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_NORMAL; in rmi_f01_suspend()
670 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_NORMAL; in rmi_f01_resume()
[all …]
/linux/drivers/phy/samsung/
A 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/drivers/media/platform/vsp1/
A 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,
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()
295 ctrl0 |= VI6_SRU_CTRL0_MODE_UPSCALE; in sru_configure_stream()
299 ctrl0 |= param->ctrl0; in sru_configure_stream()
[all …]
/linux/sound/soc/codecs/
A Dadau1977.c299 unsigned int ctrl0, ctrl0_mask; in adau1977_hw_params() local
317 ctrl0 = fs; 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()
585 ADAU1977_SAI_CTRL0_SAI_MASK, ctrl0); in adau1977_set_tdm_slot()
657 ctrl0 |= ADAU1977_SAI_CTRL0_FMT_I2S; in adau1977_set_dai_fmt()
660 ctrl0 |= ADAU1977_SAI_CTRL0_FMT_LJ; in adau1977_set_dai_fmt()
670 ctrl0 |= ADAU1977_SAI_CTRL0_FMT_I2S; in adau1977_set_dai_fmt()
675 ctrl0 |= ADAU1977_SAI_CTRL0_FMT_LJ; in adau1977_set_dai_fmt()
[all …]
A Dadau17x1.c555 unsigned int ctrl0, ctrl1; in adau17x1_set_dai_fmt() local
561 ctrl0 = ADAU17X1_SERIAL_PORT0_MASTER; in adau17x1_set_dai_fmt()
565 ctrl0 = 0; in adau17x1_set_dai_fmt()
584 ctrl0 |= ADAU17X1_SERIAL_PORT0_PULSE_MODE; in adau17x1_set_dai_fmt()
589 ctrl0 |= ADAU17X1_SERIAL_PORT0_PULSE_MODE; in adau17x1_set_dai_fmt()
600 ctrl0 |= ADAU17X1_SERIAL_PORT0_BCLK_POL; in adau17x1_set_dai_fmt()
606 ctrl0 |= ADAU17X1_SERIAL_PORT0_BCLK_POL; in adau17x1_set_dai_fmt()
614 ctrl0 |= ADAU17X1_SERIAL_PORT0_LRCLK_POL; in adau17x1_set_dai_fmt()
623 ctrl0); in adau17x1_set_dai_fmt()
/linux/drivers/pinctrl/intel/
A Dpinctrl-cherryview.c646 u32 ctrl0, ctrl1; in chv_pin_dbg_show() local
657 if (ctrl0 & CHV_PADCTRL0_GPIOEN) { in chv_pin_dbg_show()
866 u32 ctrl0; in chv_gpio_set_direction() local
898 u32 ctrl0, ctrl1; in chv_config_get() local
976 u32 ctrl0, pull; in chv_config_set_pull() local
1023 ctrl0 |= pull; in chv_config_set_pull()
1163 u32 ctrl0, cfg; in chv_gpio_get() local
1181 u32 ctrl0; in chv_gpio_set() local
1188 ctrl0 |= CHV_PADCTRL0_GPIOTXSTATE; in chv_gpio_set()
1190 ctrl0 &= ~CHV_PADCTRL0_GPIOTXSTATE; in chv_gpio_set()
[all …]
/linux/drivers/mmc/host/
A 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
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
310 ssp->ssp_pio_words[0] = ctrl0; in mxs_mmc_ac()
361 u32 ctrl0, cmd0, cmd1, val; in mxs_mmc_adtc() local
[all …]
/linux/drivers/staging/ralink-gdma/
A Dralink-gdma.c274 u32 ctrl0, ctrl1; in rt305x_gdma_start_transfer() local
278 if (unlikely(ctrl0 & GDMA_REG_CTRL0_ENABLE)) { in rt305x_gdma_start_transfer()
280 chan->id, ctrl0); in rt305x_gdma_start_transfer()
289 ctrl0 = GDMA_REG_CTRL0_DST_ADDR_FIXED | in rt305x_gdma_start_transfer()
295 ctrl0 = GDMA_REG_CTRL0_SRC_ADDR_FIXED | in rt305x_gdma_start_transfer()
305 ctrl0 = GDMA_REG_CTRL0_SW_MODE | in rt305x_gdma_start_transfer()
351 u32 ctrl0, ctrl1; in rt3883_gdma_start_transfer() local
357 chan->id, ctrl0); in rt3883_gdma_start_transfer()
366 ctrl0 = GDMA_REG_CTRL0_DST_ADDR_FIXED; in rt3883_gdma_start_transfer()
372 ctrl0 = GDMA_REG_CTRL0_SRC_ADDR_FIXED; in rt3883_gdma_start_transfer()
[all …]
/linux/drivers/net/can/cc770/
A 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()
644 u8 ctrl0, ctrl1; in cc770_rtr_interrupt() local
648 ctrl0 = cc770_read_reg(priv, msgobj[mo].ctrl0); in cc770_rtr_interrupt()
[all …]
A Dcc770.h14 u8 ctrl0; member
/linux/drivers/spi/
A 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/drivers/thermal/
A 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/drivers/power/supply/
A 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/drivers/net/ethernet/huawei/hinic/
A 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()
A Dhinic_hw_dev.h264 u32 ctrl0; member
/linux/drivers/iio/proximity/
A Dsx9310.c1197 unsigned int ctrl0; in sx9310_init_compensation() local
1199 ret = regmap_read(data->regmap, SX9310_REG_PROX_CTRL0, &ctrl0); in sx9310_init_compensation()
1205 ctrl0 | SX9310_REG_PROX_CTRL0_SENSOREN_MASK); in sx9310_init_compensation()
1220 regmap_write(data->regmap, SX9310_REG_PROX_CTRL0, ctrl0); in sx9310_init_compensation()
1486 u8 ctrl0; in sx9310_suspend() local
1497 ctrl0 = data->suspend_ctrl0 & ~SX9310_REG_PROX_CTRL0_SENSOREN_MASK; in sx9310_suspend()
1498 ret = regmap_write(data->regmap, SX9310_REG_PROX_CTRL0, ctrl0); in sx9310_suspend()
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
A 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/drivers/net/ethernet/intel/ixgb/
A 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/drivers/net/ethernet/chelsio/cxgb4/
A 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()
2009 cpl->ctrl0 = cpu_to_be32(TXPKT_OPCODE_V(CPL_TX_PKT_XT) | in cxgb4_vf_eth_xmit()
2333 cpl->ctrl0 = cpu_to_be32(TXPKT_OPCODE_V(CPL_TX_PKT_XT) | in ethofld_hard_xmit()
2671 u32 ctrl0, ndesc, flits; in cxgb4_selftest_lb_pkt() local
2706 ctrl0 = TXPKT_OPCODE_V(CPL_TX_PKT_XT) | TXPKT_PF_V(adap->pf) | in cxgb4_selftest_lb_pkt()
[all …]
/linux/drivers/net/wireless/ath/ath9k/
A 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/drivers/video/fbdev/mmp/hw/
A Dmmp_ctrl.h1025 u32 ctrl0; member
1057 u32 ctrl0; member
/linux/drivers/gpu/drm/msm/adreno/
A 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()

Completed in 84 milliseconds

12