Home
last modified time | relevance | path

Searched refs:port_ctrl (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/broadcom/genet/
Dbcmmii.c189 u32 port_ctrl; in bcmgenet_mii_config() local
203 port_ctrl = PORT_MODE_INT_GPHY; in bcmgenet_mii_config()
205 port_ctrl = PORT_MODE_INT_EPHY; in bcmgenet_mii_config()
216 port_ctrl = PORT_MODE_EXT_EPHY; in bcmgenet_mii_config()
228 port_ctrl = PORT_MODE_EXT_RVMII_50; in bcmgenet_mii_config()
230 port_ctrl = PORT_MODE_EXT_RVMII_25; in bcmgenet_mii_config()
241 port_ctrl = PORT_MODE_EXT_GPHY; in bcmgenet_mii_config()
247 port_ctrl = PORT_MODE_EXT_GPHY; in bcmgenet_mii_config()
252 port_ctrl = PORT_MODE_EXT_GPHY; in bcmgenet_mii_config()
259 bcmgenet_sys_writel(priv, port_ctrl, SYS_PORT_CTRL); in bcmgenet_mii_config()
/Linux-v5.10/drivers/media/pci/smipcie/
Dsmipcie-main.c19 u32 port_mux, port_ctrl, int_stat; in smi_hw_init() local
33 port_ctrl = smi_read(VIDEO_CTRL_STATUS_A); in smi_hw_init()
34 port_ctrl &= ~0x01; in smi_hw_init()
35 smi_write(VIDEO_CTRL_STATUS_A, port_ctrl); in smi_hw_init()
36 port_ctrl = smi_read(MPEG2_CTRL_A); in smi_hw_init()
37 port_ctrl &= ~0x40; in smi_hw_init()
38 port_ctrl |= 0x80; in smi_hw_init()
39 smi_write(MPEG2_CTRL_A, port_ctrl); in smi_hw_init()
41 port_ctrl = smi_read(VIDEO_CTRL_STATUS_B); in smi_hw_init()
42 port_ctrl &= ~0x01; in smi_hw_init()
[all …]
/Linux-v5.10/drivers/scsi/qla4xxx/
Dql4_dbg.c86 (uint8_t) offsetof(struct isp_reg, u2.isp4010.port_ctrl), in qla4xxx_dump_registers()
87 readw(&ha->reg->u2.isp4010.port_ctrl)); in qla4xxx_dump_registers()
109 offsetof(struct isp_reg, u2.isp4022.p0.port_ctrl), in qla4xxx_dump_registers()
110 readw(&ha->reg->u2.isp4022.p0.port_ctrl)); in qla4xxx_dump_registers()
Dql4_def.h948 &ha->reg->u2.isp4010.port_ctrl : in isp_port_ctrl()
949 &ha->reg->u2.isp4022.p0.port_ctrl); in isp_port_ctrl()
Dql4_fw.h25 __le32 port_ctrl; /* 0x58 */ member
131 __le32 port_ctrl; member
/Linux-v5.10/drivers/ata/
Dahci_brcm.c120 u32 port_ctrl, host_caps; in brcm_sata_alpm_init() local
132 for (i = 0, port_ctrl = SATA_FIRST_PORT_CTRL; in brcm_sata_alpm_init()
134 i++, port_ctrl += SATA_NEXT_PORT_CTRL_OFFSET) { in brcm_sata_alpm_init()
137 hpriv->mmio + SATA_PORT_PCTRL6(port_ctrl)); in brcm_sata_alpm_init()
/Linux-v5.10/drivers/gpu/drm/i915/display/
Dvlv_dsi.c603 i915_reg_t port_ctrl = IS_GEN9_LP(dev_priv) ? in vlv_dsi_clear_device_ready() local
624 intel_de_wait_for_clear(dev_priv, port_ctrl, in vlv_dsi_clear_device_ready()
629 val = intel_de_read(dev_priv, port_ctrl); in vlv_dsi_clear_device_ready()
630 intel_de_write(dev_priv, port_ctrl, val & ~LP_OUTPUT_HOLD); in vlv_dsi_clear_device_ready()
668 i915_reg_t port_ctrl = IS_GEN9_LP(dev_priv) ? in intel_dsi_port_enable() local
672 temp = intel_de_read(dev_priv, port_ctrl); in intel_dsi_port_enable()
692 intel_de_write(dev_priv, port_ctrl, temp | DPI_ENABLE); in intel_dsi_port_enable()
693 intel_de_posting_read(dev_priv, port_ctrl); in intel_dsi_port_enable()
705 i915_reg_t port_ctrl = IS_GEN9_LP(dev_priv) ? in intel_dsi_port_disable() local
710 temp = intel_de_read(dev_priv, port_ctrl); in intel_dsi_port_disable()
[all …]
/Linux-v5.10/drivers/net/dsa/b53/
Db53_common.c645 u8 port_ctrl; in b53_enable_cpu_port() local
651 port_ctrl = PORT_CTRL_RX_BCST_EN | in b53_enable_cpu_port()
654 b53_write8(dev, B53_CTRL_PAGE, B53_PORT_CTRL(port), port_ctrl); in b53_enable_cpu_port()