Searched refs:fdc (Results 1 - 16 of 16) sorted by relevance

/freebsd-11-stable/sys/dev/fdc/
H A Dfdc_cbus.c45 #include <dev/fdc/fdcvar.h>
52 fdc_cbus_alloc_resources(device_t dev, struct fdc_data *fdc) argument
57 fdc->fdc_dev = dev;
67 fdc->resio[i] = res;
68 fdc->ridio[i] = rid;
69 fdc->ioff[i] = i;
70 fdc->ioh[i] = rman_get_bushandle(res);
72 fdc->iot = rman_get_bustag(res);
81 fdc->resio[3] = res;
82 fdc
124 struct fdc_data *fdc; local
144 struct fdc_data *fdc; local
[all...]
H A Dfdc.c91 #include <dev/fdc/fdcvar.h>
291 struct fdc_data *fdc; /* pointer to controller structure */ member in struct:fd_data
324 static SYSCTL_NODE(_debug, OID_AUTO, fdc, CTLFLAG_RW, 0, "fdc driver");
380 fdregwr(struct fdc_data *fdc, int reg, uint8_t v) argument
383 bus_space_write_1(fdc->iot, fdc->ioh[reg], fdc->ioff[reg], v);
387 fdregrd(struct fdc_data *fdc, int reg) argument
390 return bus_space_read_1(fdc
394 fdctl_wr(struct fdc_data *fdc, u_int8_t v) argument
402 fdout_wr(struct fdc_data *fdc, u_int8_t v) argument
410 fdsts_rd(struct fdc_data *fdc) argument
418 fddsr_wr(struct fdc_data *fdc, u_int8_t v) argument
426 fddata_wr(struct fdc_data *fdc, u_int8_t v) argument
433 fddata_rd(struct fdc_data *fdc) argument
441 fdin_rd(struct fdc_data *fdc) argument
453 fdbcdr_wr(struct fdc_data *fdc, int iswrite, uint16_t count) argument
461 fdc_err(struct fdc_data *fdc, const char *s) argument
484 fdc_in(struct fdc_data *fdc, int *ptr) argument
506 fdc_out(struct fdc_data *fdc, int x) argument
534 fdc_cmd(struct fdc_data *fdc, int n_out, ...) argument
580 set_density(struct fdc_data *fdc) argument
592 struct fdc_data *fdc = fd->fdc; local
614 struct fdc_data *fdc; local
643 fdc_reset(struct fdc_data *fdc) argument
702 fdc_sense_drive(struct fdc_data *fdc, int *st3p) argument
714 fdc_sense_int(struct fdc_data *fdc, int *st0p, int *cylp) argument
744 fdc_read_status(struct fdc_data *fdc) argument
770 struct fdc_data *fdc; local
806 struct fdc_data *fdc; local
862 fdc_pio(struct fdc_data *fdc) argument
884 fdc_biodone(struct fdc_data *fdc, int error) argument
913 fdc_worker(struct fdc_data *fdc) argument
1339 struct fdc_data *fdc; local
1371 struct fdc_data *fdc; local
1399 struct fdc_data *fdc; local
1610 struct fdc_data *fdc; local
1675 struct fdc_data * fdc; local
1810 fdc_release_resources(struct fdc_data *fdc) argument
1876 fdc_initial_reset(device_t dev, struct fdc_data *fdc) argument
1954 struct fdc_data *fdc; local
2017 struct fdc_data *fdc; local
2069 struct fdc_data *fdc; local
2125 struct fdc_data *fdc; local
[all...]
H A Dfdc_isa.c42 #include <dev/fdc/fdcvar.h>
78 fdc_isa_alloc_resources(device_t dev, struct fdc_data *fdc) argument
84 fdc->fdc_dev = dev;
87 fdc->resio[i] = NULL;
106 fdc->resio[i + j] = res;
107 fdc->ridio[i + j] = newrid;
108 fdc->ioff[i + j] = j;
109 fdc->ioh[i + j] = rman_get_bushandle(res);
112 if (fdc->resio[2] == NULL) {
116 fdc
161 struct fdc_data *fdc; local
183 struct fdc_data *fdc; local
[all...]
H A Dfdc_pccard.c41 #include <dev/fdc/fdcvar.h>
53 fdc_pccard_alloc_resources(device_t dev, struct fdc_data *fdc) argument
65 fdc->resio[i] = res;
66 fdc->ridio[i] = rid;
67 fdc->ioff[i] = i;
68 fdc->ioh[i] = rman_get_bushandle(res);
70 fdc->iot = rman_get_bustag(res);
72 fdc->rid_irq = 0;
73 fdc->res_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &fdc
97 struct fdc_data *fdc; local
[all...]
H A Dfdcvar.h81 __BUS_ACCESSOR(fdc, fdunit, FDC, FDUNIT, int);
82 __BUS_ACCESSOR(fdc, fdtype, FDC, FDTYPE, int);
H A Dfdc_acpi.c41 #include <dev/fdc/fdcvar.h>
119 /* Call common attach code in fdc(4) first. */
223 * child of acpi. A better way to implement this would be to make fdc
267 "fdc",
272 DRIVER_MODULE(fdc, acpi, fdc_acpi_driver, fdc_devclass, 0, 0);
/freebsd-11-stable/sys/modules/fdc/
H A DMakefile1 # $FreeBSD: stable/11/sys/modules/fdc/Makefile 338544 2018-09-09 18:08:38Z eugen $
3 KMOD= fdc
5 .PATH: ${SRCTOP}/sys/dev/fdc
7 SRCS= fdc.c fdc_cbus.c
9 SRCS= fdc.c fdc_isa.c fdc_pccard.c
/freebsd-11-stable/bin/sh/
H A Dmiscbltin.c84 fdctx_init(int fd, struct fdctx *fdc) argument
90 *fdc = (struct fdctx){
93 .ep = &fdc->buf[0], /* No data */
98 fdgetc(struct fdctx *fdc, char *c) argument
102 if (&fdc->buf[fdc->off] == fdc->ep) {
103 nread = read(fdc->fd, fdc->buf, fdc
116 fdctx_destroy(struct fdctx *fdc) argument
[all...]
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_listen.c53 int fda, fdb, fdc; local
68 fdc = open("listen", O_RDWR | O_CREAT, 0600);
70 ATF_REQUIRE(fda >= 0 && fdb >= 0 && fdc >= 0);
71 ATF_REQUIRE_ERRNO(ENOTSOCK, listen(fdc, 1) == -1);
73 (void)close(fdc);
/freebsd-11-stable/crypto/openssl/crypto/
H A Dpariscid.pl150 fdc 0($out)
159 fdc 0($out)
185 fdc 0($out)
195 fdc 0($out)
/freebsd-11-stable/contrib/ntp/ntpdate/
H A Dntpdate.c1906 SOCKET fdc = 0; local
1923 fdc = fd[i];
1938 fdc = fd[i];
1975 (void) read(fdc, buf, sizeof buf);
1982 recvfrom(fdc, buf, sizeof(buf), 0, (struct sockaddr *)0, NULL);
1990 rb->recv_length = recvfrom(fdc, (char *)&rb->recv_pkt,
/freebsd-11-stable/sys/dev/firewire/
H A Dfirewire.c708 struct firewire_dev_comm *fdc; local
729 fdc = device_get_softc(devlistp[i]);
730 if (fdc->post_busreset != NULL)
731 fdc->post_busreset(fdc);
1770 struct firewire_dev_comm *fdc; local
1798 fdc = device_get_softc(devlistp[i]);
1799 if (fdc->post_explore != NULL)
1800 fdc->post_explore(fdc);
[all...]
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_event.c81 uint32_t fdc; /* epoll udata max index */ member in struct:epoll_emuldata
238 emd->fdc = fd;
242 if (fd > emd->fdc) {
244 emd->fdc = fd;
403 KASSERT(fd <= emd->fdc, ("epoll user data vector"
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_string.c3308 } fdc[FDC_MAX]; local
3355 fdc[k] = fdc[k-1];
3356 fdc[0].ccc = CCC(cp2);
3357 fdc[0].uc = cp2;
3370 if (fdc[j].ccc > ccc)
3375 fdc[k] = fdc[k-1];
3376 fdc[j].ccc = ccc;
3377 fdc[
[all...]
/freebsd-11-stable/sys/modules/
H A DMakefile128 fdc \
/freebsd-11-stable/share/man/man4/
H A DMakefile165 fdc.4 \

Completed in 191 milliseconds