/freebsd-13-stable/sys/dev/ida/ |
H A D | ida_pci.c | 52 #include <dev/ida/idavar.h> 53 #include <dev/ida/idareg.h> 65 ida_v3_fifo_full(struct ida_softc *ida) argument 67 return (ida_inl(ida, R_CMD_FIFO) == 0); 71 ida_v3_submit(struct ida_softc *ida, struct ida_qcb *qcb) argument 73 ida_outl(ida, R_CMD_FIFO, qcb->hwqcb_busaddr); 77 ida_v3_done(struct ida_softc *ida) argument 81 completed = ida_inl(ida, R_DONE_FIFO); 89 ida_v3_int_pending(struct ida_softc *ida) argument 91 return (ida_inl(ida, R_INT_PENDIN 95 ida_v3_int_enable(struct ida_softc *ida, int enable) argument 105 ida_v4_fifo_full(struct ida_softc *ida) argument 111 ida_v4_submit(struct ida_softc *ida, struct ida_qcb *qcb) argument 117 ida_v4_done(struct ida_softc *ida) argument 129 ida_v4_int_pending(struct ida_softc *ida) argument 135 ida_v4_int_enable(struct ida_softc *ida, int enable) argument 242 struct ida_softc *ida; local [all...] |
H A D | ida.c | 58 #include <dev/ida/idareg.h> 59 #include <dev/ida/idavar.h> 60 #include <dev/ida/idaio.h> 63 static int ida_alloc_qcbs(struct ida_softc *ida); 64 static void ida_done(struct ida_softc *ida, struct ida_qcb *qcb); 65 static void ida_start(struct ida_softc *ida); 66 static void ida_startio(struct ida_softc *ida); 69 static int ida_wait(struct ida_softc *ida, struct ida_qcb *qcb); 75 .d_name = "ida", 79 ida_free(struct ida_softc *ida) argument 136 ida_get_qcb(struct ida_softc *ida) argument 148 ida_free_qcb(struct ida_softc *ida, struct ida_qcb *qcb) argument 158 idahwqcbvtop(struct ida_softc *ida, struct ida_hardware_qcb *hwqcb) argument 165 idahwqcbptov(struct ida_softc *ida, bus_addr_t hwqcb_addr) argument 175 ida_alloc_qcbs(struct ida_softc *ida) argument 198 ida_setup(struct ida_softc *ida) argument 331 struct ida_softc *ida; local 345 struct ida_softc *ida; local 378 struct ida_softc *ida; local 427 ida_map_qcb(struct ida_softc *ida, struct ida_qcb *qcb, void *data, bus_size_t datasize) argument 446 ida_command(struct ida_softc *ida, int command, void *data, int datasize, int drive, u_int32_t pblkno, int flags) argument 486 ida_submit_buf(struct ida_softc *ida, struct bio *bp) argument 495 ida_startio(struct ida_softc *ida) argument 535 ida_start(struct ida_softc *ida) argument 561 ida_wait(struct ida_softc *ida, struct ida_qcb *qcb) argument 597 struct ida_softc *ida; local 630 ida_done(struct ida_softc *ida, struct ida_qcb *qcb) argument 715 struct ida_softc *ida; local [all...] |
H A D | idavar.h | 38 #define ida_inb(ida, port) \ 39 bus_read_1((ida)->regs, port) 40 #define ida_inw(ida, port) \ 41 bus_read_2((ida)->regs, port) 42 #define ida_inl(ida, port) \ 43 bus_read_4((ida)->regs, port) 45 #define ida_outb(ida, port, val) \ 46 bus_write_1((ida)->regs, port, val) 47 #define ida_outw(ida, port, val) \ 48 bus_write_2((ida) 103 struct ida_softc *ida; member in struct:ida_qcb [all...] |
H A D | ida_disk.c | 56 #include <dev/ida/idareg.h> 57 #include <dev/ida/idavar.h> 82 DRIVER_MODULE(idad, ida, idad_driver, idad_devclass, 0, 0);
|
/freebsd-13-stable/sys/modules/ida/ |
H A D | Makefile | 3 .PATH: ${SRCTOP}/sys/dev/ida 5 KMOD= ida 6 SRCS= ida.c ida_disk.c ida_pci.c \
|
/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | idr.h | 74 struct ida name; \ 107 struct ida { struct 112 int ida_pre_get(struct ida *ida, gfp_t gfp_mask); 113 int ida_get_new_above(struct ida *ida, int starting_id, int *p_id); 114 void ida_remove(struct ida *ida, int id); 115 void ida_destroy(struct ida *ida); 123 ida_free(struct ida *ida, int id) argument 130 ida_get_new(struct ida *ida, int *p_id) argument 137 ida_alloc_max(struct ida *ida, unsigned int max, gfp_t gfp) argument 144 ida_is_empty(struct ida *ida) argument [all...] |
/freebsd-13-stable/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_iter.c | 487 iter_dependents_arg_t *ida = arg; local 489 boolean_t first = ida->first; 490 ida->first = B_FALSE; 493 err = zfs_iter_clones(zhp, iter_dependents_cb, ida); 502 for (f = ida->stack; f != NULL; f = f->next) { 505 if (ida->allowrecursion) { 525 isf.next = ida->stack; 526 ida->stack = &isf; 527 err = zfs_iter_filesystems(zhp, iter_dependents_cb, ida); 530 iter_dependents_cb, ida, 546 iter_dependents_arg_t ida; local [all...] |
/freebsd-13-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_idr.c | 630 ida_get_new_above(struct ida *ida, int starting_id, int *p_id) argument 632 return (idr_get_new_above(&ida->idr, NULL, starting_id, p_id)); 740 ida_pre_get(struct ida *ida, gfp_t flags) argument 742 if (idr_pre_get(&ida->idr, flags) == 0) 745 if (ida->free_bitmap == NULL) { 746 ida->free_bitmap = 749 return (ida->free_bitmap != NULL); 753 ida_simple_get(struct ida *id argument 787 ida_simple_remove(struct ida *ida, unsigned int id) argument 793 ida_remove(struct ida *ida, int id) argument 799 ida_init(struct ida *ida) argument 805 ida_destroy(struct ida *ida) argument [all...] |
/freebsd-13-stable/sys/dev/mlx5/mlx5_lib/ |
H A D | mlx5_gid.c | 44 ida_init(&dev->roce.reserved_gids.ida); 51 WARN_ON(!ida_is_empty(&dev->roce.reserved_gids.ida)); 54 ida_destroy(&dev->roce.reserved_gids.ida); 100 index = ida_simple_get(&dev->roce.reserved_gids.ida, 114 ida_simple_remove(&dev->roce.reserved_gids.ida, gid_index);
|
/freebsd-13-stable/sys/dev/mlx5/ |
H A D | driver.h | 651 struct ida ida; member in struct:mlx5_rsvd_gids
|
/freebsd-13-stable/sys/modules/ |
H A D | Makefile | 693 _ida= ida
|
/freebsd-13-stable/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zvol_os.c | 57 static struct ida zvol_ida;
|
/freebsd-13-stable/share/man/man4/ |
H A D | Makefile | 214 ida.4 \
|