Home
last modified time | relevance | path

Searched refs:inp (Results 1 – 25 of 33) sorted by relevance

12

/lk-master/platform/pc/
A Dinterrupts.c77 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 Ddebug.c43 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 Duart.c105 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 Dkeyboard.c26 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 Dpap.c337 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 Dchap.c366 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 Dfsm.c384 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 Dlcp.c413 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 Dipcp.c869 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 Dtcpip.c102 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 Dip.c232 if (netif == inp) { in ip_forward()
390 if ((inp->flags & NETIF_FLAG_IGMP) && (igmp_lookfor_group(inp, &current_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 Dicmp.c77 icmp_input(struct pbuf *p, struct netif *inp) in icmp_input() argument
119 if (ip_addr_isbroadcast(&current_iphdr_dest, inp)) { in icmp_input()
223 ICMP_TTL, 0, IP_PROTO_ICMP, inp); in icmp_input()
A Digmp.c389 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 Draw.c76 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(&current_iphdr_dest, inp)) in raw_input()
A Dudp.c151 udp_input(struct pbuf *p, struct netif *inp) argument
183 broadcast = ip_addr_isbroadcast(&current_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), &current_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, &current_iphdr_dest)) {
/lk-master/external/lib/lwip/include/lwip/
A Dtcpip.h92 err_t tcpip_input(struct pbuf *p, struct netif *inp);
146 } inp; member
A Draw.h89 u8_t raw_input (struct pbuf *p, struct netif *inp);
A Dudp.h155 void udp_input (struct pbuf *p, struct netif *inp);
/lk-master/external/lib/lwip/core/ipv6/
A Dip6.c157 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 Dicmp6.c47 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 Dicmp.h66 void icmp_input(struct pbuf *p, struct netif *inp);
A Dip.h107 void ip_input(struct pbuf *p, struct netif *inp);
/lk-master/external/lib/lwip/include/ipv4/lwip/
A Digmp.h95 void igmp_input(struct pbuf *p, struct netif *inp, ip_addr_t *dest);
A Dicmp.h101 void icmp_input(struct pbuf *p, struct netif *inp);
/lk-master/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/inc/
A Dadc_15xx.h296 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()

Completed in 50 milliseconds

12