Lines Matching refs:nsp32_prom_set
250 static void nsp32_prom_set (nsp32_hw_data *, int, int);
3184 static void nsp32_prom_set(nsp32_hw_data *data, int bit, int val) in nsp32_prom_set() function
3229 nsp32_prom_set(data, SCL, 1); in nsp32_prom_start()
3230 nsp32_prom_set(data, SDA, 1); in nsp32_prom_start()
3231 nsp32_prom_set(data, ENA, 1); /* output mode */ in nsp32_prom_start()
3232 nsp32_prom_set(data, SDA, 0); /* keeping SCL=1 and transiting in nsp32_prom_start()
3234 nsp32_prom_set(data, SCL, 0); in nsp32_prom_start()
3240 nsp32_prom_set(data, SCL, 1); in nsp32_prom_stop()
3241 nsp32_prom_set(data, SDA, 0); in nsp32_prom_stop()
3242 nsp32_prom_set(data, ENA, 1); /* output mode */ in nsp32_prom_stop()
3243 nsp32_prom_set(data, SDA, 1); in nsp32_prom_stop()
3244 nsp32_prom_set(data, SCL, 0); in nsp32_prom_stop()
3250 nsp32_prom_set(data, SDA, val); in nsp32_prom_write_bit()
3251 nsp32_prom_set(data, SCL, 1 ); in nsp32_prom_write_bit()
3252 nsp32_prom_set(data, SCL, 0 ); in nsp32_prom_write_bit()
3260 nsp32_prom_set(data, ENA, 0); /* input mode */ in nsp32_prom_read_bit()
3261 nsp32_prom_set(data, SCL, 1); in nsp32_prom_read_bit()
3265 nsp32_prom_set(data, SCL, 0); in nsp32_prom_read_bit()
3266 nsp32_prom_set(data, ENA, 1); /* output mode */ in nsp32_prom_read_bit()