Home
last modified time | relevance | path

Searched refs:uf (Results 1 – 11 of 11) sorted by relevance

/drivers/scsi/isci/
Dunsolicited_frame_control.c63 struct sci_unsolicited_frame *uf; in sci_unsolicited_frame_control_construct() local
110 uf = &uf_control->buffers.array[i]; in sci_unsolicited_frame_control_construct()
114 uf->buffer = virt; in sci_unsolicited_frame_control_construct()
115 uf->header = &uf_control->headers.array[i]; in sci_unsolicited_frame_control_construct()
116 uf->state = UNSOLICITED_FRAME_EMPTY; in sci_unsolicited_frame_control_construct()
/drivers/usb/host/
Dehci-sched.c277 unsigned uframe, uf, x; in compute_tt_budget() local
292 for (uf = ps->phase_uf; uf < 8; ++uf) { in compute_tt_budget()
293 x += budget_line[uf]; in compute_tt_budget()
297 budget_line[uf] = x; in compute_tt_budget()
300 budget_line[uf] = 125; in compute_tt_budget()
394 unsigned i, uf; in tt_available() local
400 uf = frame << 3; in tt_available()
401 for (i = 0; i < 8; (++i, ++uf)) in tt_available()
402 tt_usecs[i] = ehci->tt_budget[uf]; in tt_available()
1417 unsigned frame, uf; in sitd_slot_ok() local
[all …]
Dehci-hcd.c124 unsigned uf; in ehci_moschip_read_frame_index() local
126 uf = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_moschip_read_frame_index()
127 if (unlikely((uf & 7) == 0)) in ehci_moschip_read_frame_index()
128 uf = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_moschip_read_frame_index()
129 return uf; in ehci_moschip_read_frame_index()
Dfusbh200-hcd.c4457 struct fusbh200_iso_packet *uf = &iso_sched->packet [index]; in itd_patch() local
4465 itd->hw_transaction[uframe] = uf->transaction; in itd_patch()
4467 itd->hw_bufp[pg] |= cpu_to_hc32(fusbh200, uf->bufp & ~(u32)0); in itd_patch()
4468 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fusbh200, (u32)(uf->bufp >> 32)); in itd_patch()
4471 if (unlikely (uf->cross)) { in itd_patch()
4472 u64 bufp = uf->bufp + 4096; in itd_patch()
4741 unsigned uf, now_frame, frame; in scan_isoc() local
4751 uf = fusbh200_read_frame_index(fusbh200); in scan_isoc()
4752 now_frame = (uf >> 3) & fmask; in scan_isoc()
4783 for (uf = 0; uf < 8; uf++) { in scan_isoc()
[all …]
Dfotg210-hcd.c4523 struct fotg210_iso_packet *uf = &iso_sched->packet[index]; in itd_patch() local
4529 itd->hw_transaction[uframe] = uf->transaction; in itd_patch()
4531 itd->hw_bufp[pg] |= cpu_to_hc32(fotg210, uf->bufp & ~(u32)0); in itd_patch()
4532 itd->hw_bufp_hi[pg] |= cpu_to_hc32(fotg210, (u32)(uf->bufp >> 32)); in itd_patch()
4535 if (unlikely(uf->cross)) { in itd_patch()
4536 u64 bufp = uf->bufp + 4096; in itd_patch()
4808 unsigned uf, now_frame, frame; in scan_isoc() local
4818 uf = fotg210_read_frame_index(fotg210); in scan_isoc()
4819 now_frame = (uf >> 3) & fmask; in scan_isoc()
4850 for (uf = 0; uf < 8; uf++) { in scan_isoc()
[all …]
/drivers/scsi/bfa/
Dbfa_svc.c31 BFA_MODULE(uf);
5477 struct bfa_uf_s *uf = cbarg; in __bfa_cb_uf_recv() local
5478 struct bfa_uf_mod_s *ufm = BFA_UF_MOD(uf->bfa); in __bfa_cb_uf_recv()
5481 ufm->ufrecv(ufm->cbarg, uf); in __bfa_cb_uf_recv()
5516 struct bfa_uf_s *uf; in claim_ufs() local
5526 for (i = 0, uf = ufm->uf_list; i < ufm->num_ufs; i++, uf++) { in claim_ufs()
5527 memset(uf, 0, sizeof(struct bfa_uf_s)); in claim_ufs()
5528 uf->bfa = ufm->bfa; in claim_ufs()
5529 uf->uf_tag = i; in claim_ufs()
5530 uf->pb_len = BFA_PER_UF_DMA_SZ; in claim_ufs()
[all …]
Dbfa_svc.h349 typedef void (*bfa_cb_uf_recv_t) (void *cbarg, struct bfa_uf_s *uf);
647 bfa_uf_get_frmbuf(struct bfa_uf_s *uf) in bfa_uf_get_frmbuf() argument
649 return uf->data_ptr; in bfa_uf_get_frmbuf()
653 bfa_uf_get_frmlen(struct bfa_uf_s *uf) in bfa_uf_get_frmlen() argument
655 return uf->data_len; in bfa_uf_get_frmlen()
663 void bfa_uf_free(struct bfa_uf_s *uf);
Dbfa_fcs.c1654 bfa_fcs_uf_recv(void *cbarg, struct bfa_uf_s *uf) in bfa_fcs_uf_recv() argument
1657 struct fchs_s *fchs = bfa_uf_get_frmbuf(uf); in bfa_fcs_uf_recv()
1658 u16 len = bfa_uf_get_frmlen(uf); in bfa_fcs_uf_recv()
1667 bfa_stats(fcs, uf.tagged); in bfa_fcs_uf_recv()
1668 vft = bfa_uf_get_frmbuf(uf); in bfa_fcs_uf_recv()
1679 bfa_stats(fcs, uf.vfid_unknown); in bfa_fcs_uf_recv()
1680 bfa_uf_free(uf); in bfa_fcs_uf_recv()
1692 bfa_stats(fcs, uf.untagged); in bfa_fcs_uf_recv()
1705 bfa_uf_free(uf); in bfa_fcs_uf_recv()
Dbfa_fcs.h684 } uf; member
/drivers/net/
Dtun.c622 struct tun_filter uf; in update_filter() local
625 if (copy_from_user(&uf, arg, sizeof(uf))) in update_filter()
628 if (!uf.count) { in update_filter()
634 alen = ETH_ALEN * uf.count; in update_filter()
639 if (copy_from_user(addr, arg + sizeof(uf), alen)) { in update_filter()
651 for (n = 0; n < uf.count && n < FLT_EXACT_COUNT; n++) in update_filter()
659 for (; n < uf.count; n++) { in update_filter()
669 if ((uf.flags & TUN_FLT_ALLMULTI)) in update_filter()
/drivers/usb/dwc3/
Dgadget.c1047 u32 uf; in __dwc3_gadget_start_isoc() local
1057 uf = cur_uf + dep->interval * 4; in __dwc3_gadget_start_isoc()
1059 __dwc3_gadget_kick_transfer(dep, uf, 1); in __dwc3_gadget_start_isoc()