hwreq 521 drivers/regulator/ab8500-ext.c if (info->cfg && info->cfg->hwreq) hwreq 557 drivers/regulator/ab8500-ext.c if (info->cfg && info->cfg->hwreq) hwreq 639 drivers/regulator/ab8500-ext.c !(info->cfg && info->cfg->hwreq)) { hwreq 340 drivers/usb/chipidea/udc.c static int add_td_to_list(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq, hwreq 361 drivers/usb/chipidea/udc.c u32 mul = hwreq->req.length / hwep->ep.maxpacket; hwreq 363 drivers/usb/chipidea/udc.c if (hwreq->req.length == 0 hwreq 364 drivers/usb/chipidea/udc.c || hwreq->req.length % hwep->ep.maxpacket) hwreq 369 drivers/usb/chipidea/udc.c temp = (u32) (hwreq->req.dma + hwreq->req.actual); hwreq 379 drivers/usb/chipidea/udc.c hwreq->req.actual += length; hwreq 381 drivers/usb/chipidea/udc.c if (!list_empty(&hwreq->tds)) { hwreq 383 drivers/usb/chipidea/udc.c lastnode = list_entry(hwreq->tds.prev, hwreq 389 drivers/usb/chipidea/udc.c list_add_tail(&node->td, &hwreq->tds); hwreq 410 drivers/usb/chipidea/udc.c static int _hardware_enqueue(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq) hwreq 414 drivers/usb/chipidea/udc.c unsigned rest = hwreq->req.length; hwreq 419 drivers/usb/chipidea/udc.c if (hwreq->req.status == -EALREADY) hwreq 422 drivers/usb/chipidea/udc.c hwreq->req.status = -EALREADY; hwreq 425 drivers/usb/chipidea/udc.c &hwreq->req, hwep->dir); hwreq 433 drivers/usb/chipidea/udc.c if (hwreq->req.dma % PAGE_SIZE) hwreq 437 drivers/usb/chipidea/udc.c ret = add_td_to_list(hwep, hwreq, 0); hwreq 443 drivers/usb/chipidea/udc.c unsigned count = min(hwreq->req.length - hwreq->req.actual, hwreq 445 drivers/usb/chipidea/udc.c ret = add_td_to_list(hwep, hwreq, count); hwreq 452 drivers/usb/chipidea/udc.c if (hwreq->req.zero && hwreq->req.length && hwep->dir == TX hwreq 453 drivers/usb/chipidea/udc.c && (hwreq->req.length % hwep->ep.maxpacket == 0)) { hwreq 454 drivers/usb/chipidea/udc.c ret = add_td_to_list(hwep, hwreq, 0); hwreq 459 drivers/usb/chipidea/udc.c firstnode = list_first_entry(&hwreq->tds, struct td_node, td); hwreq 461 drivers/usb/chipidea/udc.c lastnode = list_entry(hwreq->tds.prev, hwreq 465 drivers/usb/chipidea/udc.c if (!hwreq->req.no_interrupt) hwreq 469 drivers/usb/chipidea/udc.c hwreq->req.actual = 0; hwreq 501 drivers/usb/chipidea/udc.c u32 mul = hwreq->req.length / hwep->ep.maxpacket; hwreq 503 drivers/usb/chipidea/udc.c if (hwreq->req.length == 0 hwreq 504 drivers/usb/chipidea/udc.c || hwreq->req.length % hwep->ep.maxpacket) hwreq 546 drivers/usb/chipidea/udc.c static int _hardware_dequeue(struct ci_hw_ep *hwep, struct ci_hw_req *hwreq) hwreq 551 drivers/usb/chipidea/udc.c unsigned actual = hwreq->req.length; hwreq 554 drivers/usb/chipidea/udc.c if (hwreq->req.status != -EALREADY) hwreq 557 drivers/usb/chipidea/udc.c hwreq->req.status = 0; hwreq 559 drivers/usb/chipidea/udc.c list_for_each_entry_safe(node, tmpnode, &hwreq->tds, td) { hwreq 567 drivers/usb/chipidea/udc.c hwreq->req.status = -EALREADY; hwreq 575 drivers/usb/chipidea/udc.c hwreq->req.status = tmptoken & TD_STATUS; hwreq 576 drivers/usb/chipidea/udc.c if ((TD_STATUS_HALTED & hwreq->req.status)) { hwreq 577 drivers/usb/chipidea/udc.c hwreq->req.status = -EPIPE; hwreq 579 drivers/usb/chipidea/udc.c } else if ((TD_STATUS_DT_ERR & hwreq->req.status)) { hwreq 580 drivers/usb/chipidea/udc.c hwreq->req.status = -EPROTO; hwreq 582 drivers/usb/chipidea/udc.c } else if ((TD_STATUS_TR_ERR & hwreq->req.status)) { hwreq 583 drivers/usb/chipidea/udc.c hwreq->req.status = -EILSEQ; hwreq 589 drivers/usb/chipidea/udc.c hwreq->req.status = -EPROTO; hwreq 606 drivers/usb/chipidea/udc.c &hwreq->req, hwep->dir); hwreq 608 drivers/usb/chipidea/udc.c hwreq->req.actual += actual; hwreq 610 drivers/usb/chipidea/udc.c if (hwreq->req.status) hwreq 611 drivers/usb/chipidea/udc.c return hwreq->req.status; hwreq 613 drivers/usb/chipidea/udc.c return hwreq->req.actual; hwreq 636 drivers/usb/chipidea/udc.c struct ci_hw_req *hwreq = list_entry(hwep->qh.queue.next, hwreq 639 drivers/usb/chipidea/udc.c list_for_each_entry_safe(node, tmpnode, &hwreq->tds, td) { hwreq 646 drivers/usb/chipidea/udc.c list_del_init(&hwreq->queue); hwreq 647 drivers/usb/chipidea/udc.c hwreq->req.status = -ESHUTDOWN; hwreq 649 drivers/usb/chipidea/udc.c if (hwreq->req.complete != NULL) { hwreq 651 drivers/usb/chipidea/udc.c usb_gadget_giveback_request(&hwep->ep, &hwreq->req); hwreq 805 drivers/usb/chipidea/udc.c struct ci_hw_req *hwreq = container_of(req, struct ci_hw_req, req); hwreq 824 drivers/usb/chipidea/udc.c hwreq->req.length > hwep->ep.mult * hwep->ep.maxpacket) { hwreq 830 drivers/usb/chipidea/udc.c if (!list_empty(&hwreq->queue)) { hwreq 836 drivers/usb/chipidea/udc.c hwreq->req.status = -EINPROGRESS; hwreq 837 drivers/usb/chipidea/udc.c hwreq->req.actual = 0; hwreq 839 drivers/usb/chipidea/udc.c retval = _hardware_enqueue(hwep, hwreq); hwreq 844 drivers/usb/chipidea/udc.c list_add_tail(&hwreq->queue, &hwep->qh.queue); hwreq 974 drivers/usb/chipidea/udc.c struct ci_hw_req *hwreq, *hwreqtemp; hwreq 978 drivers/usb/chipidea/udc.c list_for_each_entry_safe(hwreq, hwreqtemp, &hwep->qh.queue, hwreq 980 drivers/usb/chipidea/udc.c retval = _hardware_dequeue(hwep, hwreq); hwreq 983 drivers/usb/chipidea/udc.c list_del_init(&hwreq->queue); hwreq 984 drivers/usb/chipidea/udc.c if (hwreq->req.complete != NULL) { hwreq 987 drivers/usb/chipidea/udc.c hwreq->req.length) hwreq 989 drivers/usb/chipidea/udc.c usb_gadget_giveback_request(&hweptemp->ep, &hwreq->req); hwreq 1336 drivers/usb/chipidea/udc.c struct ci_hw_req *hwreq = NULL; hwreq 1341 drivers/usb/chipidea/udc.c hwreq = kzalloc(sizeof(struct ci_hw_req), gfp_flags); hwreq 1342 drivers/usb/chipidea/udc.c if (hwreq != NULL) { hwreq 1343 drivers/usb/chipidea/udc.c INIT_LIST_HEAD(&hwreq->queue); hwreq 1344 drivers/usb/chipidea/udc.c INIT_LIST_HEAD(&hwreq->tds); hwreq 1347 drivers/usb/chipidea/udc.c return (hwreq == NULL) ? NULL : &hwreq->req; hwreq 1358 drivers/usb/chipidea/udc.c struct ci_hw_req *hwreq = container_of(req, struct ci_hw_req, req); hwreq 1364 drivers/usb/chipidea/udc.c } else if (!list_empty(&hwreq->queue)) { hwreq 1371 drivers/usb/chipidea/udc.c list_for_each_entry_safe(node, tmpnode, &hwreq->tds, td) { hwreq 1378 drivers/usb/chipidea/udc.c kfree(hwreq); hwreq 1416 drivers/usb/chipidea/udc.c struct ci_hw_req *hwreq = container_of(req, struct ci_hw_req, req); hwreq 1420 drivers/usb/chipidea/udc.c if (ep == NULL || req == NULL || hwreq->req.status != -EALREADY || hwreq 1421 drivers/usb/chipidea/udc.c hwep->ep.desc == NULL || list_empty(&hwreq->queue) || hwreq 1429 drivers/usb/chipidea/udc.c list_for_each_entry_safe(node, tmpnode, &hwreq->tds, td) { hwreq 1436 drivers/usb/chipidea/udc.c list_del_init(&hwreq->queue); hwreq 1442 drivers/usb/chipidea/udc.c if (hwreq->req.complete != NULL) { hwreq 1444 drivers/usb/chipidea/udc.c usb_gadget_giveback_request(&hwep->ep, &hwreq->req); hwreq 146 include/linux/regulator/ab8500.h bool hwreq; /* requires hw mode or high power mode */