Lines Matching refs:ds_send_control
200 static int ds_send_control(struct ds_device *dev, u16 value, u16 index) in ds_send_control() function
308 if (ds_send_control(dev, COMM_SET_DURATION | COMM_IM, del)) in ds_reset_device()
380 err = ds_send_control(dev, CTL_HALT_EXE_IDLE, 0);
383 err = ds_send_control(dev, CTL_RESUME_EXE, 0);
408 err = ds_send_control(dev, COMM_SET_DURATION | COMM_IM, 0);
412 err = ds_send_control(dev, COMM_SET_DURATION | COMM_IM | COMM_TYPE, 0x40);
482 err = ds_send_control(dev, COMM_1_WIRE_RESET | COMM_IM, SPEED_NORMAL); in ds_reset()
527 err = ds_send_control(dev, COMM_SET_DURATION | COMM_IM, del); in ds_set_pullup()
541 err = ds_send_control(dev, COMM_BIT_IO | COMM_IM | (bit ? COMM_D : 0), in ds_touch_bit()
565 err = ds_send_control(dev, COMM_BIT_IO | COMM_IM | COMM_ICP |
581 err = ds_send_control(dev, COMM_BYTE_IO | COMM_IM | dev->spu_bit, byte); in ds_write_byte()
604 err = ds_send_control(dev, COMM_BYTE_IO | COMM_IM, 0xff); in ds_read_byte()
631 err = ds_send_control(dev, COMM_BLOCK_IO | COMM_IM, len); in ds_read_block()
652 err = ds_send_control(dev, COMM_BLOCK_IO | COMM_IM | dev->spu_bit, len); in ds_write_block()
724 if (ds_send_control(dev, value, index) < 0) in ds9490r_search()
806 err = ds_send_control(dev, COMM_MATCH_ACCESS | COMM_IM | COMM_RST, 0x0055);
830 err = ds_send_control(dev, COMM_SET_PATH | COMM_IM | COMM_RST, 0);