Lines Matching refs:wire

479   sanei_w_init (&dev->wire, sanei_codec_bin_init);
480 dev->wire.io.fd = dev->ctl;
481 dev->wire.io.read = read;
482 dev->wire.io.write = write;
490 sanei_w_call (&dev->wire, SANE_NET_INIT,
494 if (dev->wire.status != 0)
497 strerror (dev->wire.status));
508 sanei_w_free (&dev->wire, (WireCodecFunc) sanei_w_init_reply, &reply);
531 dev->wire.version = SANE_VERSION_BUILD (version_code);
553 sanei_w_set_dir (&s->hw->wire, WIRE_FREE);
554 s->hw->wire.status = 0;
555 sanei_w_option_descriptor_array (&s->hw->wire, &s->opt);
556 if (s->hw->wire.status)
559 strerror (s->hw->wire.status));
564 sanei_w_call (&s->hw->wire, SANE_NET_GET_OPTION_DESCRIPTORS,
567 if (s->hw->wire.status)
570 strerror (s->hw->wire.status));
687 sanei_w_call (&dev->wire, SANE_NET_AUTHORIZE,
1154 sanei_w_call (&dev->wire, SANE_NET_EXIT,
1157 sanei_w_exit (&dev->wire);
1260 sanei_w_call (&dev->wire, SANE_NET_GET_DEVICES,
1267 sanei_w_free (&dev->wire,
1302 sanei_w_free (&dev->wire,
1343 sanei_w_free (&dev->wire,
1352 sanei_w_free (&dev->wire,
1547 sanei_w_call (&dev->wire, SANE_NET_OPEN,
1552 if (dev->wire.status != 0)
1555 strerror (dev->wire.status));
1568 sanei_w_free (&dev->wire, (WireCodecFunc) sanei_w_open_reply,
1571 if (dev->wire.direction != WIRE_DECODE)
1572 sanei_w_set_dir (&dev->wire, WIRE_DECODE);
1573 sanei_w_open_reply (&dev->wire, &reply);
1578 sanei_w_free (&dev->wire, (WireCodecFunc) sanei_w_open_reply, &reply);
1616 sanei_w_call (&s->hw->wire, SANE_NET_CLOSE,
1661 sanei_w_set_dir (&s->hw->wire, WIRE_FREE);
1662 s->hw->wire.status = 0;
1663 sanei_w_option_descriptor_array (&s->hw->wire, &s->opt);
1664 if (s->hw->wire.status)
1666 "(%s)\n", sane_strstatus (s->hw->wire.status));
1677 sanei_w_call (&s->hw->wire, SANE_NET_CLOSE,
1781 sanei_w_call (&s->hw->wire, SANE_NET_CONTROL_OPTION,
1793 sanei_w_free (&s->hw->wire,
1796 sanei_w_set_dir (&s->hw->wire, WIRE_DECODE);
1798 sanei_w_control_option_reply (&s->hw->wire, &reply);
1820 sanei_w_free (&s->hw->wire,
1859 sanei_w_call (&s->hw->wire, SANE_NET_GET_PARAMETERS,
1866 sanei_w_free (&s->hw->wire,
1937 sanei_w_call (&s->hw->wire, SANE_NET_START,
1961 sanei_w_free (&s->hw->wire,
1964 sanei_w_set_dir (&s->hw->wire, WIRE_DECODE);
1966 sanei_w_start_reply (&s->hw->wire, &reply);
1970 sanei_w_free (&s->hw->wire, (WireCodecFunc) sanei_w_start_reply,
2054 sanei_w_call (&s->hw->wire, SANE_NET_START,
2079 sanei_w_free (&s->hw->wire,
2082 sanei_w_set_dir (&s->hw->wire, WIRE_DECODE);
2084 sanei_w_start_reply (&s->hw->wire, &reply);
2088 sanei_w_free (&s->hw->wire, (WireCodecFunc) sanei_w_start_reply,
2349 sanei_w_call (&s->hw->wire, SANE_NET_CANCEL,