Searched refs:mode_reg (Results 1 – 4 of 4) sorted by relevance
105 unsigned char mode_reg; in set_loopback() local107 mode_reg = GET(MDR) & ~(uPD98402_MDR_TPLP | uPD98402_MDR_ALP | in set_loopback()113 mode_reg |= uPD98402_MDR_TPLP; in set_loopback()116 mode_reg |= uPD98402_MDR_ALP; in set_loopback()125 mode_reg |= uPD98402_MDR_RPLP; in set_loopback()130 PUT(mode_reg,MDR); in set_loopback()
696 unsigned long mode_reg; in emac_adjust_to_link() local703 mode_reg = EMAC_M1_DEFAULT; in emac_adjust_to_link()714 mode_reg |= EMAC_M1_MF_100MBPS; in emac_adjust_to_link()718 mode_reg &= ~EMAC_M1_MF_100MBPS; in emac_adjust_to_link()724 mode_reg |= EMAC_M1_FDE | EMAC_M1_EIFC | EMAC_M1_IST; in emac_adjust_to_link()726 mode_reg &= ~(EMAC_M1_FDE | EMAC_M1_EIFC | EMAC_M1_ILE); in emac_adjust_to_link()736 out_be32(&emacp->em0mr1, mode_reg); in emac_adjust_to_link()
1539 unsigned char mode_reg; in nsp32_proc_info() local1569 mode_reg = nsp32_index_read1(base, CHIP_MODE); in nsp32_proc_info()1573 SPRINTF("Power Management: %s\n", (mode_reg & OPTF) ? "yes" : "no"); in nsp32_proc_info()1575 SPRINTF("OEM: %ld, %s\n", (mode_reg & (OEM0|OEM1)), nsp32_model[model]); in nsp32_proc_info()
256 int mode_reg; member444 msp_init_data[type].mode_reg); in msp3400c_setmode()