Lines Matching refs:delay
510 static int ds_set_pullup(struct ds_device *dev, int delay)
513 u8 del = 1 + (u8)(delay >> 4);
514 /* Just storing delay would not get the trunication and roundup. */
517 /* Enable spu_bit if a delay is set. */
518 dev->spu_bit = delay ? COMM_SPU : 0;
519 /* If delay is zero, it has already been disabled, if the time is
522 * rather than del or delay which can have a different value.
524 if (delay == 0 || ms == dev->spu_sleep)
942 static u8 ds9490r_set_pullup(void *data, int delay)
946 if (ds_set_pullup(dev, delay))