| /openbsd-src/sys/dev/pci/drm/amd/display/dc/gpio/ |
| H A D | gpio_service.c | 58 struct gpio_service *service; in dal_gpio_service_create() local 61 service = kzalloc(sizeof(struct gpio_service), GFP_KERNEL); in dal_gpio_service_create() 63 if (!service) { in dal_gpio_service_create() 68 if (!dal_hw_translate_init(&service->translate, dce_version, in dal_gpio_service_create() 74 if (!dal_hw_factory_init(&service->factory, dce_version, in dal_gpio_service_create() 83 service->ctx = ctx; in dal_gpio_service_create() 87 service->factory.number_of_pins[index_of_id]; in dal_gpio_service_create() 91 service->busyness[index_of_id] = in dal_gpio_service_create() 95 if (!service->busyness[index_of_id]) { in dal_gpio_service_create() 101 service in dal_gpio_service_create() 127 dal_gpio_service_create_irq(struct gpio_service * service,uint32_t offset,uint32_t mask) dal_gpio_service_create_irq() argument 143 dal_gpio_service_create_generic_mux(struct gpio_service * service,uint32_t offset,uint32_t mask) dal_gpio_service_create_generic_mux() argument 177 dal_gpio_get_generic_pin_info(struct gpio_service * service,enum gpio_id id,uint32_t en) dal_gpio_get_generic_pin_info() argument 238 is_pin_busy(const struct gpio_service * service,enum gpio_id id,uint32_t en) is_pin_busy() argument 246 set_pin_busy(struct gpio_service * service,enum gpio_id id,uint32_t en) set_pin_busy() argument 254 set_pin_free(struct gpio_service * service,enum gpio_id id,uint32_t en) set_pin_free() argument 262 dal_gpio_service_lock(struct gpio_service * service,enum gpio_id id,uint32_t en) dal_gpio_service_lock() argument 276 dal_gpio_service_unlock(struct gpio_service * service,enum gpio_id id,uint32_t en) dal_gpio_service_unlock() argument 292 struct gpio_service *service = gpio->service; dal_gpio_service_open() local 353 dal_gpio_service_close(struct gpio_service * service,struct hw_gpio_pin ** ptr) dal_gpio_service_close() argument 426 dal_gpio_create_irq(struct gpio_service * service,enum gpio_id id,uint32_t en) dal_gpio_create_irq() argument 467 dal_gpio_create_ddc(struct gpio_service * service,uint32_t offset,uint32_t mask,struct gpio_ddc_hw_info * info) dal_gpio_create_ddc() argument [all...] |
| H A D | gpio_base.c | 111 return dal_gpio_service_lock(gpio->service, gpio->id, gpio->en); in dal_gpio_lock_pin() 117 return dal_gpio_service_unlock(gpio->service, gpio->id, gpio->en); in dal_gpio_unlock_pin() 160 return gpio->service->translate.funcs->id_to_offset( in dal_gpio_get_pin_info() 257 dal_gpio_service_close(gpio->service, &gpio->pin); in dal_gpio_close() 268 struct gpio_service *service, in dal_gpio_create() argument 280 gpio->service = service; in dal_gpio_create() 290 gpio->service->factory.funcs->init_ddc_data(&gpio->hw_container.ddc, service->ctx, id, en); in dal_gpio_create() 293 gpio->service->factory.funcs->init_ddc_data(&gpio->hw_container.ddc, service->ctx, id, en); in dal_gpio_create() 296 gpio->service->factory.funcs->init_generic(&gpio->hw_container.generic, service->ctx, id, en); in dal_gpio_create() 299 gpio->service->factory.funcs->init_hpd(&gpio->hw_container.hpd, service->ctx, id, en); in dal_gpio_create()
|
| H A D | gpio_service.h | 48 struct gpio_service *service, 52 struct gpio_service *service, 57 struct gpio_service *service,
|
| /openbsd-src/sys/dev/pci/drm/apple/ |
| H A D | dptxep.c | 72 int dptxport_validate_connection(struct apple_epic_service *service, u8 core, in dptxport_validate_connection() argument 75 struct dptx_port *dptx = service->cookie; in dptxport_validate_connection() 87 ret = afk_service_call(service, 0, 12, &cmd, sizeof(cmd), 40, &resp, in dptxport_validate_connection() 100 int dptxport_connect(struct apple_epic_service *service, u8 core, u8 atc, in dptxport_connect() argument 103 struct dptx_port *dptx = service->cookie; in dptxport_connect() 116 ret = afk_service_call(service, 0, 11, &cmd, sizeof(cmd), 24, &resp, in dptxport_connect() 124 dev_notice(service->ep->dcp->dev, "unexpected unk field in reply: 0x%x (0x%x)\n", in dptxport_connect() 130 int dptxport_request_display(struct apple_epic_service *service) in dptxport_request_display() argument 132 return afk_service_call(service, 0, 6, NULL, 0, 16, NULL, 0, 16); in dptxport_request_display() 135 int dptxport_release_display(struct apple_epic_service *service) in dptxport_release_display() argument [all …]
|
| H A D | afk.c | 293 struct apple_epic_service *service; in afk_recv_handle_teardown() local 297 service = afk_epic_find_service(ep, channel); in afk_recv_handle_teardown() 298 if (!service) { in afk_recv_handle_teardown() 305 spin_lock_irqsave(&service->lock, flags); in afk_recv_handle_teardown() 306 service->enabled = false; in afk_recv_handle_teardown() 307 ops = service->ops; in afk_recv_handle_teardown() 308 spin_unlock_irqrestore(&service->lock, flags); in afk_recv_handle_teardown() 311 ops->teardown(service); in afk_recv_handle_teardown() 318 struct apple_epic_service *service; in afk_recv_handle_reply() local 325 service = afk_epic_find_service(ep, channel); in afk_recv_handle_reply() [all …]
|
| H A D | systemep.c | 27 struct apple_epic_service *service; member 36 afk_send_command(work->service, SYSTEM_SET_PROPERTY, in system_log_work() 40 complete(&work->service->ep->dcp->systemep_done); in system_log_work() 44 static void system_init(struct apple_epic_service *service, const char *name, in system_init() argument 60 work->service = service; in system_init() 65 static void powerlog_init(struct apple_epic_service *service, const char *name, in powerlog_init() argument 70 static int powerlog_report(struct apple_epic_service *service, enum epic_subtype type, in powerlog_report() argument 75 struct apple_dcp *dcp = service->ep->dcp; in powerlog_report() 79 service->channel, type, data_size); in powerlog_report() 86 dev_warn(service->ep->dcp->dev, "systemep: failed to parse report: %d\n", ret); in powerlog_report()
|
| H A D | dptxep.h | 54 struct apple_epic_service *service; member 63 int dptxport_validate_connection(struct apple_epic_service *service, u8 core, 65 int dptxport_connect(struct apple_epic_service *service, u8 core, u8 atc, 67 int dptxport_request_display(struct apple_epic_service *service); 68 int dptxport_release_display(struct apple_epic_service *service); 69 int dptxport_set_hpd(struct apple_epic_service *service, bool hpd);
|
| H A D | afk.h | 57 void (*init)(struct apple_epic_service *service, const char *name, 59 int (*call)(struct apple_epic_service *service, u32 idx, 62 int (*report)(struct apple_epic_service *service, enum epic_subtype type, 64 void (*teardown)(struct apple_epic_service *service); 186 int afk_send_command(struct apple_epic_service *service, u8 type, 189 int afk_service_call(struct apple_epic_service *service, u16 group, u32 command,
|
| /openbsd-src/usr.sbin/smtpd/ |
| H A D | ruleset.c | 31 enum table_service service = K_STRING; in ruleset_match_tag() local 37 service = K_REGEX; in ruleset_match_tag() 40 ret = table_match(table, service, evp->tag); in ruleset_match_tag() 52 enum table_service service = K_NETADDR; in ruleset_match_from() local 83 service = K_REGEX; in ruleset_match_from() 86 ret = table_match(table, service, key); in ruleset_match_from() 96 enum table_service service = K_DOMAIN; in ruleset_match_to() local 102 service = K_REGEX; in ruleset_match_to() 105 ret = table_match(table, service, evp->dest.domain); in ruleset_match_to() 115 enum table_service service = K_DOMAIN; in ruleset_match_smtp_helo() local [all …]
|
| H A D | table.c | 92 table_service_from_name(const char *service) in table_service_from_name() argument 94 if (!strcmp(service, "none")) in table_service_from_name() 96 if (!strcmp(service, "alias")) in table_service_from_name() 98 if (!strcmp(service, "domain")) in table_service_from_name() 100 if (!strcmp(service, "credentials")) in table_service_from_name() 102 if (!strcmp(service, "netaddr")) in table_service_from_name() 104 if (!strcmp(service, "userinfo")) in table_service_from_name() 106 if (!strcmp(service, "source")) in table_service_from_name() 108 if (!strcmp(service, "mailaddr")) in table_service_from_name() 110 if (!strcmp(service, "addrname")) in table_service_from_name() [all …]
|
| H A D | table_proc.c | 59 table_proc_send(struct table *table, const char *type, int service, in table_proc_send() argument 69 if (service != -1) { in table_proc_send() 70 fprintf(priv->out, "|%s|%s", table_service_name(service), in table_proc_send() 128 int service, services = 0; in table_proc_open() local 161 service = table_service_from_name(s); in table_proc_open() 162 if (service == -1 || service == K_NONE) in table_proc_open() 165 services |= service; in table_proc_open()
|
| H A D | table_db.c | 59 enum table_service service; member 155 table_db_lookup(struct table *table, enum table_service service, const char *key, in table_db_lookup() argument 176 if (keycmp[i].service == service) in table_db_lookup() 196 table_db_fetch(struct table *table, enum table_service service, char **dst) in table_db_fetch() argument
|
| /openbsd-src/libexec/login_radius/ |
| H A D | login_radius.c | 90 char *class, *service, *style, *username, *password, *emsg; in main() local 99 password = class = service = NULL; in main() 112 service = optarg; in main() 113 if (strcmp(service, "login") != 0 && in main() 114 strcmp(service, "challenge") != 0 && in main() 115 strcmp(service, "response") != 0) in main() 116 errx(1, "%s not supported", service); in main() 123 if (service == NULL) in main() 124 service = LOGIN_DEFSERVICE; in main() 149 if (service && !cleanstring(service)) in main() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Socket/t/ |
| H A D | getnameinfo.t | 8 my ( $err, $host, $service ); 10 ( $err, $host, $service ) = getnameinfo( pack_sockaddr_in( 80, inet_aton( "127.0.0.1" ) ), NI_NUMER… 15 is( $service, "80", '$service is 80 for NH/NS' ); 17 ( $err, $host, $service ) = getnameinfo( pack_sockaddr_in( 80, inet_aton( "127.0.0.1" ) ), NI_NUMER… 19 is( $service, "80", '$service is 80 for NS, NIx_NOHOST' ); 21 ( $err, $host, $service ) = getnameinfo( pack_sockaddr_in( 80, inet_aton( "127.0.0.1" ) ), NI_NUMER… 23 is( $service, undef, '$service is undef for NS, NIx_NOSERV' ); 25 ( $err, $host, $service ) = getnameinfo( pack_sockaddr_in( 80, inet_aton( "127.0.0.1" ) ), NI_NUMER… 32 ( $err, $host, $service ) = getnameinfo( pack_sockaddr_in( 80, inet_aton( "127.0.0.1" ) ), NI_NUMER… 35 ok( length $service, '$service is nonzero length for NH' ); [all …]
|
| H A D | getaddrinfo.t | 11 cmp_ok( $err, "==", 0, '$err == 0 for host=127.0.0.1/service=80/socktype=STREAM' ); 12 cmp_ok( $err, "eq", "", '$err eq "" for host=127.0.0.1/service=80/socktype=STREAM' ); 34 cmp_ok( $err, "==", 0, '$err == 0 for host=127.0.0.1/service=80/socktype=STREAM' ); 45 cmp_ok( $err, "==", 0, '$err == 0 for host=127.0.0.1/service=undef' ); 59 cmp_ok( $err, "==", 0, '$err == 0 for service=80/family=AF_INET/socktype=STREAM/protocol=IPPROTO_TC… 77 cmp_ok( $err, "==", 0, '$err == 0 for host=cpan.perl.org/service=ftp/socktype=STREAM' ); 94 … '$err != 0 or @res == 0 for host=TbK4jM2M0OS.lm57DWIyu4i/service=ftp/socktype=SOCK_STREAM' ); 131 …ok( $err != 0, "\$err != 0 for host=$goodhost/service=ftp/flags=AI_NUMERICHOST/socktype=SOCK_STREA…
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Socket/ |
| H A D | Socket.pm | 353 =head2 ($err, @result) = getaddrinfo $host, $service, [$hints] 355 Given both a hostname and service name, this function attempts to resolve the 356 host name into a list of network addresses, and the service name into a 364 Given just a service name, this function attempts to resolve it to a protocol 459 symbolic service name it represents. $flags may be a bitmask of C<NI_*> 463 followed by the hostname and service name. 466 or printable as a human-readable error message string. The host and service 485 service name. 511 Indicates that the caller is not interested in the service name of the result, 512 so it does not have to be converted. C<undef> will be returned as the service [all...] |
| /openbsd-src/libexec/login_ldap/ |
| H A D | login_ldap.c | 68 char *class, *service, *username, *password; in main() local 73 service = LOGIN_DEFSERVICE; in main() 95 service = optarg; in main() 96 if (strcmp(service, "login") != 0 && in main() 97 strcmp(service, "challenge") != 0 && in main() 98 strcmp(service, "response") != 0) { in main() 99 dlog(0, "%s not supported", service); in main() 135 if (strcmp(service, "login") == 0) { in main() 137 } else if (strcmp(service, "response") == 0) { in main() 164 } else if (strcmp(service, "challenge") == 0) { in main()
|
| /openbsd-src/sys/dev/pci/drm/amd/display/include/ |
| H A D | gpio_service_interface.h | 36 struct gpio_service *service, 50 struct gpio_service *service, 55 struct gpio_service *service, 67 struct gpio_service *service, 72 struct gpio_service *service, 94 struct gpio_service *service,
|
| /openbsd-src/gnu/usr.bin/perl/dist/Net-Ping/t/ |
| H A D | 450_service.t | 59 # 127.0.0.1:$port1 - service ON 60 # 127.0.0.1:$port2 - service OFF 69 # Disable service checking 85 # Enable service checking 91 is($p->ping("127.0.0.1"), 1, 'first service is on'); 96 isnt($p->ping("127.0.0.1"), 2, 'second service is off'); 106 # Disable service checking 123 # Disable service checking 149 # Enable service checking 167 # Enable service checking [all …]
|
| /openbsd-src/usr.bin/ssh/ |
| H A D | auth2.c | 177 char *service = NULL; in input_service_request() local 180 if ((r = sshpkt_get_cstring(ssh, &service, NULL)) != 0 || in input_service_request() 187 if (strcmp(service, "ssh-userauth") == 0) { in input_service_request() 195 /* XXX all other service requests are denied */ in input_service_request() 199 (r = sshpkt_put_cstring(ssh, service)) != 0 || in input_service_request() 204 debug("bad service request %s", service); in input_service_request() 205 ssh_packet_disconnect(ssh, "bad service request %s", service); in input_service_request() 210 free(service); in input_service_request() 263 char *user = NULL, *service = NULL, *method = NULL, *style = NULL; input_userauth_request() local [all...] |
| /openbsd-src/regress/sys/kern/sosplice/loop/ |
| H A D | chain.pl | 61 my ($host, $service) = $ls->sockhost_service(1); 62 print "listen on host '$host' service '$service'\n" if $verbose; 68 PeerService => $service, 72 print "connect to host '$host' service '$service'\n" if $verbose; 92 ($host, $service) = $ls->sockhost_service(1);
|
| H A D | bcast.pl | 53 my ($host, $service) = $ls->sockhost_service(1); 54 print "listen on host '$host' service '$service'\n" if $verbose; 58 PeerService => $service, 62 print "connect to host '$host' service '$service'\n" if $verbose;
|
| H A D | loop.pl | 59 my ($host, $service) = $ls->sockhost_service(1); 60 print "listen on host '$host' service '$service'\n" if $verbose; 64 PeerService => $service, 68 print "connect to host '$host' service '$service'\n" if $verbose;
|
| /openbsd-src/gnu/usr.bin/perl/cpan/IO-Socket-IP/lib/IO/Socket/ |
| H A D | IP.pm | 88 It uses the C<getaddrinfo(3)> function to convert hostnames and service names 184 Hostname and service name for the peer to C<connect()> to. The service name 207 Hostname and service name for the local address to C<bind()> to. 235 C<getaddrinfo> may attempt to infer the type from the service name. 352 the C<AI_ADDRCONFIG> flag, no host name, and a service name of C<"0">, and 398 my $service = $type . 'Service'; 403 $arg->{$service} = $s if defined $s; 476 my $service = $arg->{LocalService}; 478 unless ( defined $host or defined $service ) { [all...] |
| /openbsd-src/usr.sbin/unbound/doc/ |
| H A D | FEATURES | 12 Recursive service. 13 Caching service. 15 Very limited authoritative service. 46 service. In fact for all DNS service so cache snooping is halted. 52 This is a very limited authoritative service. Defaults as in draft. 60 UDP and TCP service is provided downstream. 62 SSL wrapped TCP service can be used upstream and provided downstream.
|