Searched refs:msk (Results 26 - 50 of 133) sorted by relevance

123456

/linux-master/drivers/net/wireless/realtek/rtlwifi/
H A Dpwrseqcmd.h55 u8 msk; member in struct:wlan_pwr_cfg
65 #define GET_PWR_CFG_MASK(__PWR_CMD) (__PWR_CMD.msk)
/linux-master/lib/reed_solomon/
H A Dencode_rs.c21 uint16_t msk = (uint16_t) rs->nn; variable
29 fb = index_of[((((uint16_t) data[i])^invmsk) & msk) ^ par[0]];
H A Ddecode_rs.c26 uint16_t msk = (uint16_t) rs->nn; variable
62 syn[i] = (((uint16_t) data[0]) ^ invmsk) & msk;
68 invmsk) & msk;
71 invmsk) & msk) ^
81 syn[i] = ((uint16_t) par[j]) & msk;
83 syn[i] = (((uint16_t) par[j]) & msk) ^
/linux-master/drivers/net/ethernet/aquantia/atlantic/
H A Daq_hw_utils.h31 void aq_hw_write_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk,
33 u32 aq_hw_read_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, u32 shift);
/linux-master/drivers/pinctrl/visconti/
H A Dpinctrl-common.h53 #define VISCONTI_PIN_GROUP(group_name, off, msk, v) \
60 .mask = msk, \
/linux-master/drivers/staging/rtl8723bs/include/
H A DHalPwrSeqCmd.h17 /* msk: the mask of the read value */
19 /* note: dirver shall implement this function by read & msk */
23 /* msk: the mask of the write bits */
25 /* note: driver shall implement this cmd by read & msk after write */
29 /* msk: the mask of the polled value */
33 /* if ((Read(offset) & msk) == (value & msk)) */
39 /* msk: N/A */
44 /* msk: N/A */
97 u8 msk; member in struct:wlan_pwr_cfg
[all...]
/linux-master/kernel/irq/
H A Ddebugfs.c33 const struct cpumask *msk; local
35 msk = irq_data_get_affinity_mask(data);
36 seq_printf(m, "affinity: %*pbl\n", cpumask_pr_args(msk));
38 msk = irq_data_get_effective_affinity_mask(data);
39 seq_printf(m, "effectiv: %*pbl\n", cpumask_pr_args(msk));
42 msk = desc->pending_mask;
43 seq_printf(m, "pending: %*pbl\n", cpumask_pr_args(msk));
H A Dgeneric-chip.c468 * @msk: Bitmask holding the irqs to initialize relative to gc->irq_base
477 void irq_setup_generic_chip(struct irq_chip_generic *gc, u32 msk, argument
491 for (i = gc->irq_base; msk; msk >>= 1, i++) {
492 if (!(msk & 0x01))
542 * @msk: Bitmask holding the irqs to initialize relative to gc->irq_base
548 void irq_remove_generic_chip(struct irq_chip_generic *gc, u32 msk, argument
557 for (i = 0; msk; msk >>= 1, i++) {
558 if (!(msk
[all...]
/linux-master/net/mctp/
H A Droute.c59 struct mctp_sock *msk = container_of(sk, struct mctp_sock, sk); local
61 if (msk->bind_net != MCTP_NET_ANY && msk->bind_net != cb->net)
64 if (msk->bind_type != type)
67 if (!mctp_address_matches(msk->bind_addr, mh->dest))
70 return msk;
170 static struct mctp_sk_key *mctp_key_alloc(struct mctp_sock *msk, argument
185 key->sk = &msk->sk;
212 static int mctp_key_add(struct mctp_sk_key *key, struct mctp_sock *msk) argument
214 struct net *net = sock_net(&msk
367 struct mctp_sock *msk; local
626 mctp_reserve_tag(struct net *net, struct mctp_sk_key *key, struct mctp_sock *msk) argument
647 mctp_alloc_local_tag(struct mctp_sock *msk, unsigned int netid, mctp_eid_t local, mctp_eid_t peer, bool manual, u8 *tagp) argument
731 mctp_lookup_prealloc_tag(struct mctp_sock *msk, unsigned int netid, mctp_eid_t daddr, u8 req_tag, u8 *tagp) argument
927 struct mctp_sock *msk = container_of(sk, struct mctp_sock, sk); local
[all...]
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-ctrl.c207 int msk; local
210 for (idx = 0, msk = 1; val; idx++, msk <<= 1) {
211 if (val & msk) {
291 static unsigned int gen_bitmask_string(int msk,int val,int msk_only, argument
304 for (idx = 0, sm = 1; msk; idx++, sm <<= 1) {
305 if (sm & msk) {
306 msk &= ~sm;
380 int msk; local
382 for (idx = 0, msk
[all...]
H A Dpvrusb2-debugifc.c14 unsigned long msk; member in struct:debugifc_mask_item
252 u32 msk,val; local
266 ret = debugifc_parse_unsigned_number(wptr,wlen,&msk);
273 val = msk;
274 msk = 0xffffffff;
277 ret = pvr2_hdw_gpio_chg_dir(hdw,msk,val);
279 ret = pvr2_hdw_gpio_chg_out(hdw,msk,val);
H A Dpvrusb2-hdw.h268 int pvr2_hdw_gpio_chg_dir(struct pvr2_hdw *hdw,u32 msk,u32 val);
269 int pvr2_hdw_gpio_chg_out(struct pvr2_hdw *hdw,u32 msk,u32 val);
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Dmain.h557 struct nfp_flower_meta_tci *msk, u8 key_type);
560 struct nfp_flower_meta_tci *msk,
570 struct nfp_flower_mac_mpls *msk,
574 struct nfp_flower_mac_mpls *msk,
579 struct nfp_flower_tp_ports *msk,
583 struct nfp_flower_vlan *msk,
587 struct nfp_flower_ipv4 *msk, struct flow_rule *rule);
590 struct nfp_flower_ipv6 *msk, struct flow_rule *rule);
592 nfp_flower_compile_geneve_opt(u8 *ext, u8 *msk, struct flow_rule *rule);
595 struct nfp_flower_ipv4_gre_tun *msk,
[all...]
H A Dconntrack.c141 u32 off, msk, key; local
148 msk = act->mangle.mask;
155 val[off >> 2] &= msk;
821 u8 *key, *msk, *kdata, *mdata; local
873 msk = mdata + offset;
875 (struct nfp_flower_meta_tci *)msk,
881 msk = mdata + offset;
884 nfp_flower_compile_ext_meta((struct nfp_flower_ext_meta *)msk,
894 msk = mdata + offset;
899 err = nfp_flower_compile_port((struct nfp_flower_in_port *)msk,
[all...]
/linux-master/drivers/iio/frequency/
H A Dadmv1014.c325 unsigned int msk; local
331 msk = ADMV1014_BB_AMP_OFFSET_I_MSK;
334 msk = ADMV1014_BB_AMP_OFFSET_Q_MSK;
338 return admv1014_spi_update_bits(st, ADMV1014_REG_IF_AMP_BB_AMP, msk, data);
341 msk = ADMV1014_LOAMP_PH_ADJ_I_FINE_MSK;
344 msk = ADMV1014_LOAMP_PH_ADJ_Q_FINE_MSK;
348 return admv1014_spi_update_bits(st, ADMV1014_REG_LO_AMP_PHASE_ADJUST1, msk, data);
410 unsigned int data, addr, msk; local
421 msk = ADMV1014_IF_AMP_COARSE_GAIN_I_MSK;
425 msk
[all...]
/linux-master/lib/vdso/
H A Dgettimeofday.c248 u32 msk; local
258 msk = 1U << clock;
259 if (likely(msk & VDSO_HRES))
261 else if (msk & VDSO_COARSE)
263 else if (msk & VDSO_RAW)
377 u32 msk; local
392 msk = 1U << clock;
393 if (msk & (VDSO_HRES | VDSO_RAW)) {
398 } else if (msk & VDSO_COARSE) {
/linux-master/arch/sparc/kernel/
H A Dsun4d_smp.c186 int msk; member in struct:sun4d_ipi_work
202 work->single = work->msk = work->resched = 0;
214 if (work->msk) {
215 work->msk = 0;
253 work->msk = 1;
H A Dleon_smp.c263 int msk; member in struct:leon_ipi_work
299 work->single = work->msk = work->resched = 0;
326 work->msk = 1;
351 if (work->msk) {
352 work->msk = 0;
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ethtool.c1342 fs->m_u.tcp_ip4_spec.ip4src = entry->msk.sip4;
1343 fs->m_u.tcp_ip4_spec.ip4dst = entry->msk.dip4;
1344 fs->m_u.tcp_ip4_spec.psrc = entry->msk.sport;
1345 fs->m_u.tcp_ip4_spec.pdst = entry->msk.dport;
1353 fs->m_u.tcp_ip6_spec.ip6src[i] = entry->msk.sip6[i];
1354 fs->m_u.tcp_ip6_spec.ip6dst[i] = entry->msk.dip6[i];
1358 fs->m_u.tcp_ip6_spec.psrc = entry->msk.sport;
1359 fs->m_u.tcp_ip6_spec.pdst = entry->msk.dport;
1366 fs->m_u.usr_ip4_spec.ip4src = entry->msk.sip4;
1367 fs->m_u.usr_ip4_spec.ip4dst = entry->msk
[all...]
/linux-master/arch/powerpc/include/asm/
H A Dcell-pmu.h31 #define CBE_PM_SPU_ADDR_TRACE_SET(msk) (((msk) & 0x3) << 9)
/linux-master/arch/arm/plat-orion/
H A Dgpio.c459 u32 msk; local
462 msk = 1 << i;
463 is_out = !(io_conf & msk);
469 out & msk ? "hi" : "lo",
470 blink & msk ? "(blink )" : "");
475 (data_in ^ in_pol) & msk ? "hi" : "lo",
476 in_pol & msk ? "lo" : "hi");
477 if (!((edg_msk | lvl_msk) & msk)) {
481 if (edg_msk & msk)
483 if (lvl_msk & msk)
[all...]
/linux-master/include/net/
H A Dmptcp.h112 int (*get_subflow)(struct mptcp_sock *msk,
119 void (*init)(struct mptcp_sock *msk);
120 void (*release)(struct mptcp_sock *msk);
154 void mptcp_diag_fill_info(struct mptcp_sock *msk, struct mptcp_info *info);
/linux-master/drivers/mtd/nand/raw/
H A Dnand_bbt.c86 uint8_t msk = (mark & BBT_ENTRY_MASK) << ((block & BBT_ENTRY_MASK) * 2); local
87 chip->bbt[block >> BBT_ENTRY_SHIFT] |= msk;
174 uint8_t msk = (uint8_t)((1 << bits) - 1); local
213 uint8_t tmp = (dat >> j) & msk;
214 if (tmp == msk)
754 uint8_t msk[4]; local
801 msk[2] = ~rcode;
803 case 1: sft = 3; sftmsk = 0x07; msk[0] = 0x00; msk[1] = 0x01;
804 msk[
[all...]
/linux-master/drivers/mfd/
H A Dintel-m10-bmc-core.c81 unsigned int msk, unsigned int val)
87 return regmap_update_bits(m10bmc->regmap, csr_map->base + offset, msk, val);
93 ret = regmap_update_bits(m10bmc->regmap, csr_map->base + offset, msk, val);
80 m10bmc_sys_update_bits(struct intel_m10bmc *m10bmc, unsigned int offset, unsigned int msk, unsigned int val) argument
/linux-master/drivers/usb/host/
H A Dxhci-mtk.c346 u32 reg, msk, val; local
351 msk = WC1_IS_EN | WC1_IS_C(0xf) | WC1_IS_P;
356 msk = WC0_IS_EN | WC0_IS_C(0xf) | WC0_IS_P;
361 msk = WC0_SSUSB0_CDEN | WC0_IS_SPM_EN;
362 val = enable ? msk : 0;
366 msk = WC1_IS_EN_P0_95 | WC1_IS_C_95(0xf) | WC1_IS_P_95;
371 msk = WC0_IS_EN_P1_95 | WC0_IS_C_95(0x7) | WC0_IS_P_95;
376 msk = WC0_IS_EN_P2_95 | WC0_IS_C_95(0x7) | WC0_IS_P_95;
381 msk = WC0_IS_EN_P3_95 | WC0_IS_C_95(0x7) | WC0_IS_P_95;
386 msk
[all...]

Completed in 496 milliseconds

123456