Searched refs:on (Results 1 - 25 of 1072) sorted by last modified time

1234567891011>>

/linux-master/sound/soc/codecs/
H A Drt5645.c983 * set of filters specified by the mask. And the codec driver will turn on ASRC
1675 static void hp_amp_power(struct snd_soc_component *component, int on) argument
1681 if (on) {
1717 /* headphone amp power on */
/linux-master/sound/pci/hda/
H A Dpatch_realtek.c76 unsigned int on; member in struct:alc_coef_led
285 bool on)
290 if (on)
535 /* turn on/off EAPD control (only if available) */
536 static void set_eapd(struct hda_codec *codec, hda_nid_t nid, int on) argument
542 on ? 2 : 0);
545 /* turn on/off EAPD controls of the codec */
546 static void alc_auto_setup_eapd(struct hda_codec *codec, bool on) argument
554 set_eapd(codec, *p, on);
1257 /* enable the volume-knob widget support on NI
284 alc_update_gpio_data(struct hda_codec *codec, unsigned int mask, bool on) argument
4294 alc_update_vref_led(struct hda_codec *codec, hda_nid_t pin, bool polarity, bool on) argument
4589 alc_update_coef_led(struct hda_codec *codec, struct alc_coef_led *led, bool polarity, bool on) argument
[all...]
/linux-master/drivers/s390/net/
H A Dqeth_core_main.c457 QETH_DBF_MESSAGE(2, "error %i on device %x when starting next read ccw!\n",
835 "The link for interface %s on CHPID 0x%X failed\n",
844 "The link for %s on CHPID 0x%X has been restored\n",
1124 "failed to recover an error on the device\n");
1125 QETH_DBF_MESSAGE(2, "check on channel %x with dstat=%#x, cstat=%#x\n",
1165 QETH_DBF_MESSAGE(2, "i/o-error on channel %x\n",
1172 " on the device\n");
1177 QETH_DBF_MESSAGE(2, "unknown error %ld on channel %x\n",
1274 "an error on the device\n");
1275 QETH_DBF_MESSAGE(2, "sense data available on channe
6658 qeth_set_ipa_csum(struct qeth_card *card, bool on, int cstype, enum qeth_prot_versions prot, u8 *lp2lp) argument
6736 qeth_set_ipa_tso(struct qeth_card *card, bool on, enum qeth_prot_versions prot) argument
6742 qeth_set_ipa_rx_csum(struct qeth_card *card, bool on) argument
[all...]
/linux-master/drivers/pinctrl/renesas/
H A Dpinctrl-rzg2l.c1666 /* Below additional port pins (P19 - P28) are exclusively available on RZ/Five SoC only */
1929 static int rzg2l_gpio_irq_set_wake(struct irq_data *data, unsigned int on) argument
1939 ret = irq_chip_set_wake_parent(data, on);
1943 if (on)
/linux-master/
H A DMakefile21 # That's our default target when none is given on the command line
29 # their own directory. If in some directory we have a dependency on
79 # To put more focus on warnings, be less verbose as default
385 # CROSS_COMPILE can be set on the command line
696 # but instead __all depend on modules
742 # The all: target is the default when no target is given on the
801 echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
819 # depends on `opt-level` and `debug-assertions`, respectively.
1066 # KBUILD_IMAGE may be overruled on the command line or
1225 # needs to be updated, so this check is forced on al
[all...]
/linux-master/tools/testing/selftests/mm/
H A Drun_vmtests.sh65 test copy-on-write semantics
116 # -t: thp=on, -T: thp=off, -H: hugetlb=on
127 # because it's default thp size (or 2M on x86), 123 to
270 # Restore the previous number of huge pages, since further tests rely on it
310 CATEGORY="mlock" run_test sudo -u nobody ./on-fault-limit
312 echo "# SKIP ./on-fault-limit"
/linux-master/fs/
H A Dioctl.c30 /* So that the fiemap access checks can't overflow on 32 bit machines. */
35 * @filp: open file to invoke ioctl method on
42 * Returns 0 on success, -errno on error.
107 * success, extent count on fieinfo is incremented.
109 * Returns 0 on success, -errno on error, 1 if this was the last
157 * @inode: Inode to operate on
166 * Returns 0 on success, or a negative error on failur
345 int on, error; local
369 int on, error; local
[all...]
/linux-master/drivers/nfc/
H A Dtrf7970a.c71 * (once what's in the fifo has been read). However, depending on timing
145 /* Erratum: When reading IRQ Status register on trf7970a, we must issue a
853 * It will be turned back on in trf7970a_send_cmd() when
1103 dev_dbg(trf->dev, "Switching rf on\n");
1107 if (trf->state != TRF7970A_ST_RF_OFF) { /* Power on, RF off */
1124 static int trf7970a_switch_rf(struct nfc_digital_dev *ddev, bool on) argument
1129 dev_dbg(trf->dev, "Switching RF - state: %d, on: %d\n", trf->state, on);
1133 if (on) {
1144 __func__, trf->state, on);
[all...]
/linux-master/drivers/net/usb/
H A Dqmi_wwan.c30 * QMI is wrapped in CDC, using CDC encapsulated commands on the
46 * commands on a serial interface
357 "Cannot clear ip mode on pass through device\n");
508 "Cannot set pass through mode on non ip device\n");
551 * ARP packets on a point-to-point link. Any packet with an ethernet
655 static int qmi_wwan_manage_power(struct usbnet *dev, int on) argument
660 dev_dbg(&dev->intf->dev, "%s() pmcount=%d, on=%d\n", __func__,
661 atomic_read(&info->pmcount), on);
663 if ((on && atomic_add_return(1, &info->pmcount) == 1) ||
664 (!on
676 qmi_wwan_cdc_wdm_manage_power(struct usb_interface *intf, int on) argument
736 qmi_wwan_change_dtr(struct usbnet *dev, bool on) argument
[all...]
/linux-master/drivers/net/phy/
H A Dmediatek-ge-soc.c34 /* Registers on MDIO_MMD_VEND1 */
212 /* Registers on MDIO_MMD_VEND2 */
849 /* VgaDecRate is 1 at default on mt7988 */
1134 bool on)
1140 if (on)
1151 on ? MTK_PHY_LED_ON_FORCE_ON : 0);
1242 int on, blink; local
1247 on = phy_read_mmd(phydev, MDIO_MMD_VEND2,
1250 if (on < 0)
1259 if ((on
1133 mt798x_phy_hw_led_on_set(struct phy_device *phydev, u8 index, bool on) argument
1311 u16 on = 0, blink = 0; local
[all...]
/linux-master/drivers/net/ethernet/ti/icssg/
H A Dicssg_prueth.c1030 /* update RGMII and MII configuration based on PHY negotiated
1039 /* update the Tx IPG based on 100M/1G speed */
1248 struct ptp_perout_request *req, int on,
1256 if (!on)
1814 * based on hardware restriction.
1247 prueth_perout_enable(void *clockops_data, struct ptp_perout_request *req, int on, u64 *cmp) argument
/linux-master/drivers/net/ethernet/ti/
H A Dam65-cpts.c551 static void am65_cpts_extts_enable_hw(struct am65_cpts *cpts, u32 index, int on) argument
556 if (on) {
566 static int am65_cpts_extts_enable(struct am65_cpts *cpts, u32 index, int on) argument
574 if (((cpts->hw_ts_enable & BIT(index)) >> index) == on)
578 am65_cpts_extts_enable_hw(cpts, index, on);
582 __func__, index, on ? "enabled" : "disabled");
629 struct ptp_perout_request *req, int on)
635 if (on) {
666 struct ptp_perout_request *req, int on)
674 if (!!(cpts->genf_enable & BIT(req->index)) == !!on)
628 am65_cpts_perout_enable_hw(struct am65_cpts *cpts, struct ptp_perout_request *req, int on) argument
665 am65_cpts_perout_enable(struct am65_cpts *cpts, struct ptp_perout_request *req, int on) argument
687 am65_cpts_pps_enable(struct am65_cpts *cpts, int on) argument
729 am65_cpts_ptp_enable(struct ptp_clock_info *ptp, struct ptp_clock_request *rq, int on) argument
[all...]
/linux-master/drivers/gpu/drm/gma500/
H A Dpsb_drv.h566 void (*hotplug_enable)(struct drm_device *dev, bool on);
578 void (*lvds_bl_power)(struct drm_device *dev, bool on);
/linux-master/drivers/gpio/
H A Dgpio-tegra186.c600 static int tegra186_irq_set_wake(struct irq_data *data, unsigned int on) argument
603 return irq_chip_set_wake_parent(data, on);
H A Dgpio-tangier.c305 static int tng_irq_set_wake(struct irq_data *d, unsigned int on) argument
315 dev_dbg(priv->dev, "%s wake for gpio %lu\n", str_enable_disable(on), gpio);
323 if (on)
/linux-master/drivers/bluetooth/
H A Dhci_qca.c12 * This file is based on hci_ll.c, which was...
14 * which was in turn based on hci_h4.c, which was written
148 bool tx_vote; /* Clock must be on for TX */
149 bool rx_vote; /* Clock must be on for RX */
267 /* TODO: Some chipset requires to enable UART clock on client
275 /* TODO: Some chipset requires to disable UART clock on client
755 /* Make sure clock is on - we may have turned clock off since
1380 static int qca_send_power_pulse(struct hci_uart *hu, bool on) argument
1384 u8 cmd = on ? QCA_WCN3990_POWERON_PULSE : QCA_WCN3990_POWEROFF_PULSE;
1390 * and also we use the same power inputs to turn on an
[all...]
/linux-master/arch/arc/kernel/
H A Dhead.S8 * -Check if we are running on Simulator or on real hardware
9 * to skip certain things during boot on simulator
161 ; setup per-cpu idle task as "current" on this CPU
H A Dentry-arcv2.S181 # Interrpts are actually disabled from this point on, but will get
/linux-master/drivers/hid/
H A Dhid-nintendo.c510 u8 data[]; /* length depends on the subcommand */
963 * subsystem doesn't print invalid errors on removal.
989 /* Supply nibbles for flash and on. Ones correspond to active */
990 static int joycon_set_player_leds(struct joycon_ctlr *ctlr, u8 flash, u8 on) argument
997 req->data[0] = (flash << 4) | on;
1054 * returns 0 if magic val is present, 1 if not present, < 0 on error
1086 /* stick calibration parsing: note the order differs based on stick */
1214 * dependent on the IMU calibration values. They are used when processing the
1409 * increments at or if it varies based on packet push rate - more on
[all...]
/linux-master/drivers/usb/class/
H A Dcdc-wdm.c266 dev_err(&desc->intf->dev, "Stall on int endpoint\n");
1131 static int wdm_manage_power(struct usb_interface *intf, int on) argument
1136 intf->needs_remote_wakeup = on;
1185 * usb_set_intfdata/usb_get_intfdata on intf.
/linux-master/arch/x86/include/asm/
H A Dperf_event.h279 * For a fixed-mode PMC, which has an equivalent event on a general-purpose
401 * can program the LBR registers on its own, and we don't actually do anything
593 extern void intel_pt_handle_vmx(int on);
595 static inline void intel_pt_handle_vmx(int on) argument
/linux-master/net/bridge/
H A Dbr_private.h210 * the port's rhashtable. The union entries should be interpreted depending on
494 /* These fields are accessed on each packet */
758 int br_boolopt_toggle(struct net_bridge *br, enum br_boolopt_id opt, bool on,
766 void br_opt_toggle(struct net_bridge *br, enum net_bridge_opts opt, bool on);
1055 void br_multicast_toggle_one_vlan(struct net_bridge_vlan *vlan, bool on);
1056 int br_multicast_toggle_vlan_snooping(struct net_bridge *br, bool on,
1058 bool br_multicast_toggle_global_vlan(struct net_bridge_vlan *vlan, bool on);
1506 bool on)
1511 bool on,
1518 bool on)
1505 br_multicast_toggle_one_vlan(struct net_bridge_vlan *vlan, bool on) argument
1510 br_multicast_toggle_vlan_snooping(struct net_bridge *br, bool on, struct netlink_ext_ack *extack) argument
1517 br_multicast_toggle_global_vlan(struct net_bridge_vlan *vlan, bool on) argument
1923 br_mst_set_enabled(struct net_bridge *br, bool on, struct netlink_ext_ack *extack) argument
[all...]
/linux-master/drivers/ufs/host/
H A Dufs-qcom.c317 * ~125us (4/32768). To be on the safe side add 200us delay.
386 /* power on phy - start serdes and phy's power and clocks */
389 dev_err(hba->dev, "%s: phy power on failed, ret = %d\n",
477 * It is mandatory to write SYS1CLK_1US_REG register on UFS host
599 dev_err(hba->dev, "%s: failed PHY power on: %d\n",
646 * more delay to be on the safe side.
922 * @on: If true, enable clocks else disable them.
925 * Return: 0 on success, non-zero on failure.
927 static int ufs_qcom_setup_clocks(struct ufs_hba *hba, bool on, argument
[all...]
/linux-master/drivers/net/
H A Dtun.c521 * the rxq based on the txq where the last packet of the flow comes. As
1120 /* Orphan the skb - required as we might hang on to it
1691 * we do XDP on skb in case the headroom is not enough.
3031 /* Return correct value for tun->dev->addr_len based on tun->dev->type. */
3097 * This is needed because we never checked for invalid flags on
3439 static int tun_chr_fasync(int fd, struct file *file, int on) argument
3444 if ((ret = fasync_helper(fd, file, on, &tfile->fasync)) < 0)
3447 if (on) {
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_atombios.c317 /* a-bit f-i90hd - ciaranm on #radeonhd - this board has no DVI */
397 /* some BIOSes seem to report DAC on HDMI - usually this is a board with
408 * on the laptop and a DVI port on the docking station and
413 * with different crtcs which isn't possible on the hardware
4405 radeon_atombios_encoder_dpms_scratch_regs(struct drm_encoder *encoder, bool on) argument
4421 if (on)
4427 if (on)
4433 if (on)
4439 if (on)
[all...]

Completed in 424 milliseconds

1234567891011>>