HomeSort by: relevance | last modified time | path
    Searched defs:fun (Results 1 - 18 of 18) sorted by relevancy

  /src/tests/kernel/
t_timeleft.c 56 void (*fun)(struct timespec *); member in struct:info
79 (*i->fun)(&i->ts);
84 tester(void (*fun)(struct timespec *))
88 struct info i = { fun, ts };
  /src/lib/libedit/
hist.h 51 hist_fun_t fun; /* Event access */ member in struct:el_history_t
56 ((((*(el)->el_history.fun) ((el)->el_history.ref, &(el)->el_history.ev, \
eln.c 234 hist_fun_t fun = va_arg(ap, hist_fun_t); local in function:el_set
236 ret = hist_set(el, fun, ptr);
terminal.h 46 keymacro_value_t fun; /* Function bound to it */ member in struct:__anon202ad4510108
  /src/lib/libutil/
getmntopts.c 87 void (*fun)(int, const char *, ...) = NULL; local in function:getmntoptnum
101 fun = errx;
104 fun = err;
106 if (fun) {
109 (*fun)(1, "Invalid %s argument `%s'", opt, val);
  /src/sys/arch/mips/sibyte/dev/
sbtimer.c 92 void (*fun)(void *, uint32_t, vaddr_t); local in function:sbtimer_attach
109 fun = sbtimer_clockintr;
120 fun = sbtimer_statclockintr;
133 fun = sbtimer_miscintr;
142 fun, sc);
  /src/sys/rump/dev/lib/libpci/
rumpdev_pci.c 85 int bus, device, fun; local in function:pci_conf_read
87 pci_decompose_tag(pc, tag, &bus, &device, &fun);
88 rumpcomp_pci_confread(bus, device, fun, reg, &rv);
95 int bus, device, fun; local in function:pci_conf_write
97 pci_decompose_tag(pc, tag, &bus, &device, &fun);
98 rumpcomp_pci_confwrite(bus, device, fun, reg, data);
  /src/sys/arch/sparc/sparc/
pci_fixup.c 73 int i, j, node, bus, dev, fun, maxbus, len, class; local in function:mspcic_pci_scan
120 fun = OFW_PCI_PHYS_HI_FUNCTION(reg.phys_hi);
121 tag = PCITAG_CREATE(node, bus, dev, fun);
123 printf("> bus %2d, dev %2d, fun %2d\n",
266 fun = OFW_PCI_PHYS_HI_FUNCTION(reg.phys_hi);
267 tag = PCITAG_CREATE(node, bus, dev, fun);
  /src/lib/libc/resolv/
res_send.c 1020 static const char *fun = "poll"; local in function:send_dg
1022 static const char *fun = "select";
1024 static const char *fun = "kevent";
1028 Perror(statp, stderr, fun, errno);
  /src/usr.sbin/npf/npfctl/
npfctl.c 452 const char *fun = ""; local in function:npfctl
468 fun = "ioctl(IOC_NPF_SWITCH)";
473 fun = "ioctl(IOC_NPF_SWITCH)";
480 fun = "npfctl_config_send";
484 fun = "npfctl_config_show";
488 fun = "npf_config_flush";
511 fun = "npfctl_config_load";
522 fun = "npfctl_config_save";
526 fun = "npfctl_print_stats";
530 fun = "npfctl_conn_list"
    [all...]
  /src/sys/arch/x86/pci/
msipic.c 139 int bus, dev, fun, i; local in function:msipic_allocate_common_msi_devid
145 pci_decompose_tag(pc, tag, &bus, &dev, &fun);
157 && dev_seqs[i].ds_fun == fun) {
168 dev_seqs[i].ds_fun = fun;
pci_ranges.c 134 io_range_extend_by_bar(struct range_infer_ctx *ric, int bus, int dev, int fun,
149 pal.pal_tag = pci_make_tag(ric->ric_pc, bus, dev, fun);
157 __func__, bus, dev, fun, pal.pal_addr, pal.pal_size);
164 int bus, int dev, int fun, pcireg_t csr, pcireg_t bcr)
180 aprint_debug("%s: %d.%d.%d enter\n", __func__, bus, dev, fun);
185 __func__, bus, dev, fun);
190 tpal.pal_tag = pci_make_tag(ric->ric_pc, bus, dev, fun);
209 int bus, int dev, int fun, int ofs, int ofshigh,
226 pal.pal_tag = pci_make_tag(ric->ric_pc, bus, dev, fun);
255 __func__, bus, dev, fun, pal.pal_addr, pal.pal_size)
305 int bar, bus, dev, fun, hdrtype, nbar; local in function:io_range_infer
612 int bar, bus, dev, fun, hdrtype, nbar; local in function:mmio_range_infer
712 int bus, dev, fun; local in function:pci_alloc_print
734 int bus, dev, fun, i; local in function:pci_range_record
    [all...]
  /src/sys/dev/pci/bktr/
bktr_os.c 334 u_int fun; local in function:bktr_attach
412 fun = pci_read_config(dev, 0x40, 2);
413 fun = fun | 1; /* Enable writes to the sub-system vendor ID */
417 fun = fun | 2; /* Enable Intel 430 FX compatibility mode */
422 fun = fun | 4; /* Enable SiS/VIA compatibility mode (useful for
425 pci_write_config(dev, 0x40, fun, 2);
460 fun = pci_get_devid(dev)
941 u_int fun; local in function:bktr_attach
1398 u_int fun; local in function:bktr_attach
    [all...]
  /src/sys/dev/usb/
usbdi.h 212 void (*fun)(void *); member in struct:usb_task
228 #define usb_init_task(t, f, a, fl) ((t)->fun = (f), (t)->arg = (a), (t)->queue = USB_NUM_TASKQS, (t)->flags = (fl))
  /src/sys/arch/mips/rmi/
rmixl_pcie.c 859 rmixl_pcie_make_tag(void *v, int bus, int dev, int fun)
861 return ((bus << 16) | (dev << 11) | (fun << 8));
879 int bus, dev, fun; local in function:rmixl_pcie_tag_print
881 rmixl_pcie_decompose_tag(v, tag, &bus, &dev, &fun);
883 s, bus, dev, fun, offset, va, r);
980 int bus, dev, fun; local in function:rmixl_pcie_conf_read
982 rmixl_pcie_decompose_tag(v, tag, &bus, &dev, &fun);
984 __func__, bus, dev, fun, offset);
1013 int bus, dev, fun; local in function:rmixl_pcie_conf_write
1015 rmixl_pcie_decompose_tag(v, tag, &bus, &dev, &fun);
    [all...]
rmixl_pcix.c 623 rmixl_pcix_make_tag(void *v, int bus, int dev, int fun)
625 return ((bus << 16) | (dev << 11) | (fun << 8));
643 int bus, dev, fun; local in function:rmixl_pcix_tag_print
645 rmixl_pcix_decompose_tag(v, tag, &bus, &dev, &fun);
647 s, bus, dev, fun, offset, va, r);
715 int bus, dev, fun; local in function:rmixl_pcix_conf_read
717 rmixl_pcix_decompose_tag(v, tag, &bus, &dev, &fun);
719 __func__, bus, dev, fun, offset);
748 int bus, dev, fun; local in function:rmixl_pcix_conf_write
750 rmixl_pcix_decompose_tag(v, tag, &bus, &dev, &fun);
    [all...]
  /src/sys/kern/
vfs_subr.c 1304 int (*fun)(const void *, void *, size_t, size_t *); local in function:set_statvfs_info
1311 fun = (ukon == UIO_SYSSPACE) ? copystr : copyinstr;
1335 error = (*fun)(onp, &sfs->f_mntonname[len],
1344 error = (*fun)(onp, &sfs->f_mntonname,
1354 fun = (ukfrom == UIO_SYSSPACE) ? copystr : copyinstr;
1355 error = (*fun)(fromp, sfs->f_mntfromname,
  /src/sys/dev/ieee1394/
fwohci.c 771 uint32_t fun; local in function:fwohci_ibr
787 fun = fwphy_rddata(sc, FW_PHY_IBR_REG);
788 fun |= FW_PHY_IBR | FW_PHY_RHB;
789 fun = fwphy_wrdata(sc, FW_PHY_IBR_REG, fun);
791 fun = fwphy_rddata(sc, FW_PHY_ISBR_REG);
792 fun |= FW_PHY_ISBR | FW_PHY_RHB;
793 fun = fwphy_wrdata(sc, FW_PHY_ISBR_REG, fun);
1083 uint32_t fun, stat local in function:fwphy_rddata
1128 uint32_t fun; local in function:fwphy_wrdata
    [all...]

Completed in 28 milliseconds