Home
last modified time | relevance | path

Searched refs:physical (Results 1 – 25 of 248) sorted by relevance

12345678910

/external/libppp/src/
Dphysical.h26 struct physical;
63 int (*awaitcarrier)(struct physical *);
64 int (*removefromset)(struct physical *, fd_set *, fd_set *, fd_set *);
65 int (*raw)(struct physical *);
66 void (*offline)(struct physical *);
67 void (*cooked)(struct physical *);
68 void (*setasyncparams)(struct physical *, u_int32_t, u_int32_t);
69 void (*stoptimer)(struct physical *);
70 void (*destroy)(struct physical *);
71 ssize_t (*read)(struct physical *, void *, size_t);
[all …]
Ddatalink.c117 if (dl->physical->type == PHYS_DEDICATED && !dl->bundle->CleaningUp && in datalink_HangupDone()
118 dl->physical->fd != -1) { in datalink_HangupDone()
125 physical_Close(dl->physical); in datalink_HangupDone()
140 if (!physical_SetMode(dl->physical, PHYS_BACKGROUND)) in datalink_HangupDone()
153 (dl->physical->type == PHYS_DIRECT) || in datalink_HangupDone()
155 !(dl->physical->type & (PHYS_DDIAL|PHYS_DEDICATED)))) { in datalink_HangupDone()
162 !(dl->physical->type & (PHYS_DIRECT|PHYS_BACKGROUND|PHYS_FOREGROUND))) in datalink_HangupDone()
219 } else if (!physical_Raw(dl->physical)) { in datalink_LoginDone()
227 physical_StopDeviceTimer(dl->physical); in datalink_LoginDone()
228 if (dl->physical->type == PHYS_DEDICATED) in datalink_LoginDone()
[all …]
Dlqr.c165 struct physical *p = link2physical(lcp->fsm.link); in SendLqrReport()
203 struct physical *p = link2physical(l); in lqr_Input()
269 struct physical *physical = link2physical(lcp->fsm.link); in lqr_Setup() local
272 physical->hdlc.lqm.lqr.resent = 0; in lqr_Setup()
273 physical->hdlc.lqm.echo.seq_sent = 0; in lqr_Setup()
274 physical->hdlc.lqm.echo.seq_recv = 0; in lqr_Setup()
275 memset(&physical->hdlc.lqm.lqr.peer, '\0', in lqr_Setup()
276 sizeof physical->hdlc.lqm.lqr.peer); in lqr_Setup()
278 physical->hdlc.lqm.method = lcp->cfg.echo ? LQM_ECHO : 0; in lqr_Setup()
280 physical->hdlc.lqm.method |= LQM_LQR; in lqr_Setup()
[all …]
Dpap.c85 struct bundle *bundle = authp->physical->dl->bundle; in pap_Req()
109 link_PushPacket(&authp->physical->link, bp, bundle, in pap_Req()
110 LINK_QUEUES(&authp->physical->link) - 1, PROTO_PAP); in pap_Req()
138 link_PushPacket(&authp->physical->link, bp, authp->physical->dl->bundle, in SendPapCode()
139 LINK_QUEUES(&authp->physical->link) - 1, PROTO_PAP); in SendPapCode()
145 struct bundle *bundle = authp->physical->dl->bundle; in pap_Success()
147 datalink_GotAuthname(authp->physical->dl, authp->in.name); in pap_Success()
154 authp->physical->link.lcp.auth_ineed = 0; in pap_Success()
156 physical_Login(authp->physical, authp->in.name); in pap_Success()
158 if (authp->physical->link.lcp.auth_iwait == 0) in pap_Success()
[all …]
Dphysical.c124 struct device *(*create)(struct physical *);
125 struct device *(*iov2device)(int, struct physical *, struct iovec *,
166 physical_SetDescriptor(struct physical *p) in physical_SetDescriptor()
175 struct physical *
178 struct physical *p; in physical_Create()
180 p = (struct physical *)malloc(sizeof(struct physical)); in physical_Create()
257 physical_SetParity(struct physical *p, const char *str) in physical_SetParity()
278 physical_GetSpeed(struct physical *p) in physical_GetSpeed()
287 physical_SetSpeed(struct physical *p, unsigned speed) in physical_SetSpeed()
298 physical_Raw(struct physical *p) in physical_Raw()
[all …]
Dchap.c100 ChapOutput(struct physical *physical, u_int code, u_int id, in ChapOutput() argument
120 link_PushPacket(&physical->link, bp, physical->dl->bundle, in ChapOutput()
121 LINK_QUEUES(&physical->link) - 1, PROTO_CHAP); in ChapOutput()
320 chap->auth.physical->dl->bundle, 0, pid); in chap_StartChild()
383 ChapOutput(chap->auth.physical, CHAP_RESPONSE, chap->auth.id, in chap_Respond()
391 ChapOutput(chap->auth.physical, CHAP_FAILURE, chap->auth.id, in chap_Respond()
454 int lanman = chap->auth.physical->link.lcp.his_authtype == 0x80 && in chap_Read()
456 IsAccepted(chap->auth.physical->link.lcp.cfg.chap80lm)) || in chap_Read()
457 !IsAccepted(chap->auth.physical->link.lcp.cfg.chap80nt)); in chap_Read()
469 , chap->auth.physical->link.lcp.his_authtype, lanman in chap_Read()
[all …]
Di4b.c102 struct physical *p = data; in i4b_Timeout()
157 i4b_StartTimer(struct physical *p) in i4b_StartTimer()
172 i4b_AwaitCarrier(struct physical *p) in i4b_AwaitCarrier()
188 i4b_Raw(struct physical *p) in i4b_Raw()
203 i4b_Offline(struct physical *p) in i4b_Offline()
219 i4b_Cooked(struct physical *p) in i4b_Cooked()
230 i4b_StopTimer(struct physical *p) in i4b_StopTimer()
238 i4b_Free(struct physical *p) in i4b_Free()
247 i4b_Speed(struct physical *p) in i4b_Speed()
260 i4b_OpenInfo(struct physical *p) in i4b_OpenInfo()
[all …]
Dcbcp.h30 struct physical;
48 struct physical *p; /* On this physical link */
61 extern void cbcp_Init(struct cbcp *, struct physical *);
65 extern void cbcp_ReceiveTerminateReq(struct physical *);
Dchat.h36 struct physical;
40 struct physical *physical; member
79 extern void chat_Init(struct chat *, struct physical *);
Dauth.h31 struct physical;
49 struct physical *physical; member
59 extern void auth_Init(struct authinfo *, struct physical *,
Dtcp.h29 struct physical;
31 extern struct device *tcp_Create(struct physical *);
32 extern struct device *tcp_iov2device(int, struct physical *,
Dudp.h29 struct physical;
32 extern struct device *udp_Create(struct physical *);
33 extern struct device *udp_iov2device(int, struct physical *,
Dexec.h29 struct physical;
32 extern struct device *exec_Create(struct physical *);
33 extern struct device *exec_iov2device(int, struct physical *,
Datm.h29 struct physical;
32 extern struct device *atm_Create(struct physical *);
33 extern struct device *atm_iov2device(int, struct physical *,
Di4b.h29 struct physical;
34 extern struct device *i4b_Create(struct physical *);
35 extern struct device *i4b_iov2device(int, struct physical *,
Dtty.h29 struct physical;
34 extern struct device *tty_Create(struct physical *);
35 extern struct device *tty_iov2device(int, struct physical *,
Dnetgraph.h29 struct physical;
34 extern struct device *ng_Create(struct physical *);
35 extern struct device *ng_iov2device(int, struct physical *, struct iovec *,
Dether.h29 struct physical;
34 extern struct device *ether_Create(struct physical *);
35 extern struct device *ether_iov2device(int, struct physical *, struct iovec *,
Dtty.c119 struct physical *p = data; in tty_Timeout()
181 tty_StartTimer(struct physical *p) in tty_StartTimer()
196 tty_AwaitCarrier(struct physical *p) in tty_AwaitCarrier()
227 tty_SetAsyncParams(struct physical *p, u_int32_t mymap, u_int32_t hismap) in tty_SetAsyncParams()
253 LoadLineDiscipline(struct physical *p) in LoadLineDiscipline()
382 UnloadLineDiscipline(struct physical *p) in UnloadLineDiscipline()
407 tty_Write(struct physical *p, const void *v, size_t n) in tty_Write()
418 tty_Read(struct physical *p, void *v, size_t n) in tty_Read()
432 tty_Raw(struct physical *p) in tty_Raw()
474 tty_Offline(struct physical *p) in tty_Offline()
[all …]
Dchat.c83 static void ExecStr(struct physical *, char *, char *, int);
264 ExecStr(c->physical, c->exp + 3, c->exp + 3, sizeof c->exp - 3); in chat_UpdateSet()
319 return physical_doUpdateSet(&c->physical->desc, r, NULL, e, n, 1); in chat_UpdateSet()
321 return physical_doUpdateSet(&c->physical->desc, NULL, w, e, n, 1); in chat_UpdateSet()
328 return c->argptr && physical_IsSet(&c->physical->desc, fdset); in chat_IsSet()
392 in = physical_Read(c->physical, c->bufend, in); in chat_Read()
509 if (physical_IsSync(c->physical)) { in chat_Write()
520 wrote = physical_Write(c->physical, c->argptr, c->arglen); in chat_Write()
527 if (physical_IsSync(c->physical)) { in chat_Write()
531 } else if (wrote < 2 && physical_IsSync(c->physical)) { in chat_Write()
[all …]
Datm.c78 atm_Sendto(struct physical *p, const void *v, size_t n) in atm_Sendto()
89 atm_Recvfrom(struct physical *p, void *v, size_t n) in atm_Recvfrom()
100 atm_Free(struct physical *p) in atm_Free()
144 atm_iov2device(int type, struct physical *p, struct iovec *iov, int *niov, in atm_iov2device()
168 atm_CreateDevice(struct physical *p, const char *iface, unsigned vpi, in atm_CreateDevice()
208 atm_Create(struct physical *p) in atm_Create()
Dcommand.c263 Concatinate(arg->cx->physical->link.lcp.cfg.ident, in IdentCommand()
264 sizeof arg->cx->physical->link.lcp.cfg.ident, in IdentCommand()
276 return lcp_SendIdentification(&arg->cx->physical->link.lcp) ? 0 : 1; in SendIdentification()
395 if ((arg->cx && !(arg->cx->physical->type & (PHYS_INTERACTIVE|PHYS_AUTO))) in DialCommand()
910 if (arg->cx->physical->async.cfg.EscMap[32]) { in ShowEscape()
915 if (arg->cx->physical->async.cfg.EscMap[code]) in ShowEscape()
917 if (arg->cx->physical->async.cfg.EscMap[code] & (1 << bit)) { in ShowEscape()
937 if (!arg->cx->physical->link.lcp.fsm.StoppedTimer.load) in ShowStopped()
941 arg->cx->physical->link.lcp.fsm.StoppedTimer.load / SECTICKS); in ShowStopped()
944 if (!arg->cx->physical->link.ccp.fsm.StoppedTimer.load) in ShowStopped()
[all …]
Dlqr.h64 struct physical;
77 extern void lqr_Stop(struct physical *, int);
78 extern void lqr_StopTimer(struct physical *);
Dether.c120 ether_Write(struct physical *p, const void *v, size_t n) in ether_Write()
128 ether_Read(struct physical *p, void *v, size_t n) in ether_Read()
136 ether_RemoveFromSet(struct physical *p, fd_set *r, fd_set *w, fd_set *e) in ether_RemoveFromSet()
158 ether_Free(struct physical *p) in ether_Free()
169 ether_OpenInfo(struct physical *p) in ether_OpenInfo()
184 ether_Slot(struct physical *p) in ether_Slot()
312 ether_AwaitCarrier(struct physical *p) in ether_AwaitCarrier()
346 ether_iov2device(int type, struct physical *p, struct iovec *iov, int *niov, in ether_iov2device()
378 struct physical *p = descriptor2physical(d); in ether_UpdateSet()
397 struct physical *p = descriptor2physical(d); in ether_IsSet()
[all …]
/external/qemu/target-mips/
Dhelper.c38 int no_mmu_map_address (CPUState *env, target_phys_addr_t *physical, int *prot, in no_mmu_map_address() argument
41 *physical = address; in no_mmu_map_address()
47 int fixed_mmu_map_address (CPUState *env, target_phys_addr_t *physical, int *prot, in fixed_mmu_map_address() argument
52 *physical = address + 0x40000000UL; in fixed_mmu_map_address()
54 *physical = address; in fixed_mmu_map_address()
56 *physical = address & 0x1FFFFFFF; in fixed_mmu_map_address()
58 *physical = address; in fixed_mmu_map_address()
65 int r4k_map_address (CPUState *env, target_phys_addr_t *physical, int *prot, in r4k_map_address() argument
95 *physical = tlb->PFN[n] | (address & (mask >> 1)); in r4k_map_address()
108 static int get_physical_address (CPUState *env, target_phys_addr_t *physical, in get_physical_address() argument
[all …]

12345678910