/src/sys/external/bsd/drm2/include/drm/ |
drm_sysctl.h | 33 const void *bp, *ep, *bd, *ed; member in struct:drm_sysctl_def
|
/src/sys/arch/i386/stand/lib/ |
bootinfo_biosgeom.c | 68 struct biosdisk_extinfo ed; local in function:bi_getbiosgeom 84 if (set_geometry(&d, &ed)) 103 ed.size, ed.flags, ed.cyl, ed.head, ed.sec, 104 ed.totsec, ed.sbytes); 108 bibg->disk[nvalid].totsec = ed.totsec [all...] |
/src/sys/dev/usb/ |
emdtv_ir.c | 74 usb_endpoint_descriptor_t *ed; local in function:emdtv_ir_attach 80 ed = usbd_interface2endpoint_descriptor(sc->sc_iface, 0); 81 if (ed == NULL) 92 status = usbd_open_pipe_intr(sc->sc_iface, ed->bEndpointAddress,
|
ualea.c | 94 const usb_endpoint_descriptor_t *ed; local in function:ualea_attach 110 ed = usbd_interface2endpoint_descriptor(uiaa->uiaa_iface, 0); 111 if (ed == NULL) { 115 if (UE_GET_DIR(ed->bEndpointAddress) != UE_DIR_IN || 116 UE_GET_XFERTYPE(ed->bmAttributes) != UE_BULK) { 122 sc->sc_maxpktsize = UGETW(ed->wMaxPacketSize); 125 status = usbd_open_pipe(uiaa->uiaa_iface, ed->bEndpointAddress,
|
ubsa.c | 158 usb_endpoint_descriptor_t *ed; local in function:ubsa_attach 230 ed = usbd_interface2endpoint_descriptor(sc->sc_iface[0], i); 231 if (ed == NULL) { 237 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && 238 UE_GET_XFERTYPE(ed->bmAttributes) == UE_INTERRUPT) { 239 sc->sc_intr_number = ed->bEndpointAddress; 240 sc->sc_isize = UGETW(ed->wMaxPacketSize); 241 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && 242 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) { 243 ucaa.ucaa_bulkin = ed->bEndpointAddress [all...] |
umodeswitch.c | 70 usb_endpoint_descriptor_t *ed; local in function:send_bulkmsg 89 ed = NULL; 91 ed = usbd_interface2endpoint_descriptor(iface, i); 92 if (ed == NULL) 94 if (UE_GET_DIR(ed->bEndpointAddress) != UE_DIR_OUT) 96 if ((ed->bmAttributes & UE_XFERTYPE) == UE_BULK) 103 err = usbd_open_pipe(iface, ed->bEndpointAddress, 107 __func__, ed->bEndpointAddress);
|
auvitek.c | 96 usb_endpoint_descriptor_t *ed; local in function:auvitek_attach 155 ed = usbd_interface2endpoint_descriptor(sc->sc_isoc_iface, i); 156 if (ed == NULL) { 162 dir = UE_GET_DIR(ed->bEndpointAddress); 163 type = UE_GET_XFERTYPE(ed->bmAttributes); 167 sc->sc_ax.ax_endpt = ed->bEndpointAddress; 169 UE_GET_SIZE(UGETW(ed->wMaxPacketSize)) * 170 (UE_GET_TRANS(UGETW(ed->wMaxPacketSize)) + 1); 200 ed = usbd_interface2endpoint_descriptor(sc->sc_bulk_iface, i); 201 if (ed == NULL) [all...] |
emdtv_dtv.c | 86 usb_endpoint_descriptor_t *ed; local in function:emdtv_dtv_attach 96 ed = usbd_interface2endpoint_descriptor(sc->sc_iface, 3); 97 if (ed == NULL) { 101 sc->sc_isoc_maxpacketsize = UGETW(ed->wMaxPacketSize); 105 ed->bEndpointAddress); 107 ed->bEndpointAddress, USBD_EXCLUSIVE_USE|USBD_MPSAFE,
|
if_upl.c | 149 usb_endpoint_descriptor_t *ed; local in function:upl_attach 188 ed = usbd_interface2endpoint_descriptor(un->un_iface, i); 189 if (ed == NULL) { 193 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && 194 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) { 195 un->un_ed[USBNET_ENDPT_RX] = ed->bEndpointAddress; 196 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && 197 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) { 198 un->un_ed[USBNET_ENDPT_TX] = ed->bEndpointAddress;
|
if_cdce.c | 121 usb_endpoint_descriptor_t *ed; local in function:cdce_attach 211 ed = usbd_interface2endpoint_descriptor(un->un_iface, i); 212 if (!ed) { 217 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && 218 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) { 219 un->un_ed[USBNET_ENDPT_RX] = ed->bEndpointAddress; 220 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && 221 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) { 222 un->un_ed[USBNET_ENDPT_TX] = ed->bEndpointAddress; 223 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN & [all...] |
if_ncm.c | 97 usb_endpoint_descriptor_t *ed; local in function:ncm_attach 178 ed = usbd_interface2endpoint_descriptor(un->un_iface, i); 179 if (!ed) { 184 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && 185 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) { 186 un->un_ed[USBNET_ENDPT_RX] = ed->bEndpointAddress; 187 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && 188 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) { 189 un->un_ed[USBNET_ENDPT_TX] = ed->bEndpointAddress; 190 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN & [all...] |
if_kue.c | 422 usb_endpoint_descriptor_t *ed; local in function:kue_attach 469 ed = usbd_interface2endpoint_descriptor(un->un_iface, i); 470 if (ed == NULL) { 474 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && 475 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) { 476 un->un_ed[USBNET_ENDPT_RX] = ed->bEndpointAddress; 477 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && 478 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) { 479 un->un_ed[USBNET_ENDPT_TX] = ed->bEndpointAddress; 480 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN & [all...] |
if_udav.c | 165 usb_endpoint_descriptor_t *ed; local in function:udav_attach 213 ed = usbd_interface2endpoint_descriptor(un->un_iface, i); 214 if (ed == NULL) { 218 if ((ed->bmAttributes & UE_XFERTYPE) == UE_BULK && 219 UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN) 220 un->un_ed[USBNET_ENDPT_RX] = ed->bEndpointAddress; 221 else if ((ed->bmAttributes & UE_XFERTYPE) == UE_BULK && 222 UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT) 223 un->un_ed[USBNET_ENDPT_TX] = ed->bEndpointAddress; 224 else if ((ed->bmAttributes & UE_XFERTYPE) == UE_INTERRUPT & [all...] |
uark.c | 124 usb_endpoint_descriptor_t *ed; local in function:uark_attach 159 ed = usbd_interface2endpoint_descriptor(sc->sc_iface, i); 160 if (ed == NULL) { 167 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && 168 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) 169 ucaa.ucaa_bulkin = ed->bEndpointAddress; 170 else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && 171 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) 172 ucaa.ucaa_bulkout = ed->bEndpointAddress;
|
uep.c | 139 usb_endpoint_descriptor_t *ed; local in function:uep_attach 192 ed = usbd_interface2endpoint_descriptor(sc->sc_iface, i); 193 if (ed == NULL) { 200 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && 201 UE_GET_XFERTYPE(ed->bmAttributes) == UE_INTERRUPT) { 202 sc->sc_intr_number = ed->bEndpointAddress; 203 sc->sc_isize = UGETW(ed->wMaxPacketSize);
|
ugensa.c | 142 usb_endpoint_descriptor_t *ed; local in function:ugensa_attach 201 ed = usbd_interface2endpoint_descriptor(iface, i); 202 if (ed == NULL) { 209 addr = ed->bEndpointAddress; 210 dir = UE_GET_DIR(ed->bEndpointAddress); 211 attr = ed->bmAttributes & UE_XFERTYPE;
|
uhmodem.c | 195 usb_endpoint_descriptor_t *ed; local in function:uhmodem_attach 282 ed = usbd_interface2endpoint_descriptor( 284 if (ed == NULL) { 291 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && 292 UE_GET_XFERTYPE(ed->bmAttributes) == UE_INTERRUPT) { 293 sc->sc_intr_number = ed->bEndpointAddress; 294 sc->sc_isize = UGETW(ed->wMaxPacketSize); 295 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && 296 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) { 297 ucaa.ucaa_bulkin = ed->bEndpointAddress 509 usb_endpoint_descriptor_t *ed; local in function:uhmodem_endpointhalt [all...] |
uipaq.c | 157 usb_endpoint_descriptor_t *ed; local in function:uipaq_attach 220 ed = usbd_interface2endpoint_descriptor(iface, i); 221 if (ed == NULL) { 226 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && 227 (ed->bmAttributes & UE_XFERTYPE) == UE_BULK) { 228 ucaa.ucaa_bulkin = ed->bEndpointAddress; 229 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && 230 (ed->bmAttributes & UE_XFERTYPE) == UE_BULK) { 231 ucaa.ucaa_bulkout = ed->bEndpointAddress;
|
umodem_common.c | 121 usb_endpoint_descriptor_t *ed; local in function:umodem_common_attach 180 ed = usbd_interface2endpoint_descriptor(sc->sc_data_iface, i); 181 if (ed == NULL) { 186 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && 187 (ed->bmAttributes & UE_XFERTYPE) == UE_BULK) { 188 ucaa->ucaa_bulkin = ed->bEndpointAddress; 189 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && 190 (ed->bmAttributes & UE_XFERTYPE) == UE_BULK) { 191 ucaa->ucaa_bulkout = ed->bEndpointAddress; 235 ed = usbd_interface2endpoint_descriptor(sc->sc_ctl_iface, i) [all...] |
umass.c | 381 usb_endpoint_descriptor_t *ed; local in function:umass_attach 527 ed = usbd_interface2endpoint_descriptor(sc->sc_iface, i); 528 if (ed == NULL) { 535 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN 536 && (ed->bmAttributes & UE_XFERTYPE) == UE_BULK) { 537 sc->sc_epaddr[UMASS_BULKIN] = ed->bEndpointAddress; 538 } else if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT 539 && (ed->bmAttributes & UE_XFERTYPE) == UE_BULK) { 540 sc->sc_epaddr[UMASS_BULKOUT] = ed->bEndpointAddress; 542 && UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_I [all...] |
if_urndis.c | 899 usb_endpoint_descriptor_t *ed; local in function:urndis_attach 1008 ed = usbd_interface2endpoint_descriptor( 1010 if (!ed) { 1015 if (UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_IN && 1016 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) { 1017 un->un_ed[USBNET_ENDPT_RX] = ed->bEndpointAddress; 1020 UE_GET_DIR(ed->bEndpointAddress) == UE_DIR_OUT && 1021 UE_GET_XFERTYPE(ed->bmAttributes) == UE_BULK) { 1022 un->un_ed[USBNET_ENDPT_TX] = ed->bEndpointAddress;
|
/src/sys/arch/mips/adm5120/ |
adm5120_extio.c | 128 extio_attach_args_create(struct extio_attach_args *ea, struct extiodev *ed, 131 ea->ea_name = ed->ed_name; 132 ea->ea_addr = ed->ed_addr; 133 ea->ea_irq = ed->ed_irq; 136 ea->ea_gpio_mask = ed->ed_gpio_mask; 137 ea->ea_cfio = ed->ed_cfio; 290 struct extiodev *ed; local in function:extio_attach 364 for (ed = extiodevs; ed->ed_name != NULL; ed++) [all...] |
/src/tests/lib/libc/gen/ |
t_vis.c | 148 } ed[] = { local in function:ATF_TC_BODY 157 for (size_t i = 0; i < __arraycount(ed); i++) { 158 ATF_REQUIRE(strunvis(uv, ed[i].e) == ed[i].error); 159 if (ed[i].error > 0) 160 ATF_REQUIRE(memcmp(ed[i].d, uv, ed[i].error) == 0);
|
/src/sys/dev/mca/ |
ed_mca.c | 153 struct ed_softc *ed = device_private(self); local in function:ed_mca_attach 159 ed->sc_dev = self; 160 ed->edc_softc = sc; 161 ed->sc_devno = eda->edc_drive; 162 edc_add_disk(sc, ed); 164 bufq_alloc(&ed->sc_q, "disksort", BUFQ_SORT_RAWBLOCK); 165 mutex_init(&ed->sc_q_lock, MUTEX_DEFAULT, IPL_VM); 167 if (ed_get_params(ed, &drv_flags)) { 173 (u_int64_t) ed->sc_capacity * DEV_BSIZE); 176 ed->cyl, ed->heads, ed->sectors 211 struct ed_softc *ed; local in function:edmcastrategy 474 struct ed_softc *ed = device_lookup_private(&ed_cd, DISKUNIT(dev)); local in function:edmcaioctl 615 struct ed_softc *ed; \/* disk unit to do the I\/O *\/ local in function:edmcadump [all...] |
/src/sys/arch/hpcsh/dev/ |
pfckbd.c | 395 uint8_t data[2], cd, dd, ed; local in function:pfckbd_callout_hitachi 415 ed = _reg_read_1(SH7709_PEDR) & ~PFCKBD_HITACHI_PEDR_SCN_MASK; 420 _reg_write_1(SH7709_PEDR, ed | scan[i].e); 450 uint8_t cd, dd, ed; local in function:pfckbd_poll_hitachi_power 465 ed = _reg_read_1(SH7709_PEDR) & ~PFCKBD_HITACHI_PEDR_SCN_MASK; 470 _reg_write_1(SH7709_PEDR, ed | poll.e);
|