• Home
  • Raw
  • Download

Lines Matching refs:master

50 	mutex_lock(&sl->master->bus_mutex);  in _read_reg()
54 mutex_unlock(&sl->master->bus_mutex); in _read_reg()
61 w1_write_block(sl->master, wrbuf, 3); in _read_reg()
62 *buf = w1_read_8(sl->master); in _read_reg()
64 mutex_unlock(&sl->master->bus_mutex); in _read_reg()
154 mutex_lock(&sl->master->bus_mutex); in output_write()
164 w1_write_block(sl->master, w1_buf, 3); in output_write()
166 readBack = w1_read_8(sl->master); in output_write()
169 if (w1_reset_resume_command(sl->master)) in output_write()
181 if (w1_reset_resume_command(sl->master)) in output_write()
189 w1_write_block(sl->master, w1_buf, 3); in output_write()
191 if (w1_read_8(sl->master) == *buf) in output_write()
195 mutex_unlock(&sl->master->bus_mutex); in output_write()
202 mutex_unlock(&sl->master->bus_mutex); in output_write()
222 mutex_lock(&sl->master->bus_mutex); in activity_write()
228 w1_write_8(sl->master, W1_F29_FUNC_RESET_ACTIVITY_LATCHES); in activity_write()
229 if (w1_read_8(sl->master) == W1_F29_SUCCESS_CONFIRM_BYTE) { in activity_write()
230 mutex_unlock(&sl->master->bus_mutex); in activity_write()
233 if (w1_reset_resume_command(sl->master)) in activity_write()
238 mutex_unlock(&sl->master->bus_mutex); in activity_write()
253 mutex_lock(&sl->master->bus_mutex); in status_control_write()
264 w1_write_block(sl->master, w1_buf, 4); in status_control_write()
265 if (w1_reset_resume_command(sl->master)) in status_control_write()
272 w1_write_block(sl->master, w1_buf, 3); in status_control_write()
273 if (w1_read_8(sl->master) == *buf) { in status_control_write()
275 mutex_unlock(&sl->master->bus_mutex); in status_control_write()
280 mutex_unlock(&sl->master->bus_mutex); in status_control_write()
300 mutex_lock(&sl->master->bus_mutex); in w1_f29_disable_test_mode()
302 res = w1_reset_bus(sl->master); in w1_f29_disable_test_mode()
305 w1_write_block(sl->master, magic, ARRAY_SIZE(magic)); in w1_f29_disable_test_mode()
307 res = w1_reset_bus(sl->master); in w1_f29_disable_test_mode()
309 mutex_unlock(&sl->master->bus_mutex); in w1_f29_disable_test_mode()