/freebsd-current/sys/dev/ida/ |
H A D | ida_pci.c | 49 #include <dev/ida/idavar.h> 50 #include <dev/ida/idareg.h> 62 ida_v3_fifo_full(struct ida_softc *ida) argument 64 return (ida_inl(ida, R_CMD_FIFO) == 0); 68 ida_v3_submit(struct ida_softc *ida, struct ida_qcb *qcb) argument 70 ida_outl(ida, R_CMD_FIFO, qcb->hwqcb_busaddr); 74 ida_v3_done(struct ida_softc *ida) argument 78 completed = ida_inl(ida, R_DONE_FIFO); 86 ida_v3_int_pending(struct ida_softc *ida) argument 88 return (ida_inl(ida, R_INT_PENDIN 92 ida_v3_int_enable(struct ida_softc *ida, int enable) argument 102 ida_v4_fifo_full(struct ida_softc *ida) argument 108 ida_v4_submit(struct ida_softc *ida, struct ida_qcb *qcb) argument 114 ida_v4_done(struct ida_softc *ida) argument 126 ida_v4_int_pending(struct ida_softc *ida) argument 132 ida_v4_int_enable(struct ida_softc *ida, int enable) argument 237 struct ida_softc *ida; local [all...] |
H A D | ida.c | 56 #include <dev/ida/idareg.h> 57 #include <dev/ida/idavar.h> 58 #include <dev/ida/idaio.h> 61 static int ida_alloc_qcbs(struct ida_softc *ida); 62 static void ida_done(struct ida_softc *ida, struct ida_qcb *qcb); 63 static void ida_start(struct ida_softc *ida); 64 static void ida_startio(struct ida_softc *ida); 67 static int ida_wait(struct ida_softc *ida, struct ida_qcb *qcb); 73 .d_name = "ida", 77 ida_free(struct ida_softc *ida) argument 134 ida_get_qcb(struct ida_softc *ida) argument 146 ida_free_qcb(struct ida_softc *ida, struct ida_qcb *qcb) argument 156 idahwqcbvtop(struct ida_softc *ida, struct ida_hardware_qcb *hwqcb) argument 163 idahwqcbptov(struct ida_softc *ida, bus_addr_t hwqcb_addr) argument 173 ida_alloc_qcbs(struct ida_softc *ida) argument 196 ida_setup(struct ida_softc *ida) argument 329 struct ida_softc *ida; local 343 struct ida_softc *ida; local 376 struct ida_softc *ida; local 425 ida_map_qcb(struct ida_softc *ida, struct ida_qcb *qcb, void *data, bus_size_t datasize) argument 444 ida_command(struct ida_softc *ida, int command, void *data, int datasize, int drive, u_int32_t pblkno, int flags) argument 484 ida_submit_buf(struct ida_softc *ida, struct bio *bp) argument 493 ida_startio(struct ida_softc *ida) argument 533 ida_start(struct ida_softc *ida) argument 559 ida_wait(struct ida_softc *ida, struct ida_qcb *qcb) argument 595 struct ida_softc *ida; local 628 ida_done(struct ida_softc *ida, struct ida_qcb *qcb) argument 713 struct ida_softc *ida; local [all...] |
H A D | idavar.h | 36 #define ida_inb(ida, port) \ 37 bus_read_1((ida)->regs, port) 38 #define ida_inw(ida, port) \ 39 bus_read_2((ida)->regs, port) 40 #define ida_inl(ida, port) \ 41 bus_read_4((ida)->regs, port) 43 #define ida_outb(ida, port, val) \ 44 bus_write_1((ida)->regs, port, val) 45 #define ida_outw(ida, port, val) \ 46 bus_write_2((ida) 101 struct ida_softc *ida; member in struct:ida_qcb [all...] |
H A D | ida_disk.c | 54 #include <dev/ida/idareg.h> 55 #include <dev/ida/idavar.h> 78 DRIVER_MODULE(idad, ida, idad_driver, 0, 0);
|
/freebsd-current/sys/compat/linuxkpi/common/include/linux/ |
H A D | idr.h | 73 struct ida name; \ 106 struct ida { struct 111 int ida_pre_get(struct ida *ida, gfp_t gfp_mask); 112 int ida_get_new_above(struct ida *ida, int starting_id, int *p_id); 113 void ida_remove(struct ida *ida, int id); 114 void ida_destroy(struct ida *ida); 122 ida_free(struct ida *ida, int id) argument 129 ida_get_new(struct ida *ida, int *p_id) argument 136 ida_alloc_min(struct ida *ida, unsigned int min, gfp_t gfp) argument 142 ida_alloc_max(struct ida *ida, unsigned int max, gfp_t gfp) argument 148 ida_alloc(struct ida *ida, gfp_t gfp) argument 154 ida_is_empty(struct ida *ida) argument [all...] |
/freebsd-current/sys/modules/ida/ |
H A D | Makefile | 2 .PATH: ${SRCTOP}/sys/dev/ida 4 KMOD= ida 5 SRCS= ida.c ida_disk.c ida_pci.c \
|
/freebsd-current/sys/compat/linuxkpi/common/src/ |
H A D | linux_idr.c | 635 ida_get_new_above(struct ida *ida, int starting_id, int *p_id) argument 637 return (idr_get_new_above(&ida->idr, NULL, starting_id, p_id)); 745 ida_pre_get(struct ida *ida, gfp_t flags) argument 747 if (idr_pre_get(&ida->idr, flags) == 0) 750 if (ida->free_bitmap == NULL) { 751 ida->free_bitmap = 754 return (ida->free_bitmap != NULL); 758 ida_simple_get(struct ida *id argument 791 ida_simple_remove(struct ida *ida, unsigned int id) argument 797 ida_remove(struct ida *ida, int id) argument 803 ida_init(struct ida *ida) argument 809 ida_destroy(struct ida *ida) argument [all...] |
/freebsd-current/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_iter.c | 529 iter_dependents_arg_t *ida = arg; local 531 boolean_t first = ida->first; 532 ida->first = B_FALSE; 535 err = zfs_iter_clones(zhp, ida->flags, iter_dependents_cb, ida); 544 for (f = ida->stack; f != NULL; f = f->next) { 547 if (ida->allowrecursion) { 567 isf.next = ida->stack; 568 ida->stack = &isf; 569 err = zfs_iter_filesystems_v2(zhp, ida 596 iter_dependents_arg_t ida; local [all...] |
/freebsd-current/sys/dev/mlx5/mlx5_lib/ |
H A D | mlx5_gid.c | 42 ida_init(&dev->roce.reserved_gids.ida); 49 WARN_ON(!ida_is_empty(&dev->roce.reserved_gids.ida)); 52 ida_destroy(&dev->roce.reserved_gids.ida); 98 index = ida_simple_get(&dev->roce.reserved_gids.ida, 112 ida_simple_remove(&dev->roce.reserved_gids.ida, gid_index);
|
/freebsd-current/sys/modules/ |
H A D | Makefile | 794 _ida= ida
|
/freebsd-current/sys/dev/mlx5/ |
H A D | driver.h | 664 struct ida ida; member in struct:mlx5_rsvd_gids
|
/freebsd-current/share/man/man4/ |
H A D | Makefile | 222 ida.4 \
|
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zvol_os.c | 131 static struct ida zvol_ida;
|