| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/ |
| H A D | trace.c | 290 union ib_ehdrs *eh = ehdrs; in parse_everbs_hdrs() local 307 be32_to_cpu(eh->imm_data)); in parse_everbs_hdrs() 313 get_ib_reth_vaddr(&eh->rc.reth), in parse_everbs_hdrs() 314 be32_to_cpu(eh->rc.reth.rkey), in parse_everbs_hdrs() 315 be32_to_cpu(eh->rc.reth.length), in parse_everbs_hdrs() 316 be32_to_cpu(eh->rc.imm_data)); in parse_everbs_hdrs() 325 get_ib_reth_vaddr(&eh->rc.reth), in parse_everbs_hdrs() 326 be32_to_cpu(eh->rc.reth.rkey), in parse_everbs_hdrs() 327 be32_to_cpu(eh->rc.reth.length)); in parse_everbs_hdrs() 333 trace_seq_printf(p, AETH_PRN, be32_to_cpu(eh->aeth) >> 24, in parse_everbs_hdrs() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/ |
| H A D | bcmip.h | 185 #define IPV6_EXTHDR_LEN(eh) ((((struct ipv6_exthdr *)(eh))->hdrlen + 1) << 3) argument 204 struct ipv6_exthdr *eh = (struct ipv6_exthdr *)h; in ipv6_exthdr_len() local 206 while (IPV6_EXTHDR(eh->nexthdr)) { in ipv6_exthdr_len() 207 if (eh->nexthdr == IPV6_EXTHDR_NONE) in ipv6_exthdr_len() 209 else if (eh->nexthdr == IPV6_EXTHDR_FRAGMENT) in ipv6_exthdr_len() 211 else if (eh->nexthdr == IPV6_EXTHDR_AUTH) in ipv6_exthdr_len() 212 hlen = (uint16)((eh->hdrlen + 2U) << 2U); in ipv6_exthdr_len() 214 hlen = (uint16)IPV6_EXTHDR_LEN(eh); in ipv6_exthdr_len() 217 eh = (struct ipv6_exthdr *)(h + len); in ipv6_exthdr_len() 220 *proto = eh->nexthdr; in ipv6_exthdr_len() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/ |
| H A D | bcmip.h | 185 #define IPV6_EXTHDR_LEN(eh) ((((struct ipv6_exthdr *)(eh))->hdrlen + 1) << 3) argument 204 struct ipv6_exthdr *eh = (struct ipv6_exthdr *)h; in ipv6_exthdr_len() local 206 while (IPV6_EXTHDR(eh->nexthdr)) { in ipv6_exthdr_len() 207 if (eh->nexthdr == IPV6_EXTHDR_NONE) in ipv6_exthdr_len() 209 else if (eh->nexthdr == IPV6_EXTHDR_FRAGMENT) in ipv6_exthdr_len() 211 else if (eh->nexthdr == IPV6_EXTHDR_AUTH) in ipv6_exthdr_len() 212 hlen = (uint16)((eh->hdrlen + 2U) << 2U); in ipv6_exthdr_len() 214 hlen = (uint16)IPV6_EXTHDR_LEN(eh); in ipv6_exthdr_len() 217 eh = (struct ipv6_exthdr *)(h + len); in ipv6_exthdr_len() 220 *proto = eh->nexthdr; in ipv6_exthdr_len() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/8390/ |
| H A D | etherh.c | 119 static inline void etherh_set_ctrl(struct etherh_priv *eh, unsigned char mask) in etherh_set_ctrl() argument 121 unsigned char ctrl = eh->ctrl | mask; in etherh_set_ctrl() 122 eh->ctrl = ctrl; in etherh_set_ctrl() 123 writeb(ctrl, eh->ctrl_port); in etherh_set_ctrl() 126 static inline void etherh_clr_ctrl(struct etherh_priv *eh, unsigned char mask) in etherh_clr_ctrl() argument 128 unsigned char ctrl = eh->ctrl & ~mask; in etherh_clr_ctrl() 129 eh->ctrl = ctrl; in etherh_clr_ctrl() 130 writeb(ctrl, eh->ctrl_port); in etherh_clr_ctrl() 133 static inline unsigned int etherh_get_stat(struct etherh_priv *eh) in etherh_get_stat() argument 135 return readb(eh->ctrl_port); in etherh_get_stat() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/ |
| H A D | bcmip.h | 193 #define IPV6_EXTHDR_LEN(eh) ((((struct ipv6_exthdr *)(eh))->hdrlen + 1) << 3) argument 211 struct ipv6_exthdr *eh = (struct ipv6_exthdr *)h; in ipv6_exthdr_len() local 213 while (IPV6_EXTHDR(eh->nexthdr)) { in ipv6_exthdr_len() 214 if (eh->nexthdr == IPV6_EXTHDR_NONE) in ipv6_exthdr_len() 216 else if (eh->nexthdr == IPV6_EXTHDR_FRAGMENT) in ipv6_exthdr_len() 218 else if (eh->nexthdr == IPV6_EXTHDR_AUTH) in ipv6_exthdr_len() 219 hlen = (eh->hdrlen + 2) << 2; in ipv6_exthdr_len() 221 hlen = IPV6_EXTHDR_LEN(eh); in ipv6_exthdr_len() 224 eh = (struct ipv6_exthdr *)(h + len); in ipv6_exthdr_len() 227 *proto = eh->nexthdr; in ipv6_exthdr_len()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/ |
| H A D | bcmip.h | 206 #define IPV6_EXTHDR_LEN(eh) ((((struct ipv6_exthdr *)(eh))->hdrlen + 1) << 3) argument 224 struct ipv6_exthdr *eh = (struct ipv6_exthdr *)h; in ipv6_exthdr_len() local 226 while (IPV6_EXTHDR(eh->nexthdr)) { in ipv6_exthdr_len() 227 if (eh->nexthdr == IPV6_EXTHDR_NONE) in ipv6_exthdr_len() 229 else if (eh->nexthdr == IPV6_EXTHDR_FRAGMENT) in ipv6_exthdr_len() 231 else if (eh->nexthdr == IPV6_EXTHDR_AUTH) in ipv6_exthdr_len() 232 hlen = (eh->hdrlen + 2) << 2; in ipv6_exthdr_len() 234 hlen = IPV6_EXTHDR_LEN(eh); in ipv6_exthdr_len() 237 eh = (struct ipv6_exthdr *)(h + len); in ipv6_exthdr_len() 240 *proto = eh->nexthdr; in ipv6_exthdr_len()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/ |
| H A D | bcmip.h | 193 #define IPV6_EXTHDR_LEN(eh) ((((struct ipv6_exthdr *)(eh))->hdrlen + 1) << 3) argument 211 struct ipv6_exthdr *eh = (struct ipv6_exthdr *)h; in ipv6_exthdr_len() local 213 while (IPV6_EXTHDR(eh->nexthdr)) { in ipv6_exthdr_len() 214 if (eh->nexthdr == IPV6_EXTHDR_NONE) in ipv6_exthdr_len() 216 else if (eh->nexthdr == IPV6_EXTHDR_FRAGMENT) in ipv6_exthdr_len() 218 else if (eh->nexthdr == IPV6_EXTHDR_AUTH) in ipv6_exthdr_len() 219 hlen = (eh->hdrlen + 2) << 2; in ipv6_exthdr_len() 221 hlen = IPV6_EXTHDR_LEN(eh); in ipv6_exthdr_len() 224 eh = (struct ipv6_exthdr *)(h + len); in ipv6_exthdr_len() 227 *proto = eh->nexthdr; in ipv6_exthdr_len()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/ |
| H A D | bcmip.h | 193 #define IPV6_EXTHDR_LEN(eh) ((((struct ipv6_exthdr *)(eh))->hdrlen + 1) << 3) argument 211 struct ipv6_exthdr *eh = (struct ipv6_exthdr *)h; in ipv6_exthdr_len() local 213 while (IPV6_EXTHDR(eh->nexthdr)) { in ipv6_exthdr_len() 214 if (eh->nexthdr == IPV6_EXTHDR_NONE) in ipv6_exthdr_len() 216 else if (eh->nexthdr == IPV6_EXTHDR_FRAGMENT) in ipv6_exthdr_len() 218 else if (eh->nexthdr == IPV6_EXTHDR_AUTH) in ipv6_exthdr_len() 219 hlen = (eh->hdrlen + 2) << 2; in ipv6_exthdr_len() 221 hlen = IPV6_EXTHDR_LEN(eh); in ipv6_exthdr_len() 224 eh = (struct ipv6_exthdr *)(h + len); in ipv6_exthdr_len() 227 *proto = eh->nexthdr; in ipv6_exthdr_len()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_wet.c | 121 uint8 * eh, uint8 *vtag, int length, int send); 123 uint8 * eh, uint8 *iph, int length, int send); 125 uint8 *eh, uint8 *arph, int length, int send); 127 uint8 *eh, uint8 *iph, uint8 *udph, int length, int send); 129 uint8 *eh, uint8 *iph, uint8 *udph, uint8 *dhcp, int length, int send); 131 uint8 *eh, uint8 *iph, uint8 *udph, uint8 *dhcp, int length, int send); 149 typedef int (*prot_proc_t)(dhd_wet_info_t *weth, void *sdu, uint8 *eh, 178 typedef int (*ipv4_proc_t)(dhd_wet_info_t *weth, uint8 *eh, 198 typedef int (*udp_proc_t)(dhd_wet_info_t *weth, uint8 *eh, 331 uint8 * eh, uint8 *vtag, int length, int send) in BCMFASTPATH() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_wet.c | 121 uint8 * eh, uint8 *vtag, int length, int send); 123 uint8 * eh, uint8 *iph, int length, int send); 125 uint8 *eh, uint8 *arph, int length, int send); 127 uint8 *eh, uint8 *iph, uint8 *udph, int length, int send); 129 uint8 *eh, uint8 *iph, uint8 *udph, uint8 *dhcp, int length, int send); 131 uint8 *eh, uint8 *iph, uint8 *udph, uint8 *dhcp, int length, int send); 149 typedef int (*prot_proc_t)(dhd_wet_info_t *weth, void *sdu, uint8 *eh, 178 typedef int (*ipv4_proc_t)(dhd_wet_info_t *weth, uint8 *eh, 198 typedef int (*udp_proc_t)(dhd_wet_info_t *weth, uint8 *eh, 331 uint8 * eh, uint8 *vtag, int length, int send) in BCMFASTPATH() [all …]
|
| /OK3568_Linux_fs/kernel/net/bluetooth/bnep/ |
| H A D | core.c | 55 if (ether_addr_equal(dst, s->eh.h_source)) in __bnep_get_session() 349 s->eh.h_proto = get_unaligned((__be16 *) (skb->data - 2)); in bnep_rx_frame() 358 if (ntohs(s->eh.h_proto) == ETH_P_8021Q) { in bnep_rx_frame() 361 s->eh.h_proto = get_unaligned((__be16 *) (skb->data - 2)); in bnep_rx_frame() 377 __skb_put_data(nskb, &s->eh, ETH_HLEN); in bnep_rx_frame() 381 __skb_put_data(nskb, s->eh.h_dest, ETH_ALEN); in bnep_rx_frame() 383 put_unaligned(s->eh.h_proto, (__be16 *) __skb_put(nskb, 2)); in bnep_rx_frame() 388 __skb_put_data(nskb, s->eh.h_source, ETH_ALEN + 2); in bnep_rx_frame() 393 put_unaligned(s->eh.h_proto, (__be16 *) __skb_put(nskb, 2)); in bnep_rx_frame() 421 struct ethhdr *eh = (void *) skb->data; in bnep_tx_frame() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_hw.c | 408 struct prestera_fw_event_handler *eh; in __find_event_handler() local 410 list_for_each_entry_rcu(eh, &sw->event_handlers, list) { in __find_event_handler() 411 if (eh->type == type) in __find_event_handler() 412 return eh; in __find_event_handler() 420 struct prestera_fw_event_handler *eh) in prestera_find_event_handler() argument 428 *eh = *tmp; in prestera_find_event_handler() 440 struct prestera_fw_event_handler eh; in prestera_evt_recv() local 449 err = prestera_find_event_handler(sw, msg->type, &eh); in prestera_evt_recv() 459 eh.func(sw, &evt, eh.arg); in prestera_evt_recv() 467 struct prestera_fw_event_handler eh; in prestera_pkt_recv() local [all …]
|
| /OK3568_Linux_fs/kernel/net/ethernet/ |
| H A D | eth.c | 414 struct ethhdr *eh, *eh2; in eth_gro_receive() local 420 hlen = off_eth + sizeof(*eh); in eth_gro_receive() 421 eh = skb_gro_header_fast(skb, off_eth); in eth_gro_receive() 423 eh = skb_gro_header_slow(skb, hlen, off_eth); in eth_gro_receive() 424 if (unlikely(!eh)) in eth_gro_receive() 435 if (compare_ether_header(eh, eh2)) { in eth_gro_receive() 441 type = eh->h_proto; in eth_gro_receive() 450 skb_gro_pull(skb, sizeof(*eh)); in eth_gro_receive() 451 skb_gro_postpull_rcsum(skb, eh, sizeof(*eh)); in eth_gro_receive() 465 struct ethhdr *eh = (struct ethhdr *)(skb->data + nhoff); in eth_gro_complete() local [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/tools/ |
| H A D | loongson3-llsc-check.c | 239 Elf64_Ehdr *eh; in main() local 269 eh = vmlinux; in main() 270 if (memcmp(eh->e_ident, ELFMAG, SELFMAG)) { in main() 275 if (eh->e_ident[EI_CLASS] != ELFCLASS64) { in main() 280 if (eh->e_ident[EI_DATA] != ELFDATA2LSB) { in main() 285 for (i = 0; i < le16toh(eh->e_shnum); i++) { in main() 286 sh = vmlinux + le64toh(eh->e_shoff) + (i * le16toh(eh->e_shentsize)); in main()
|
| /OK3568_Linux_fs/kernel/fs/ext4/ |
| H A D | extents.c | 50 struct ext4_extent_header *eh) in ext4_extent_block_csum() argument 56 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)eh, in ext4_extent_block_csum() 57 EXT4_EXTENT_TAIL_OFFSET(eh)); in ext4_extent_block_csum() 62 struct ext4_extent_header *eh) in ext4_extent_block_csum_verify() argument 69 et = find_ext4_extent_tail(eh); in ext4_extent_block_csum_verify() 70 if (et->et_checksum != ext4_extent_block_csum(inode, eh)) in ext4_extent_block_csum_verify() 76 struct ext4_extent_header *eh) in ext4_extent_block_csum_set() argument 83 et = find_ext4_extent_tail(eh); in ext4_extent_block_csum_set() 84 et->et_checksum = ext4_extent_block_csum(inode, eh); in ext4_extent_block_csum_set() 368 struct ext4_extent_header *eh, in ext4_valid_extent_entries() argument [all …]
|
| H A D | migrate.c | 359 struct ext4_extent_header *eh; in free_ext_idx() local 366 eh = (struct ext4_extent_header *)bh->b_data; in free_ext_idx() 367 if (eh->eh_depth != 0) { in free_ext_idx() 368 ix = EXT_FIRST_INDEX(eh); in free_ext_idx() 369 for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ix++) { in free_ext_idx() 394 struct ext4_extent_header *eh = (struct ext4_extent_header *)ei->i_data; in free_ext_block() local 396 if (eh->eh_depth == 0) in free_ext_block() 401 ix = EXT_FIRST_INDEX(eh); in free_ext_block() 402 for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ix++) { in free_ext_block() 599 struct ext4_extent_header *eh; in ext4_ind_migrate() local [all …]
|
| /OK3568_Linux_fs/kernel/net/802/ |
| H A D | stp.c | 33 const struct ethhdr *eh = eth_hdr(skb); in stp_pdu_rcv() local 42 if (eh->h_dest[5] >= GARP_ADDR_MIN && eh->h_dest[5] <= GARP_ADDR_MAX) { in stp_pdu_rcv() 43 proto = rcu_dereference(garp_protos[eh->h_dest[5] - in stp_pdu_rcv() 46 !ether_addr_equal(eh->h_dest, proto->group_address)) in stp_pdu_rcv()
|
| /OK3568_Linux_fs/kernel/arch/alpha/kernel/ |
| H A D | binfmt_loader.c | 11 struct exec *eh = (struct exec *)bprm->buf; in load_binary() local 16 if (eh->fh.f_magic != 0x183 || (eh->fh.f_flags & 0x3000) != 0x3000) in load_binary() 30 bprm->taso = eh->ah.entry < 0x100000000UL; in load_binary()
|
| /OK3568_Linux_fs/kernel/drivers/firmware/arm_scmi/ |
| H A D | notify.c | 300 struct scmi_event_header *eh; member 431 outs = kfifo_out(&eq->kfifo, pd->eh, in scmi_process_event_header() 441 r_evt = SCMI_GET_REVT_FROM_PD(pd, pd->eh->evt_id); in scmi_process_event_header() 470 outs = kfifo_out(&eq->kfifo, pd->eh->payld, pd->eh->payld_sz); in scmi_process_event_payload() 477 if (outs != pd->eh->payld_sz) { in scmi_process_event_payload() 486 pd->id, pd->eh->evt_id); in scmi_process_event_payload() 490 report = REVT_FILL_REPORT(r_evt, pd->eh->evt_id, pd->eh->timestamp, in scmi_process_event_payload() 491 pd->eh->payld, pd->eh->payld_sz, in scmi_process_event_payload() 496 pd->id, pd->eh->evt_id); in scmi_process_event_payload() 501 key = MAKE_ALL_SRCS_KEY(pd->id, pd->eh->evt_id); in scmi_process_event_payload() [all …]
|
| /OK3568_Linux_fs/buildroot/package/libffi/ |
| H A D | 0002-Fix-use-of-compact-eh-frames-on-MIPS.patch | 4 Subject: [PATCH] Fix use of compact eh frames on MIPS 12 This patch add -mno-compact-eh to CFLAGS when compiling for 32 + CFLAGS=-mno-compact-eh 33 + AC_MSG_CHECKING([whether the C compiler needs -mno-compact-eh]) 35 + [AC_MSG_RESULT([yes])]; [save_CFLAGS="$save_CFLAGS -mno-compact-eh"],
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/ |
| H A D | rx.c | 70 u8 *eh, int hdr_len) in efx_rx_mk_skb() argument 86 memcpy(skb->data + efx->rx_ip_align, eh - efx->rx_prefix_size, in efx_rx_mk_skb() 211 static void efx_rx_deliver(struct efx_channel *channel, u8 *eh, in efx_rx_deliver() argument 218 skb = efx_rx_mk_skb(channel, rx_buf, n_frags, eh, hdr_len); in efx_rx_deliver() 377 u8 *eh = efx_rx_buf_va(rx_buf); in __efx_rx_packet() local 384 (eh + efx->rx_packet_len_offset)); in __efx_rx_packet() 392 efx_loopback_rx_packet(efx, eh, rx_buf->len); in __efx_rx_packet() 399 if (!efx_do_xdp(efx, channel, rx_buf, &eh)) in __efx_rx_packet() 406 efx_rx_packet_gro(channel, rx_buf, channel->rx_pkt_n_frags, eh, 0); in __efx_rx_packet() 408 efx_rx_deliver(channel, eh, rx_buf, channel->rx_pkt_n_frags); in __efx_rx_packet()
|
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A D | xt_esp.c | 38 const struct ip_esp_hdr *eh; in esp_mt() local 46 eh = skb_header_pointer(skb, par->thoff, sizeof(_esp), &_esp); in esp_mt() 47 if (eh == NULL) { in esp_mt() 56 return spi_match(espinfo->spis[0], espinfo->spis[1], ntohl(eh->spi), in esp_mt()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/primitives/asm/ |
| H A D | asm-compat.h | 20 #define PPC_LLARX(t, a, b, eh) PPC_LDARX(t, a, b, eh) argument 53 #define PPC_LLARX(t, a, b, eh) PPC_LWARX(t, a, b, eh) argument
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/asm/ |
| H A D | asm-compat.h | 20 #define PPC_LLARX(t, a, b, eh) PPC_LDARX(t, a, b, eh) argument 53 #define PPC_LLARX(t, a, b, eh) PPC_LWARX(t, a, b, eh) argument
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bluetooth_uart_driver/ |
| H A D | hci_h4.c | 166 struct hci_event_hdr *eh; in h4_recv() local 210 eh = hci_event_hdr(h4->rx_skb); in h4_recv() 212 BT_DBG("Event header: evt 0x%2.2x plen %d", eh->evt, eh->plen); in h4_recv() 215 h4_check_data_len(h4, eh->plen); in h4_recv() 217 h4_check_data_len(hu->hdev, h4, eh->plen); in h4_recv()
|