Home
last modified time | relevance | path

Searched refs:fdc (Results 1 – 25 of 44) sorted by relevance

12

/NextBSD/sys/dev/fdc/
HDfdc.c290 struct fdc_data *fdc; /* pointer to controller structure */ member
323 static SYSCTL_NODE(_debug, OID_AUTO, fdc, CTLFLAG_RW, 0, "fdc driver");
379 fdregwr(struct fdc_data *fdc, int reg, uint8_t v) in fdregwr() argument
382 bus_space_write_1(fdc->iot, fdc->ioh[reg], fdc->ioff[reg], v); in fdregwr()
386 fdregrd(struct fdc_data *fdc, int reg) in fdregrd() argument
389 return bus_space_read_1(fdc->iot, fdc->ioh[reg], fdc->ioff[reg]); in fdregrd()
393 fdctl_wr(struct fdc_data *fdc, u_int8_t v) in fdctl_wr() argument
396 fdregwr(fdc, FDCTL, v); in fdctl_wr()
401 fdout_wr(struct fdc_data *fdc, u_int8_t v) in fdout_wr() argument
404 fdregwr(fdc, FDOUT, v); in fdout_wr()
[all …]
HDfdc_isa.c78 fdc_isa_alloc_resources(device_t dev, struct fdc_data *fdc) in fdc_isa_alloc_resources() argument
84 fdc->fdc_dev = dev; in fdc_isa_alloc_resources()
87 fdc->resio[i] = NULL; in fdc_isa_alloc_resources()
106 fdc->resio[i + j] = res; in fdc_isa_alloc_resources()
107 fdc->ridio[i + j] = newrid; in fdc_isa_alloc_resources()
108 fdc->ioff[i + j] = j; in fdc_isa_alloc_resources()
109 fdc->ioh[i + j] = rman_get_bushandle(res); in fdc_isa_alloc_resources()
112 if (fdc->resio[2] == NULL) { in fdc_isa_alloc_resources()
116 fdc->iot = rman_get_bustag(fdc->resio[2]); in fdc_isa_alloc_resources()
117 if (fdc->resio[7] == NULL) { in fdc_isa_alloc_resources()
[all …]
HDfdc_cbus.c52 fdc_cbus_alloc_resources(device_t dev, struct fdc_data *fdc) in fdc_cbus_alloc_resources() argument
57 fdc->fdc_dev = dev; in fdc_cbus_alloc_resources()
67 fdc->resio[i] = res; in fdc_cbus_alloc_resources()
68 fdc->ridio[i] = rid; in fdc_cbus_alloc_resources()
69 fdc->ioff[i] = i; in fdc_cbus_alloc_resources()
70 fdc->ioh[i] = rman_get_bushandle(res); in fdc_cbus_alloc_resources()
72 fdc->iot = rman_get_bustag(res); in fdc_cbus_alloc_resources()
81 fdc->resio[3] = res; in fdc_cbus_alloc_resources()
82 fdc->ridio[3] = rid; in fdc_cbus_alloc_resources()
83 fdc->ioff[3] = 0; in fdc_cbus_alloc_resources()
[all …]
HDfdc_pccard.c53 fdc_pccard_alloc_resources(device_t dev, struct fdc_data *fdc) in fdc_pccard_alloc_resources() argument
66 fdc->resio[i] = res; in fdc_pccard_alloc_resources()
67 fdc->ridio[i] = rid; in fdc_pccard_alloc_resources()
68 fdc->ioff[i] = i; in fdc_pccard_alloc_resources()
69 fdc->ioh[i] = rman_get_bushandle(res); in fdc_pccard_alloc_resources()
71 fdc->iot = rman_get_bustag(res); in fdc_pccard_alloc_resources()
73 fdc->rid_irq = 0; in fdc_pccard_alloc_resources()
74 fdc->res_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &fdc->rid_irq, in fdc_pccard_alloc_resources()
76 if (fdc->res_irq == NULL) { in fdc_pccard_alloc_resources()
98 struct fdc_data *fdc; in fdc_pccard_attach() local
[all …]
HDfdcvar.h81 __BUS_ACCESSOR(fdc, fdunit, FDC, FDUNIT, int);
82 __BUS_ACCESSOR(fdc, fdtype, FDC, FDTYPE, int);
HDfdc_acpi.c270 DRIVER_MODULE(fdc, acpi, fdc_acpi_driver, fdc_devclass, 0, 0);
/NextBSD/sys/modules/fdc/
HDMakefile3 KMOD= fdc
5 .PATH: ${.CURDIR}/../../dev/fdc
7 SRCS= fdc.c fdc_cbus.c
9 SRCS= fdc.c fdc_isa.c fdc_pccard.c
/NextBSD/contrib/netbsd-tests/lib/libc/sys/
HDt_listen.c56 int fda, fdb, fdc; in ATF_TC_BODY() local
71 fdc = open("listen", O_RDWR | O_CREAT, 0600); in ATF_TC_BODY()
73 ATF_REQUIRE(fda >= 0 && fdb >= 0 && fdc >= 0); in ATF_TC_BODY()
74 ATF_REQUIRE_ERRNO(ENOTSOCK, listen(fdc, 1) == -1); in ATF_TC_BODY()
76 (void)close(fdc); in ATF_TC_BODY()
/NextBSD/sys/amd64/conf/
HDGENERIC.hints2 hint.fdc.0.at="isa"
3 hint.fdc.0.port="0x3F0"
4 hint.fdc.0.irq="6"
5 hint.fdc.0.drq="2"
/NextBSD/release/picobsd/qemu/
HDPICOBSD.hints2 hint.fdc.0.at="isa"
3 hint.fdc.0.port="0x3F0"
4 hint.fdc.0.irq="6"
5 hint.fdc.0.drq="2"
/NextBSD/release/picobsd/bridge/
HDPICOBSD.hints2 hint.fdc.0.at="isa"
3 hint.fdc.0.port="0x3F0"
4 hint.fdc.0.irq="6"
5 hint.fdc.0.drq="2"
HDPICOBSD57 device fdc
/NextBSD/sys/i386/conf/
HDGENERIC.hints2 hint.fdc.0.at="isa"
3 hint.fdc.0.port="0x3F0"
4 hint.fdc.0.irq="6"
5 hint.fdc.0.drq="2"
/NextBSD/sys/pc98/conf/
HDGENERIC.hints7 hint.fdc.0.at="isa"
8 hint.fdc.0.port="0x090"
9 hint.fdc.0.irq="11"
10 hint.fdc.0.drq="2"
/NextBSD/sys/compat/linux/
HDlinux_event.c78 uint32_t fdc; /* epoll udata max index */ member
189 emd->fdc = fd; in epoll_fd_install()
193 if (fd > emd->fdc) { in epoll_fd_install()
195 emd->fdc = fd; in epoll_fd_install()
353 KASSERT(fd <= emd->fdc, ("epoll user data vector" in epoll_kev_copyout()
/NextBSD/tools/kerneldoc/subsys/
HDDoxyfile-dev_fdc14 INPUT = $(DOXYGEN_SRC_PATH)/dev/fdc/ \
/NextBSD/sys/conf/
HDfiles.pc98117 dev/fdc/fdc.c optional fdc
118 dev/fdc/fdc_cbus.c optional fdc isa
HDfiles.amd64241 dev/fdc/fdc.c optional fdc
242 dev/fdc/fdc_acpi.c optional fdc
243 dev/fdc/fdc_isa.c optional fdc isa
244 dev/fdc/fdc_pccard.c optional fdc pccard
HDfiles.i386207 dev/fdc/fdc.c optional fdc
208 dev/fdc/fdc_acpi.c optional fdc
209 dev/fdc/fdc_isa.c optional fdc isa
210 dev/fdc/fdc_pccard.c optional fdc pccard
/NextBSD/contrib/libarchive/libarchive/
HDarchive_string.c3313 } fdc[FDC_MAX]; in archive_string_normalize_D() local
3360 fdc[k] = fdc[k-1]; in archive_string_normalize_D()
3361 fdc[0].ccc = CCC(cp2); in archive_string_normalize_D()
3362 fdc[0].uc = cp2; in archive_string_normalize_D()
3375 if (fdc[j].ccc > ccc) in archive_string_normalize_D()
3380 fdc[k] = fdc[k-1]; in archive_string_normalize_D()
3381 fdc[j].ccc = ccc; in archive_string_normalize_D()
3382 fdc[j].uc = uc2; in archive_string_normalize_D()
3384 fdc[fdi].ccc = ccc; in archive_string_normalize_D()
3385 fdc[fdi].uc = uc2; in archive_string_normalize_D()
[all …]
/NextBSD/contrib/ntp/ntpdate/
HDntpdate.c1891 SOCKET fdc = 0; in input_handler() local
1908 fdc = fd[i]; in input_handler()
1923 fdc = fd[i]; in input_handler()
1960 (void) read(fdc, buf, sizeof buf); in input_handler()
1967 recvfrom(fdc, buf, sizeof(buf), 0, (struct sockaddr *)0, NULL); in input_handler()
1975 rb->recv_length = recvfrom(fdc, (char *)&rb->recv_pkt, in input_handler()
/NextBSD/sys/dev/firewire/
HDfirewire.c708 struct firewire_dev_comm *fdc; in fw_busreset() local
729 fdc = device_get_softc(devlistp[i]); in fw_busreset()
730 if (fdc->post_busreset != NULL) in fw_busreset()
731 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()
/NextBSD/sys/arm/conf/
HDNOTES62 nodevice fdc
/NextBSD/tools/tools/nanobsd/pcengines/
HDALIX_DSK43 device fdc
/NextBSD/sys/powerpc/conf/
HDNOTES81 nodevice fdc

12