Home
last modified time | relevance | path

Searched refs:chp (Results 1 – 25 of 27) sorted by relevance

12

/trueos/contrib/gdb/gdb/mi/
HDmi-parse.c34 char *chp = args; in mi_parse_argv() local
42 while (isspace (*chp)) in mi_parse_argv()
43 chp++; in mi_parse_argv()
45 switch (*chp) in mi_parse_argv()
55 char *start = chp + 1; in mi_parse_argv()
57 chp = start; in mi_parse_argv()
59 while (*chp != '\0' && *chp != '"') in mi_parse_argv()
61 if (*chp == '\\') in mi_parse_argv()
63 chp++; in mi_parse_argv()
64 if (parse_escape (&chp) <= 0) in mi_parse_argv()
[all …]
HDmi-cmds.c201 const char *chp; in lookup_table() local
204 for (chp = command; *chp; chp++) in lookup_table()
207 index = ((index << 6) + (unsigned int) *chp) % MI_TABLE_SIZE; in lookup_table()
/trueos/sys/dev/ct/
HDct_machdep.h50 #define CT_BUS_WEIGHT(chp) \ argument
52 if ((chp)->ch_bus_weight != NULL) \
53 (chp)->ch_bus_weight((chp)); \
56 #define CT_BUS_WEIGHT(chp) argument
66 #define addr_port ((chp)->ch_offset[0])
67 #define stat_port ((chp)->ch_offset[1])
68 #define ctrl_port ((chp)->ch_offset[2])
69 #define cmd_port ((chp)->ch_offset[3])
93 ct_stat_read_1(struct ct_bus_access_handle *chp) in ct_stat_read_1() argument
97 regv = bus_space_read_1(chp->ch_iot, chp->ch_ioh, stat_port); in ct_stat_read_1()
[all …]
HDbshw_machdep.c83 struct ct_bus_access_handle *chp = &ct->sc_ch; in bshw_synch_setup() local
91 ct_cr_write_1(chp, hw->hw_sregaddr + ti->ti_id, cti->cti_syncreg); in bshw_synch_setup()
94 ct_cr_write_1(chp, hw->hw_sregaddr + ti->ti_id + 8, in bshw_synch_setup()
103 struct ct_bus_access_handle *chp = &ct->sc_ch; in bshw_bus_reset() local
115 (u_int)ct_cr_read_1(chp, 0x37)); in bshw_bus_reset()
124 ct_cr_write_1(chp, offs, 0); in bshw_bus_reset()
126 ct_cr_write_1(chp, offs + 8, 0); in bshw_bus_reset()
131 regv = ct_cr_read_1(chp, wd3s_mbank); in bshw_bus_reset()
134 ct_cr_write_1(chp, wd3s_mbank, regv); in bshw_bus_reset()
140 ct_cr_write_1(chp, wd3s_mbank, regv); in bshw_bus_reset()
[all …]
HDct.c169 struct ct_bus_access_handle *chp = &ct->sc_ch; in cthw_phase_bypass() local
171 ct_cr_write_1(chp, wd3s_cph, ph); in cthw_phase_bypass()
172 ct_cr_write_1(chp, wd3s_cmd, WD3S_SELECT_ATN_TFR); in cthw_phase_bypass()
187 cthw_chip_reset(struct ct_bus_access_handle *chp, int *chiprevp, int chipclk, in cthw_chip_reset() argument
196 ct_cr_write_1(chp, wd3s_cmd, WD3S_ABORT); in cthw_chip_reset()
198 (void) ct_stat_read_1(chp); in cthw_chip_reset()
199 (void) ct_cr_read_1(chp, wd3s_stat); in cthw_chip_reset()
230 ct_cr_write_1(chp, wd3s_oid, regv); in cthw_chip_reset()
232 ct_cr_write_1(chp, wd3s_cmd, WD3S_RESET); in cthw_chip_reset()
235 aux = ct_stat_read_1(chp); in cthw_chip_reset()
[all …]
HDct_isa.c171 struct ct_bus_access_handle *chp = &ct->sc_ch; in ct_isa_attach() local
186 bzero(chp, sizeof(*chp)); in ct_isa_attach()
187 chp->ch_iot = rman_get_bustag(ct->port_res); in ct_isa_attach()
188 chp->ch_ioh = rman_get_bushandle(ct->port_res); in ct_isa_attach()
190 chp->ch_memt = rman_get_bustag(ct->mem_res); in ct_isa_attach()
191 chp->ch_memh = rman_get_bushandle(ct->mem_res); in ct_isa_attach()
193 chp->ch_bus_weight = ct_isa_bus_access_weight; in ct_isa_attach()
206 if (ctprobesubr(chp, 0, BSHW_DEFAULT_HOSTID, in ct_isa_attach()
245 bshw_read_settings(chp, bs); in ct_isa_attach()
257 if (chp->ch_memh != NULL) in ct_isa_attach()
[all …]
/trueos/sys/dev/cxgbe/iw_cxgbe/
HDev.c42 static void post_qp_event(struct c4iw_dev *dev, struct c4iw_cq *chp, in post_qp_event() argument
72 event.device = chp->ibcq.device; in post_qp_event()
74 event.element.cq = &chp->ibcq; in post_qp_event()
80 spin_lock_irqsave(&chp->comp_handler_lock, flag); in post_qp_event()
81 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in post_qp_event()
82 spin_unlock_irqrestore(&chp->comp_handler_lock, flag); in post_qp_event()
87 struct c4iw_cq *chp; in c4iw_ev_dispatch() local
108 chp = get_chp(dev, cqid); in c4iw_ev_dispatch()
109 if (!chp) { in c4iw_ev_dispatch()
121 atomic_inc(&chp->refcnt); in c4iw_ev_dispatch()
[all …]
HDcq.c591 static int c4iw_poll_cq_one(struct c4iw_cq *chp, struct ib_wc *wc) in c4iw_poll_cq_one() argument
601 ret = t4_next_cqe(&chp->cq, &rd_cqe); in c4iw_poll_cq_one()
606 qhp = get_qhp(chp->rhp, CQE_QPID(rd_cqe)); in c4iw_poll_cq_one()
613 ret = poll_cq(wq, &(chp->cq), &cqe, &cqe_flushed, &cookie, &credit); in c4iw_poll_cq_one()
738 struct c4iw_cq *chp; in c4iw_poll_cq() local
743 chp = to_c4iw_cq(ibcq); in c4iw_poll_cq()
745 spin_lock_irqsave(&chp->lock, flags); in c4iw_poll_cq()
748 err = c4iw_poll_cq_one(chp, wc + npolled); in c4iw_poll_cq()
753 spin_unlock_irqrestore(&chp->lock, flags); in c4iw_poll_cq()
759 struct c4iw_cq *chp; in c4iw_destroy_cq() local
[all …]
/trueos/sys/dev/cxgb/ulp/iw_cxgb/
HDiw_cxgb_ev.c80 post_qp_event(struct iwch_dev *rnicp, struct iwch_qp *qhp, struct iwch_cq *chp, in post_qp_event() argument
124 event.device = chp->ibcq.device; in post_qp_event()
126 event.element.cq = &chp->ibcq; in post_qp_event()
133 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in post_qp_event()
140 struct iwch_cq *chp; in iwch_ev_dispatch() local
145 chp = get_chp(rnicp, cqid); in iwch_ev_dispatch()
147 if (!chp || !qhp) { in iwch_ev_dispatch()
158 mtx_lock(&chp->lock); in iwch_ev_dispatch()
159 ++chp->refcnt; in iwch_ev_dispatch()
160 mtx_unlock(&chp->lock); in iwch_ev_dispatch()
[all …]
HDiw_cxgb_cq.c88 static int iwch_poll_cq_one(struct iwch_dev *rhp, struct iwch_cq *chp, in iwch_poll_cq_one() argument
99 rd_cqe = cxio_next_cqe(&chp->cq); in iwch_poll_cq_one()
111 ret = cxio_poll_cq(wq, &(chp->cq), &cqe, &cqe_flushed, &cookie, in iwch_poll_cq_one()
113 if (t3a_device(chp->rhp) && credit) { in iwch_poll_cq_one()
115 credit, chp->cq.cqid); in iwch_poll_cq_one()
116 cxio_hal_cq_op(&rhp->rdev, &chp->cq, CQ_CREDIT_UPDATE, credit); in iwch_poll_cq_one()
233 struct iwch_cq *chp; in iwch_poll_cq() local
237 chp = to_iwch_cq(ibcq); in iwch_poll_cq()
238 rhp = chp->rhp; in iwch_poll_cq()
240 mtx_lock(&chp->lock); in iwch_poll_cq()
[all …]
HDiw_cxgb_provider.c162 struct iwch_cq *chp; in iwch_destroy_cq() local
165 chp = to_iwch_cq(ib_cq); in iwch_destroy_cq()
167 remove_handle(chp->rhp, &chp->rhp->cqidr, chp->cq.cqid); in iwch_destroy_cq()
168 mtx_lock(&chp->lock); in iwch_destroy_cq()
169 if (--chp->refcnt) in iwch_destroy_cq()
170 msleep(chp, &chp->lock, 0, "iwch_destroy_cq", 0); in iwch_destroy_cq()
171 mtx_unlock(&chp->lock); in iwch_destroy_cq()
173 cxio_destroy_cq(&chp->rhp->rdev, &chp->cq); in iwch_destroy_cq()
174 cxfree(chp); in iwch_destroy_cq()
184 struct iwch_cq *chp; in iwch_create_cq() local
[all …]
/trueos/sys/dev/rp/
HDrpreg.h95 #define rp_readch1(chp, offset) \ argument
96 (rp_readaiop1((chp)->CtlP, (chp)->AiopNum, offset))
97 #define rp_readch2(chp, offset) \ argument
98 (rp_readaiop2((chp)->CtlP, (chp)->AiopNum, offset))
99 #define rp_readch4(chp, offset) \ argument
100 (rp_readaiop4((chp)->CtlP, (chp)->AiopNum, offset))
101 #define rp_readmultich1(chp, offset, addr, count) \ argument
102 (rp_readmultiaiop1((chp)->CtlP, (chp)->AiopNum, offset, addr, count))
103 #define rp_readmultich2(chp, offset, addr, count) \ argument
104 (rp_readmultiaiop2((chp)->CtlP, (chp)->AiopNum, offset, addr, count))
[all …]
/trueos/contrib/binutils/gas/
HDdebug.c29 frchainS *chp; in dmp_frags() local
33 for (chp = seg_info (s)->frchainP; chp; chp = chp->frch_next) in dmp_frags()
47 printf ("\nSEGMENT %s %d\n", p, chp->frch_subseg); in dmp_frags()
48 dmp_frag (chp->frch_root, "\t"); in dmp_frags()
/trueos/sys/kgssapi/
HDgssd_prot.c185 xdr_gss_channel_bindings_t(XDR *xdrs, gss_channel_bindings_t *chp) in xdr_gss_channel_bindings_t() argument
192 ch = *chp; in xdr_gss_channel_bindings_t()
216 *chp = GSS_C_NO_CHANNEL_BINDINGS; in xdr_gss_channel_bindings_t()
229 *chp = ch; in xdr_gss_channel_bindings_t()
234 ch = *chp; in xdr_gss_channel_bindings_t()
HDgssd.x43 %extern bool_t xdr_gss_channel_bindings_t(XDR *xdrs, gss_channel_bindings_t *chp);
/trueos/contrib/amd/amd/
HDautil.c125 host_normalize(char **chp) in host_normalize() argument
134 hp = gethostbyname(*chp); in host_normalize()
136 dlog("Hostname %s normalized to %s", *chp, hp->h_name); in host_normalize()
137 *chp = strealloc(*chp, (char *) hp->h_name); in host_normalize()
141 domain_strip(*chp, hostd); in host_normalize()
/trueos/bin/ls/
HDls.c496 FTSENT *p, *chp; in traverse() local
507 chp = fts_children(ftsp, 0); in traverse()
508 if (chp != NULL) in traverse()
509 display(NULL, chp, options); in traverse()
549 chp = fts_children(ftsp, ch_options); in traverse()
550 display(p, chp, options); in traverse()
552 if (!f_recursive && chp != NULL) in traverse()
/trueos/contrib/gdb/gdb/
HDvarobj.c564 const char *chp; in varobj_get_handle() local
568 for (chp = objname; *chp; chp++) in varobj_get_handle()
570 index = (index + (i++ * (unsigned int) *chp)) % VAROBJ_TABLE_SIZE; in varobj_get_handle()
1111 const char *chp; in install_variable() local
1115 for (chp = var->obj_name; *chp; chp++) in install_variable()
1117 index = (index + (i++ * (unsigned int) *chp)) % VAROBJ_TABLE_SIZE; in install_variable()
1156 const char *chp; in uninstall_variable() local
1161 for (chp = var->obj_name; *chp; chp++) in uninstall_variable()
1163 index = (index + (i++ * (unsigned int) *chp)) % VAROBJ_TABLE_SIZE; in uninstall_variable()
HDarch-utils.c631 const char *chp; in initialize_current_architecture() local
632 chp = strchr (target_name, '-'); in initialize_current_architecture()
633 if (chp != NULL in initialize_current_architecture()
634 && chp - 2 >= target_name in initialize_current_architecture()
635 && strncmp (chp - 2, "el", 2) == 0) in initialize_current_architecture()
/trueos/contrib/nvi/cl/
HDcl_funcs.c464 cl_keyval(SCR *sp, scr_keyval_t val, CHAR_T *chp, int *dnep) in cl_keyval() argument
475 *dnep = (*chp = clp->orig.c_cc[VEOF]) == _POSIX_VDISABLE; in cl_keyval()
478 *dnep = (*chp = clp->orig.c_cc[VERASE]) == _POSIX_VDISABLE; in cl_keyval()
481 *dnep = (*chp = clp->orig.c_cc[VKILL]) == _POSIX_VDISABLE; in cl_keyval()
485 *dnep = (*chp = clp->orig.c_cc[VWERASE]) == _POSIX_VDISABLE; in cl_keyval()
/trueos/contrib/nvi/common/
HDkey.c233 char *chp; in v_key_name() local
253 if ((chp = O_STR(sp, O_PRINT)) != NULL) in v_key_name()
254 if (strstr(chp, sp->cname) != NULL) in v_key_name()
256 if ((chp = O_STR(sp, O_NOPRINT)) != NULL) in v_key_name()
257 if (strstr(chp, sp->cname) != NULL) in v_key_name()
/trueos/contrib/gdb/gdb/cli/
HDcli-dump.c40 skip_spaces (char *chp) in skip_spaces() argument
42 if (chp == NULL) in skip_spaces()
44 while (isspace (*chp)) in skip_spaces()
45 chp++; in skip_spaces()
46 return chp; in skip_spaces()
/trueos/contrib/nvi/docs/interp/
HDspell.ok12 chp
HDinterp119 int inter_getchar(CHAR_T *chp,
123 by chp. Mapt can be set to INPUT, COMMAND or NONE, depending on
/trueos/contrib/nvi/vi/
HDv_txt.c2433 txt_insch(SCR *sp, TEXT *tp, CHAR_T *chp, u_int flags) in txt_insch() argument
2447 tp->lb[tp->cno++] = *chp; in txt_insch()
2458 if (*chp == '\t') { in txt_insch()
2464 nlen = KEY_COL(sp, *chp); in txt_insch()
2523 tp->lb[tp->cno++] = *chp; in txt_insch()
2539 tp->lb[tp->cno++] = *chp; in txt_insch()

12