Home
last modified time | relevance | path

Searched refs:str_on_off (Results 1 – 25 of 77) sorted by relevance

1234

/linux-6.15/include/linux/
H A Dstring_choices.h44 static inline const char *str_on_off(bool v) in str_on_off() function
48 #define str_off_on(v) str_on_off(!(v))
/linux-6.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_debugfs.c2576 str_on_off(loopback_en)); in hclge_dbg_dump_loopback()
2589 str_on_off(loopback_en)); in hclge_dbg_dump_loopback()
2594 str_on_off(loopback_en)); in hclge_dbg_dump_loopback()
2599 str_on_off(loopback_en)); in hclge_dbg_dump_loopback()
2604 str_on_off(loopback_en)); in hclge_dbg_dump_loopback()
2897 str_on_off(ingress)); in hclge_dbg_dump_vlan_filter_config()
2899 str_on_off(egress)); in hclge_dbg_dump_vlan_filter_config()
2918 result[j++] = str_on_off(ingress); in hclge_dbg_dump_vlan_filter_config()
2919 result[j++] = str_on_off(egress); in hclge_dbg_dump_vlan_filter_config()
2922 str_on_off(bypass) : "NA"; in hclge_dbg_dump_vlan_filter_config()
[all …]
/linux-6.15/arch/m68k/atari/
H A Dnvram.c203 str_on_off(nvram[16] & 0x80)); in atari_nvram_proc_read()
241 vmode & 64 ? "" : "no ", str_on_off(vmode & 128), in atari_nvram_proc_read()
/linux-6.15/mm/kasan/
H A Dhw_tags.c267 str_on_off(kasan_vmalloc_enabled()), in kasan_init_hw_tags()
268 str_on_off(kasan_stack_collection_enabled())); in kasan_init_hw_tags()
H A Dsw_tags.c49 str_on_off(kasan_stack_collection_enabled())); in kasan_init_sw_tags()
/linux-6.15/sound/pci/ac97/
H A Dac97_proc.c164 str_on_off(val & 0x4000), in snd_ac97_proc_read_main()
165 str_on_off(val & 0x2000), in snd_ac97_proc_read_main()
166 str_on_off(val & 0x1000), in snd_ac97_proc_read_main()
169 str_on_off(val & 0x0080)); in snd_ac97_proc_read_main()
/linux-6.15/scripts/coccinelle/api/
H A Dstring_choices.cocci266 @str_on_off depends on patch@
270 + str_on_off(E)
283 coccilib.report.print_report(p[0], "opportunity for str_on_off(%s)" % e)
/linux-6.15/drivers/usb/typec/tcpm/
H A Dfusb302.c737 fusb302_log(chip, "vconn is already %s", str_on_off(on)); in tcpm_set_vconn()
750 fusb302_log(chip, "vconn := %s", str_on_off(on)); in tcpm_set_vconn()
765 fusb302_log(chip, "vbus is already %s", str_on_off(on)); in tcpm_set_vbus()
777 fusb302_log(chip, "vbus := %s", str_on_off(on)); in tcpm_set_vbus()
780 fusb302_log(chip, "charge is already %s", str_on_off(charge)); in tcpm_set_vbus()
857 str_on_off(on), ret); in tcpm_set_pd_rx()
863 str_on_off(on), ret); in tcpm_set_pd_rx()
866 fusb302_log(chip, "pd := %s", str_on_off(on)); in tcpm_set_pd_rx()
1534 str_on_off(vbus_present)); in fusb302_irq_work()
/linux-6.15/drivers/usb/typec/tcpm/qcom/
H A Dqcom_pmic_typec_pdphy_stub.c42 dev_dbg(dev, "set_pd_rx: %s\n", str_on_off(on)); in qcom_pmic_typec_pdphy_stub_set_pd_rx()
/linux-6.15/drivers/gpu/drm/msm/dp/
H A Ddp_ctrl.c1370 str_on_off(ctrl->stream_clks_on), in msm_dp_ctrl_core_clk_enable()
1371 str_on_off(ctrl->link_clks_on), in msm_dp_ctrl_core_clk_enable()
1372 str_on_off(ctrl->core_clks_on)); in msm_dp_ctrl_core_clk_enable()
1389 str_on_off(ctrl->stream_clks_on), in msm_dp_ctrl_core_clk_disable()
1390 str_on_off(ctrl->link_clks_on), in msm_dp_ctrl_core_clk_disable()
1391 str_on_off(ctrl->core_clks_on)); in msm_dp_ctrl_core_clk_disable()
1420 str_on_off(ctrl->stream_clks_on), in msm_dp_ctrl_link_clk_enable()
1421 str_on_off(ctrl->link_clks_on), in msm_dp_ctrl_link_clk_enable()
1422 str_on_off(ctrl->core_clks_on)); in msm_dp_ctrl_link_clk_enable()
1440 str_on_off(ctrl->link_clks_on), in msm_dp_ctrl_link_clk_disable()
[all …]
/linux-6.15/drivers/gpu/drm/i915/display/
H A Dintel_fdi.c47 str_on_off(state), str_on_off(cur_state)); in assert_fdi_tx()
68 str_on_off(state), str_on_off(cur_state)); in assert_fdi_rx()
106 str_on_off(state), str_on_off(cur_state)); in assert_fdi_rx_pll()
H A Dvlv_dsi_pll.c604 str_on_off(state), str_on_off(cur_state)); in assert_dsi_pll()
H A Dg4x_dp.c180 str_on_off(state), str_on_off(cur_state)); in assert_dp_port()
190 str_on_off(state), str_on_off(cur_state)); in assert_edp_pll()
/linux-6.15/sound/pci/emu10k1/
H A Demuproc.c50 snd_iprintf(buffer, "S/PDIF Valid : %s\n", str_on_off(rate & SRCS_SPDIFVALID)); in snd_emu10k1_proc_spdif_status()
51 snd_iprintf(buffer, "S/PDIF Locked : %s\n", str_on_off(rate & SRCS_SPDIFLOCKED)); in snd_emu10k1_proc_spdif_status()
52 snd_iprintf(buffer, "Rate Locked : %s\n", str_on_off(rate & SRCS_RATELOCKED)); in snd_emu10k1_proc_spdif_status()
212 snd_iprintf(buffer, "Rate Locked : %s\n", str_on_off(val & SRCS_RATELOCKED)); in snd_emu10k1_proc_spdif_read()
/linux-6.15/drivers/char/
H A Dsonypi.c1272 str_on_off(fnkeyinit), in sonypi_display_info()
1273 str_on_off(camera), in sonypi_display_info()
1274 str_on_off(compat), in sonypi_display_info()
1276 str_on_off(useinput), in sonypi_display_info()
1277 str_on_off(SONYPI_ACPI_ACTIVE)); in sonypi_display_info()
/linux-6.15/sound/soc/sof/mediatek/mt8195/
H A Dmt8195-clk.c118 dev_dbg(dev, "%s: %s\n", __func__, str_on_off(enable)); in adsp_default_clk_init()
/linux-6.15/drivers/mfd/
H A Dtps65010.c254 ? str_on_off(v2 & 0x80) in dbg_show()
263 ? str_on_off(v2 & 0x80) in dbg_show()
854 pr_debug("%s: vibrator %s\n", DRIVER_NAME, str_on_off(value)); in tps65010_set_vib()
/linux-6.15/arch/mips/loongson64/
H A Denv.c166 pr_info("Firmware: Coherent DMA: %s\n", str_on_off(dma_default_coherent)); in prom_lefi_init_env()
/linux-6.15/drivers/input/misc/
H A Dregulator-haptic.c48 str_on_off(on), error); in regulator_haptic_toggle()
/linux-6.15/arch/powerpc/kernel/
H A Dsetup-common.c834 str_on_off(KERNEL_COHERENCY), in check_cache_coherency()
835 str_on_off(devtree_coherency)); in check_cache_coherency()
/linux-6.15/sound/firewire/fireface/
H A Dff-protocol-former.c138 str_on_off(data & 0x00000040)); in dump_clock_config()
144 str_on_off(data & 0x00002000)); in dump_clock_config()
/linux-6.15/drivers/acpi/
H A Dac.c240 acpi_device_bid(adev), str_on_off(ac->state)); in acpi_ac_probe()
/linux-6.15/drivers/platform/x86/amd/pmf/
H A Dcnqf.c403 dev_dbg(pdev->dev, "Received CnQF %s\n", str_on_off(input)); in cnqf_enable_store()
413 return sysfs_emit(buf, "%s\n", str_on_off(pdev->cnqf_enabled)); in cnqf_enable_show()
/linux-6.15/drivers/crypto/intel/qat/qat_common/
H A Dadf_sysfs.c217 return sysfs_emit(buf, "%s\n", str_on_off(accel_dev->autoreset_on_error)); in auto_reset_show()
/linux-6.15/drivers/gpu/drm/i915/gt/
H A Dintel_rc6.c439 str_on_off(rc_ctl & GEN6_RC_CTL_HW_ENABLE), in bxt_check_bios_rc6_setup()
440 str_on_off(rc_ctl & GEN6_RC_CTL_RC6_ENABLE), in bxt_check_bios_rc6_setup()

1234