mcclock_mace.c | 95 static struct mcclock_mace_softc *mace0 = NULL; variable in typeref:struct:mcclock_mace_softc * 155 mace0 = sc; 230 if (mace0 == NULL) 234 a = ds1687_read(mace0, DS1687_CONTROLA); 237 ds1687_write(mace0, DS1687_CONTROLA, a | DS1687_BANK1); 240 xctl_b = ds1687_read(mace0, DS1687_BANK1_XCTRL4B); 242 ds1687_write(mace0, DS1687_BANK1_XCTRL4B, xctl_b); 244 xctl_a = ds1687_read(mace0, DS1687_BANK1_XCTRL4A); 246 ds1687_write(mace0, DS1687_BANK1_XCTRL4A, xctl_a); 250 ds1687_write(mace0, DS1687_BANK1_XCTRL4A, xctl_a | DS1687_X4A_PAB) [all...] |