Searched refs:rp (Results 1 – 2 of 2) sorted by relevance
76 const struct iio_root_port * const rp) in iio_root_port_show() argument78 if (output && rp) in iio_root_port_show()80 rp->die, rp->pmu_idx, rp->domain, rp->bus); in iio_root_port_show()113 struct iio_root_port *rp; in iio_root_port_find_by_notation() local117 rp = list->rps[idx]; in iio_root_port_find_by_notation()118 if (rp && rp->domain == domain && rp->bus == bus) in iio_root_port_find_by_notation()119 return rp; in iio_root_port_find_by_notation()126 struct iio_root_port * const rp) in iio_root_ports_list_insert() argument130 if (list && rp) { in iio_root_ports_list_insert()131 rp->idx = list->nr_entries++; in iio_root_ports_list_insert()[all …]
263 struct addrinfo hints, *res, *rp; in usbip_net_tcp_connect() local280 for (rp = res; rp; rp = rp->ai_next) { in usbip_net_tcp_connect()281 sockfd = socket(rp->ai_family, rp->ai_socktype, in usbip_net_tcp_connect()282 rp->ai_protocol); in usbip_net_tcp_connect()291 if (connect(sockfd, rp->ai_addr, rp->ai_addrlen) == 0) in usbip_net_tcp_connect()299 if (!rp) in usbip_net_tcp_connect()