Home
last modified time | relevance | path

Searched full:uf (Results 1 – 25 of 102) sorted by relevance

12345

/kernel/linux/linux-6.6/drivers/scsi/isci/
Dunsolicited_frame_control.c63 struct sci_unsolicited_frame *uf; in sci_unsolicited_frame_control_construct() local
69 * The Unsolicited Frame buffers are set at the start of the UF in sci_unsolicited_frame_control_construct()
75 * Program the location of the UF header table into the SCU. in sci_unsolicited_frame_control_construct()
81 * headers, since we program the UF address table pointers to in sci_unsolicited_frame_control_construct()
88 * Program the location of the UF address table into the SCU. in sci_unsolicited_frame_control_construct()
99 * UF buffer requirements are: in sci_unsolicited_frame_control_construct()
100 * - The last entry in the UF queue is not NULL. in sci_unsolicited_frame_control_construct()
106 * Program the actual used UF buffers into the UF address table and in sci_unsolicited_frame_control_construct()
110 uf = &uf_control->buffers.array[i]; in sci_unsolicited_frame_control_construct()
114 uf->buffer = virt; in sci_unsolicited_frame_control_construct()
[all …]
Dunsolicited_frame_control.h67 * first DWORD are UF attributes defined by the silicon architecture. The data
169 * address of the UF address table. The table contains
175 * This field specifies the physical address location for the UF
198 * This field specifies the physical address location for the UF
214 * starting address of the UF address table.
220 * This field specifies the physical address location for the UF
/kernel/linux/linux-5.10/drivers/scsi/isci/
Dunsolicited_frame_control.c63 struct sci_unsolicited_frame *uf; in sci_unsolicited_frame_control_construct() local
69 * The Unsolicited Frame buffers are set at the start of the UF in sci_unsolicited_frame_control_construct()
75 * Program the location of the UF header table into the SCU. in sci_unsolicited_frame_control_construct()
81 * headers, since we program the UF address table pointers to in sci_unsolicited_frame_control_construct()
88 * Program the location of the UF address table into the SCU. in sci_unsolicited_frame_control_construct()
99 * UF buffer requirements are: in sci_unsolicited_frame_control_construct()
100 * - The last entry in the UF queue is not NULL. in sci_unsolicited_frame_control_construct()
106 * Program the actual used UF buffers into the UF address table and in sci_unsolicited_frame_control_construct()
110 uf = &uf_control->buffers.array[i]; in sci_unsolicited_frame_control_construct()
114 uf->buffer = virt; in sci_unsolicited_frame_control_construct()
[all …]
Dunsolicited_frame_control.h67 * first DWORD are UF attributes defined by the silicon architecture. The data
169 * address of the UF address table. The table contains
175 * This field specifies the physical address location for the UF
198 * This field specifies the physical address location for the UF
214 * starting address of the UF address table.
220 * This field specifies the physical address location for the UF
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Drtas_flash.c210 struct rtas_update_flash_t *const uf = &rtas_update_flash_data; in rtas_flash_release() local
214 if (uf->flist) { in rtas_flash_release()
222 if (uf->status != FLASH_AUTH) in rtas_flash_release()
223 uf->status = flash_list_valid(uf->flist); in rtas_flash_release()
225 if (uf->status == FLASH_IMG_READY) in rtas_flash_release()
226 rtas_firmware_flash_list = uf->flist; in rtas_flash_release()
228 free_flash_list(uf->flist); in rtas_flash_release()
230 uf->flist = NULL; in rtas_flash_release()
275 struct rtas_update_flash_t *const uf = &rtas_update_flash_data; in rtas_flash_read_msg() local
281 status = uf->status; in rtas_flash_read_msg()
[all …]
/kernel/linux/linux-6.6/arch/powerpc/kernel/
Drtas_flash.c210 struct rtas_update_flash_t *const uf = &rtas_update_flash_data; in rtas_flash_release() local
214 if (uf->flist) { in rtas_flash_release()
222 if (uf->status != FLASH_AUTH) in rtas_flash_release()
223 uf->status = flash_list_valid(uf->flist); in rtas_flash_release()
225 if (uf->status == FLASH_IMG_READY) in rtas_flash_release()
226 rtas_firmware_flash_list = uf->flist; in rtas_flash_release()
228 free_flash_list(uf->flist); in rtas_flash_release()
230 uf->flist = NULL; in rtas_flash_release()
275 struct rtas_update_flash_t *const uf = &rtas_update_flash_data; in rtas_flash_read_msg() local
281 status = uf->status; in rtas_flash_read_msg()
[all …]
/kernel/linux/linux-5.10/include/linux/
Duserfaultfd_k.h97 struct list_head *uf);
99 struct list_head *uf);
175 struct list_head *uf) in userfaultfd_unmap_prep() argument
181 struct list_head *uf) in userfaultfd_unmap_complete() argument
/kernel/linux/linux-6.6/drivers/scsi/bfa/
Dbfa_svc.h312 * UF - unsolicited receive related defines
338 * @param[in] uf unsolicited frame descriptor
342 typedef void (*bfa_cb_uf_recv_t) (void *cbarg, struct bfa_uf_s *uf);
353 /* Max UF dma segs required */
362 struct list_head uf_unused_q; /* unused UF's */
364 /* pre-built UF post msgs */
365 bfa_cb_uf_recv_t ufrecv; /* uf recv handler function */
366 void *cbarg; /* uf receive handler arg */
640 bfa_uf_get_frmbuf(struct bfa_uf_s *uf) in bfa_uf_get_frmbuf() argument
642 return uf->data_ptr; in bfa_uf_get_frmbuf()
[all …]
Dbfa_svc.c5336 * UF related functions
5346 struct bfa_uf_s *uf = cbarg; in __bfa_cb_uf_recv() local
5347 struct bfa_uf_mod_s *ufm = BFA_UF_MOD(uf->bfa); in __bfa_cb_uf_recv()
5350 ufm->ufrecv(ufm->cbarg, uf); in __bfa_cb_uf_recv()
5385 struct bfa_uf_s *uf; in claim_ufs() local
5388 * Claim block of memory for UF list in claim_ufs()
5393 * Initialize UFs and queue it in UF free queue in claim_ufs()
5395 for (i = 0, uf = ufm->uf_list; i < ufm->num_ufs; i++, uf++) { in claim_ufs()
5396 memset(uf, 0, sizeof(struct bfa_uf_s)); in claim_ufs()
5397 uf->bfa = ufm->bfa; in claim_ufs()
[all …]
Dbfa_fcs.c1510 * BFA FCS UF ( Unsolicited Frames)
1517 * @param[in] uf unsolicited frame descriptor
1522 bfa_fcs_uf_recv(void *cbarg, struct bfa_uf_s *uf) in bfa_fcs_uf_recv() argument
1525 struct fchs_s *fchs = bfa_uf_get_frmbuf(uf); in bfa_fcs_uf_recv()
1526 u16 len = bfa_uf_get_frmlen(uf); in bfa_fcs_uf_recv()
1535 bfa_stats(fcs, uf.tagged); in bfa_fcs_uf_recv()
1536 vft = bfa_uf_get_frmbuf(uf); in bfa_fcs_uf_recv()
1547 bfa_stats(fcs, uf.vfid_unknown); in bfa_fcs_uf_recv()
1548 bfa_uf_free(uf); in bfa_fcs_uf_recv()
1560 bfa_stats(fcs, uf.untagged); in bfa_fcs_uf_recv()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfa_svc.h312 * UF - unsolicited receive related defines
338 * @param[in] uf unsolicited frame descriptor
342 typedef void (*bfa_cb_uf_recv_t) (void *cbarg, struct bfa_uf_s *uf);
353 /* Max UF dma segs required */
362 struct list_head uf_unused_q; /* unused UF's */
364 /* pre-built UF post msgs */
365 bfa_cb_uf_recv_t ufrecv; /* uf recv handler function */
366 void *cbarg; /* uf receive handler arg */
640 bfa_uf_get_frmbuf(struct bfa_uf_s *uf) in bfa_uf_get_frmbuf() argument
642 return uf->data_ptr; in bfa_uf_get_frmbuf()
[all …]
Dbfa_svc.c5342 * UF related functions
5352 struct bfa_uf_s *uf = cbarg; in __bfa_cb_uf_recv() local
5353 struct bfa_uf_mod_s *ufm = BFA_UF_MOD(uf->bfa); in __bfa_cb_uf_recv()
5356 ufm->ufrecv(ufm->cbarg, uf); in __bfa_cb_uf_recv()
5391 struct bfa_uf_s *uf; in claim_ufs() local
5394 * Claim block of memory for UF list in claim_ufs()
5399 * Initialize UFs and queue it in UF free queue in claim_ufs()
5401 for (i = 0, uf = ufm->uf_list; i < ufm->num_ufs; i++, uf++) { in claim_ufs()
5402 memset(uf, 0, sizeof(struct bfa_uf_s)); in claim_ufs()
5403 uf->bfa = ufm->bfa; in claim_ufs()
[all …]
Dbfa_fcs.c1510 * BFA FCS UF ( Unsolicited Frames)
1517 * @param[in] uf unsolicited frame descriptor
1522 bfa_fcs_uf_recv(void *cbarg, struct bfa_uf_s *uf) in bfa_fcs_uf_recv() argument
1525 struct fchs_s *fchs = bfa_uf_get_frmbuf(uf); in bfa_fcs_uf_recv()
1526 u16 len = bfa_uf_get_frmlen(uf); in bfa_fcs_uf_recv()
1535 bfa_stats(fcs, uf.tagged); in bfa_fcs_uf_recv()
1536 vft = bfa_uf_get_frmbuf(uf); in bfa_fcs_uf_recv()
1547 bfa_stats(fcs, uf.vfid_unknown); in bfa_fcs_uf_recv()
1548 bfa_uf_free(uf); in bfa_fcs_uf_recv()
1560 bfa_stats(fcs, uf.untagged); in bfa_fcs_uf_recv()
[all …]
/kernel/linux/linux-6.6/drivers/usb/host/
Dehci-sched.c271 unsigned uframe, uf, x; in compute_tt_budget() local
286 for (uf = ps->phase_uf; uf < 8; ++uf) { in compute_tt_budget()
287 x += budget_line[uf]; in compute_tt_budget()
291 budget_line[uf] = x; in compute_tt_budget()
294 budget_line[uf] = 125; in compute_tt_budget()
369 unsigned i, uf; in tt_available() local
375 uf = frame << 3; in tt_available()
376 for (i = 0; i < 8; (++i, ++uf)) in tt_available()
377 tt_usecs[i] = ehci->tt_budget[uf]; in tt_available()
1393 unsigned frame, uf; in sitd_slot_ok() local
[all …]
/kernel/linux/linux-5.10/drivers/usb/host/
Dehci-sched.c265 unsigned uframe, uf, x; in compute_tt_budget() local
280 for (uf = ps->phase_uf; uf < 8; ++uf) { in compute_tt_budget()
281 x += budget_line[uf]; in compute_tt_budget()
285 budget_line[uf] = x; in compute_tt_budget()
288 budget_line[uf] = 125; in compute_tt_budget()
363 unsigned i, uf; in tt_available() local
369 uf = frame << 3; in tt_available()
370 for (i = 0; i < 8; (++i, ++uf)) in tt_available()
371 tt_usecs[i] = ehci->tt_budget[uf]; in tt_available()
1382 unsigned frame, uf; in sitd_slot_ok() local
[all …]
/kernel/linux/linux-5.10/net/bluetooth/
Dhci_sock.c1895 struct hci_ufilter uf = { .opcode = 0 }; in hci_sock_setsockopt() local
1940 uf.type_mask = f->type_mask; in hci_sock_setsockopt()
1941 uf.opcode = f->opcode; in hci_sock_setsockopt()
1942 uf.event_mask[0] = *((u32 *) f->event_mask + 0); in hci_sock_setsockopt()
1943 uf.event_mask[1] = *((u32 *) f->event_mask + 1); in hci_sock_setsockopt()
1946 len = min_t(unsigned int, len, sizeof(uf)); in hci_sock_setsockopt()
1947 if (copy_from_sockptr(&uf, optval, len)) { in hci_sock_setsockopt()
1953 uf.type_mask &= hci_sec_filter.type_mask; in hci_sock_setsockopt()
1954 uf.event_mask[0] &= *((u32 *) hci_sec_filter.event_mask + 0); in hci_sock_setsockopt()
1955 uf.event_mask[1] &= *((u32 *) hci_sec_filter.event_mask + 1); in hci_sock_setsockopt()
[all …]
/kernel/linux/linux-6.6/net/bluetooth/
Dhci_sock.c1934 struct hci_ufilter uf = { .opcode = 0 }; in hci_sock_setsockopt_old() local
1976 uf.type_mask = f->type_mask; in hci_sock_setsockopt_old()
1977 uf.opcode = f->opcode; in hci_sock_setsockopt_old()
1978 uf.event_mask[0] = *((u32 *) f->event_mask + 0); in hci_sock_setsockopt_old()
1979 uf.event_mask[1] = *((u32 *) f->event_mask + 1); in hci_sock_setsockopt_old()
1982 len = min_t(unsigned int, len, sizeof(uf)); in hci_sock_setsockopt_old()
1983 if (copy_from_sockptr(&uf, optval, len)) { in hci_sock_setsockopt_old()
1989 uf.type_mask &= hci_sec_filter.type_mask; in hci_sock_setsockopt_old()
1990 uf.event_mask[0] &= *((u32 *) hci_sec_filter.event_mask + 0); in hci_sock_setsockopt_old()
1991 uf.event_mask[1] &= *((u32 *) hci_sec_filter.event_mask + 1); in hci_sock_setsockopt_old()
[all …]
/kernel/linux/linux-6.6/include/linux/
Duserfaultfd_k.h196 unsigned long start, unsigned long end, struct list_head *uf);
198 struct list_head *uf);
280 struct list_head *uf) in userfaultfd_unmap_prep() argument
286 struct list_head *uf) in userfaultfd_unmap_complete() argument
/kernel/linux/linux-5.10/mm/
Dmremap.c337 struct vm_userfaultfd_ctx *uf, struct list_head *uf_unmap) in move_vma() argument
396 mremap_userfaultfd_prep(new_vma, uf); in move_vma()
547 unsigned long flags, struct vm_userfaultfd_ctx *uf, in mremap_to() argument
626 ret = move_vma(vma, addr, old_len, new_len, new_addr, locked, flags, uf, in mremap_to()
669 struct vm_userfaultfd_ctx uf = NULL_VM_UFFD_CTX; in SYSCALL_DEFINE5() local
719 &locked, flags, &uf, &uf_unmap_early, in SYSCALL_DEFINE5()
798 &locked, flags, &uf, &uf_unmap); in SYSCALL_DEFINE5()
812 mremap_userfaultfd_complete(&uf, addr, ret, old_len); in SYSCALL_DEFINE5()
Dmmap.c196 struct list_head *uf);
206 LIST_HEAD(uf); in SYSCALL_DEFINE1()
259 ret = __do_munmap(mm, newbrk, oldbrk-newbrk, &uf, true); in SYSCALL_DEFINE1()
275 if (do_brk_flags(oldbrk, newbrk-oldbrk, 0, &uf) < 0) in SYSCALL_DEFINE1()
285 userfaultfd_unmap_complete(mm, &uf); in SYSCALL_DEFINE1()
603 struct rb_node **parent, struct list_head *uf) in munmap_vma_range() argument
607 if (do_munmap(mm, start, len, uf)) in munmap_vma_range()
1420 unsigned long *populate, struct list_head *uf) in do_mmap() argument
1611 addr = mmap_region(file, addr, len, vm_flags, pgoff, uf); in do_mmap()
1766 struct list_head *uf) in mmap_region() argument
[all …]
/kernel/linux/linux-6.6/mm/
Dmremap.c587 struct vm_userfaultfd_ctx *uf, struct list_head *uf_unmap) in move_vma() argument
669 mremap_userfaultfd_prep(new_vma, uf); in move_vma()
802 unsigned long flags, struct vm_userfaultfd_ctx *uf, in mremap_to() argument
880 ret = move_vma(vma, addr, old_len, new_len, new_addr, locked, flags, uf, in mremap_to()
916 struct vm_userfaultfd_ctx uf = NULL_VM_UFFD_CTX; in SYSCALL_DEFINE5() local
992 &locked, flags, &uf, &uf_unmap_early, in SYSCALL_DEFINE5()
1097 &locked, flags, &uf, &uf_unmap); in SYSCALL_DEFINE5()
1107 mremap_userfaultfd_complete(&uf, addr, ret, old_len); in SYSCALL_DEFINE5()
Dmmap.c185 LIST_HEAD(uf); in SYSCALL_DEFINE1()
239 if (do_vma_munmap(&vmi, brkvma, newbrk, oldbrk, &uf, true)) in SYSCALL_DEFINE1()
269 userfaultfd_unmap_complete(mm, &uf); in SYSCALL_DEFINE1()
1207 struct list_head *uf) in do_mmap() argument
1374 addr = mmap_region(file, addr, len, vm_flags, pgoff, uf); in do_mmap()
2444 * @uf: The userfaultfd list_head
2454 unsigned long end, struct list_head *uf, bool unlock) in do_vmi_align_munmap() argument
2511 if (unlikely(uf)) { in do_vmi_align_munmap()
2521 error = userfaultfd_unmap_prep(next, start, end, uf); in do_vmi_align_munmap()
2608 * @uf: The userfaultfd list_head
[all …]
/kernel/linux/linux-6.6/include/linux/spi/
Dads7846.h16 * ~150 uSec with 0.01uF caps.
/kernel/linux/linux-5.10/include/linux/spi/
Dads7846.h27 * ~150 uSec with 0.01uF caps.
/kernel/linux/linux-6.6/drivers/usb/musb/
Dmusb_host.h37 u8 hb_mult; /* high bandwidth pkts per uf */

12345