/freebsd-11-stable/sys/dev/ida/ |
H A D | ida_eisa.c | 46 #include <dev/ida/idavar.h> 47 #include <dev/ida/idareg.h> 62 ida_v1_fifo_full(struct ida_softc *ida) argument 66 status = ida_inb(ida, R_EISA_SYSTEM_DOORBELL); 71 ida_v1_submit(struct ida_softc *ida, struct ida_qcb *qcb) argument 82 ida_outb(ida, R_EISA_SYSTEM_DOORBELL, EISA_CHANNEL_CLEAR); 83 ida_outl(ida, R_EISA_LIST_ADDR, qcb->hwqcb_busaddr); 84 ida_outw(ida, R_EISA_LIST_LEN, size); 85 ida_outb(ida, R_EISA_LOCAL_DOORBELL, EISA_CHANNEL_BUSY); 89 ida_v1_done(struct ida_softc *ida) argument 114 ida_v1_int_pending(struct ida_softc *ida) argument 120 ida_v1_int_enable(struct ida_softc *ida, int enable) argument 135 ida_v2_fifo_full(struct ida_softc *ida) argument 141 ida_v2_submit(struct ida_softc *ida, struct ida_qcb *qcb) argument 147 ida_v2_done(struct ida_softc *ida) argument 153 ida_v2_int_pending(struct ida_softc *ida) argument 159 ida_v2_int_enable(struct ida_softc *ida, int enable) argument 274 struct ida_softc *ida; local [all...] |
H A D | ida_pci.c | 48 #include <dev/ida/idavar.h> 49 #include <dev/ida/idareg.h> 61 ida_v3_fifo_full(struct ida_softc *ida) argument 63 return (ida_inl(ida, R_CMD_FIFO) == 0); 67 ida_v3_submit(struct ida_softc *ida, struct ida_qcb *qcb) argument 69 ida_outl(ida, R_CMD_FIFO, qcb->hwqcb_busaddr); 73 ida_v3_done(struct ida_softc *ida) argument 77 completed = ida_inl(ida, R_DONE_FIFO); 85 ida_v3_int_pending(struct ida_softc *ida) argument 87 return (ida_inl(ida, R_INT_PENDIN 91 ida_v3_int_enable(struct ida_softc *ida, int enable) argument 101 ida_v4_fifo_full(struct ida_softc *ida) argument 107 ida_v4_submit(struct ida_softc *ida, struct ida_qcb *qcb) argument 113 ida_v4_done(struct ida_softc *ida) argument 125 ida_v4_int_pending(struct ida_softc *ida) argument 131 ida_v4_int_enable(struct ida_softc *ida, int enable) argument 238 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 | 52 #include <dev/ida/idareg.h> 53 #include <dev/ida/idavar.h> 78 DRIVER_MODULE(idad, ida, idad_driver, idad_devclass, 0, 0);
|
/freebsd-11-stable/sys/modules/ida/ |
H A D | Makefile | 1 # $FreeBSD: stable/11/sys/modules/ida/Makefile 319182 2017-05-30 04:11:12Z ngie $ 3 .PATH: ${SRCTOP}/sys/dev/ida 5 KMOD= ida 6 SRCS= ida.c ida_disk.c ida_pci.c \
|
/freebsd-11-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-11-stable/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_iter.c | 455 iter_dependents_arg_t *ida = arg; local 457 boolean_t first = ida->first; 458 ida->first = B_FALSE; 461 err = zfs_iter_clones(zhp, iter_dependents_cb, ida); 470 for (f = ida->stack; f != NULL; f = f->next) { 473 if (ida->allowrecursion) { 493 isf.next = ida->stack; 494 ida->stack = &isf; 495 err = zfs_iter_filesystems(zhp, iter_dependents_cb, ida); 498 iter_dependents_cb, ida); 515 iter_dependents_arg_t ida; local [all...] |
/freebsd-11-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_idr.c | 631 ida_get_new_above(struct ida *ida, int starting_id, int *p_id) argument 633 return (idr_get_new_above(&ida->idr, NULL, starting_id, p_id)); 741 ida_pre_get(struct ida *ida, gfp_t flags) argument 743 if (idr_pre_get(&ida->idr, flags) == 0) 746 if (ida->free_bitmap == NULL) { 747 ida->free_bitmap = 750 return (ida->free_bitmap != NULL); 754 ida_simple_get(struct ida *id argument 788 ida_simple_remove(struct ida *ida, unsigned int id) argument 794 ida_remove(struct ida *ida, int id) argument 800 ida_init(struct ida *ida) argument 806 ida_destroy(struct ida *ida) argument [all...] |
/freebsd-11-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-11-stable/sys/dev/mlx5/ |
H A D | driver.h | 635 struct ida ida; member in struct:mlx5_rsvd_gids
|
/freebsd-11-stable/sys/modules/ |
H A D | Makefile | 672 _ida= ida
|
/freebsd-11-stable/share/man/man4/ |
H A D | Makefile | 212 ida.4 \
|