Home
last modified time | relevance | path

Searched refs:parm (Results 1 – 25 of 47) sorted by relevance

12

/freebsd/sys/dev/usb/
H A Dusb_transfer.c223 usbd_transfer_setup_sub_malloc(struct usb_setup_params *parm, in usbd_transfer_setup_sub_malloc() argument
284 if (parm->buf == NULL) { in usbd_transfer_setup_sub_malloc()
286 parm->dma_page_ptr += n_dma_pc * n_dma_pg; in usbd_transfer_setup_sub_malloc()
287 parm->dma_page_cache_ptr += n_dma_pc; in usbd_transfer_setup_sub_malloc()
290 parm->dma_page_ptr += count * n_dma_pg; in usbd_transfer_setup_sub_malloc()
291 parm->xfer_page_cache_ptr += count; in usbd_transfer_setup_sub_malloc()
296 parm->dma_page_cache_ptr[x].tag_parent = in usbd_transfer_setup_sub_malloc()
297 &parm->curr_xfer->xroot->dma_parent_tag; in usbd_transfer_setup_sub_malloc()
301 parm->xfer_page_cache_ptr[x].tag_parent = in usbd_transfer_setup_sub_malloc()
302 &parm->curr_xfer->xroot->dma_parent_tag; in usbd_transfer_setup_sub_malloc()
[all …]
H A Dusb_transfer.h124 uint8_t usbd_transfer_setup_sub_malloc(struct usb_setup_params *parm,
136 void usbd_transfer_setup_sub(struct usb_setup_params *parm);
/freebsd/bin/sh/tests/errors/
H A DMakefile14 ${PACKAGE}FILES+= bad-parm-exp1.0
15 ${PACKAGE}FILES+= bad-parm-exp2.2 bad-parm-exp2.2.stderr
16 ${PACKAGE}FILES+= bad-parm-exp3.2 bad-parm-exp3.2.stderr
17 ${PACKAGE}FILES+= bad-parm-exp4.2 bad-parm-exp4.2.stderr
18 ${PACKAGE}FILES+= bad-parm-exp5.2 bad-parm-exp5.2.stderr
19 ${PACKAGE}FILES+= bad-parm-exp6.2 bad-parm-exp6.2.stderr
20 ${PACKAGE}FILES+= bad-parm-exp7.0
21 ${PACKAGE}FILES+= bad-parm-exp8.0
/freebsd/sbin/routed/
H A Dparms.c36 static struct parm *parms;
48 struct parm *parmp; in get_parms()
462 struct parm *parmp, in get_passwd()
556 #define CKF(g,b) {if (0 != (parm.parm_int_state & ((g) & ~(b)))) break; \ in parse_parms()
557 parm.parm_int_state |= (b);} in parse_parms()
558 struct parm parm; in parse_parms() local
624 memset(&parm, 0, sizeof(parm)); in parse_parms()
653 if (parm.parm_name[0] != '\0' in parse_parms()
656 strcpy(parm.parm_name, buf); in parse_parms()
666 || parm.parm_name[0] != '\0') in parse_parms()
[all …]
H A Dmain.c99 struct parm parm; in main() local
144 memset(&parm, 0, sizeof(parm)); in main()
145 parm.parm_d_metric = 1; in main()
146 cp = check_parms(&parm); in main()
191 memset(&parm, 0, sizeof(parm)); in main()
192 parm.parm_net = p_net; in main()
193 parm.parm_mask = p_mask; in main()
194 parm.parm_d_metric = n; in main()
195 cp = check_parms(&parm); in main()
/freebsd/contrib/libucl/utils/
H A Ducl-tool.c42 const char *schema = NULL, *parm, *val; in main() local
50 parm = argv[i]; in main()
53 if ((strcmp(parm, "--help") == 0) || (strcmp(parm, "-h") == 0)) { in main()
57 } else if ((strcmp(parm, "--in") == 0) || (strcmp(parm, "-i") == 0)) { in main()
66 } else if ((strcmp(parm, "--out") == 0) || (strcmp(parm, "-o") == 0)) { in main()
75 } else if ((strcmp(parm, "--schema") == 0) || (strcmp(parm, "-s") == 0)) { in main()
80 } else if ((strcmp(parm, "--format") == 0) || (strcmp(parm, "-f") == 0)) { in main()
167 fprintf(stderr, "Parameter %s is missing mandatory value\n", parm); in main()
/freebsd/usr.bin/ktrdump/
H A Dktrdump.c103 int parm; in main() local
292 parm = 0; in main()
300 if (parm == KTR_PARMS) in main()
310 if (kvm_read(kd, (u_long)buf[i].ktr_parms[parm], in main()
311 sbuf[parm], sizeof(sbuf[parm])) == -1) in main()
312 strcpy(sbuf[parm], "(null)"); in main()
313 sbuf[parm][sizeof(sbuf[0]) - 1] = '\0'; in main()
314 parms[parm] = (u_long)sbuf[parm]; in main()
315 parm++; in main()
318 parms[parm] = buf[i].ktr_parms[parm]; in main()
[all …]
/freebsd/sbin/camcontrol/
H A Dcamcontrol.c1471 atahpa_print(struct ata_params *parm, u_int64_t hpasize, int header) in camxferrate()
1473 uint32_t lbasize = (uint32_t)parm->lba_size_1 | in camxferrate()
1474 ((uint32_t)parm->lba_size_2 << 16); in camxferrate()
1476 u_int64_t lbasize48 = ((u_int64_t)parm->lba_size48_1) |
1477 ((u_int64_t)parm->lba_size48_2 << 16) | in atahpa_print() argument
1478 ((u_int64_t)parm->lba_size48_3 << 32) | in atahpa_print()
1479 ((u_int64_t)parm->lba_size48_4 << 48); in atahpa_print()
1487 if (parm->support.command1 & ATA_SUPPORT_PROTECTED) { in atahpa_print()
1493 if (parm->support.command2 & ATA_SUPPORT_MAXSECURITY) in atahpa_print()
1494 printf("yes %s\n", (parm in atahpa_print()
1510 ataama_print(struct ata_params * parm,u_int64_t nativesize,int header) ataama_print() argument
1536 atasata(struct ata_params * parm) atasata() argument
1548 atacapprint(struct ata_params * parm) atacapprint() argument
2082 ata_read_native_max(struct cam_device * device,int retry_count,uint32_t timeout,union ccb * ccb,struct ata_params * parm,u_int64_t * hpasize) ata_read_native_max() argument
2783 atasecurity_print(struct ata_params * parm) atasecurity_print() argument
[all...]
/freebsd/contrib/llvm-project/libcxx/include/
H A Drandom474 explicit uniform_int_distribution(const param_type& parm);
479 template<class URNG> result_type operator()(URNG& g, const param_type& parm);
486 void param(const param_type& parm);
535 explicit uniform_real_distribution(const param_type& parm);
540 template<class URNG> result_type operator()(URNG& g, const param_type& parm);
547 void param(const param_type& parm);
593 explicit bernoulli_distribution(const param_type& parm);
598 template<class URNG> result_type operator()(URNG& g, const param_type& parm);
604 void param(const param_type& parm);
652 explicit binomial_distribution(const param_type& parm);
[all …]
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransAPIUses.cpp71 Expr *parm = E->getArg(0)->IgnoreParenCasts(); in VisitObjCMessageExpr() local
72 QualType pointee = parm->getType()->getPointeeType(); in VisitObjCMessageExpr()
77 Pass.TA.report(parm->getBeginLoc(), in VisitObjCMessageExpr()
79 parm->getSourceRange()) in VisitObjCMessageExpr()
/freebsd/usr.sbin/cpucontrol/
H A Dcpucontrol.c343 struct ucode_update_params parm; in try_a_fw_image() local
385 memset(&parm, 0, sizeof(parm)); in try_a_fw_image()
386 parm.devfd = devfd; in try_a_fw_image()
387 parm.fwimage = fw_map; in try_a_fw_image()
388 parm.fwsize = st.st_size; in try_a_fw_image()
389 parm.dev_path = dev_path; in try_a_fw_image()
390 parm.fw_path = fw_path; in try_a_fw_image()
392 handler->update(&parm); in try_a_fw_image()
/freebsd/contrib/ncurses/ncurses/trace/
H A Dvarargs.c82 ARGTYPE parm[MAX_PARMS]; in _nc_varargs() local
91 parm[parms++] = atInteger; in _nc_varargs()
145 parm[parms++] = used; in _nc_varargs()
147 used = parm[n]; in _nc_varargs()
/freebsd/sys/dev/usb/controller/
H A Dehci.c3393 ehci_xfer_setup(struct usb_setup_params *parm) in ehci_xfer_setup() argument
3406 sc = EHCI_BUS2SC(parm->udev->bus); in ehci_xfer_setup()
3407 xfer = parm->curr_xfer; in ehci_xfer_setup()
3417 if (parm->methods == &ehci_device_ctrl_methods) { in ehci_xfer_setup()
3447 parm->hc_max_packet_size = 0x400; in ehci_xfer_setup()
3448 parm->hc_max_packet_count = 1; in ehci_xfer_setup()
3449 parm->hc_max_frame_size = EHCI_QTD_PAYLOAD_MAX; in ehci_xfer_setup()
3452 usbd_transfer_setup_sub(parm); in ehci_xfer_setup()
3458 } else if (parm->methods == &ehci_device_bulk_methods) { in ehci_xfer_setup()
3459 parm->hc_max_packet_size = 0x400; in ehci_xfer_setup()
[all …]
H A Duss820dci.c2211 uss820dci_xfer_setup(struct usb_setup_params *parm) in uss820dci_xfer_setup() argument
2220 xfer = parm->curr_xfer; in uss820dci_xfer_setup()
2227 parm->hc_max_packet_size = 0x500; in uss820dci_xfer_setup()
2228 parm->hc_max_packet_count = 1; in uss820dci_xfer_setup()
2229 parm->hc_max_frame_size = 0x500; in uss820dci_xfer_setup()
2231 usbd_transfer_setup_sub(parm); in uss820dci_xfer_setup()
2236 if (parm->methods == &uss820dci_device_ctrl_methods) { in uss820dci_xfer_setup()
2239 } else if (parm->methods == &uss820dci_device_bulk_methods) { in uss820dci_xfer_setup()
2242 } else if (parm->methods == &uss820dci_device_intr_methods) { in uss820dci_xfer_setup()
2245 } else if (parm->methods == &uss820dci_device_isoc_fs_methods) { in uss820dci_xfer_setup()
[all …]
H A Duhci.c2768 uhci_xfer_setup(struct usb_setup_params *parm) in uhci_xfer_setup() argument
2780 xfer = parm->curr_xfer; in uhci_xfer_setup()
2782 parm->hc_max_packet_size = 0x500; in uhci_xfer_setup()
2783 parm->hc_max_packet_count = 1; in uhci_xfer_setup()
2784 parm->hc_max_frame_size = 0x500; in uhci_xfer_setup()
2789 if (parm->methods == &uhci_device_ctrl_methods) { in uhci_xfer_setup()
2793 usbd_transfer_setup_sub(parm); in uhci_xfer_setup()
2801 } else if (parm->methods == &uhci_device_bulk_methods) { in uhci_xfer_setup()
2805 usbd_transfer_setup_sub(parm); in uhci_xfer_setup()
2811 } else if (parm->methods == &uhci_device_intr_methods) { in uhci_xfer_setup()
[all …]
H A Dohci.c2341 ohci_xfer_setup(struct usb_setup_params *parm) in ohci_xfer_setup() argument
2352 xfer = parm->curr_xfer; in ohci_xfer_setup()
2354 parm->hc_max_packet_size = 0x500; in ohci_xfer_setup()
2355 parm->hc_max_packet_count = 1; in ohci_xfer_setup()
2356 parm->hc_max_frame_size = OHCI_PAGE_SIZE; in ohci_xfer_setup()
2361 if (parm->methods == &ohci_device_ctrl_methods) { in ohci_xfer_setup()
2364 usbd_transfer_setup_sub(parm); in ohci_xfer_setup()
2371 } else if (parm->methods == &ohci_device_bulk_methods) { in ohci_xfer_setup()
2374 usbd_transfer_setup_sub(parm); in ohci_xfer_setup()
2381 } else if (parm->methods == &ohci_device_intr_methods) { in ohci_xfer_setup()
[all …]
H A Davr32dci.c1904 avr32dci_xfer_setup(struct usb_setup_params *parm) in avr32dci_xfer_setup() argument
1914 sc = AVR32_BUS2SC(parm->udev->bus); in avr32dci_xfer_setup()
1915 xfer = parm->curr_xfer; in avr32dci_xfer_setup()
1922 parm->hc_max_packet_size = 0x400; in avr32dci_xfer_setup()
1923 parm->hc_max_packet_count = 1; in avr32dci_xfer_setup()
1924 parm->hc_max_frame_size = 0x400; in avr32dci_xfer_setup()
1926 usbd_transfer_setup_sub(parm); in avr32dci_xfer_setup()
1941 if (parm->err) in avr32dci_xfer_setup()
1953 avr32dci_get_hw_ep_profile(parm->udev, &pf, ep_no); in avr32dci_xfer_setup()
1957 parm->err = USB_ERR_INVAL; in avr32dci_xfer_setup()
[all …]
H A Datmegadci.c1950 atmegadci_xfer_setup(struct usb_setup_params *parm) in atmegadci_xfer_setup() argument
1959 xfer = parm->curr_xfer; in atmegadci_xfer_setup()
1966 parm->hc_max_packet_size = 0x500; in atmegadci_xfer_setup()
1967 parm->hc_max_packet_count = 1; in atmegadci_xfer_setup()
1968 parm->hc_max_frame_size = 0x500; in atmegadci_xfer_setup()
1970 usbd_transfer_setup_sub(parm); in atmegadci_xfer_setup()
1985 if (parm->err) in atmegadci_xfer_setup()
1997 atmegadci_get_hw_ep_profile(parm->udev, &pf, ep_no); in atmegadci_xfer_setup()
2001 parm->err = USB_ERR_INVAL; in atmegadci_xfer_setup()
2006 parm->size[0] += ((-parm->size[0]) & (USB_HOST_ALIGN - 1)); in atmegadci_xfer_setup()
[all …]
H A Dmusb_otg.c4009 musbotg_xfer_setup(struct usb_setup_params *parm) in musbotg_xfer_setup() argument
4017 xfer = parm->curr_xfer; in musbotg_xfer_setup()
4024 parm->hc_max_packet_size = 0x400; in musbotg_xfer_setup()
4025 parm->hc_max_frame_size = 0xc00; in musbotg_xfer_setup()
4027 if ((parm->methods == &musbotg_device_isoc_methods) || in musbotg_xfer_setup()
4028 (parm->methods == &musbotg_device_intr_methods)) in musbotg_xfer_setup()
4029 parm->hc_max_packet_count = 3; in musbotg_xfer_setup()
4031 parm->hc_max_packet_count = 1; in musbotg_xfer_setup()
4033 usbd_transfer_setup_sub(parm); in musbotg_xfer_setup()
4038 if (parm->methods == &musbotg_device_ctrl_methods) { in musbotg_xfer_setup()
[all …]
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dcaptoinfo.c250 getparm(int parm, int n) in getparm() argument
256 if (parm == 1) in getparm()
257 parm = 2; in getparm()
258 else if (parm == 2) in getparm()
259 parm = 1; in getparm()
264 dp = save_char(dp, '0' + parm); in getparm()
267 if (onstack == parm) { in getparm()
280 onstack = parm; in getparm()
282 if (seenn && parm < 3) { in getparm()
286 if (seenm && parm < 3) { in getparm()
/freebsd/contrib/ncurses/progs/
H A Dtset.c679 char *parm = argv[0]; in obsolete() local
681 if (parm[0] == '-' && parm[1] == '\0') { in obsolete()
686 if ((parm[0] != '-') in obsolete()
688 || (parm[1] != 'e' && parm[1] != 'i' && parm[1] != 'k') in obsolete()
689 || (parm[2] != '\0')) in obsolete()
/freebsd/sys/net80211/
H A Dieee80211_rssadapt.c77 #define interpolate(parm, old, new) ((parm##_old * (old) + \ argument
78 (parm##_denom - parm##_old) * (new)) / \
79 parm##_denom)
/freebsd/sys/geom/part/
H A Dg_part.c1609 unsigned int i, mparms, oparms, parm; in g_part_ctlreq() local
1704 parm = 0; in g_part_ctlreq()
1708 parm = mparms & in g_part_ctlreq()
1712 parm = G_PART_PARM_ATTRIB; in g_part_ctlreq()
1716 parm = G_PART_PARM_BOOTCODE; in g_part_ctlreq()
1724 parm = G_PART_PARM_ENTRIES; in g_part_ctlreq()
1728 parm = G_PART_PARM_FLAGS; in g_part_ctlreq()
1730 parm = G_PART_PARM_FORCE; in g_part_ctlreq()
1734 parm = G_PART_PARM_INDEX; in g_part_ctlreq()
1738 parm = G_PART_PARM_LABEL; in g_part_ctlreq()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DPropertiesBase.td717 auto parm = node.getAsSubstTemplateTemplateParm();
720 let Read = [{ parm->getReplacement() }];
723 let Read = [{ parm->getAssociatedDecl() }];
726 let Read = [{ parm->getIndex() }];
729 let Read = [{ parm->getPackIndex() }];
737 auto parm = node.getAsSubstTemplateTemplateParmPack();
740 let Read = [{ parm->getArgumentPack() }];
743 let Read = [{ parm->getAssociatedDecl() }];
746 let Read = [{ parm->getIndex() }];
749 let Read = [{ parm->getFinal() }];
/freebsd/sys/dev/pms/freebsd/driver/ini/src/
H A Dosapi.c53 void *parm ) in ostiInitiatorEvent() argument
66 AGTIAPI_PRINTK("Parameter: %s\n", (char *)parm); in ostiInitiatorEvent()
138 pccb = (pccb_t)((tiIORequest_t *)parm)->osData; in ostiInitiatorEvent()
193 pccb = (pccb_t)((tiIORequest_t *)parm)->osData; in ostiInitiatorEvent()

12