/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/ |
D | dhd_msgbuf.c | 723 dhd->prot->d2h_sync_wait_max, dhd->prot->d2h_sync_wait_tot, in dhd_prot_d2h_sync_livelock() 761 dhd_prot_t *prot = dhd->prot; in dhd_prot_d2h_sync_seqnum() local 799 if (total_tries > prot->d2h_sync_wait_max) in dhd_prot_d2h_sync_seqnum() 800 prot->d2h_sync_wait_max = total_tries; in dhd_prot_d2h_sync_seqnum() 816 prot->d2h_sync_wait_tot += tries; in dhd_prot_d2h_sync_seqnum() 833 dhd_prot_t *prot = dhd->prot; in dhd_prot_d2h_sync_xorcsum() local 872 if (total_tries > prot->d2h_sync_wait_max) in dhd_prot_d2h_sync_xorcsum() 873 prot->d2h_sync_wait_max = total_tries; in dhd_prot_d2h_sync_xorcsum() 890 prot->d2h_sync_wait_tot += tries; in dhd_prot_d2h_sync_xorcsum() 911 dhd->prot->ioctl_received = reason; in dhd_wakeup_ioctl_event() [all …]
|
D | dhd_cdc.c | 89 dhd_prot_t *prot = dhd->prot; in dhdcdc_msg() local 90 int len = ltoh32(prot->msg.len) + sizeof(cdc_ioctl_t); in dhdcdc_msg() 106 prot->ctl_completed = FALSE; in dhdcdc_msg() 107 err = dbus_send_ctl(dhd->bus, (void *)&prot->msg, len); in dhdcdc_msg() 115 err = dhd_bus_txctl(dhd->bus, (uchar*)&prot->msg, len); in dhdcdc_msg() 119 timeout = dhd_os_ioctl_resp_wait(dhd, &prot->ctl_completed, false); in dhdcdc_msg() 120 if ((!timeout) || (!prot->ctl_completed)) { in dhdcdc_msg() 122 timeout, prot->ctl_completed)); in dhdcdc_msg() 134 prot->ctl_completed = FALSE; in dhdcdc_msg() 141 timeout = dhd_os_ioctl_resp_wait(dhd, &prot->ctl_completed, false); in dhdcdc_msg() [all …]
|
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/ |
D | dhd_msgbuf.c | 348 #define DHD_RING_IN_FLOWRINGS_POOL(prot, flowid) \ argument 349 (msgbuf_ring_t *)((prot)->h2d_flowrings_pool) + \ 353 #define FOREACH_RING_IN_FLOWRINGS_POOL(prot, ring, flowid, total_flowrings) \ argument 355 (ring) = DHD_RING_IN_FLOWRINGS_POOL(prot, flowid); \ 893 dhd->prot->d2h_sync_wait_max, dhd->prot->d2h_sync_wait_tot, in dhd_prot_d2h_sync_livelock() 939 dhd_prot_t *prot = dhd->prot; in dhd_prot_d2h_sync_seqnum() local 986 if (total_tries > prot->d2h_sync_wait_max) { in dhd_prot_d2h_sync_seqnum() 987 prot->d2h_sync_wait_max = total_tries; in dhd_prot_d2h_sync_seqnum() 1005 prot->d2h_sync_wait_tot += tries; in dhd_prot_d2h_sync_seqnum() 1023 dhd_prot_t *prot = dhd->prot; in dhd_prot_d2h_sync_xorcsum() local [all …]
|
D | dhd_cdc.c | 95 dhd_prot_t *prot = dhd->prot; in dhdcdc_msg() local 96 int len = ltoh32(prot->msg.len) + sizeof(cdc_ioctl_t); in dhdcdc_msg() 113 prot->ctl_completed = FALSE; in dhdcdc_msg() 114 err = dbus_send_ctl(dhd->bus, (void *)&prot->msg, len); in dhdcdc_msg() 122 err = dhd_bus_txctl(dhd->bus, (uchar *)&prot->msg, len); in dhdcdc_msg() 126 timeout = dhd_os_ioctl_resp_wait(dhd, &prot->ctl_completed); in dhdcdc_msg() 127 if ((!timeout) || (!prot->ctl_completed)) { in dhdcdc_msg() 129 prot->ctl_completed)); in dhdcdc_msg() 141 prot->ctl_completed = FALSE; in dhdcdc_msg() 148 timeout = dhd_os_ioctl_resp_wait(dhd, &prot->ctl_completed); in dhdcdc_msg() [all …]
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
D | dhd_msgbuf.c | 363 #define DHD_RING_IN_FLOWRINGS_POOL(prot, flowid) \ argument 364 (msgbuf_ring_t*)((prot)->h2d_flowrings_pool) + \ 368 #define FOREACH_RING_IN_FLOWRINGS_POOL(prot, ring, flowid, total_flowrings) \ argument 370 (ring) = DHD_RING_IN_FLOWRINGS_POOL(prot, flowid); \ 876 dhd->prot->d2h_sync_wait_max, dhd->prot->d2h_sync_wait_tot, in dhd_prot_d2h_sync_livelock() 919 dhd_prot_t *prot = dhd->prot; in dhd_prot_d2h_sync_seqnum() local 963 if (total_tries > prot->d2h_sync_wait_max) in dhd_prot_d2h_sync_seqnum() 964 prot->d2h_sync_wait_max = total_tries; in dhd_prot_d2h_sync_seqnum() 981 prot->d2h_sync_wait_tot += tries; in dhd_prot_d2h_sync_seqnum() 998 dhd_prot_t *prot = dhd->prot; in dhd_prot_d2h_sync_xorcsum() local [all …]
|
D | dhd_cdc.c | 95 dhd_prot_t *prot = dhd->prot; in dhdcdc_msg() local 96 int len = ltoh32(prot->msg.len) + sizeof(cdc_ioctl_t); in dhdcdc_msg() 112 prot->ctl_completed = FALSE; in dhdcdc_msg() 113 err = dbus_send_ctl(dhd->bus, (void *)&prot->msg, len); in dhdcdc_msg() 121 err = dhd_bus_txctl(dhd->bus, (uchar*)&prot->msg, len); in dhdcdc_msg() 125 timeout = dhd_os_ioctl_resp_wait(dhd, &prot->ctl_completed); in dhdcdc_msg() 126 if ((!timeout) || (!prot->ctl_completed)) { in dhdcdc_msg() 128 timeout, prot->ctl_completed)); in dhdcdc_msg() 140 prot->ctl_completed = FALSE; in dhdcdc_msg() 147 timeout = dhd_os_ioctl_resp_wait(dhd, &prot->ctl_completed); in dhdcdc_msg() [all …]
|
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/ |
D | dhd_msgbuf.c | 436 #define DHD_RING_IN_FLOWRINGS_POOL(prot, flowid) \ argument 437 (msgbuf_ring_t*)((prot)->h2d_flowrings_pool) + \ 441 #define FOREACH_RING_IN_FLOWRINGS_POOL(prot, ring, flowid, total_flowrings) \ argument 443 (ring) = DHD_RING_IN_FLOWRINGS_POOL(prot, flowid); \ 796 static int dhd_prot_allocate_bufs(dhd_pub_t *dhd, dhd_prot_t *prot); 872 static void dhd_prot_ioctl_dump(dhd_prot_t *prot, struct bcmstrbuf *strbuf); 1046 return &dhd->prot->fw_trap_buf; in dhd_prot_get_minidump_buf() 1053 return dhd->prot->rxbufpost_sz; in dhd_prot_get_rxbufpost_sz() 1059 dhd_prot_t *prot = dhd->prot; in dhd_prot_get_h2d_rx_post_active() local 1060 msgbuf_ring_t *flow_ring = &prot->h2dring_rxp_subn; in dhd_prot_get_h2d_rx_post_active() [all …]
|
D | dhd_cdc.c | 96 dhd_prot_t *prot = dhd->prot; in dhdcdc_msg() local 97 int len = ltoh32(prot->msg.len) + sizeof(cdc_ioctl_t); in dhdcdc_msg() 112 prot->ctl_completed = FALSE; in dhdcdc_msg() 113 err = dbus_send_ctl(dhd->bus, (void *)&prot->msg, len); in dhdcdc_msg() 120 err = dhd_bus_txctl(dhd->bus, (uchar*)&prot->msg, len); in dhdcdc_msg() 124 timeout = dhd_os_ioctl_resp_wait(dhd, &prot->ctl_completed); in dhdcdc_msg() 125 if ((!timeout) || (!prot->ctl_completed)) { in dhdcdc_msg() 127 timeout, prot->ctl_completed)); in dhdcdc_msg() 137 prot->ctl_completed = FALSE; in dhdcdc_msg() 144 timeout = dhd_os_ioctl_resp_wait(dhd, &prot->ctl_completed); in dhdcdc_msg() [all …]
|
D | bcm_l2_filter.c | 224 uint8 prot; in get_pkt_ip_type() local 273 prot = IPV4_PROT(iph); in get_pkt_ip_type() 276 *prot_ptr = prot; in get_pkt_ip_type() 285 uint8 prot; in bcm_l2_filter_block_ping() local 287 if (get_pkt_ip_type(osh, pktbuf, (uint8 **)&icmph, &udpl, &prot) != 0) in bcm_l2_filter_block_ping() 289 if (prot == IP_PROT_ICMP) { in bcm_l2_filter_block_ping() 305 uint8 prot; in bcm_l2_filter_get_mac_addr_dhcp_pkt() local 309 if (get_pkt_ip_type(osh, pktbuf, &udph, &udpl, &prot) != 0) in bcm_l2_filter_get_mac_addr_dhcp_pkt() 311 if (prot != IP_PROT_UDP) in bcm_l2_filter_get_mac_addr_dhcp_pkt() 647 calc_checksum(uint8 *src_ipa, uint8 *dst_ipa, uint32 ul_len, uint8 prot, uint8 *ul_data) in calc_checksum() argument [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/mmz/ |
D | cma_allocator.c | 73 pgprot_t prot = *(pgprot_t*)data; in __dma_update_pte() local 78 set_pte_ext(pte, mk_pte(page, prot), 0); in __dma_update_pte() 91 static void __dma_remap(struct page* page, size_t size, pgprot_t prot) in __dma_remap() argument 96 apply_to_page_range(&init_mm, start, size, __dma_update_pte, &prot); in __dma_remap() 339 pgprot_t prot; local 357 prot = PAGE_KERNEL; 360 prot = __pgprot(PROT_NORMAL_NC); 367 prot = pgprot_kernel; 370 prot = pgprot_noncached(pgprot_kernel); 373 __dma_remap(page, mmb->length, prot); [all …]
|
D | mmz_userdev.c | 195 new_mmbinfo->prot = PROT_READ; in ioctl_mmb_alloc() 237 new_mmbinfo->prot = PROT_READ; in ioctl_mmb_alloc_v2() 338 unsigned long addr, len, prot, flags, pgoff; in ioctl_mmb_user_remap() local 378 prot = pmi->prot; in ioctl_mmb_user_remap() 380 if (prot == 0) { in ioctl_mmb_user_remap() 381 prot = p->prot; in ioctl_mmb_user_remap() 391 addr = vm_mmap(file, addr, len, prot, flags, pgoff); in ioctl_mmb_user_remap() 397 len, prot, flags, pgoff, addr); in ioctl_mmb_user_remap() 402 p->prot = prot; in ioctl_mmb_user_remap()
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/ |
D | bcmip.h | 129 uint8 prot; /* Protocol */ member 183 #define IPV6_EXTHDR(prot) (((prot) == IPV6_EXTHDR_HOP) || \ argument 184 ((prot) == IPV6_EXTHDR_ROUTING) || \ 185 ((prot) == IPV6_EXTHDR_FRAGMENT) || \ 186 ((prot) == IPV6_EXTHDR_AUTH) || \ 187 ((prot) == IPV6_EXTHDR_NONE) || \ 188 ((prot) == IPV6_EXTHDR_DEST))
|
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/include/ |
D | bcmip.h | 132 uint8 prot; /* Protocol */ member 186 #define IPV6_EXTHDR(prot) \ argument 187 (((prot) == IPV6_EXTHDR_HOP) || ((prot) == IPV6_EXTHDR_ROUTING) || \ 188 ((prot) == IPV6_EXTHDR_FRAGMENT) || ((prot) == IPV6_EXTHDR_AUTH) || \ 189 ((prot) == IPV6_EXTHDR_NONE) || ((prot) == IPV6_EXTHDR_DEST))
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/include/ |
D | bcmip.h | 127 uint8 prot; /* Protocol */ member 181 #define IPV6_EXTHDR(prot) (((prot) == IPV6_EXTHDR_HOP) || \ argument 182 ((prot) == IPV6_EXTHDR_ROUTING) || \ 183 ((prot) == IPV6_EXTHDR_FRAGMENT) || \ 184 ((prot) == IPV6_EXTHDR_AUTH) || \ 185 ((prot) == IPV6_EXTHDR_NONE) || \ 186 ((prot) == IPV6_EXTHDR_DEST))
|
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/include/ |
D | bcmip.h | 122 uint8 prot; /* Protocol */ member 176 #define IPV6_EXTHDR(prot) (((prot) == IPV6_EXTHDR_HOP) || \ argument 177 ((prot) == IPV6_EXTHDR_ROUTING) || \ 178 ((prot) == IPV6_EXTHDR_FRAGMENT) || \ 179 ((prot) == IPV6_EXTHDR_AUTH) || \ 180 ((prot) == IPV6_EXTHDR_NONE) || \ 181 ((prot) == IPV6_EXTHDR_DEST))
|
/device/soc/rockchip/common/sdk_linux/include/linux/ |
D | iommu.h | 173 int prot; member 266 …uct iommu_domain *domain, unsigned long iova, phys_addr_t paddr, size_t size, int prot, gfp_t gfp); 268 int prot, gfp_t gfp, size_t *mapped); 269 …uct iommu_domain *domain, unsigned long iova, struct scatterlist *sg, unsigned int nents, int prot, 292 …ain_window_enable)(struct iommu_domain *domain, u32 wnd_nr, phys_addr_t paddr, u64 size, int prot); 447 …mmu_map(struct iommu_domain *domain, unsigned long iova, phys_addr_t paddr, size_t size, int prot); 448 …_atomic(struct iommu_domain *domain, unsigned long iova, phys_addr_t paddr, size_t size, int prot); 453 int prot); 455 unsigned int nents, int prot); 465 extern struct iommu_resv_region *iommu_alloc_resv_region(phys_addr_t start, size_t length, int prot, [all …]
|
D | dma-map-ops.h | 234 void *dma_common_contiguous_remap(struct page *page, size_t size, pgprot_t prot, 236 void *dma_common_pages_remap(struct page **pages, size_t size, pgprot_t prot, 275 #define pgprot_dmacoherent(prot) pgprot_noncached(prot) argument 283 #define pgprot_syscached(prot) pgprot_dmacoherent(prot) argument 286 pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, unsigned long attrs); 288 static inline pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, in dma_pgprot() argument 291 return prot; /* no protection bits supported without page tables */ in dma_pgprot()
|
/device/soc/amlogic/a311d/soc/arch/arm64/ |
D | Makefile | 72 branch-prot-flags-y += $(call cc-option,-mbranch-protection=none) 75 branch-prot-flags-$(CONFIG_CC_HAS_SIGN_RETURN_ADDRESS) := -msign-return-address=all 80 branch-prot-flags-$(CONFIG_CC_HAS_BRANCH_PROT_PAC_RET_BTI) := -mbranch-protection=pac-ret+leaf+bti 82 branch-prot-flags-$(CONFIG_CC_HAS_BRANCH_PROT_PAC_RET) := -mbranch-protection=pac-ret+leaf 93 KBUILD_CFLAGS += $(branch-prot-flags-y)
|
/device/soc/rockchip/common/sdk_linux/drivers/iommu/ |
D | dma-iommu.c | 443 int prot = coherent ? IOMMU_CACHE : 0; in dma_info_to_prot() local 446 prot |= IOMMU_PRIV; in dma_info_to_prot() 449 prot |= IOMMU_SYS_CACHE_ONLY; in dma_info_to_prot() 452 prot |= IOMMU_SYS_CACHE_ONLY_NWA; in dma_info_to_prot() 457 return prot | IOMMU_READ | IOMMU_WRITE; in dma_info_to_prot() 459 return prot | IOMMU_READ; in dma_info_to_prot() 461 return prot | IOMMU_WRITE; in dma_info_to_prot() 544 static dma_addr_t iommu_dma_map_ext(struct device *dev, phys_addr_t phys, size_t size, int prot, u6… in iommu_dma_map_ext() argument 563 if (iommu_map_atomic(domain, iova, phys - iova_off, size, prot)) { in iommu_dma_map_ext() 653 …_dma_alloc_remap(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t gfp, pgprot_t prot, in iommu_dma_alloc_remap() argument [all …]
|
/device/soc/rockchip/common/sdk_linux/arch/arm64/ |
D | Makefile | 71 branch-prot-flags-y += $(call cc-option,-mbranch-protection=none) 74 branch-prot-flags-$(CONFIG_CC_HAS_SIGN_RETURN_ADDRESS) := -msign-return-address=all 79 branch-prot-flags-$(CONFIG_CC_HAS_BRANCH_PROT_PAC_RET_BTI) := -mbranch-protection=pac-ret+leaf+bti 81 branch-prot-flags-$(CONFIG_CC_HAS_BRANCH_PROT_PAC_RET) := -mbranch-protection=pac-ret+leaf 92 KBUILD_CFLAGS += $(branch-prot-flags-y)
|
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/ |
D | syscall_check.h | 17 TP_PROTO(const struct file *file, unsigned long prot, 19 TP_ARGS(file, prot, flag, ret));
|
/device/soc/rockchip/common/sdk_linux/arch/arm64/kernel/ |
D | process.c | 735 int arch_elf_adjust_prot(int prot, const struct arch_elf_state *state, bool has_interp, bool is_int… in arch_elf_adjust_prot() argument 743 return prot; in arch_elf_adjust_prot() 747 return prot; in arch_elf_adjust_prot() 750 if (prot & PROT_EXEC) { in arch_elf_adjust_prot() 751 prot |= PROT_BTI; in arch_elf_adjust_prot() 754 return prot; in arch_elf_adjust_prot()
|
/device/soc/hisilicon/hi3751v350/sdk_linux/include/ |
D | hi_osal_user.h | 31 extern void *osal_mmapdev(void *addr, unsigned long length, int prot, int flags, int fd, unsigned l… 44 extern void *soc_mmapdev(void *addr, unsigned long length, int prot, int flags, int fd, unsigned lo…
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ |
D | mali_kbase_debug_mem_view.c | 124 pgprot_t prot = PAGE_KERNEL; in debug_mem_show() local 136 prot = pgprot_writecombine(prot); in debug_mem_show() 140 mapping = vmap(&page, 1, VM_MAP, prot); in debug_mem_show()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ |
D | mali_kbase_debug_mem_view.c | 117 pgprot_t prot = PAGE_KERNEL; in debug_mem_show() local 130 prot = pgprot_writecombine(prot); in debug_mem_show() 133 mapping = vmap(&page, 1, VM_MAP, prot); in debug_mem_show()
|