Searched refs:chp (Results 1 - 25 of 28) sorted by relevance

12

/freebsd-11-stable/contrib/gdb/gdb/mi/
H A Dmi-parse.c34 char *chp = args; local
42 while (isspace (*chp))
43 chp++;
45 switch (*chp)
55 char *start = chp + 1;
57 chp = start;
59 while (*chp != '\0' && *chp != '"')
61 if (*chp == '\\')
63 chp
152 char *chp; local
[all...]
H A Dmi-cmds.c201 const char *chp; local
204 for (chp = command; *chp; chp++)
207 index = ((index << 6) + (unsigned int) *chp) % MI_TABLE_SIZE;
/freebsd-11-stable/sys/dev/ct/
H A Dct_machdep.h50 #define CT_BUS_WEIGHT(chp) \
52 if ((chp)->ch_bus_weight != NULL) \
53 (chp)->ch_bus_weight((chp)); \
56 #define CT_BUS_WEIGHT(chp)
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) argument
103 cthw_set_count(struct ct_bus_access_handle *chp, u_int count) argument
117 cthw_get_count(struct ct_bus_access_handle *chp) argument
133 ct_write_cmds(struct ct_bus_access_handle *chp, u_int8_t *cmd, int len) argument
147 ct_cr_read_1(struct ct_bus_access_handle *chp, bus_addr_t offs) argument
159 ct_cr_write_1(struct ct_bus_access_handle *chp, bus_addr_t offs, u_int8_t val) argument
169 ct_cmdp_read_1(struct ct_bus_access_handle *chp) argument
179 ct_cmdp_write_1(struct ct_bus_access_handle *chp, u_int8_t val) argument
[all...]
H A Dbshw_machdep.c84 struct ct_bus_access_handle *chp = &ct->sc_ch; local
92 ct_cr_write_1(chp, hw->hw_sregaddr + ti->ti_id, cti->cti_syncreg);
95 ct_cr_write_1(chp, hw->hw_sregaddr + ti->ti_id + 8,
104 struct ct_bus_access_handle *chp = &ct->sc_ch; local
116 (u_int)ct_cr_read_1(chp, 0x37));
125 ct_cr_write_1(chp, offs, 0);
127 ct_cr_write_1(chp, offs + 8, 0);
132 regv = ct_cr_read_1(chp, wd3s_mbank);
135 ct_cr_write_1(chp, wd3s_mbank, regv);
141 ct_cr_write_1(chp, wd3s_mban
150 bshw_read_settings(struct ct_bus_access_handle *chp, struct bshw_softc *bs) argument
184 struct ct_bus_access_handle *chp = &ct->sc_ch; local
193 struct ct_bus_access_handle *chp = &ct->sc_ch; local
209 struct ct_bus_access_handle *chp = &ct->sc_ch; local
287 struct ct_bus_access_handle *chp = &ct->sc_ch; local
391 struct ct_bus_access_handle *chp = &ct->sc_ch; local
512 bshw_dma_write_1(struct ct_bus_access_handle *chp, bus_addr_t port, u_int8_t val) argument
525 struct ct_bus_access_handle *chp = &ct->sc_ch; local
570 struct ct_bus_access_handle *chp = &ct->sc_ch; local
596 struct ct_bus_access_handle *chp = &ct->sc_ch; local
611 struct ct_bus_access_handle *chp = &ct->sc_ch; local
637 struct ct_bus_access_handle *chp = &ct->sc_ch; local
646 struct ct_bus_access_handle *chp = &ct->sc_ch; local
655 struct ct_bus_access_handle *chp = &ct->sc_ch; local
664 struct ct_bus_access_handle *chp = &ct->sc_ch; local
[all...]
H A Dct.c171 struct ct_bus_access_handle *chp = &ct->sc_ch; local
173 ct_cr_write_1(chp, wd3s_cph, ph);
174 ct_cr_write_1(chp, wd3s_cmd, WD3S_SELECT_ATN_TFR);
189 cthw_chip_reset(struct ct_bus_access_handle *chp, int *chiprevp, int chipclk, argument
198 ct_cr_write_1(chp, wd3s_cmd, WD3S_ABORT);
200 (void) ct_stat_read_1(chp);
201 (void) ct_cr_read_1(chp, wd3s_stat);
232 ct_cr_write_1(chp, wd3s_oid, regv);
234 ct_cr_write_1(chp, wd3s_cmd, WD3S_RESET);
237 aux = ct_stat_read_1(chp);
328 ctprobesubr(struct ct_bus_access_handle *chp, u_int dvcfg, int hsid, u_int chipclk, int *chiprevp) argument
359 struct ct_bus_access_handle *chp = &ct->sc_ch; local
431 struct ct_bus_access_handle *chp = &ct->sc_ch; local
461 struct ct_bus_access_handle *chp = &ct->sc_ch; local
532 struct ct_bus_access_handle *chp = &ct->sc_ch; local
585 struct ct_bus_access_handle *chp = &ct->sc_ch; local
646 struct ct_bus_access_handle *chp = &ct->sc_ch; local
744 struct ct_bus_access_handle *chp = &ct->sc_ch; local
787 struct ct_bus_access_handle *chp = &ct->sc_ch; local
807 struct ct_bus_access_handle *chp = &ct->sc_ch; local
818 struct ct_bus_access_handle *chp = &ct->sc_ch; local
844 struct ct_bus_access_handle *chp = &ct->sc_ch; local
866 struct ct_bus_access_handle *chp = &ct->sc_ch; local
897 struct ct_bus_access_handle *chp = &ct->sc_ch; local
[all...]
H A Dct_isa.c170 struct ct_bus_access_handle *chp = &ct->sc_ch; local
184 chp->ch_io = ct->port_res;
185 chp->ch_mem = ct->mem_res;
186 chp->ch_bus_weight = ct_isa_bus_access_weight;
199 if (ctprobesubr(chp, 0, BSHW_DEFAULT_HOSTID,
238 bshw_read_settings(chp, bs);
250 if (chp->ch_mem != NULL)
362 ct_isa_bus_access_weight(struct ct_bus_access_handle *chp) argument
/freebsd-11-stable/sys/dev/cxgbe/iw_cxgbe/
H A Dev.c42 static void post_qp_event(struct c4iw_dev *dev, struct c4iw_cq *chp, argument
72 event.device = chp->ibcq.device;
74 event.element.cq = &chp->ibcq;
80 spin_lock_irqsave(&chp->comp_handler_lock, flag);
81 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context);
82 spin_unlock_irqrestore(&chp->comp_handler_lock, flag);
87 struct c4iw_cq *chp; local
108 chp
194 struct c4iw_cq *chp; local
[all...]
H A Dcq.c259 struct c4iw_cq *chp = to_c4iw_cq(qhp->ibqp.send_cq); local
260 struct t4_cq *cq = &chp->cq;
359 void c4iw_flush_hw_cq(struct c4iw_cq *chp) argument
366 CTR3(KTR_IW_CXGBE, "%s cq %p cqid 0x%x", __func__, &chp->cq,
367 chp->cq.cqid);
368 ret = t4_next_hw_cqe(&chp->cq, &hw_cqe);
376 qhp = get_qhp(chp->rhp, CQE_QPID(hw_cqe));
425 flush_completed_wrs(&qhp->wq, &chp->cq);
427 swcqe = &chp->cq.sw_queue[chp
713 c4iw_poll_cq_one(struct c4iw_cq *chp, struct ib_wc *wc) argument
865 struct c4iw_cq *chp; local
886 struct c4iw_cq *chp; local
911 struct c4iw_cq *chp; local
1043 struct c4iw_cq *chp; local
[all...]
/freebsd-11-stable/contrib/binutils/gas/
H A Ddebug.c29 frchainS *chp; local
33 for (chp = seg_info (s)->frchainP; chp; chp = chp->frch_next)
47 printf ("\nSEGMENT %s %d\n", p, chp->frch_subseg);
48 dmp_frag (chp->frch_root, "\t");
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_ev.c80 post_qp_event(struct iwch_dev *rnicp, struct iwch_qp *qhp, struct iwch_cq *chp, argument
124 event.device = chp->ibcq.device;
126 event.element.cq = &chp->ibcq;
133 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context);
140 struct iwch_cq *chp; local
145 chp = get_chp(rnicp, cqid);
147 if (!chp || !qhp) {
158 mtx_lock(&chp
[all...]
H A Diw_cxgb_cq.c88 static int iwch_poll_cq_one(struct iwch_dev *rhp, struct iwch_cq *chp, argument
99 rd_cqe = cxio_next_cqe(&chp->cq);
111 ret = cxio_poll_cq(wq, &(chp->cq), &cqe, &cqe_flushed, &cookie,
113 if (t3a_device(chp->rhp) && credit) {
115 credit, chp->cq.cqid);
116 cxio_hal_cq_op(&rhp->rdev, &chp->cq, CQ_CREDIT_UPDATE, credit);
233 struct iwch_cq *chp; local
237 chp = to_iwch_cq(ibcq);
238 rhp = chp->rhp;
240 mtx_lock(&chp
[all...]
H A Diw_cxgb_provider.c162 struct iwch_cq *chp; local
165 chp = to_iwch_cq(ib_cq);
167 remove_handle(chp->rhp, &chp->rhp->cqidr, chp->cq.cqid);
168 mtx_lock(&chp->lock);
169 if (--chp->refcnt)
170 msleep(chp, &chp->lock, 0, "iwch_destroy_cq", 0);
171 mtx_unlock(&chp
184 struct iwch_cq *chp; local
294 struct iwch_cq *chp; local
[all...]
/freebsd-11-stable/contrib/ofed/libcxgb4/
H A Dcq.c99 struct c4iw_cq *chp = to_c4iw_cq(qhp->ibv_qp.send_cq); local
100 struct t4_cq *cq = &chp->cq;
198 void c4iw_flush_hw_cq(struct c4iw_cq *chp) argument
205 PDBG("%s cqid 0x%x\n", __func__, chp->cq.cqid);
206 ret = t4_next_hw_cqe(&chp->cq, &hw_cqe);
214 qhp = get_qhp(chp->rhp, CQE_QPID(hw_cqe));
271 flush_completed_wrs(&qhp->wq, &chp->cq);
273 swcqe = &chp->cq.sw_queue[chp->cq.sw_pidx];
276 t4_swcq_produce(&chp
560 c4iw_poll_cq_one(struct c4iw_cq *chp, struct ibv_wc *wc) argument
713 struct c4iw_cq *chp; local
741 struct c4iw_cq *chp; local
[all...]
H A Dverbs.c173 struct c4iw_cq *chp; local
177 chp = calloc(1, sizeof *chp);
178 if (!chp) {
184 &chp->ibv_cq, &cmd, sizeof cmd,
193 pthread_spin_init(&chp->lock, PTHREAD_PROCESS_PRIVATE);
195 gettimeofday(&chp->time, NULL);
197 chp->rhp = dev;
198 chp->cq.qid_mask = resp.qid_mask;
199 chp
260 struct c4iw_cq *chp = to_c4iw_cq(ibcq); local
[all...]
H A Ddev.c244 static void dump_cq(struct c4iw_cq *chp) argument
250 "cidx_inc %d bits_type_ts %016" PRIx64 " notempty %d\n", chp,
251 chp->cq.cqid, chp->cq.queue, chp->cq.cidx,
252 chp->cq.sw_queue, chp->cq.sw_cidx, chp->cq.sw_pidx, chp->cq.sw_in_use,
253 chp
385 struct c4iw_cq *chp = dev->cqid2ptr[i]; local
[all...]
/freebsd-11-stable/sys/dev/rp/
H A Drpreg.h95 #define rp_readch1(chp, offset) \
96 (rp_readaiop1((chp)->CtlP, (chp)->AiopNum, offset))
97 #define rp_readch2(chp, offset) \
98 (rp_readaiop2((chp)->CtlP, (chp)->AiopNum, offset))
99 #define rp_readch4(chp, offset) \
100 (rp_readaiop4((chp)->CtlP, (chp)->AiopNum, offset))
101 #define rp_readmultich1(chp, offse
[all...]
/freebsd-11-stable/sys/kgssapi/
H A Dgssd_prot.c189 xdr_gss_channel_bindings_t(XDR *xdrs, gss_channel_bindings_t *chp) argument
196 ch = *chp;
220 *chp = GSS_C_NO_CHANNEL_BINDINGS;
235 *chp = ch;
240 ch = *chp;
H A Dgssd.x43 %extern bool_t xdr_gss_channel_bindings_t(XDR *xdrs, gss_channel_bindings_t *chp);
/freebsd-11-stable/contrib/amd/amd/
H A Dautil.c121 host_normalize(char **chp) argument
130 hp = gethostbyname(*chp);
132 dlog("Hostname %s normalized to %s", *chp, hp->h_name);
133 *chp = strealloc(*chp, (char *) hp->h_name);
137 domain_strip(*chp, hostd);
/freebsd-11-stable/contrib/gdb/gdb/
H A Darch-utils.c633 const char *chp;
634 chp = strchr (target_name, '-');
635 if (chp != NULL
636 && chp - 2 >= target_name
637 && strncmp (chp - 2, "el", 2) == 0)
631 const char *chp; local
H A Dvarobj.c565 const char *chp;
569 for (chp = objname; *chp; chp++)
571 index = (index + (i++ * (unsigned int) *chp)) % VAROBJ_TABLE_SIZE;
1113 const char *chp;
1117 for (chp = var->obj_name; *chp; chp++)
1119 index = (index + (i++ * (unsigned int) *chp))
564 const char *chp; local
1111 const char *chp; local
1156 const char *chp; local
[all...]
/freebsd-11-stable/bin/ls/
H A Dls.c516 FTSENT *p, *chp; local
528 chp = fts_children(ftsp, 0);
529 if (chp != NULL)
530 display(NULL, chp, options);
576 chp = fts_children(ftsp, ch_options);
577 display(p, chp, options);
580 if (!f_recursive && chp != NULL)
/freebsd-11-stable/contrib/gdb/gdb/cli/
H A Dcli-dump.c40 skip_spaces (char *chp) argument
42 if (chp == NULL)
44 while (isspace (*chp))
45 chp++;
46 return chp;
/freebsd-11-stable/contrib/nvi/cl/
H A Dcl_funcs.c464 cl_keyval(SCR *sp, scr_keyval_t val, CHAR_T *chp, int *dnep) argument
475 *dnep = (*chp = clp->orig.c_cc[VEOF]) == _POSIX_VDISABLE;
478 *dnep = (*chp = clp->orig.c_cc[VERASE]) == _POSIX_VDISABLE;
481 *dnep = (*chp = clp->orig.c_cc[VKILL]) == _POSIX_VDISABLE;
485 *dnep = (*chp = clp->orig.c_cc[VWERASE]) == _POSIX_VDISABLE;
/freebsd-11-stable/contrib/nvi/common/
H A Dkey.c233 char *chp; local
253 if ((chp = O_STR(sp, O_PRINT)) != NULL)
254 if (strstr(chp, sp->cname) != NULL)
256 if ((chp = O_STR(sp, O_NOPRINT)) != NULL)
257 if (strstr(chp, sp->cname) != NULL)

Completed in 331 milliseconds

12