| /freebsd-12-stable/usr.sbin/cxgbetool/ |
| D | tcbshowt5.c | 48 spr_tcp_state(val("t_state")), in t5_display_tcb_aux_0() 49 val("t_state"), in t5_display_tcb_aux_0() 50 spr_ip_version(val("ip_version")), in t5_display_tcb_aux_0() 51 val("lock_tid"), in t5_display_tcb_aux_0() 52 val("rss_fw") in t5_display_tcb_aux_0() 55 val("l2t_ix"), in t5_display_tcb_aux_0() 56 val("smac_sel"), in t5_display_tcb_aux_0() 57 val("tos") in t5_display_tcb_aux_0() 60 val("t_maxseg"), val("recv_scale"), in t5_display_tcb_aux_0() 61 val("recv_tstmp"), val("recv_sack")); in t5_display_tcb_aux_0() [all …]
|
| D | tcbshowt4.c | 48 spr_tcp_state(val("t_state")), in t4_display_tcb_aux_0() 49 val("t_state"), in t4_display_tcb_aux_0() 50 spr_ip_version(val("ip_version")), in t4_display_tcb_aux_0() 51 val("lock_tid"), in t4_display_tcb_aux_0() 52 val("init") in t4_display_tcb_aux_0() 55 val("l2t_ix"), in t4_display_tcb_aux_0() 56 val("smac_sel"), in t4_display_tcb_aux_0() 57 val("tos") in t4_display_tcb_aux_0() 60 val("t_maxseg"), val("recv_scale"), in t4_display_tcb_aux_0() 61 val("recv_tstmp"), val("recv_sack")); in t4_display_tcb_aux_0() [all …]
|
| D | tcbshowt6.c | 48 spr_tcp_state(val("t_state")), in t6_display_tcb_aux_0() 49 val("t_state"), in t6_display_tcb_aux_0() 50 spr_ip_version(val("ip_version")), in t6_display_tcb_aux_0() 51 val("lock_tid"), in t6_display_tcb_aux_0() 52 val("rss_fw") in t6_display_tcb_aux_0() 55 val("l2t_ix"), in t6_display_tcb_aux_0() 56 val("smac_sel"), in t6_display_tcb_aux_0() 57 val("tos") in t6_display_tcb_aux_0() 60 val("t_maxseg"), val("recv_scale"), in t6_display_tcb_aux_0() 61 val("recv_tstmp"), val("recv_sack")); in t6_display_tcb_aux_0() [all …]
|
| /freebsd-12-stable/sys/dev/mii/ |
| D | rlswitch.c | 141 int val; in rlswitch_attach() local 144 val = 0; in rlswitch_attach() 145 val |= 0 << 10; /* enable 802.1q VLAN Tag support */ in rlswitch_attach() 146 val |= 0 << 9; /* enable VLAN ingress filtering */ in rlswitch_attach() 147 val |= 1 << 8; /* disable VLAN tag admit control */ in rlswitch_attach() 148 val |= 1 << 6; /* internal use */ in rlswitch_attach() 149 val |= 1 << 5; /* internal use */ in rlswitch_attach() 150 val |= 1 << 4; /* internal use */ in rlswitch_attach() 151 val |= 1 << 3; /* internal use */ in rlswitch_attach() 152 val |= 1 << 1; /* reserved */ in rlswitch_attach() [all …]
|
| /freebsd-12-stable/contrib/unbound/contrib/ |
| D | metrics.awk | 15 val[$1]=$2; 21 print "unbound_hits_queries{type=\"total.num.queries\"} " val["total.num.queries"]; 23 if(val["thread" $x ".num.queries"] != "") { 24 print "unbound_hits_queries{type=\"thread" $x ".num.queries\"} " val["thread" $x ".num.queries"]; 27 print "unbound_hits_queries{type=\"total.num.cachehits\"} " val["total.num.cachehits"]; 28 print "unbound_hits_queries{type=\"total.num.prefetch\"} " val["total.num.prefetch"]; 29 print "unbound_hits_queries{type=\"num.query.tcp\"} " val["num.query.tcp"]; 30 print "unbound_hits_queries{type=\"num.query.tcpout\"} " val["num.query.tcpout"]; 31 print "unbound_hits_queries{type=\"num.query.udpout\"} " val["num.query.udpout"]; 32 print "unbound_hits_queries{type=\"num.query.tls\"} " val["num.query.tls"]; [all …]
|
| /freebsd-12-stable/contrib/amd/amd/ |
| D | conf.c | 73 static int gopt_arch(const char *val); 74 static int gopt_auto_attrcache(const char *val); 75 static int gopt_auto_dir(const char *val); 76 static int gopt_auto_nfs_version(const char *val); 77 static int gopt_autofs_use_lofs(const char *val); 78 static int gopt_browsable_dirs(const char *val); 79 static int gopt_cache_duration(const char *val); 80 static int gopt_cluster(const char *val); 81 static int gopt_debug_mtab_file(const char *val); 82 static int gopt_debug_options(const char *val); [all …]
|
| /freebsd-12-stable/bin/date/ |
| D | vary.c | 37 int val; member 74 for (f = 0; t[f].val != -1; f++) in trans() 77 return t[f].val; in trans() 128 adjyear(struct tm *t, char type, int val, int mk) in adjyear() argument 132 t->tm_year += val; in adjyear() 135 t->tm_year -= val; in adjyear() 138 t->tm_year = val; in adjyear() 149 adjmon(struct tm *t, char type, int val, int istext, int mk) in adjmon() argument 153 if (val < 0) in adjmon() 159 if (val <= t->tm_mon) in adjmon() [all …]
|
| /freebsd-12-stable/sys/contrib/ncsw/inc/ |
| D | endian_ext.h | 93 #define SWAP_UINT16(val) \ argument 94 ((uint16_t)((((val) & 0x00FF) << 8) | (((val) & 0xFF00) >> 8))) 109 #define SWAP_UINT32(val) \ argument 110 ((uint32_t)((((val) & 0x000000FF) << 24) | \ 111 (((val) & 0x0000FF00) << 8) | \ 112 (((val) & 0x00FF0000) >> 8) | \ 113 (((val) & 0xFF000000) >> 24))) 128 #define SWAP_UINT64(val) \ argument 129 ((uint64_t)((((val) & 0x00000000000000FFULL) << 56) | \ 130 (((val) & 0x000000000000FF00ULL) << 40) | \ [all …]
|
| /freebsd-12-stable/sys/contrib/octeon-sdk/ |
| D | cvmx-asm.h | 368 …efine CVMX_MT_LLM_READ_ADDR(set,val) asm volatile ("dmtc2 %[rt],0x0400+(8*(" CVMX_TMP_STR(set) … argument 369 …X_MT_LLM_WRITE_ADDR_INTERNAL(set,val) asm volatile ("dmtc2 %[rt],0x0401+(8*(" CVMX_TMP_STR(set) … argument 370 …fine CVMX_MT_LLM_READ64_ADDR(set,val) asm volatile ("dmtc2 %[rt],0x0404+(8*(" CVMX_TMP_STR(set) "… argument 371 …_MT_LLM_WRITE64_ADDR_INTERNAL(set,val) asm volatile ("dmtc2 %[rt],0x0405+(8*(" CVMX_TMP_STR(set) "… argument 372 #define CVMX_MT_LLM_DATA(set,val) asm volatile ("dmtc2 %[rt],0x0402+(8*(" CVMX_TMP_STR(set)… argument 373 #define CVMX_MF_LLM_DATA(set,val) asm volatile ("dmfc2 %[rt],0x0402+(8*(" CVMX_TMP_STR(set)… argument 401 #define CVMX_MT_CRC_POLYNOMIAL(val) asm volatile ("dmtc2 %[rt],0x4200" : : [rt] "d" (val)) argument 402 #define CVMX_MT_CRC_IV(val) asm volatile ("dmtc2 %[rt],0x0201" : : [rt] "d" (val)) argument 403 #define CVMX_MT_CRC_LEN(val) asm volatile ("dmtc2 %[rt],0x1202" : : [rt] "d" (val)) argument 404 #define CVMX_MT_CRC_BYTE(val) asm volatile ("dmtc2 %[rt],0x0204" : : [rt] "d" (val)) argument [all …]
|
| /freebsd-12-stable/sys/dev/sound/pcm/ |
| D | pcm.h | 120 #define _PCM_WRITE_S16_LE(b8, val) do { \ argument 121 *((int16_t *)(b8)) = (val); \ 123 #define _PCM_WRITE_S32_LE(b8, val) do { \ argument 124 *((int32_t *)(b8)) = (val); \ 127 intpcm_t val = (vval); \ 129 b8[1] = val; \ 130 b8[0] = val >> 8; \ 133 intpcm_t val = (vval); \ 135 b8[3] = val; \ 136 b8[2] = val >> 8; \ [all …]
|
| /freebsd-12-stable/sys/dev/ath/ath_hal/ar5416/ |
| D | ar5416_spectral.c | 52 uint32_t val; in ar5416DisableRadar() local 55 val = OS_REG_READ(ah, AR_PHY_RADAR_0); in ar5416DisableRadar() 56 val |= AR_PHY_RADAR_0_FFT_ENA; in ar5416DisableRadar() 59 val &= ~AR_PHY_RADAR_0_RRSSI; in ar5416DisableRadar() 60 val |= SM(MAX_RADAR_RSSI_THRESH, AR_PHY_RADAR_0_RRSSI); in ar5416DisableRadar() 62 val &= ~AR_PHY_RADAR_0_HEIGHT; in ar5416DisableRadar() 63 val |= SM(MAX_RADAR_HEIGHT, AR_PHY_RADAR_0_HEIGHT); in ar5416DisableRadar() 65 val &= ~(AR_PHY_RADAR_0_ENA); in ar5416DisableRadar() 66 OS_REG_WRITE(ah, AR_PHY_RADAR_0, val); in ar5416DisableRadar() 69 val = OS_REG_READ(ah, AR_PHY_RADAR_EXT); in ar5416DisableRadar() [all …]
|
| /freebsd-12-stable/bin/expr/ |
| D | expr.y | 35 struct val { struct 45 struct val *result; argument 47 void assert_to_integer(struct val *); 52 int compare_vals(struct val *, struct val *); 53 void free_value(struct val *); 55 int is_string(struct val *); 56 int is_zero_or_null(struct val *); 57 struct val *make_integer(intmax_t); 58 struct val *make_str(const char *); 59 struct val *op_and(struct val *, struct val *); [all …]
|
| /freebsd-12-stable/contrib/gdb/gdb/gdbserver/ |
| D | i387-fp.c | 78 unsigned long val, val2; in i387_cache_to_fsave() local 91 collect_register_by_name ("fctrl", &val); in i387_cache_to_fsave() 92 *(unsigned short *) &fp->fctrl = val; in i387_cache_to_fsave() 94 collect_register_by_name ("fstat", &val); in i387_cache_to_fsave() 95 val &= 0xFFFF; in i387_cache_to_fsave() 96 *(unsigned short *) &fp->fstat = val; in i387_cache_to_fsave() 98 collect_register_by_name ("ftag", &val); in i387_cache_to_fsave() 99 val &= 0xFFFF; in i387_cache_to_fsave() 100 *(unsigned short *) &fp->ftag = val; in i387_cache_to_fsave() 102 collect_register_by_name ("fiseg", &val); in i387_cache_to_fsave() [all …]
|
| /freebsd-12-stable/contrib/ofed/libibmad/ |
| D | dump.c | 47 void mad_dump_int(char *buf, int bufsz, void *val, int valsz) in mad_dump_int() argument 51 snprintf(buf, bufsz, "%d", *(uint32_t *) val & 0xff); in mad_dump_int() 54 snprintf(buf, bufsz, "%d", *(uint32_t *) val & 0xffff); in mad_dump_int() 58 snprintf(buf, bufsz, "%d", *(uint32_t *) val); in mad_dump_int() 64 snprintf(buf, bufsz, "%" PRIu64, *(uint64_t *) val); in mad_dump_int() 72 void mad_dump_uint(char *buf, int bufsz, void *val, int valsz) in mad_dump_uint() argument 76 snprintf(buf, bufsz, "%u", *(uint32_t *) val & 0xff); in mad_dump_uint() 79 snprintf(buf, bufsz, "%u", *(uint32_t *) val & 0xffff); in mad_dump_uint() 83 snprintf(buf, bufsz, "%u", *(uint32_t *) val); in mad_dump_uint() 89 snprintf(buf, bufsz, "%" PRIu64, *(uint64_t *) val); in mad_dump_uint() [all …]
|
| /freebsd-12-stable/usr.sbin/bhyve/ |
| D | vga.c | 402 vga_mem_wr_handler(struct vmctx *ctx, uint64_t addr, uint8_t val, void *arg1) in vga_mem_wr_handler() argument 455 val = (val >> sc->vga_gc.gc_rotate) | in vga_mem_wr_handler() 456 (val << (8 - sc->vga_gc.gc_rotate)); in vga_mem_wr_handler() 465 c0 = (enb_set_reset & 1) ? (c0 & ~mask) : (val & mask); in vga_mem_wr_handler() 466 c1 = (enb_set_reset & 2) ? (c1 & ~mask) : (val & mask); in vga_mem_wr_handler() 467 c2 = (enb_set_reset & 4) ? (c2 & ~mask) : (val & mask); in vga_mem_wr_handler() 468 c3 = (enb_set_reset & 8) ? (c3 & ~mask) : (val & mask); in vga_mem_wr_handler() 481 c0 = enb_set_reset & 1 ? c0 & m0 : val & m0; in vga_mem_wr_handler() 482 c1 = enb_set_reset & 2 ? c1 & m1 : val & m1; in vga_mem_wr_handler() 483 c2 = enb_set_reset & 4 ? c2 & m2 : val & m2; in vga_mem_wr_handler() [all …]
|
| /freebsd-12-stable/contrib/gdb/gdb/ |
| D | values.c | 83 struct value *val; in allocate_value() local 86 val = (struct value *) xmalloc (sizeof (struct value) + TYPE_LENGTH (atype)); in allocate_value() 87 VALUE_NEXT (val) = all_values; in allocate_value() 88 all_values = val; in allocate_value() 89 VALUE_TYPE (val) = type; in allocate_value() 90 VALUE_ENCLOSING_TYPE (val) = type; in allocate_value() 91 VALUE_LVAL (val) = not_lval; in allocate_value() 92 VALUE_ADDRESS (val) = 0; in allocate_value() 93 VALUE_FRAME_ID (val) = null_frame_id; in allocate_value() 94 VALUE_OFFSET (val) = 0; in allocate_value() [all …]
|
| /freebsd-12-stable/sys/arm/nvidia/ |
| D | tegra_usbphy.c | 315 #define WR4(sc, offs, val) \ argument 316 bus_write_4(sc->mem_res, offs, val) 319 reg_wait(struct usbphy_softc *sc, uint32_t reg, uint32_t mask, uint32_t val) in reg_wait() argument 324 if ((RD4(sc, reg) & mask) == val) in reg_wait() 334 uint32_t val; in usbphy_utmi_phy_clk() local 337 val = RD4(sc, CTRL_USB_HOSTPC1_DEVLC); in usbphy_utmi_phy_clk() 339 val &= ~USB_HOSTPC1_DEVLC_PHCD; in usbphy_utmi_phy_clk() 341 val |= USB_HOSTPC1_DEVLC_PHCD; in usbphy_utmi_phy_clk() 342 WR4(sc, CTRL_USB_HOSTPC1_DEVLC, val); in usbphy_utmi_phy_clk() 357 uint32_t val; in usbphy_utmi_enable() local [all …]
|
| /freebsd-12-stable/sys/netgraph/ |
| D | ng_patch.c | 244 conf->ops[i].val.v8 = conf->ops[i].val.v1; in ng_patch_rcvmsg() 247 conf->ops[i].val.v8 = conf->ops[i].val.v2; in ng_patch_rcvmsg() 250 conf->ops[i].val.v8 = conf->ops[i].val.v4; in ng_patch_rcvmsg() 270 conf->ops[i].val.v1 = (uint8_t) conf->ops[i].val.v8; in ng_patch_rcvmsg() 273 conf->ops[i].val.v2 = (uint16_t) conf->ops[i].val.v8; in ng_patch_rcvmsg() 276 conf->ops[i].val.v4 = (uint32_t) conf->ops[i].val.v8; in ng_patch_rcvmsg() 358 union ng_patch_op_val val; in do_patch() local 368 m_copydata(m, offset, privp->conf->ops[i].length, (caddr_t) &val); in do_patch() 376 val.v1 = privp->conf->ops[i].val.v1; in do_patch() 379 val.v1 += privp->conf->ops[i].val.v1; in do_patch() [all …]
|
| /freebsd-12-stable/sys/mips/nlm/hal/ |
| D | fmn.c | 143 uint64_t val; in nlm_cms_setup_credits() local 145 val = (((uint64_t)credit << 24) | (destid << 12) | (srcid << 0)); in nlm_cms_setup_credits() 146 nlm_write_cms_reg(base, CMS_OUTPUTQ_CREDIT_CFG, val); in nlm_cms_setup_credits() 187 void nlm_cms_set_onchip_queue (uint64_t base, int qid, uint64_t val) in nlm_cms_set_onchip_queue() argument 192 rdval |= val; in nlm_cms_set_onchip_queue() 199 uint64_t val; in nlm_cms_per_queue_level_intr() local 201 val = nlm_read_cms_reg(base, CMS_OUTPUTQ_CONFIG(qid)); in nlm_cms_per_queue_level_intr() 203 val &= ~((0x7ULL << 56) | (0x3ULL << 54)); in nlm_cms_per_queue_level_intr() 205 val |= (((uint64_t)sub_type<<54) | in nlm_cms_per_queue_level_intr() 208 nlm_write_cms_reg(base, CMS_OUTPUTQ_CONFIG(qid), val); in nlm_cms_per_queue_level_intr() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/lld/ELF/Arch/ |
| D | AVR.cpp | 50 uint64_t val) const override; 94 static void writeLDI(uint8_t *loc, uint64_t val) { in writeLDI() argument 95 write16le(loc, (read16le(loc) & 0xf0f0) | (val & 0xf0) << 4 | (val & 0x0f)); in writeLDI() 98 void AVR::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const { in relocate() 101 checkUInt(loc, val, 8, rel); in relocate() 102 *loc = val; in relocate() 108 write16le(loc, val & 0xffff); in relocate() 111 checkAlignment(loc, val, 2, rel); in relocate() 112 checkUInt(loc, val >> 1, 16, rel); in relocate() 113 write16le(loc, val >> 1); in relocate() [all …]
|
| /freebsd-12-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/ |
| D | tst.neglquant.d | 36 val = 123; 41 @["k-ingleside"] = lquantize(1, 0, 10, 1, -val); 46 @["l-taraval"] = lquantize(0, 0, 10, 1, -val); 47 @["l-taraval"] = lquantize(-1, 0, 10, 1, -val); 48 @["l-taraval"] = lquantize(1, 0, 10, 1, val); 49 @["l-taraval"] = lquantize(1, 0, 10, 1, val); 62 @["n-judah"] = lquantize(1, 0, 10, 1, val); 63 @["n-judah"] = lquantize(2, 0, 10, 1, val); 64 @["n-judah"] = lquantize(2, 0, 10, 1, val); 71 this->val = (1 << 63) - 1; [all …]
|
| /freebsd-12-stable/sys/dev/etherswitch/mtkswitch/ |
| D | mtkswitch_rt3050.c | 62 uint32_t val; in mtkswitch_reg_read() local 65 val = MTKSWITCH_READ(sc, MTKSWITCH_REG32(reg)); in mtkswitch_reg_read() 67 return (MTKSWITCH_HI16(val)); in mtkswitch_reg_read() 68 return (MTKSWITCH_LO16(val)); in mtkswitch_reg_read() 72 mtkswitch_reg_write(device_t dev, int reg, int val) in mtkswitch_reg_write() argument 81 tmp |= MTKSWITCH_TO_HI16(val); in mtkswitch_reg_write() 84 tmp |= MTKSWITCH_TO_LO16(val); in mtkswitch_reg_write() 95 int val; in mtkswitch_phy_read() local 103 val = (MTKSWITCH_READ(sc, MTKSWITCH_PCR1) >> PCR1_DATA_OFF) & in mtkswitch_phy_read() 106 return (val); in mtkswitch_phy_read() [all …]
|
| /freebsd-12-stable/sys/contrib/ena-com/ena_defs/ |
| D | ena_eth_io_defs.h | 424 static inline void set_ena_eth_io_tx_desc_length(struct ena_eth_io_tx_desc *p, uint32_t val) in set_ena_eth_io_tx_desc_length() argument 426 p->len_ctrl |= val & ENA_ETH_IO_TX_DESC_LENGTH_MASK; in set_ena_eth_io_tx_desc_length() 434 static inline void set_ena_eth_io_tx_desc_req_id_hi(struct ena_eth_io_tx_desc *p, uint32_t val) in set_ena_eth_io_tx_desc_req_id_hi() argument 436 p->len_ctrl |= (val << ENA_ETH_IO_TX_DESC_REQ_ID_HI_SHIFT) & ENA_ETH_IO_TX_DESC_REQ_ID_HI_MASK; in set_ena_eth_io_tx_desc_req_id_hi() 444 static inline void set_ena_eth_io_tx_desc_meta_desc(struct ena_eth_io_tx_desc *p, uint32_t val) in set_ena_eth_io_tx_desc_meta_desc() argument 446 p->len_ctrl |= (val << ENA_ETH_IO_TX_DESC_META_DESC_SHIFT) & ENA_ETH_IO_TX_DESC_META_DESC_MASK; in set_ena_eth_io_tx_desc_meta_desc() 454 static inline void set_ena_eth_io_tx_desc_phase(struct ena_eth_io_tx_desc *p, uint32_t val) in set_ena_eth_io_tx_desc_phase() argument 456 p->len_ctrl |= (val << ENA_ETH_IO_TX_DESC_PHASE_SHIFT) & ENA_ETH_IO_TX_DESC_PHASE_MASK; in set_ena_eth_io_tx_desc_phase() 464 static inline void set_ena_eth_io_tx_desc_first(struct ena_eth_io_tx_desc *p, uint32_t val) in set_ena_eth_io_tx_desc_first() argument 466 p->len_ctrl |= (val << ENA_ETH_IO_TX_DESC_FIRST_SHIFT) & ENA_ETH_IO_TX_DESC_FIRST_MASK; in set_ena_eth_io_tx_desc_first() [all …]
|
| /freebsd-12-stable/sys/contrib/ena-com/ |
| D | ena_eth_io_defs.h | 424 static inline void set_ena_eth_io_tx_desc_length(struct ena_eth_io_tx_desc *p, uint32_t val) in set_ena_eth_io_tx_desc_length() argument 426 p->len_ctrl |= val & ENA_ETH_IO_TX_DESC_LENGTH_MASK; in set_ena_eth_io_tx_desc_length() 434 static inline void set_ena_eth_io_tx_desc_req_id_hi(struct ena_eth_io_tx_desc *p, uint32_t val) in set_ena_eth_io_tx_desc_req_id_hi() argument 436 p->len_ctrl |= (val << ENA_ETH_IO_TX_DESC_REQ_ID_HI_SHIFT) & ENA_ETH_IO_TX_DESC_REQ_ID_HI_MASK; in set_ena_eth_io_tx_desc_req_id_hi() 444 static inline void set_ena_eth_io_tx_desc_meta_desc(struct ena_eth_io_tx_desc *p, uint32_t val) in set_ena_eth_io_tx_desc_meta_desc() argument 446 p->len_ctrl |= (val << ENA_ETH_IO_TX_DESC_META_DESC_SHIFT) & ENA_ETH_IO_TX_DESC_META_DESC_MASK; in set_ena_eth_io_tx_desc_meta_desc() 454 static inline void set_ena_eth_io_tx_desc_phase(struct ena_eth_io_tx_desc *p, uint32_t val) in set_ena_eth_io_tx_desc_phase() argument 456 p->len_ctrl |= (val << ENA_ETH_IO_TX_DESC_PHASE_SHIFT) & ENA_ETH_IO_TX_DESC_PHASE_MASK; in set_ena_eth_io_tx_desc_phase() 464 static inline void set_ena_eth_io_tx_desc_first(struct ena_eth_io_tx_desc *p, uint32_t val) in set_ena_eth_io_tx_desc_first() argument 466 p->len_ctrl |= (val << ENA_ETH_IO_TX_DESC_FIRST_SHIFT) & ENA_ETH_IO_TX_DESC_FIRST_MASK; in set_ena_eth_io_tx_desc_first() [all …]
|
| /freebsd-12-stable/sys/mips/nlm/dev/net/ucore/ |
| D | ucore.h | 83 nlm_write_ucore_reg(int reg, unsigned int val) in nlm_write_ucore_reg() argument 87 *addr = val; in nlm_write_ucore_reg() 154 unsigned int val = 0; in nlm_ucore_pkt_done() local 156 val |= ((l3cachelines & 0xfff) << 20); in nlm_ucore_pkt_done() 157 val |= ((fsv & 0x1) << 19); in nlm_ucore_pkt_done() 158 val |= ((ffs & 0x1f) << 14); in nlm_ucore_pkt_done() 159 val |= ((prepad_en & 0x1) << 3); in nlm_ucore_pkt_done() 160 val |= ((prepad_ovride & 0x1) << 2); in nlm_ucore_pkt_done() 161 val |= ((prepad_size & 0x3) << 12); in nlm_ucore_pkt_done() 162 val |= ((prepad0 & 0x3) << 4); in nlm_ucore_pkt_done() [all …]
|