Lines Matching refs:sci

684 ds2482_generic_action(struct ds2482_instance *sci, uint8_t cmd, uint8_t cmdarg,  in ds2482_generic_action()  argument
687 struct ds2482ow_sc *sc = sci->sc; in ds2482_generic_action()
693 rv = ds2482_set_channel(sc, sci->sc_i_channel); in ds2482_generic_action()
706 struct ds2482_instance *sci = arg; in ds2482_ow_reset() local
707 struct ds2482ow_sc *sc = sci->sc; in ds2482_ow_reset()
710 rv = ds2482_generic_action(sci, DS2482_ONEWIRE_RESET, 0, NULL, 0); in ds2482_ow_reset()
713 device_xname(sc->sc_dev), sci->sc_i_channel, rv, rv)); in ds2482_ow_reset()
721 struct ds2482_instance *sci = arg; in ds2482_ow_read_bit() local
722 struct ds2482ow_sc *sc = sci->sc; in ds2482_ow_read_bit()
726 rv = ds2482_generic_action(sci, DS2482_ONEWIRE_SINGLE_BIT_READ, 0, in ds2482_ow_read_bit()
731 device_xname(sc->sc_dev), sci->sc_i_channel, rv, rv, buf, buf)); in ds2482_ow_read_bit()
739 struct ds2482_instance *sci = arg; in ds2482_ow_write_bit() local
740 struct ds2482ow_sc *sc = sci->sc; in ds2482_ow_write_bit()
743 rv = ds2482_generic_action(sci, DS2482_ONEWIRE_SINGLE_BIT_WRITE, in ds2482_ow_write_bit()
748 device_xname(sc->sc_dev), sci->sc_i_channel, in ds2482_ow_write_bit()
755 struct ds2482_instance *sci = arg; in ds2482_ow_read_byte() local
757 struct ds2482ow_sc *sc = sci->sc; in ds2482_ow_read_byte()
760 rv = ds2482_generic_action(sci, DS2482_ONEWIRE_READ_BYTE, 0, &buf, 1); in ds2482_ow_read_byte()
764 device_xname(sc->sc_dev), sci->sc_i_channel, rv, rv, buf, buf)); in ds2482_ow_read_byte()
772 struct ds2482_instance *sci = arg; in ds2482_ow_write_byte() local
773 struct ds2482ow_sc *sc = sci->sc; in ds2482_ow_write_byte()
776 rv = ds2482_generic_action(sci, DS2482_ONEWIRE_WRITE_BYTE, in ds2482_ow_write_byte()
781 device_xname(sc->sc_dev), sci->sc_i_channel, in ds2482_ow_write_byte()
788 struct ds2482_instance *sci = arg; in ds2482_ow_triplet() local
790 struct ds2482ow_sc *sc = sci->sc; in ds2482_ow_triplet()
793 rv = ds2482_generic_action(sci, DS2482_ONEWIRE_TRIPLET, (uint8_t)dir, in ds2482_ow_triplet()
798 device_xname(sc->sc_dev), sci->sc_i_channel, rv, rv, in ds2482_ow_triplet()