/openbmc/linux/drivers/input/touchscreen/ |
H A D | sx8654.c | 90 u8 chan_mask; member 139 u8 nchan = hweight32(ts->data->chan_mask); in sx8650_irq() 374 sx8654->data->chan_mask); in sx8654_probe() 422 .chan_mask = (CONV_X | CONV_Y), 430 .chan_mask = (CONV_X | CONV_Y),
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npc_hash.c | 1033 if (table->drop_rule_map[i].chan_mask != (u16)chan_mask) in rvu_npc_exact_save_drop_rule_chan_and_mask() 1044 table->drop_rule_map[i].chan_mask = (u16)chan_mask; in rvu_npc_exact_save_drop_rule_chan_and_mask() 1064 u16 chan_val, chan_mask; in rvu_npc_exact_calc_drop_rule_chan_and_mask() local 1071 chan_mask = 0xfff; in rvu_npc_exact_calc_drop_rule_chan_and_mask() 1077 *mask = chan_mask; in rvu_npc_exact_calc_drop_rule_chan_and_mask() 1130 u64 chan_val, chan_mask; in rvu_npc_exact_get_drop_rule_info() local 1142 lmac_id, &chan_val, &chan_mask); in rvu_npc_exact_get_drop_rule_info() 1865 u64 chan_val, chan_mask; in rvu_npc_exact_init() local 1995 lmac_id, &chan_val, &chan_mask); in rvu_npc_exact_init() 2011 chan_val, chan_mask, pcifunc); in rvu_npc_exact_init() [all …]
|
H A D | rvu_switch.c | 23 u16 chan_mask) in rvu_switch_install_rx_rule() argument 43 req.chan_mask = chan_mask; in rvu_switch_install_rx_rule()
|
H A D | rvu_npc_fs.c | 1056 req->chan_mask = 0x0; /* Do not care channel */ in npc_update_rx_entry() 1058 npc_update_entry(rvu, NPC_CHAN, entry, req->channel, 0, req->chan_mask, in npc_update_rx_entry() 1239 rule->chan_mask = write_req.entry_data.kw_mask[0] & NPC_KEX_CHAN_MASK; in npc_install_flow() 1241 rule->chan &= rule->chan_mask; in npc_install_flow() 1357 req->chan_mask = 0xFFF; in rvu_mbox_handler_npc_install_flow() 1592 u64 chan_val, u64 chan_mask, u64 exact_val, u64 exact_mask, in npc_install_mcam_drop_rule() argument 1635 rule->chan_mask = chan_mask; in npc_install_mcam_drop_rule() 1658 chan_mask, 0, NIX_INTF_RX); in npc_install_mcam_drop_rule()
|
H A D | rvu_npc_hash.h | 194 u16 chan_mask; member
|
H A D | rvu_npc.c | 655 req.chan_mask = 0xFFFU; in rvu_npc_install_ucast_entry() 726 req.chan_mask = NIX_CHAN_CPT_X2P_MASK; in rvu_npc_install_promisc_entry() 728 req.chan_mask = 0xFFFU; in rvu_npc_install_promisc_entry() 739 req.chan_mask &= relaxed_mask; in rvu_npc_install_promisc_entry() 826 req.chan_mask = 0xFFFU; in rvu_npc_install_bcast_match_entry() 924 req.chan_mask = NIX_CHAN_CPT_X2P_MASK; in rvu_npc_install_allmulti_entry() 926 req.chan_mask = 0xFFFU; in rvu_npc_install_allmulti_entry()
|
H A D | npc.h | 632 u16 chan_mask; member
|
H A D | rvu.h | 921 u64 chan_val, u64 chan_mask, u64 exact_val, u64 exact_mask,
|
H A D | mbox.h | 1491 u16 chan_mask; member
|
H A D | rvu_debugfs.c | 2956 seq_printf(s, "\tchannel_mask: 0x%x\n", iter->chan_mask); in rvu_dbg_npc_mcam_show_rules()
|
/openbmc/linux/drivers/leds/flash/ |
H A D | leds-qcom-flash.c | 252 u8 strobe_sel, chan_en, chan_id, chan_mask = 0; in set_flash_strobe() local 273 chan_mask |= BIT(chan_id); in set_flash_strobe() 277 chan_en = state ? chan_mask : 0; in set_flash_strobe() 278 rc = regmap_field_update_bits(flash_data->r_fields[REG_CHAN_EN], chan_mask, chan_en); in set_flash_strobe() 343 u8 shift, chan_id, chan_mask = 0; in qcom_flash_fault_get() local 359 chan_mask |= BIT(chan_id); in qcom_flash_fault_get() 399 if (val & chan_mask) in qcom_flash_fault_get()
|
/openbmc/linux/arch/powerpc/platforms/powermac/ |
H A D | feature.c | 163 unsigned long chan_mask; in ohare_htw_scc_enable() local 173 chan_mask = MACIO_FLAG_SCCA_ON; in ohare_htw_scc_enable() 175 chan_mask = MACIO_FLAG_SCCB_ON; in ohare_htw_scc_enable() 216 if (chan_mask & MACIO_FLAG_SCCA_ON) in ohare_htw_scc_enable() 221 macio->flags |= chan_mask; in ohare_htw_scc_enable() 241 macio->flags &= ~(chan_mask); in ohare_htw_scc_enable() 603 unsigned long chan_mask; in core99_scc_enable() local 610 chan_mask = MACIO_FLAG_SCCA_ON; in core99_scc_enable() 612 chan_mask = MACIO_FLAG_SCCB_ON; in core99_scc_enable() 650 macio->flags |= chan_mask; in core99_scc_enable() [all …]
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | addi_apci_1500.c | 457 unsigned int chan_mask; in apci1500_di_cfg_trig() local 481 chan_mask = hi_mask | lo_mask; in apci1500_di_cfg_trig() 500 pm |= chan_mask; /* enable channels */ in apci1500_di_cfg_trig() 501 pt |= chan_mask; /* enable edge detection */ in apci1500_di_cfg_trig() 506 pm |= chan_mask; /* enable channels */ in apci1500_di_cfg_trig() 507 pt &= ~chan_mask; /* enable level detection */ in apci1500_di_cfg_trig()
|
H A D | ni_65xx.c | 352 unsigned int chan_mask = NI_65XX_CHAN_TO_MASK(chan); in ni_65xx_dio_insn_config() local 377 val |= chan_mask; in ni_65xx_dio_insn_config() 379 val &= ~chan_mask; in ni_65xx_dio_insn_config()
|
H A D | amplc_pci224.c | 625 unsigned int chan_mask = 0; in pci224_ao_check_chanlist() local 632 if (chan_mask & (1 << chan)) { in pci224_ao_check_chanlist() 638 chan_mask |= 1 << chan; in pci224_ao_check_chanlist()
|
/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | coresight-cti-sysfs.c | 800 u32 chan_mask = BIT(cfg->xtrig_rchan_sel); in chan_xtrigs_in_show() local 803 if (chan_mask & cfg->ctiinen[reg_idx]) in chan_xtrigs_in_show() 820 u32 chan_mask = BIT(cfg->xtrig_rchan_sel); in chan_xtrigs_out_show() local 823 if (chan_mask & cfg->ctiouten[reg_idx]) in chan_xtrigs_out_show() 838 unsigned long inuse_bits = 0, chan_mask; in print_chan_list() local 853 chan_mask = GENMASK(config->nr_ctm_channels - 1, 0); in print_chan_list() 854 if (inuse_bits & chan_mask) in print_chan_list()
|
/openbmc/linux/drivers/dma/ |
H A D | tegra186-gpc-dma.c | 252 u32 chan_mask; member 1392 &tdma->chan_mask); in tegra_dma_probe() 1397 tdma->chan_mask = TEGRA_GPCDMA_DEFAULT_CHANNEL_MASK; in tegra_dma_probe() 1405 if (!(tdma->chan_mask & BIT(i))) in tegra_dma_probe() 1474 hweight_long(tdma->chan_mask)); in tegra_dma_probe() 1497 if (!(tdma->chan_mask & BIT(i))) in tegra_dma_pm_suspend() 1519 if (!(tdma->chan_mask & BIT(i))) in tegra_dma_pm_resume()
|
H A D | fsl-edma-main.c | 434 u32 chan_mask[2] = {0, 0}; in fsl_edma_probe() local 487 ret = of_property_read_variable_u32_array(np, "dma-channel-mask", chan_mask, 1, 2); in fsl_edma_probe() 490 fsl_edma->chan_masked = chan_mask[1]; in fsl_edma_probe() 492 fsl_edma->chan_masked |= chan_mask[0]; in fsl_edma_probe()
|
/openbmc/linux/drivers/pmdomain/renesas/ |
H A D | rcar-sysc.c | 100 unsigned int chan_mask = BIT(sysc_ch->chan_bit); in rcar_sysc_power() local 134 if (!(status & chan_mask)) in rcar_sysc_power()
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | ar5008_phy.c | 301 int chan_mask = 0; in ar5008_hw_cmn_spur_mitigate() local 307 chan_mask = chan_mask | 0x1 << bp; in ar5008_hw_cmn_spur_mitigate() 313 REG_WRITE(ah, chan_mask_reg[i], chan_mask); in ar5008_hw_cmn_spur_mitigate()
|
/openbmc/linux/drivers/comedi/ |
H A D | drivers.c | 341 unsigned int chan_mask = 1 << CR_CHAN(insn->chanspec); in comedi_dio_insn_config() local 344 mask = chan_mask; in comedi_dio_insn_config()
|
/openbmc/linux/drivers/edac/ |
H A D | pnd2_edac.c | 310 static u8 chan_mask; variable 548 chan_mask = sym_chan_mask | asym_chan_mask; in get_registers() 1068 if (chan_mask & BIT(i)) in apl_check_ecc_active() 1209 if (!(chan_mask & BIT(i))) in apl_get_dimm_config()
|