/lk-master/platform/pc/ |
A D | interrupts.c | 77 irqMask[0] = inp(PIC1 + 1); in enable() 80 irqMask[0] = inp(PIC1 + 1); in enable() 82 irqMask[0] = inp(PIC1 + 1); in enable() 85 irqMask[0] = inp(PIC1 + 1); in enable() 93 irqMask[1] = inp(PIC2 + 1); in enable() 96 irqMask[1] = inp(PIC2 + 1); in enable() 98 irqMask[1] = inp(PIC2 + 1); in enable() 154 irqMask[0] = inp(PIC1 + 1); in platform_mask_irqs() 155 irqMask[1] = inp(PIC2 + 1); in platform_mask_irqs() 160 irqMask[0] = inp(PIC1 + 1); in platform_mask_irqs() [all …]
|
A D | debug.c | 43 while (inp(uart_io_port + 5) & (1<<0)) { in uart_irq_handler() 44 c = inp(uart_io_port + 0); in uart_irq_handler() 76 const uint8_t mcr = inp(uart_io_port + 4); in platform_init_debug() 81 while ((inp(uart_io_port + 5) & (1<<6)) == 0) in debug_uart_putc()
|
A D | uart.c | 105 while (inp(config->io_port + 5) & (1<<0)) { in uart_irq_handler() 106 char c = inp(config->io_port + 0); in uart_irq_handler() 129 while ((inp(config->io_port + 5) & (1<<6)) == 0) in uart_write_thread()
|
A D | keyboard.c | 26 return inp(I8042_DATA_REG); in i8042_read_data() 30 return inp(I8042_STATUS_REG); in i8042_read_status()
|
/lk-master/external/lib/lwip/netif/ppp/ |
A D | pap.c | 337 u_char *inp; in upap_input() local 345 inp = inpacket; in upap_input() 350 GETCHAR(code, inp); in upap_input() 351 GETCHAR(id, inp); in upap_input() 352 GETSHORT(len, inp); in upap_input() 424 GETCHAR(ruserlen, inp); in upap_rauthreq() 430 ruser = (char *) inp; in upap_rauthreq() 431 INCPTR(ruserlen, inp); in upap_rauthreq() 437 rpasswd = (char *) inp; in upap_rauthreq() 486 GETCHAR(msglen, inp); in upap_rauthack() [all …]
|
A D | chap.c | 366 u_char *inp; in ChapInput() local 374 inp = inpacket; in ChapInput() 379 GETCHAR(code, inp); in ChapInput() 380 GETCHAR(id, inp); in ChapInput() 381 GETSHORT(len, inp); in ChapInput() 452 rchallenge = inp; in ChapReceiveChallenge() 564 INCPTR(remmd_len, inp); in ChapReceiveResponse() 643 LWIP_UNUSED_ARG(inp); in ChapReceiveSuccess() 665 PRINTMSG(inp, len); in ChapReceiveSuccess() 681 LWIP_UNUSED_ARG(inp); in ChapReceiveFailure() [all …]
|
A D | fsm.c | 384 u_char *inp = inpacket; in fsm_input() local 397 GETCHAR(code, inp); in fsm_input() 398 GETCHAR(id, inp); in fsm_input() 399 GETSHORT(len, inp); in fsm_input() 423 fsm_rconfreq(f, id, inp, len); in fsm_input() 427 fsm_rconfack(f, id, inp, len); in fsm_input() 436 fsm_rtermreq(f, id, inp, len); in fsm_input() 444 fsm_rcoderej(f, inp, len); in fsm_input() 733 fsm_rcoderej(fsm *f, u_char *inp, int len) in fsm_rcoderej() argument 744 GETCHAR(code, inp); in fsm_rcoderej() [all …]
|
A D | lcp.c | 413 lcp_rprotrej(f, inp, len); in lcp_extcode() 421 magp = inp; in lcp_extcode() 423 fsm_sdata(f, ECHOREP, id, inp, len); in lcp_extcode() 446 lcp_rprotrej(fsm *f, u_char *inp, int len) in lcp_rprotrej() argument 457 GETSHORT(prot, inp); in lcp_rprotrej() 1255 next = inp; in lcp_reqci() 1257 rejp = inp; in lcp_reqci() 1612 *lenp = (int)(next - inp); in lcp_reqci() 1619 BCOPY(nak_buffer, inp, *lenp); in lcp_reqci() 1622 *lenp = (int)(rejp - inp); in lcp_reqci() [all …]
|
A D | ipcp.c | 869 ipcp_reqci(fsm *f, u_char *inp/* Requested CIs */,int *len/* Length of requested CIs */,int reject_… in ipcp_reqci() argument 887 u_char *ucp = inp; /* Pointer to current output char */ in ipcp_reqci() 902 next = inp; in ipcp_reqci() 1145 ucp = inp; /* Backup */ in ipcp_reqci() 1153 ucp = inp; /* Backup */ in ipcp_reqci() 1177 ucp = inp; /* reset pointer */ in ipcp_reqci() 1186 *len = (int)(ucp - inp); /* Compute output length */ in ipcp_reqci()
|
/lk-master/external/lib/lwip/api/ |
A D | tcpip.c | 102 if (msg->msg.inp.netif->flags & (NETIF_FLAG_ETHARP | NETIF_FLAG_ETHERNET)) { in tcpip_thread() 103 ethernet_input(msg->msg.inp.p, msg->msg.inp.netif); in tcpip_thread() 107 ip_input(msg->msg.inp.p, msg->msg.inp.netif); in tcpip_thread() 161 tcpip_input(struct pbuf *p, struct netif *inp) in tcpip_input() argument 165 LWIP_DEBUGF(TCPIP_DEBUG, ("tcpip_input: PACKET %p/%p\n", (void *)p, (void *)inp)); in tcpip_input() 168 if (inp->flags & (NETIF_FLAG_ETHARP | NETIF_FLAG_ETHERNET)) { in tcpip_input() 169 ret = ethernet_input(p, inp); in tcpip_input() 173 ret = ip_input(p, inp); in tcpip_input() 189 msg->msg.inp.p = p; in tcpip_input() 190 msg->msg.inp.netif = inp; in tcpip_input()
|
/lk-master/external/lib/lwip/core/ipv4/ |
A D | ip.c | 232 if (netif == inp) { in ip_forward() 390 if ((inp->flags & NETIF_FLAG_IGMP) && (igmp_lookfor_group(inp, ¤t_iphdr_dest))) { 391 netif = inp; 402 netif = inp; 439 if (netif == inp) { 463 netif = inp; 553 current_netif = inp; 558 if (raw_input(p, inp) == 0) 568 udp_input(p, inp); 574 tcp_input(p, inp); [all …]
|
A D | icmp.c | 77 icmp_input(struct pbuf *p, struct netif *inp) in icmp_input() argument 119 if (ip_addr_isbroadcast(¤t_iphdr_dest, inp)) { in icmp_input() 223 ICMP_TTL, 0, IP_PROTO_ICMP, inp); in icmp_input()
|
A D | igmp.c | 389 igmp_input(struct pbuf *p, struct netif *inp, ip_addr_t *dest) in igmp_input() argument 411 LWIP_DEBUGF(IGMP_DEBUG, (" on if %p\n", inp)); in igmp_input() 423 group = igmp_lookfor_group(inp, dest); /* use the destination IP address of incoming packet */ in igmp_input() 452 … if ((groupref->netif == inp) && (!(ip_addr_cmp(&(groupref->group_address), &allsystems)))) { in igmp_input() 467 group = igmp_lookfor_group(inp, &groupaddr); in igmp_input()
|
/lk-master/external/lib/lwip/core/ |
A D | raw.c | 76 raw_input(struct pbuf *p, struct netif *inp) in raw_input() argument 83 LWIP_UNUSED_ARG(inp); in raw_input() 98 if (ip_get_option(pcb, SOF_BROADCAST) || !ip_addr_isbroadcast(¤t_iphdr_dest, inp)) in raw_input()
|
A D | udp.c | 151 udp_input(struct pbuf *p, struct netif *inp) argument 183 broadcast = ip_addr_isbroadcast(¤t_iphdr_dest, inp); 209 if ((inp->dhcp != NULL) && (inp->dhcp->pcb != NULL)) { 213 if ((ip_addr_isany(&inp->dhcp->pcb->remote_ip) || 214 ip_addr_cmp(&(inp->dhcp->pcb->remote_ip), ¤t_iphdr_src))) { 215 pcb = inp->dhcp->pcb; 251 ip_addr_netcmp(&pcb->local_ip, ip_current_dest_addr(), &inp->netmask)))) { 255 ip_addr_netcmp(&pcb->local_ip, ip_current_dest_addr(), &inp->netmask)))) { 291 if (pcb != NULL || ip_addr_cmp(&inp->ip_addr, ¤t_iphdr_dest)) {
|
/lk-master/external/lib/lwip/include/lwip/ |
A D | tcpip.h | 92 err_t tcpip_input(struct pbuf *p, struct netif *inp); 146 } inp; member
|
A D | raw.h | 89 u8_t raw_input (struct pbuf *p, struct netif *inp);
|
A D | udp.h | 155 void udp_input (struct pbuf *p, struct netif *inp);
|
/lk-master/external/lib/lwip/core/ipv6/ |
A D | ip6.c | 157 ip_input(struct pbuf *p, struct netif *inp) { in ip_input() argument 226 udp_input(p, inp); in ip_input() 229 tcp_input(p, inp); in ip_input() 233 icmp_input(p, inp); in ip_input()
|
A D | icmp6.c | 47 icmp_input(struct pbuf *p, struct netif *inp) in icmp_input() argument 94 iphdr->hoplim, IP_PROTO_ICMP, inp); in icmp_input()
|
/lk-master/external/lib/lwip/include/ipv6/lwip/ |
A D | icmp.h | 66 void icmp_input(struct pbuf *p, struct netif *inp);
|
A D | ip.h | 107 void ip_input(struct pbuf *p, struct netif *inp);
|
/lk-master/external/lib/lwip/include/ipv4/lwip/ |
A D | igmp.h | 95 void igmp_input(struct pbuf *p, struct netif *inp, ip_addr_t *dest);
|
A D | icmp.h | 101 void icmp_input(struct pbuf *p, struct netif *inp);
|
/lk-master/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/inc/ |
A D | adc_15xx.h | 296 STATIC INLINE void Chip_ADC_SetADC0Input(LPC_ADC_T *pADC, uint32_t inp) in Chip_ADC_SetADC0Input() argument 298 pADC->INSEL = inp; in Chip_ADC_SetADC0Input()
|