Home
last modified time | relevance | path

Searched refs:on (Results 1 - 25 of 2084) sorted by relevance

12345678910>>...84

/kernel/linux/linux-5.10/include/linux/usb/
H A Dotg-fsm.h87 * @b_sess_vld: TRUE when the B-device detects that the voltage on VBUS is
98 * @b_bus_req: TRUE during the time that the Application running on the
106 * resume on the bus
115 * @loc_sof: TRUE when the local device is generating activity on the bus
204 void (*chrg_vbus)(struct otg_fsm *fsm, int on);
205 void (*drv_vbus)(struct otg_fsm *fsm, int on);
206 void (*loc_conn)(struct otg_fsm *fsm, int on);
207 void (*loc_sof)(struct otg_fsm *fsm, int on);
213 int (*start_host)(struct otg_fsm *fsm, int on);
214 int (*start_gadget)(struct otg_fsm *fsm, int on);
218 otg_chrg_vbus(struct otg_fsm *fsm, int on) otg_chrg_vbus() argument
226 otg_drv_vbus(struct otg_fsm *fsm, int on) otg_drv_vbus() argument
237 otg_loc_conn(struct otg_fsm *fsm, int on) otg_loc_conn() argument
248 otg_loc_sof(struct otg_fsm *fsm, int on) otg_loc_sof() argument
309 otg_start_host(struct otg_fsm *fsm, int on) otg_start_host() argument
316 otg_start_gadget(struct otg_fsm *fsm, int on) otg_start_gadget() argument
[all...]
/kernel/linux/linux-6.6/include/linux/usb/
H A Dotg-fsm.h74 * @b_sess_vld: TRUE when the B-device detects that the voltage on VBUS is
85 * @b_bus_req: TRUE during the time that the Application running on the
93 * resume on the bus
102 * @loc_sof: TRUE when the local device is generating activity on the bus
191 void (*chrg_vbus)(struct otg_fsm *fsm, int on);
192 void (*drv_vbus)(struct otg_fsm *fsm, int on);
193 void (*loc_conn)(struct otg_fsm *fsm, int on);
194 void (*loc_sof)(struct otg_fsm *fsm, int on);
200 int (*start_host)(struct otg_fsm *fsm, int on);
201 int (*start_gadget)(struct otg_fsm *fsm, int on);
205 otg_chrg_vbus(struct otg_fsm *fsm, int on) otg_chrg_vbus() argument
213 otg_drv_vbus(struct otg_fsm *fsm, int on) otg_drv_vbus() argument
224 otg_loc_conn(struct otg_fsm *fsm, int on) otg_loc_conn() argument
235 otg_loc_sof(struct otg_fsm *fsm, int on) otg_loc_sof() argument
296 otg_start_host(struct otg_fsm *fsm, int on) otg_start_host() argument
303 otg_start_gadget(struct otg_fsm *fsm, int on) otg_start_gadget() argument
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
H A Dbridge_locked_port.sh102 bridge link set dev $swp1 locked on
133 bridge link set dev $swp1 locked on
161 bridge link set dev $swp1 locked on
187 bridge link set dev $swp1 learning on locked on
190 check_fail $? "Ping worked on a locked port without an FDB entry"
195 bridge link set dev $swp1 learning on locked on mab on
198 check_fail $? "Ping worked on MA
[all...]
H A Dethtool.sh72 ethtool -s $h2 autoneg on
73 ethtool -s $h1 autoneg on
96 ethtool -s $h2 autoneg on
97 ethtool -s $h1 autoneg on
103 # endpoints and the other device is configured to autoneg on, the links
114 check_err $? "h1-speed=$speed autoneg off, h2 autoneg on"
115 log_test "one side with autoneg off and another with autoneg on"
119 ethtool -s $h1 autoneg on
215 ethtool -s $h2 autoneg on
216 ethtool -s $h1 autoneg on
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/dsa/
H A Dbridge_locked_port.sh102 bridge link set dev $swp1 locked on
133 bridge link set dev $swp1 locked on
161 bridge link set dev $swp1 locked on
187 bridge link set dev $swp1 learning on locked on
190 check_fail $? "Ping worked on a locked port without an FDB entry"
195 bridge link set dev $swp1 learning on locked on mab on
198 check_fail $? "Ping worked on MA
[all...]
/kernel/linux/linux-5.10/drivers/cpufreq/
H A DKconfig.x868 depends on X86
25 depends on ACPI && ACPI_PROCESSOR
39 depends on ACPI_PROCESSOR
56 depends on X86_ACPI_CPUFREQ && CPU_SUP_AMD
67 depends on X86_INTEL_MID && SFI
77 depends on MELAN
92 depends on MELAN
103 depends on X86_32
114 depends on X86_32
124 depends on X86_POWERNOW_K
[all...]
/kernel/linux/linux-6.6/fs/kernfs/
H A Dfile.c35 * kernfs_node is on the list or not can be determined by testing the next
127 * should be performed or not only on ERR_PTR(-ENODEV).
288 * write, so we don't support them. We expect the entire buffer to come on
559 * %0 on success, -errno on failure.
564 struct kernfs_open_node *on; in kernfs_get_open_node() local
568 on = kernfs_deref_open_node_locked(kn); in kernfs_get_open_node()
570 if (!on) { in kernfs_get_open_node()
572 on = kzalloc(sizeof(*on), GFP_KERNE in kernfs_get_open_node()
609 struct kernfs_open_node *on; kernfs_unlink_open_file() local
815 struct kernfs_open_node *on; kernfs_should_drain_open_files() local
834 struct kernfs_open_node *on; kernfs_drain_open_files() local
878 struct kernfs_open_node *on = of_on(of); kernfs_generic_poll() local
979 struct kernfs_open_node *on; kernfs_notify() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/phy/
H A Dphy-am335x-control.h7 enum usb_dr_mode dr_mode, bool on);
8 void (*phy_wkup)(struct phy_control *phy_ctrl, u32 id, bool on);
12 enum usb_dr_mode dr_mode, bool on) in phy_ctrl_power()
14 phy_ctrl->phy_power(phy_ctrl, id, dr_mode, on); in phy_ctrl_power()
17 static inline void phy_ctrl_wkup(struct phy_control *phy_ctrl, u32 id, bool on) in phy_ctrl_wkup() argument
19 phy_ctrl->phy_wkup(phy_ctrl, id, on); in phy_ctrl_wkup()
11 phy_ctrl_power(struct phy_control *phy_ctrl, u32 id, enum usb_dr_mode dr_mode, bool on) phy_ctrl_power() argument
/kernel/linux/linux-6.6/drivers/usb/phy/
H A Dphy-am335x-control.h7 enum usb_dr_mode dr_mode, bool on);
8 void (*phy_wkup)(struct phy_control *phy_ctrl, u32 id, bool on);
12 enum usb_dr_mode dr_mode, bool on) in phy_ctrl_power()
14 phy_ctrl->phy_power(phy_ctrl, id, dr_mode, on); in phy_ctrl_power()
17 static inline void phy_ctrl_wkup(struct phy_control *phy_ctrl, u32 id, bool on) in phy_ctrl_wkup() argument
19 phy_ctrl->phy_wkup(phy_ctrl, id, on); in phy_ctrl_wkup()
11 phy_ctrl_power(struct phy_control *phy_ctrl, u32 id, enum usb_dr_mode dr_mode, bool on) phy_ctrl_power() argument
/kernel/linux/linux-5.10/arch/alpha/lib/
H A Dev6-csum_ipv6_magic.S116 cmpult $20,$3,$3 # E : (1 cycle stall on $20)
117 addq $20,$18,$20 # E : U L U L (1 cycle stall on $20)
120 addq $20,$19,$20 # E : (1 cycle stall on $20)
125 addq $18,$19,$18 # E : (1 cycle stall on $19)
128 /* (1 cycle stall on $18, 2 cycles on $20) */
131 zapnot $0,15,$1 # U : Start folding output (1 cycle stall on $0)
133 srl $0,32,$0 # U : U L U L : (1 cycle stall on $0)
136 extwl $1,2,$2 # U : ushort[1] (1 cycle stall on $1)
137 zapnot $1,3,$0 # U : ushort[0] (1 cycle stall on
[all...]
/kernel/linux/linux-6.6/arch/alpha/lib/
H A Dev6-csum_ipv6_magic.S116 cmpult $20,$3,$3 # E : (1 cycle stall on $20)
117 addq $20,$18,$20 # E : U L U L (1 cycle stall on $20)
120 addq $20,$19,$20 # E : (1 cycle stall on $20)
125 addq $18,$19,$18 # E : (1 cycle stall on $19)
128 /* (1 cycle stall on $18, 2 cycles on $20) */
131 zapnot $0,15,$1 # U : Start folding output (1 cycle stall on $0)
133 srl $0,32,$0 # U : U L U L : (1 cycle stall on $0)
136 extwl $1,2,$2 # U : ushort[1] (1 cycle stall on $1)
137 zapnot $1,3,$0 # U : ushort[0] (1 cycle stall on
[all...]
/kernel/linux/linux-6.6/drivers/cpufreq/
H A DKconfig.x868 depends on X86
25 depends on ACPI && ACPI_PROCESSOR
39 depends on X86 && ACPI
56 depends on X86_AMD_PSTATE
60 Select the default mode the amd-pstate driver will use on
73 depends on X86 && ACPI_PROCESSOR
80 is set disabled, it can tell the users test can only run on amd-pstate
88 depends on ACPI_PROCESSOR
105 depends on X86_ACPI_CPUFREQ && CPU_SUP_AMD
116 depends on MELA
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dveth.sh231 chk_tso_flag " - tso flag" $SRC on
232 chk_tso_flag " - peer tso flag" $DST on
239 ip netns exec $NS_DST ethtool -K veth$DST gro on
240 chk_gro_flag "with gro on - gro flag" $DST on
242 chk_tso_flag " - tso flag" $SRC on
243 chk_tso_flag " - peer tso flag" $DST on
245 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
253 ip netns exec $NS_DST ethtool -K veth$DST gro on
254 chk_gro_flag "with gro enabled on lin
[all...]
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dauxio_64.c55 static void __auxio_set_bit(u8 bit, int on, int ebus) in __auxio_set_bit() argument
60 if (!on) { in __auxio_set_bit()
68 void auxio_set_led(int on) in auxio_set_led() argument
74 __auxio_set_bit(bit, on, ebus); in auxio_set_led()
78 static void __auxio_sbus_set_lte(int on) in __auxio_sbus_set_lte() argument
80 __auxio_set_bit(AUXIO_AUX1_LTE, on, 0); in __auxio_sbus_set_lte()
83 void auxio_set_lte(int on) in auxio_set_lte() argument
87 __auxio_sbus_set_lte(on); in auxio_set_lte()
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Dauxio_64.c56 static void __auxio_set_bit(u8 bit, int on, int ebus) in __auxio_set_bit() argument
61 if (!on) { in __auxio_set_bit()
69 void auxio_set_led(int on) in auxio_set_led() argument
75 __auxio_set_bit(bit, on, ebus); in auxio_set_led()
79 static void __auxio_sbus_set_lte(int on) in __auxio_sbus_set_lte() argument
81 __auxio_set_bit(AUXIO_AUX1_LTE, on, 0); in __auxio_sbus_set_lte()
84 void auxio_set_lte(int on) in auxio_set_lte() argument
88 __auxio_sbus_set_lte(on); in auxio_set_lte()
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
H A Dethtool.sh72 ethtool -s $h2 autoneg on
73 ethtool -s $h1 autoneg on
96 ethtool -s $h2 autoneg on
97 ethtool -s $h1 autoneg on
103 # endpoints and the other device is configured to autoneg on, the links
114 check_err $? "h1-speed=$speed autoneg off, h2 autoneg on"
115 log_test "one side with autoneg off and another with autoneg on"
119 ethtool -s $h1 autoneg on
215 ethtool -s $h2 autoneg on
216 ethtool -s $h1 autoneg on
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dled.c61 * Adjust led blink rate to compensate on a MAC Clock difference on every HW
62 * Led blink rate analysis showed an average deviation of 20% on 5000 series
64 * Need to compensate on the led on/off time per HW according to the deviation
103 unsigned long on, in iwl_led_cmd()
115 if (priv->blink_on == on && priv->blink_off == off) in iwl_led_cmd()
120 on = IWL_LED_SOLID; in iwl_led_cmd()
123 led_cmd.on = iwl_blink_compensation(priv, on, in iwl_led_cmd()
102 iwl_led_cmd(struct iwl_priv *priv, unsigned long on, unsigned long off) iwl_led_cmd() argument
140 unsigned long on = 0; iwl_led_brightness_set() local
[all...]
/kernel/linux/linux-5.10/sound/core/
H A Dmisc.c164 int on; member
180 if (fasync->on) in snd_fasync_work_fn()
189 int snd_fasync_helper(int fd, struct file *file, int on, in snd_fasync_helper() argument
194 if (on) { in snd_fasync_helper()
212 fasync->on = on; in snd_fasync_helper()
214 return fasync_helper(fd, file, on, &fasync->fasync); in snd_fasync_helper()
222 if (!fasync || !fasync->on) in snd_kill_fasync()
237 fasync->on = 0; in snd_fasync_free()
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dled.c56 * Adjust led blink rate to compensate on a MAC Clock difference on every HW
57 * Led blink rate analysis showed an average deviation of 20% on 5000 series
59 * Need to compensate on the led on/off time per HW according to the deviation
98 unsigned long on, in iwl_led_cmd()
110 if (priv->blink_on == on && priv->blink_off == off) in iwl_led_cmd()
115 on = IWL_LED_SOLID; in iwl_led_cmd()
118 led_cmd.on = iwl_blink_compensation(priv, on, in iwl_led_cmd()
97 iwl_led_cmd(struct iwl_priv *priv, unsigned long on, unsigned long off) iwl_led_cmd() argument
135 unsigned long on = 0; iwl_led_brightness_set() local
[all...]
/kernel/linux/linux-6.6/sound/core/
H A Dmisc.c164 int on; member
180 if (fasync->on) in snd_fasync_work_fn()
189 int snd_fasync_helper(int fd, struct file *file, int on, in snd_fasync_helper() argument
194 if (on) { in snd_fasync_helper()
212 fasync->on = on; in snd_fasync_helper()
214 return fasync_helper(fd, file, on, &fasync->fasync); in snd_fasync_helper()
222 if (!fasync || !fasync->on) in snd_kill_fasync()
237 fasync->on = 0; in snd_fasync_free()
/kernel/linux/linux-6.6/drivers/clk/qcom/
H A Dclk-branch.h30 #define BRANCH_VOTED BIT(7) /* Delay on disable */
52 struct clk_branch clk, bool on) in qcom_branch_set_force_mem_core()
55 on ? CBCR_FORCE_MEM_CORE_ON : 0); in qcom_branch_set_force_mem_core()
59 struct clk_branch clk, bool on) in qcom_branch_set_force_periph_on()
62 on ? CBCR_FORCE_MEM_PERIPH_ON : 0); in qcom_branch_set_force_periph_on()
66 struct clk_branch clk, bool on) in qcom_branch_set_force_periph_off()
69 on ? CBCR_FORCE_MEM_PERIPH_OFF : 0); in qcom_branch_set_force_periph_off()
51 qcom_branch_set_force_mem_core(struct regmap *regmap, struct clk_branch clk, bool on) qcom_branch_set_force_mem_core() argument
58 qcom_branch_set_force_periph_on(struct regmap *regmap, struct clk_branch clk, bool on) qcom_branch_set_force_periph_on() argument
65 qcom_branch_set_force_periph_off(struct regmap *regmap, struct clk_branch clk, bool on) qcom_branch_set_force_periph_off() argument
/kernel/linux/linux-6.6/security/selinux/
H A Dima.c23 const char *on = "=1;", *off = "=0;"; in selinux_ima_collect_state() local
29 len = strlen(on); in selinux_ima_collect_state()
40 rc = strlcat(buf, selinux_initialized() ? on : off, buf_len); in selinux_ima_collect_state()
46 rc = strlcat(buf, enforcing_enabled() ? on : off, buf_len); in selinux_ima_collect_state()
52 rc = strlcat(buf, checkreqprot_get() ? on : off, buf_len); in selinux_ima_collect_state()
59 rc = strlcat(buf, selinux_state.policycap[i] ? on : off, in selinux_ima_collect_state()
/kernel/linux/linux-5.10/drivers/scsi/ufs/
H A Dufs-mediatek.c34 #define ufs_mtk_ref_clk_notify(on, res) \
35 ufs_mtk_smc(UFS_MTK_SIP_REF_CLK_NOTIFICATION, on, res)
215 static int ufs_mtk_setup_ref_clk(struct ufs_hba *hba, bool on) in ufs_mtk_setup_ref_clk() argument
222 if (host->ref_clk_enabled == on) in ufs_mtk_setup_ref_clk()
225 if (on) { in ufs_mtk_setup_ref_clk()
226 ufs_mtk_ref_clk_notify(on, res); in ufs_mtk_setup_ref_clk()
253 host->ref_clk_enabled = on; in ufs_mtk_setup_ref_clk()
254 if (!on) { in ufs_mtk_setup_ref_clk()
256 ufs_mtk_ref_clk_notify(on, res); in ufs_mtk_setup_ref_clk()
303 static void ufs_mtk_mphy_power_on(struct ufs_hba *hba, bool on) in ufs_mtk_mphy_power_on() argument
466 ufs_mtk_setup_clocks(struct ufs_hba *hba, bool on, enum ufs_notify_change_status status) ufs_mtk_setup_clocks() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/
H A Datomisp_gmin_platform.c162 * performance issues on multiple devices. in atomisp_register_i2c_module()
568 * from the PMIC that would be providing power supply, like on the in gmin_subdev_add()
597 * At least on the DSDT tables we've seen so far, there's no _PR3, in gmin_subdev_add()
622 * The "CamClk" EFI var is set via fastboot on some Android devices, in gmin_subdev_add()
733 int ctrl_reg, int shift, bool on) in axp_regulator_set()
742 val = on ? 1 << shift : 0; in axp_regulator_set()
752 * Some boards contain a hw-bug where turning eldo2 back on after having turned
753 * it off causes the CPLM3218 ambient-light-sensor on the image-sensor's I2C bus
754 * to crash, hanging the bus. Do not turn eldo2 off on these systems.
803 static int gmin_gpio0_ctrl(struct v4l2_subdev *subdev, int on) in gmin_gpio0_ctrl() argument
731 axp_regulator_set(struct device *dev, struct gmin_subdev *gs, int sel_reg, u8 setting, int ctrl_reg, int shift, bool on) axp_regulator_set() argument
814 gmin_gpio1_ctrl(struct v4l2_subdev *subdev, int on) gmin_gpio1_ctrl() argument
825 gmin_v1p2_ctrl(struct v4l2_subdev *subdev, int on) gmin_v1p2_ctrl() argument
846 gmin_v1p8_ctrl(struct v4l2_subdev *subdev, int on) gmin_v1p8_ctrl() argument
927 gmin_v2p8_ctrl(struct v4l2_subdev *subdev, int on) gmin_v2p8_ctrl() argument
1009 gmin_acpi_pm_ctrl(struct v4l2_subdev *subdev, int on) gmin_acpi_pm_ctrl() argument
1040 gmin_flisclk_ctrl(struct v4l2_subdev *subdev, int on) gmin_flisclk_ctrl() argument
[all...]
/kernel/linux/linux-6.6/fs/pstore/
H A Dftrace.c67 static int pstore_set_ftrace_enabled(bool on) in pstore_set_ftrace_enabled() argument
71 if (on == pstore_ftrace_enabled) in pstore_set_ftrace_enabled()
74 if (on) { in pstore_set_ftrace_enabled()
83 __func__, on ? "" : "un", ret); in pstore_set_ftrace_enabled()
85 pstore_ftrace_enabled = on; in pstore_set_ftrace_enabled()
94 u8 on; in pstore_ftrace_knob_write() local
97 ret = kstrtou8_from_user(buf, count, 2, &on); in pstore_ftrace_knob_write()
102 ret = pstore_set_ftrace_enabled(on); in pstore_ftrace_knob_write()

Completed in 11 milliseconds

12345678910>>...84