Lines Matching refs:wusb_cc_info_t
76 static int save_cc(const wusb_cc_info_t *);
77 static int save_cc_to_list(const wusb_cc_info_t *);
78 static int save_cc_to_store(const wusb_cc_info_t *);
148 static wusb_cc_info_t *find_dev_cc(uint8_t, uint8_t *);
149 static wusb_cc_info_t *find_host_cc(uint8_t);
166 static int wusbd_do_ca(const char *, const char *, wusb_cc_info_t *, char);
363 wusb_cc_info_t *host_cc = NULL;
742 static wusb_cc_info_t *
758 static wusb_cc_info_t *
830 ca_set_host(int fd, wusb_cc_info_t *info)
910 ca_connect_cc(int fd, wusb_cc_info_t *newinfo,
934 ca_create_cc(wusb_cc_info_t *newinfo, wusb_cc_info_t *host_cc)
948 ca_add_cc(wusb_cc_info_t *newinfo, const char *filename)
992 ca_save_cc(wusb_cc_info_t *newinfo, wusb_cc_info_t *hostinfo)
1012 wusb_cc_info_t *host_cc, char onetime)
1016 wusb_cc_info_t newinfo;
1018 wusb_cc_info_t *old_cc = NULL;
1410 if (write(ccfd, &(list->info), sizeof (wusb_cc_info_t)) !=
1411 sizeof (wusb_cc_info_t)) {
1453 save_cc(const wusb_cc_info_t *ccinfo)
1475 save_cc_to_list(const wusb_cc_info_t *ccinfo)
1485 (void) memcpy(&(newlist->info), ccinfo, sizeof (wusb_cc_info_t));
1496 save_cc_to_store(const wusb_cc_info_t *ccinfo)
1526 if ((rval = write(ccfd, ccinfo, sizeof (wusb_cc_info_t))) !=
1527 sizeof (wusb_cc_info_t)) {
1653 while ((read(ccfd, buf, sizeof (wusb_cc_info_t))) > 0) {
1663 (void) memcpy(&(list->info), buf, sizeof (wusb_cc_info_t));
1984 wusb_cc_info_t ccinfo;
1995 bzero(&ccinfo, sizeof (wusb_cc_info_t));