/freebsd/sys/dev/fdc/ |
H A D | fdc.c | 239 struct fdc_data *fdc; /* pointer to controller structure */ member 270 static SYSCTL_NODE(_debug, OID_AUTO, fdc, CTLFLAG_RW | CTLFLAG_MPSAFE, 0, 319 fdregwr(struct fdc_data *fdc, int reg, uint8_t v) in fdregwr() argument 322 bus_space_write_1(fdc->iot, fdc->ioh[reg], fdc->ioff[reg], v); in fdregwr() 326 fdregrd(struct fdc_data *fdc, int reg) in fdregrd() argument 329 return bus_space_read_1(fdc->iot, fdc->ioh[reg], fdc->ioff[reg]); in fdregrd() 333 fdctl_wr(struct fdc_data *fdc, u_int8_t v) in fdctl_wr() argument 336 fdregwr(fdc, FDCTL, v); in fdctl_wr() 340 fdout_wr(struct fdc_data *fdc, u_int8_t v) in fdout_wr() argument 343 fdregwr(fdc, FDOUT, v); in fdout_wr() [all …]
|
H A D | fdc_isa.c | 76 fdc_isa_alloc_resources(device_t dev, struct fdc_data *fdc) in fdc_isa_alloc_resources() argument 82 fdc->fdc_dev = dev; in fdc_isa_alloc_resources() 85 fdc->resio[i] = NULL; in fdc_isa_alloc_resources() 104 fdc->resio[i + j] = res; in fdc_isa_alloc_resources() 105 fdc->ridio[i + j] = newrid; in fdc_isa_alloc_resources() 106 fdc->ioff[i + j] = j; in fdc_isa_alloc_resources() 107 fdc->ioh[i + j] = rman_get_bushandle(res); in fdc_isa_alloc_resources() 110 if (fdc->resio[2] == NULL) { in fdc_isa_alloc_resources() 114 fdc->iot = rman_get_bustag(fdc->resio[2]); in fdc_isa_alloc_resources() 115 if (fdc->resio[7] == NULL) { in fdc_isa_alloc_resources() [all …]
|
H A D | fdcvar.h | 76 __BUS_ACCESSOR(fdc, fdunit, FDC, FDUNIT, int); 77 __BUS_ACCESSOR(fdc, fdtype, FDC, FDTYPE, int);
|
H A D | fdc_acpi.c | 274 DRIVER_MODULE(fdc, acpi, fdc_acpi_driver, 0, 0);
|
/freebsd/bin/sh/ |
H A D | miscbltin.c | 78 fdctx_init(int fd, struct fdctx *fdc) in fdctx_init() argument 84 *fdc = (struct fdctx){ in fdctx_init() 87 .ep = &fdc->buf[0], /* No data */ in fdctx_init() 92 fdgetc(struct fdctx *fdc, char *c) in fdgetc() argument 96 if (&fdc->buf[fdc->off] == fdc->ep) { in fdgetc() 97 nread = read(fdc->fd, fdc->buf, fdc->buflen); in fdgetc() 99 fdc->off = 0; in fdgetc() 100 fdc->ep = fdc->buf + nread; in fdgetc() 104 *c = fdc->buf[fdc->off++]; in fdgetc() 110 fdctx_destroy(struct fdctx *fdc) in fdctx_destroy() argument [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_listen.c | 53 int fda, fdb, fdc; in ATF_TC_BODY() local 68 fdc = open("listen", O_RDWR | O_CREAT, 0600); in ATF_TC_BODY() 70 ATF_REQUIRE(fda >= 0 && fdb >= 0 && fdc >= 0); in ATF_TC_BODY() 71 ATF_REQUIRE_ERRNO(ENOTSOCK, listen(fdc, 1) == -1); in ATF_TC_BODY() 73 (void)close(fdc); in ATF_TC_BODY()
|
/freebsd/sys/modules/fdc/ |
H A D | Makefile | 1 KMOD= fdc 3 .PATH: ${SRCTOP}/sys/dev/fdc 4 SRCS= fdc.c fdc_isa.c
|
/freebsd/sys/i386/conf/ |
H A D | GENERIC.hints | 1 hint.fdc.0.at="isa" 2 hint.fdc.0.port="0x3F0" 3 hint.fdc.0.irq="6" 4 hint.fdc.0.drq="2"
|
H A D | GENERIC | 116 device fdc
|
/freebsd/sys/contrib/device-tree/src/powerpc/ |
H A D | amigaone.dts | 151 fdc@3f0 { 152 device_type = "fdc";
|
/freebsd/tools/kerneldoc/subsys/ |
H A D | Doxyfile-dev_fdc | 12 INPUT = $(DOXYGEN_SRC_PATH)/dev/fdc/ \
|
/freebsd/sys/conf/ |
H A D | files.x86 | 93 dev/fdc/fdc.c optional fdc 94 dev/fdc/fdc_acpi.c optional fdc 95 dev/fdc/fdc_isa.c optional fdc isa
|
/freebsd/sys/x86/conf/ |
H A D | NOTES | 394 device fdc 395 envvar hint.fdc.0.at="isa" 396 envvar hint.fdc.0.port="0x3F0" 397 envvar hint.fdc.0.irq="6" 398 envvar hint.fdc.0.drq="2" 408 #hint.fdc.0.flags="1"
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_string.c | 3301 } fdc[FDC_MAX]; in archive_string_normalize_D() local 3348 fdc[k] = fdc[k-1]; in archive_string_normalize_D() 3349 fdc[0].ccc = CCC(cp2); in archive_string_normalize_D() 3350 fdc[0].uc = cp2; in archive_string_normalize_D() 3363 if (fdc[j].ccc > ccc) in archive_string_normalize_D() 3368 fdc[k] = fdc[k-1]; in archive_string_normalize_D() 3369 fdc[j].ccc = ccc; in archive_string_normalize_D() 3370 fdc[j].uc = uc2; in archive_string_normalize_D() 3372 fdc[fdi].ccc = ccc; in archive_string_normalize_D() 3373 fdc[fdi].uc = uc2; in archive_string_normalize_D() [all …]
|
/freebsd/contrib/ntp/ntpdate/ |
H A D | ntpdate.c | 1906 SOCKET fdc = 0; in input_handler() local 1923 fdc = fd[i]; in input_handler() 1938 fdc = fd[i]; in input_handler() 1975 (void) read(fdc, buf, sizeof buf); in input_handler() 1982 recvfrom(fdc, buf, sizeof(buf), 0, (struct sockaddr *)0, NULL); in input_handler() 1990 rb->recv_length = recvfrom(fdc, (char *)&rb->recv_pkt, in input_handler()
|
/freebsd/sys/dev/firewire/ |
H A D | firewire.c | 707 struct firewire_dev_comm *fdc; in fw_busreset() local 728 fdc = device_get_softc(devlistp[i]); in fw_busreset() 729 if (fdc->post_busreset != NULL) in fw_busreset() 730 fdc->post_busreset(fdc); in fw_busreset() 1769 struct firewire_dev_comm *fdc; in fw_attach_dev() local 1797 fdc = device_get_softc(devlistp[i]); in fw_attach_dev() 1798 if (fdc->post_explore != NULL) in fw_attach_dev() 1799 fdc->post_explore(fdc); in fw_attach_dev()
|
/freebsd/tools/tools/nanobsd/pcengines/ |
H A D | ALIX_DSK | 44 device fdc
|
/freebsd/sys/modules/ |
H A D | Makefile | 116 fdc \
|
/freebsd/libexec/bootpd/ |
H A D | Changes | 256 01/27/93 <fdc@watsun.cc.columbia.edu> Frank da Cruz
|
/freebsd/share/man/man4/ |
H A D | Makefile | 156 fdc.4 \
|
/freebsd/usr.sbin/syslogd/ |
H A D | syslogd.c | 3004 size_t fdc; in maybe_dup_forw_socket() local 3008 fdp = nvlist_get_descriptor_array(line[i], "f_addr_fds", &fdc); in maybe_dup_forw_socket() 3010 for (size_t j = 0; j < fdc; j++) { in maybe_dup_forw_socket()
|
/freebsd/sys/amd64/conf/ |
H A D | GENERIC | 131 device fdc
|
/freebsd/share/misc/ |
H A D | usb_vendors | 1698 0fdc Floppy 15939 0fdc Micro Plus
|
H A D | pci_vendors | 11984 0fdc GK107 [GK107-INT22-A1] 20194 1028 1fdc Express Flash PM1725a 6.4TB SFF
|