Lines Matching refs:eepcr
1068 int eepcr;
1080 eepcr = EEPCR_EESA | EEPCR_EESRWA;
1081 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1082 eepcr |= EEPCR_EECS;
1083 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1089 eepcr &= ~EEPCR_EEDO;
1092 eepcr |= ((ctrl >> bit_count) & 1) << 2;
1099 eepcr |= ((addr >> bit_count) & 1) << 2;
1104 eepcr &= ~EEPCR_EESRWA;
1109 eepcr &= ~EEPCR_EESCK;
1112 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1122 eepcr |= EEPCR_EESCK;
1123 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1150 eepcr &= ~EEPCR_EECS;
1151 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1152 eepcr = 0;
1153 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1182 int eepcr;
1200 eepcr = EEPCR_EESA | EEPCR_EESRWA;
1201 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1202 eepcr |= EEPCR_EECS;
1203 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1209 eepcr &= ~EEPCR_EEDO;
1212 eepcr |= ((op >> bit_count) & 1) << 2;
1219 eepcr |= ((addr >> bit_count) & 1) << 2;
1230 eepcr |= ((data >> bit_count) & 1) << 2;
1237 eepcr &= ~EEPCR_EESCK;
1240 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1249 eepcr |= EEPCR_EESCK;
1251 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1260 eepcr &= ~EEPCR_EECS;
1261 ks8851_wrreg16(ks, KS_EEPCR, eepcr);
1262 eepcr = 0;
1263 ks8851_wrreg16(ks, KS_EEPCR, eepcr);