Lines Matching refs:pad_mii_id

517 	struct sja1105_cfg_pad_mii_id pad_mii_id = {0};  in sja1105pqrs_setup_rgmii_delay()  local
524 pad_mii_id.rxc_delay = SJA1105_RGMII_DELAY_PS_TO_HW(rx_delay); in sja1105pqrs_setup_rgmii_delay()
526 pad_mii_id.txc_delay = SJA1105_RGMII_DELAY_PS_TO_HW(tx_delay); in sja1105pqrs_setup_rgmii_delay()
529 pad_mii_id.rxc_bypass = 1; in sja1105pqrs_setup_rgmii_delay()
530 pad_mii_id.rxc_pd = 1; in sja1105pqrs_setup_rgmii_delay()
531 pad_mii_id.txc_bypass = 1; in sja1105pqrs_setup_rgmii_delay()
532 pad_mii_id.txc_pd = 1; in sja1105pqrs_setup_rgmii_delay()
533 sja1105_cfg_pad_mii_id_packing(packed_buf, &pad_mii_id, PACK); in sja1105pqrs_setup_rgmii_delay()
535 rc = sja1105_xfer_buf(priv, SPI_WRITE, regs->pad_mii_id[port], in sja1105pqrs_setup_rgmii_delay()
542 pad_mii_id.rxc_bypass = 0; in sja1105pqrs_setup_rgmii_delay()
543 pad_mii_id.rxc_pd = 0; in sja1105pqrs_setup_rgmii_delay()
546 pad_mii_id.txc_bypass = 0; in sja1105pqrs_setup_rgmii_delay()
547 pad_mii_id.txc_pd = 0; in sja1105pqrs_setup_rgmii_delay()
549 sja1105_cfg_pad_mii_id_packing(packed_buf, &pad_mii_id, PACK); in sja1105pqrs_setup_rgmii_delay()
551 return sja1105_xfer_buf(priv, SPI_WRITE, regs->pad_mii_id[port], in sja1105pqrs_setup_rgmii_delay()
559 struct sja1105_cfg_pad_mii_id pad_mii_id = {0}; in sja1110_setup_rgmii_delay() local
564 pad_mii_id.rxc_pd = 1; in sja1110_setup_rgmii_delay()
565 pad_mii_id.txc_pd = 1; in sja1110_setup_rgmii_delay()
568 pad_mii_id.rxc_delay = SJA1105_RGMII_DELAY_PS_TO_HW(rx_delay); in sja1110_setup_rgmii_delay()
570 pad_mii_id.rxc_bypass = 1; in sja1110_setup_rgmii_delay()
571 pad_mii_id.rxc_pd = 0; in sja1110_setup_rgmii_delay()
575 pad_mii_id.txc_delay = SJA1105_RGMII_DELAY_PS_TO_HW(tx_delay); in sja1110_setup_rgmii_delay()
576 pad_mii_id.txc_bypass = 1; in sja1110_setup_rgmii_delay()
577 pad_mii_id.txc_pd = 0; in sja1110_setup_rgmii_delay()
580 sja1110_cfg_pad_mii_id_packing(packed_buf, &pad_mii_id, PACK); in sja1110_setup_rgmii_delay()
582 return sja1105_xfer_buf(priv, SPI_WRITE, regs->pad_mii_id[port], in sja1110_setup_rgmii_delay()