Home
last modified time | relevance | path

Searched refs:fc (Results 1 – 25 of 117) sorted by relevance

12345

/titanic_41/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_fcp.c128 av1394_fcp_cmd_t *fc; in av1394_fcp_write() local
161 fc = (arq->arq_type == IEC61883_ARQ_FCP_CMD) ? in av1394_fcp_write()
166 while (fc->fc_busy) { in av1394_fcp_write()
167 if (cv_wait_sig(&fc->fc_busy_cv, &ap->a_mutex) == 0) { in av1394_fcp_write()
174 fc->fc_busy = B_TRUE; in av1394_fcp_write()
177 cmd = fc->fc_cmd; in av1394_fcp_write()
188 ret = av1394_fcp_cmd_write_sync(avp, fc); in av1394_fcp_write()
191 fc->fc_busy = B_FALSE; in av1394_fcp_write()
192 cv_broadcast(&fc->fc_busy_cv); in av1394_fcp_write()
243 av1394_fcp_cmd_t *fc = &avp->av_a.a_fcp.fcp_cmd; in av1394_fcp_ctl_alloc_cmd() local
[all …]
/titanic_41/usr/src/cmd/lp/cmd/lptest/
H A Dlptest.c27 register int i, j, fc, nc; in main() local
39 fc = ' '; in main()
41 if (++fc == 0177) in main()
42 fc = ' '; in main()
43 nc = fc; in main()
/titanic_41/usr/src/lib/libbc/inc/include/vm/
H A Dfaultcode.h48 #define FC_CODE(fc) ((fc) & 0xff) argument
49 #define FC_ERRNO(fc) ((unsigned)(fc) >> 8) argument
/titanic_41/usr/src/uts/common/vm/
H A Dfaultcode.h64 #define FC_CODE(fc) ((fc) & 0xff) argument
65 #define FC_ERRNO(fc) ((unsigned)(fc) >> 8) argument
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ether.c760 uchar_t fc; member
811 uchar_t fc; in interpret_tr() local
848 fc = mh->fc; in interpret_tr()
918 fc, print_fc(fc), origlen); in interpret_tr()
935 fc, print_fc(fc)); in interpret_tr()
1015 uchar_t fc; in tr_machdr_len() local
1019 fc = mh->fc; in tr_machdr_len()
1029 if ((fc & TR_MAC_MASK) == 0) in tr_machdr_len()
1059 uchar_t fc; member
1102 (void) memcpy(&f->fc, e, sizeof (f->fc)); in interpret_fddi()
[all …]
/titanic_41/usr/src/lib/efcode/fcdriver/
H A Dget_req.c55 " attach: %x args: '%s'\n", cdp->fc.config_address, in dot_request()
56 cdp->fc.fcode_size, cdp->fc.unit_address, cdp->attach, in dot_request()
79 if (ioctl(cdp->fcode_fd, FC_GET_PARAMETERS, &cdp->fc) < 0) { in fc_get_request()
141 if (!cdp->fc.fcode_size) { in get_fcode_from_device()
147 fcode_info.fcode_size = cdp->fc.fcode_size; in get_fcode_from_device()
148 fcode_info.fcode_ptr = MALLOC(cdp->fc.fcode_size); in get_fcode_from_device()
155 (int)cdp->fc.fcode_size); in get_fcode_from_device()
157 PUSH(DS, (fstack_t)cdp->fc.fcode_size); in get_fcode_from_device()
353 if (ioctl(cdp->fcode_fd, FC_GET_PARAMETERS, &cdp->fc) < 0) { in get_efdaemon_request()
376 push_a_string(env, cdp->fc.unit_address); in process_request()
H A Dfcdebug.c67 log_message(MSG_DEBUG, "Params: (%8p)\n", &cdp->fc); in dump_private()
68 log_message(MSG_DEBUG, " size: %d\n", cdp->fc.fcode_size); in dump_private()
69 log_message(MSG_DEBUG, " unit: %s\n", cdp->fc.unit_address); in dump_private()
/titanic_41/usr/src/lib/libast/common/string/
H A Dbase64.c173 unsigned char* fc; in base64decode() local
201 fc = fp; in base64decode()
231 *fn = fc; in base64decode()
240 fc = fp; in base64decode()
263 *fn = fc; in base64decode()
278 *fn = fc; in base64decode()
289 *fn = fc; in base64decode()
/titanic_41/usr/src/cmd/avs/errgen/
H A Derrgen.c156 int fc = 0; in do_line() local
181 len = sprintf(pt, "{%d}", fc); in do_line()
184 fc += 1; in do_line()
185 if (fc > SPCS_S_MAXSUPP) { in do_line()
202 if (fc) in do_line()
206 fc += 1; in do_line()
215 c.f.sup_count = fc; in do_line()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_gld.c381 uint32_t fc = 0; in oce_m_setprop() local
387 fc = 0; in oce_m_setprop()
391 fc = OCE_FC_RX; in oce_m_setprop()
395 fc = OCE_FC_TX; in oce_m_setprop()
399 fc = OCE_FC_RX | OCE_FC_TX; in oce_m_setprop()
409 if (fc == dev->flow_control) in oce_m_setprop()
413 dev->flow_control = fc; in oce_m_setprop()
417 ret = oce_set_flow_control(dev, fc); in oce_m_setprop()
420 dev->flow_control = fc; in oce_m_setprop()
483 link_flowctrl_t *fc = (link_flowctrl_t *)val; in oce_m_getprop() local
[all …]
/titanic_41/usr/src/uts/common/io/e1000api/
H A De1000_mac.c982 hw->fc.requested_mode = e1000_fc_none; in e1000_set_default_fc_generic()
985 hw->fc.requested_mode = e1000_fc_tx_pause; in e1000_set_default_fc_generic()
987 hw->fc.requested_mode = e1000_fc_full; in e1000_set_default_fc_generic()
1017 if (hw->fc.requested_mode == e1000_fc_default) { in e1000_setup_link_generic()
1026 hw->fc.current_mode = hw->fc.requested_mode; in e1000_setup_link_generic()
1029 hw->fc.current_mode); in e1000_setup_link_generic()
1046 E1000_WRITE_REG(hw, E1000_FCTTV, hw->fc.pause_time); in e1000_setup_link_generic()
1081 switch (hw->fc.current_mode) { in e1000_commit_fc_settings_generic()
1262 if (hw->fc.current_mode & e1000_fc_tx_pause) { in e1000_set_fc_watermarks_generic()
1267 fcrtl = hw->fc.low_water; in e1000_set_fc_watermarks_generic()
[all …]
/titanic_41/usr/src/cmd/troff/
H A Dn9.c395 gchtab[fc] &= ~FCBIT; in casefc()
396 fc = IMP; in casefc()
400 fc = i; in casefc()
401 gchtab[fc] |= FCBIT; in casefc()
402 if (skip() || ismot(ch) || (ch = cbits(ch)) == fc) in casefc()
428 savfc = fc;
431 tabch = ldrch = fc = IMP;
435 gchtab[fc] &= ~FCBIT;
544 gchtab[fc] &= ~FCBIT;
547 fc = savfc;
[all …]
/titanic_41/usr/src/cmd/refer/
H A Dhunt1.c59 static FILE *fa, *fb, *fc; in main() local
156 fclose(fc); in main()
167 fc = fopen(nmc, "r"); in main()
169 if (fb == NULL || fc == NULL) { in main()
211 nfound = baddrop(master, nfound, fc, in main()
271 result(master, nfound > tags ? tags : nfound, fc); in main()
H A Dhunt5.c28 result(unsigned *mptr, int nf, FILE *fc) in result() argument
45 fseek(fc, lp, 0); in result()
46 fgets(res, 100, fc); in result()
H A Dglue1.c63 static FILE *fa, *fb, *fc; in huntmain() local
149 unopen(fc); in huntmain()
157 fc = iopen(indexname, ".ic"); in huntmain()
160 fprintf(stderr, "opened f's as %o %o %o\n", fa, fb, fc); in huntmain()
252 nfound = baddrop(masterp, nfound, fc, nitem, qitem, in huntmain()
259 result(masterp, nfound > tags ? tags : nfound, fc); in huntmain()
/titanic_41/usr/src/uts/common/io/chxge/com/
H A Dpm3393.c91 u8 fc; member
366 if (cmac->instance->fc & PAUSE_RX) in pm3393_enable()
368 if (cmac->instance->fc & PAUSE_TX) in pm3393_enable()
527 int *duplex, int *fc) in pm3393_get_speed_duplex_fc() argument
533 if (fc) in pm3393_get_speed_duplex_fc()
534 *fc = cmac->instance->fc; in pm3393_get_speed_duplex_fc()
539 int fc) in pm3393_set_speed_duplex_fc() argument
545 if (fc & ~(PAUSE_TX | PAUSE_RX)) in pm3393_set_speed_duplex_fc()
548 if (fc != cmac->instance->fc) { in pm3393_set_speed_duplex_fc()
549 cmac->instance->fc = (u8) fc; in pm3393_set_speed_duplex_fc()
[all …]
H A Dxpak.c63 int *duplex, int *fc) in xpak_get_link_status() argument
71 if (fc) in xpak_get_link_status()
72 *fc = PAUSE_RX | PAUSE_TX; in xpak_get_link_status()
H A Dixf1010.c311 int fc) in mac_set_speed_duplex_fc() argument
327 if (fc & PAUSE_RX) in mac_set_speed_duplex_fc()
329 if (fc & PAUSE_TX) in mac_set_speed_duplex_fc()
336 int *fc) in mac_get_speed_duplex_fc() argument
347 if (fc) { in mac_get_speed_duplex_fc()
349 *fc = 0; in mac_get_speed_duplex_fc()
351 *fc |= PAUSE_RX; in mac_get_speed_duplex_fc()
353 *fc |= PAUSE_TX; in mac_get_speed_duplex_fc()
H A Dch_subr.c162 int link_ok, speed, duplex, fc; in link_changed() local
166 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc); in link_changed()
171 fc = lc->requested_fc & (PAUSE_RX | PAUSE_TX); in link_changed()
177 mac->ops->set_speed_duplex_fc(mac, speed, duplex, fc); in link_changed()
178 lc->fc = (unsigned char)fc; in link_changed()
180 t1_os_link_changed(adapter, port_id, link_ok, speed, duplex, fc); in link_changed()
824 unsigned int fc = lc->requested_fc & (PAUSE_RX | PAUSE_TX); in t1_link_start() local
828 if (fc) { in t1_link_start()
829 if (fc == ((PAUSE_RX | PAUSE_TX) & !is_T2(mac->adapter))) in t1_link_start()
833 if (fc == PAUSE_RX) in t1_link_start()
[all …]
/titanic_41/usr/src/uts/common/syscall/
H A Dmemcntl.c65 faultcode_t fc; in memcntl() local
356 fc = as_faulta(as, addr, len); in memcntl()
357 if (fc) { in memcntl()
358 if (FC_CODE(fc) == FC_OBJERR) in memcntl()
359 error = set_errno(FC_ERRNO(fc)); in memcntl()
360 else if (FC_CODE(fc) == FC_NOMAP) in memcntl()
/titanic_41/usr/src/uts/common/io/ixgbe/
H A Dixgbe_82598.c411 if (!hw->fc.pause_time) { in ixgbe_fc_enable_82598()
418 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_82598()
419 hw->fc.high_water[i]) { in ixgbe_fc_enable_82598()
420 if (!hw->fc.low_water[i] || in ixgbe_fc_enable_82598()
421 hw->fc.low_water[i] >= hw->fc.high_water[i]) { in ixgbe_fc_enable_82598()
436 switch (hw->fc.requested_mode) { in ixgbe_fc_enable_82598()
438 hw->fc.requested_mode = ixgbe_fc_tx_pause; in ixgbe_fc_enable_82598()
441 hw->fc.requested_mode = ixgbe_fc_none; in ixgbe_fc_enable_82598()
469 switch (hw->fc.current_mode) { in ixgbe_fc_enable_82598()
512 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_82598()
[all …]
/titanic_41/usr/src/lib/fm/libfmd_log/common/
H A Dfmd_log.c609 fmd_log_filter(fmd_log_t *lp, uint_t fc, fmd_log_filter_t *fv, in fmd_log_filter() argument
612 fmd_log_filtvec_t *fav = alloca(fc * sizeof (fmd_log_filtvec_t)); in fmd_log_filter()
619 bzero(fav, fc * sizeof (fmd_log_filtvec_t)); in fmd_log_filter()
620 qsort(fv, fc, sizeof (fmd_log_filter_t), fmd_log_xiter_filtcmp); in fmd_log_filter()
622 for (i = 0; i < fc; i++) { in fmd_log_filter()
632 fmd_log_xiter(fmd_log_t *lp, uint_t flag, uint_t fc, fmd_log_filter_t *fv, in fmd_log_xiter() argument
652 if (fc != 0) { in fmd_log_xiter()
653 if ((fav = calloc(fc, sizeof (fmd_log_filtvec_t))) == NULL) in fmd_log_xiter()
656 qsort(fv, fc, sizeof (fmd_log_filter_t), fmd_log_xiter_filtcmp); in fmd_log_xiter()
658 for (i = 0; i < fc; i++) { in fmd_log_xiter()
[all …]
/titanic_41/usr/src/uts/intel/ia32/os/
H A Darchdep.c196 const struct fpchip_state *fc = &fp->fp_reg_set.fpchip_state; in fpregset_to_fxsave()
198 fnsave_to_fxsave((const struct fnsave_state *)fc, fx); in fpregset_to_fxsave()
199 fx->fx_mxcsr = fc->mxcsr; in fpregset_to_fxsave()
200 bcopy(&fc->xmm[0], &fx->fx_xmm[0], sizeof (fc->xmm)); in fpregset_to_fxsave()
217 struct fpchip_state *fc = &fp->fp_reg_set.fpchip_state; in fxsave_to_fpregset()
219 fxsave_to_fnsave(fx, (struct fnsave_state *)fc); in fxsave_to_fpregset()
220 fc->mxcsr = fx->fx_mxcsr; in fxsave_to_fpregset()
221 bcopy(&fx->fx_xmm[0], &fc->xmm[0], sizeof (fc->xmm)); in fxsave_to_fpregset()
229 const struct fpchip32_state *fc = &fp->fp_reg_set.fpchip_state; in fpregset32_to_fxsave() local
231 fnsave_to_fxsave((const struct fnsave_state *)fc, fx); in fpregset32_to_fxsave()
[all …]
/titanic_41/usr/src/lib/efcode/include/fcdriver/
H A Dfcdriver.h47 struct fc_parameters fc; member
59 struct fc_parameters fc; member
/titanic_41/usr/src/cmd/fm/modules/common/eversholt/
H A Dalloc.c65 struct stats *mt, *ft, *mc, *fc; in alloc_fini() local
70 fc = Freecount; in alloc_fini()
80 stats_delete(fc); in alloc_fini()

12345