Home
last modified time | relevance | path

Searched refs:write_reg (Results 1 – 13 of 13) sorted by relevance

/netbsd-src/sys/dev/pci/igma/
H A Digmafb.c425 co->write_reg(cd, sc->sc_chip.vga_cntrl, r | VGA_CNTRL_DISABLE); in igmafb_set_mode()
431 co->write_reg(cd, PF_WINPOS(pipe), in igmafb_set_mode()
433 co->write_reg(cd, PF_WINSZ(pipe), in igmafb_set_mode()
437 co->write_reg(cd, PIPE_SRCSZ(pipe), in igmafb_set_mode()
441 co->write_reg(cd, PIPE_CONF(pipe), in igmafb_set_mode()
448 co->write_reg(cd, PRI_CTRL(pipe), r | cd->pri_cntrl); in igmafb_set_mode()
449 co->write_reg(cd, PRI_LINOFF(pipe), 0); in igmafb_set_mode()
450 co->write_reg(cd, PRI_STRIDE(pipe), sc->sc_stride); in igmafb_set_mode()
451 co->write_reg(cd, PRI_SURF(pipe), 0); in igmafb_set_mode()
452 co->write_reg(cd, PRI_TILEOFF(pipe), 0); in igmafb_set_mode()
[all …]
/netbsd-src/sys/dev/pci/igc/
H A Digc_phy.c41 phy->ops.write_reg = igc_null_write_reg; in igc_init_phy_ops_generic()
440 ret_val = phy->ops.write_reg(hw, PHY_AUTONEG_ADV, mii_autoneg_adv_reg); in igc_phy_setup_autoneg()
447 ret_val = phy->ops.write_reg(hw, PHY_1000T_CTRL, in igc_phy_setup_autoneg()
451 ret_val = phy->ops.write_reg(hw, in igc_phy_setup_autoneg()
503 ret_val = phy->ops.write_reg(hw, PHY_CONTROL, phy_ctrl); in igc_copper_link_autoneg()
763 hw->phy.ops.write_reg(hw, PHY_CONTROL, mii_reg); in igc_power_up_phy_copper()
783 hw->phy.ops.write_reg(hw, PHY_CONTROL, mii_reg); in igc_power_down_phy_copper()
874 ret_val = hw->phy.ops.write_reg(hw, IGC_MMDAC, dev_addr); in __igc_access_xmdio_reg()
878 ret_val = hw->phy.ops.write_reg(hw, IGC_MMDAAD, address); in __igc_access_xmdio_reg()
882 ret_val = hw->phy.ops.write_reg(hw, IGC_MMDAC, IGC_MMDAC_FUNC_DATA | in __igc_access_xmdio_reg()
[all …]
H A Digc_hw.h240 int (*write_reg)(struct igc_hw *, uint32_t, uint16_t); member
H A Digc_i225.c158 phy->ops.write_reg = igc_write_phy_reg_gpy; in igc_init_phy_params_i225()
/netbsd-src/sys/dev/pci/ixgbe/
H A Dixgbe_phy.c265 phy->ops.write_reg = ixgbe_write_phy_reg_generic; in ixgbe_init_phy_ops_generic()
529 hw->phy.ops.write_reg(hw, IXGBE_MDIO_PHY_XS_CONTROL, in ixgbe_reset_phy_generic()
813 hw->phy.ops.write_reg(hw, IXGBE_MII_10GBASE_T_AUTONEG_CTRL_REG, in ixgbe_setup_phy_link_generic()
842 hw->phy.ops.write_reg(hw, IXGBE_MII_AUTONEG_VENDOR_PROVISION_1_REG, in ixgbe_setup_phy_link_generic()
857 hw->phy.ops.write_reg(hw, IXGBE_MII_AUTONEG_ADVERTISE_REG, in ixgbe_setup_phy_link_generic()
869 hw->phy.ops.write_reg(hw, MDIO_PMAPMD_CTRL1,MDIO_MMD_PMAPMD, in ixgbe_setup_phy_link_generic()
878 hw->phy.ops.write_reg(hw, IXGBE_MDIO_AUTO_NEG_CONTROL, in ixgbe_setup_phy_link_generic()
891 hw->phy.ops.write_reg(hw, IXGBE_MDIO_AUTO_NEG_CONTROL, in ixgbe_setup_phy_link_generic()
1083 hw->phy.ops.write_reg(hw, IXGBE_MII_10GBASE_T_AUTONEG_CTRL_REG, in ixgbe_setup_phy_link_tnx()
1098 hw->phy.ops.write_reg(hw, IXGBE_MII_AUTONEG_XNP_TX_REG, in ixgbe_setup_phy_link_tnx()
[all …]
H A Dixgbe_x550.c611 hw->phy.ops.write_reg = NULL; in ixgbe_identify_phy_fw()
2253 status = hw->phy.ops.write_reg(hw, in ixgbe_enable_lasi_ext_t_x550em()
2272 status = hw->phy.ops.write_reg(hw, IXGBE_MDIO_GLOBAL_INT_MASK, in ixgbe_enable_lasi_ext_t_x550em()
2290 status = hw->phy.ops.write_reg(hw, IXGBE_MDIO_GLOBAL_INT_CHIP_VEN_MASK, in ixgbe_enable_lasi_ext_t_x550em()
2307 status = hw->phy.ops.write_reg(hw, IXGBE_MDIO_GLOBAL_INT_CHIP_STD_MASK, in ixgbe_enable_lasi_ext_t_x550em()
2473 hw->phy.ops.write_reg = ixgbe_write_phy_reg_x550a; in ixgbe_init_phy_ops_X550em()
2484 hw->phy.ops.write_reg = ixgbe_write_phy_reg_x550a; in ixgbe_init_phy_ops_X550em()
2518 phy->ops.write_reg = ixgbe_write_phy_reg_x550em; in ixgbe_init_phy_ops_X550em()
2523 phy->ops.write_reg = ixgbe_write_phy_reg_x550em; in ixgbe_init_phy_ops_X550em()
2534 phy->ops.write_reg = ixgbe_write_phy_reg_x550em; in ixgbe_init_phy_ops_X550em()
[all …]
H A Dixgbe_api.c559 return ixgbe_call_func(hw, hw->phy.ops.write_reg, (hw, reg_addr, in ixgbe_write_phy_reg()
H A Dixgbe_type.h4135 s32 (*write_reg)(struct ixgbe_hw *, u32, u32, u16); member
H A Dixgbe_common.c378 hw->phy.ops.write_reg(hw, IXGBE_MDIO_AUTO_NEG_ADVT, in ixgbe_setup_fc_generic()
/netbsd-src/sys/dev/usb/
H A Duchcom.c446 write_reg(struct uchcom_softc *sc, in write_reg() function
509 return write_reg(sc, UCHCOM_REG_STAT1, val, UCHCOM_REG_STAT1, val); in set_dtrrts_10()
608 err = write_reg(sc, UCHCOM_REG_BREAK, brk, UCHCOM_REG_LCR, lcr); in set_break()
684 if ((err = write_reg(sc, in set_dte_rate()
736 err = write_reg(sc, UCHCOM_REG_LCR, lcr, UCHCOM_REG_LCR2, lcr2); in set_line_control()
/netbsd-src/sys/dev/pci/
H A Digmavar.h29 void (*write_reg)(const struct igma_chip *, int, u_int32_t); member
H A Digma.c539 co->write_reg(cd, ii->ii_reg, reg); in igma_i2cbb_set_bits()
/netbsd-src/sys/dev/podulebus/
H A Desp_podule.c100 void (*write_reg)(struct ncr53c9x_softc *, int, uint8_t); member
141 esc->sc_esp_glue.gl_write_reg = devices[i].write_reg; in esp_podule_attach()