Lines Matching refs:ds_device

123 struct ds_device {  struct
168 static int ds_send_control_cmd(struct ds_device *dev, u16 value, u16 index) in ds_send_control_cmd()
183 static int ds_send_control_mode(struct ds_device *dev, u16 value, u16 index) in ds_send_control_mode()
198 static int ds_send_control(struct ds_device *dev, u16 value, u16 index) in ds_send_control()
218 static void ds_dump_status(struct ds_device *dev, unsigned char *buf, int count) in ds_dump_status()
271 static int ds_recv_status(struct ds_device *dev, struct ds_status *st, in ds_recv_status()
300 static void ds_reset_device(struct ds_device *dev) in ds_reset_device()
317 static int ds_recv_data(struct ds_device *dev, unsigned char *buf, int size) in ds_recv_data()
353 static int ds_send_data(struct ds_device *dev, unsigned char *buf, int len) in ds_send_data()
370 int ds_stop_pulse(struct ds_device *dev, int limit)
396 int ds_detect(struct ds_device *dev, struct ds_status *st)
423 static int ds_wait_status(struct ds_device *dev, struct ds_status *st) in ds_wait_status()
465 static int ds_reset(struct ds_device *dev) in ds_reset()
486 static int ds_set_speed(struct ds_device *dev, int speed)
506 static int ds_set_pullup(struct ds_device *dev, int delay) in ds_set_pullup()
532 static int ds_touch_bit(struct ds_device *dev, u8 bit, u8 *tbit) in ds_touch_bit()
552 static int ds_write_bit(struct ds_device *dev, u8 bit)
572 static int ds_write_byte(struct ds_device *dev, u8 byte) in ds_write_byte()
595 static int ds_read_byte(struct ds_device *dev, u8 *byte) in ds_read_byte()
613 static int ds_read_block(struct ds_device *dev, u8 *buf, int len) in ds_read_block()
639 static int ds_write_block(struct ds_device *dev, u8 *buf, int len) in ds_write_block()
675 struct ds_device *dev = data; in ds9490r_search()
772 static int ds_match_access(struct ds_device *dev, u64 init)
792 static int ds_set_path(struct ds_device *dev, u64 init)
820 struct ds_device *dev = data; in ds9490r_touch_bit()
831 struct ds_device *dev = data;
838 struct ds_device *dev = data;
851 struct ds_device *dev = data; in ds9490r_write_byte()
858 struct ds_device *dev = data; in ds9490r_read_byte()
870 struct ds_device *dev = data; in ds9490r_write_block()
887 struct ds_device *dev = data; in ds9490r_read_block()
909 struct ds_device *dev = data; in ds9490r_reset()
921 struct ds_device *dev = data; in ds9490r_set_pullup()
929 static int ds_w1_init(struct ds_device *dev) in ds_w1_init()
967 static void ds_w1_fini(struct ds_device *dev) in ds_w1_fini()
978 struct ds_device *dev; in ds_probe()
981 dev = kzalloc(sizeof(struct ds_device), GFP_KERNEL); in ds_probe()
1057 struct ds_device *dev; in ds_disconnect()