/linux-master/drivers/phy/samsung/ |
H A D | phy-s5pv210-usb2.c | 89 static void s5pv210_isol(struct samsung_usb2_phy_instance *inst, bool on) argument 106 mask, on ? 0 : mask); 109 static void s5pv210_phy_pwr(struct samsung_usb2_phy_instance *inst, bool on) argument 129 if (on) {
|
/linux-master/drivers/acpi/pmic/ |
H A D | intel_pmic.h | 15 int (*update_power)(struct regmap *r, int reg, int bit, bool on);
|
/linux-master/include/linux/ |
H A D | pmu.h | 4 * which controls battery charging and system power on PowerBook 3400 38 extern void pmu_enable_irled(int on);
|
/linux-master/include/linux/platform_data/ |
H A D | usb-omap.h | 65 void (*set_phy_power)(u8 on);
|
/linux-master/include/linux/dsa/ |
H A D | ksz_common.h | 34 void (*hwtstamp_set_state)(struct dsa_switch *ds, bool on);
|
/linux-master/drivers/accel/ivpu/ |
H A D | ivpu_mmu.h | 32 struct mutex lock; /* Protects cdtab, strtab, cmdq, on */ 37 bool on; member in struct:ivpu_mmu_info
|
/linux-master/drivers/pmdomain/starfive/ |
H A D | jh71xx-pmu.c | 45 * The time required for switching power status is based on the time 46 * to turn on the largest domain's power, which is at microsecond level 66 u32 mask, bool on); 97 static int jh7110_pmu_set_state(struct jh71xx_pmu_dev *pmd, u32 mask, bool on) argument 113 * the bit corresponding to the power domain that will be turned on 119 if (on) { 135 * written every time software wants to power on/off a domain. 137 * bits. The sequence differs between powering on & off a domain. 146 if (on) { 158 pmd->genpd.name, on 165 jh7110_aon_pmu_set_state(struct jh71xx_pmu_dev *pmd, u32 mask, bool on) argument 185 jh71xx_pmu_set_state(struct jh71xx_pmu_dev *pmd, u32 mask, bool on) argument [all...] |
/linux-master/arch/alpha/kernel/ |
H A D | head.S | 61 # on the PC164 (at least), since that PALcode manages the interrupt 88 # It is handy, on occasion, to make halt actually just loop.
|
/linux-master/include/linux/irqchip/ |
H A D | irq-madera.h | 123 static inline int madera_set_irq_wake(struct madera *madera, int irq, int on) argument 129 return irq_set_irq_wake(irq, on);
|
/linux-master/drivers/mfd/ |
H A D | pcf50633-gpio.c | 77 int gpio, int regulator, int on) 84 val = !!on << (gpio - PCF50633_GPIO1); 76 pcf50633_gpio_power_supply_set(struct pcf50633 *pcf, int gpio, int regulator, int on) argument
|
/linux-master/Documentation/tools/rtla/ |
H A D | Makefile | 2 # Based on bpftool's Documentation Makefile 6 RMDIR ?= rmdir --ignore-fail-on-non-empty 28 $(info ** distribution, e.g., 'dnf install python3-docutils' on Fedora,)
|
/linux-master/Documentation/tools/rv/ |
H A D | Makefile | 5 RMDIR ?= rmdir --ignore-fail-on-non-empty 27 $(info ** distribution, e.g., 'dnf install python3-docutils' on Fedora,)
|
/linux-master/drivers/auxdisplay/ |
H A D | lcd2s.c | 128 /* turn everything off, but display on */ 163 static void lcd2s_backlight(struct charlcd *lcd, enum charlcd_onoff on) argument 167 if (on) 173 static int lcd2s_display(struct charlcd *lcd, enum charlcd_onoff on) argument 177 if (on) 185 static int lcd2s_cursor(struct charlcd *lcd, enum charlcd_onoff on) argument 189 if (on) 197 static int lcd2s_blink(struct charlcd *lcd, enum charlcd_onoff on) argument 201 if (on)
|
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | ethtool_extended_state.sh | 88 ethtool -s $swp2 autoneg on 89 ethtool -s $swp1 autoneg on
|
H A D | hw_stats_l3_gre.sh | 4 # Test L3 stats on IP-in-IP GRE tunnel without key. 37 ip stats set dev g1a l3_stats on 38 ip stats set dev g2a l3_stats on
|
/linux-master/scripts/ |
H A D | Makefile.ubsan | 13 ubsan-cflags-$(CONFIG_UBSAN_TRAP) += $(call cc-option,-fsanitize-trap=undefined,-fsanitize-undefined-trap-on-error)
|
/linux-master/drivers/gpio/ |
H A D | gpio-creg-snps.c | 18 u8 on[MAX_GPIO]; member in struct:creg_layout 38 value = val ? hcg->layout->on[offset] : hcg->layout->off[offset]; 67 /* Check that on value fits its placeholder */ 68 if (GENMASK(31, layout->bit_per_gpio[i]) & layout->on[i]) 75 if (layout->on[i] == layout->off[i]) 113 .on = { 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 }, 121 .on = { 3 },
|
/linux-master/drivers/pmdomain/bcm/ |
H A D | raspberrypi-power.c | 44 u32 on; member in struct:rpi_power_domain_packet 48 * Asks the firmware to enable or disable power on a specific power 51 static int rpi_firmware_set_power(struct rpi_power_domain *rpi_domain, bool on) argument 56 packet.on = on; 94 * The firmware itself may be keeping some domains on, but 97 * to turn off something that we haven't ourselves turned on. 133 * The firmware doesn't actually return an error on an unknown tag, 145 packet.on = ~0; 151 return ret == 0 && packet.on ! [all...] |
/linux-master/drivers/staging/fbtft/ |
H A D | fb_ssd1351.c | 165 static int blank(struct fbtft_par *par, bool on) argument 168 __func__, on ? "true" : "false"); 169 if (on) 195 bool on; local 201 on = !backlight_is_blank(bd); 202 /* Onboard backlight connected to GPIO0 on SSD1351, GPIO1 unused */ 203 write_reg(par, 0xB5, on ? 0x03 : 0x02);
|
/linux-master/drivers/spi/ |
H A D | spi-sh-sci.c | 7 * Based on S3C24XX GPIO based SPI driver, which is: 39 static inline void setbits(struct sh_sci_spi *sp, int bits, int on) argument 49 if (on) 57 static inline void setsck(struct spi_device *dev, int on) argument 59 setbits(spi_controller_get_devdata(dev->controller), PIN_SCK, on); 62 static inline void setmosi(struct spi_device *dev, int on) argument 64 setbits(spi_controller_get_devdata(dev->controller), PIN_TXD, on);
|
/linux-master/drivers/net/phy/ |
H A D | mediatek-ge-soc.c | 34 /* 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 D | icss_iep.c | 295 /* enable reset counter on CMP0 event */ 373 * Cycle time will have to be chosen based on how worse the ppb is. 479 struct ptp_perout_request *req, int on) 485 ret = iep->ops->perout_enable(iep->clockops_data, req, on, &cmp); 489 if (on) { 513 if (on) { 547 struct ptp_perout_request *req, int on) 559 if (iep->perout_enabled == !!on) 563 ret = icss_iep_perout_enable_hw(iep, req, on); 565 iep->perout_enabled = !!on; 478 icss_iep_perout_enable_hw(struct icss_iep *iep, struct ptp_perout_request *req, int on) argument 546 icss_iep_perout_enable(struct icss_iep *iep, struct ptp_perout_request *req, int on) argument 574 icss_iep_pps_enable(struct icss_iep *iep, int on) argument 618 icss_iep_extts_enable(struct icss_iep *iep, u32 index, int on) argument 649 icss_iep_ptp_enable(struct ptp_clock_info *ptp, struct ptp_clock_request *rq, int on) argument [all...] |
/linux-master/lib/ |
H A D | test_objpool.c | 150 struct ot_node *on = nod; local 152 on->owner = &sop->pool; 337 struct ot_node *on = nods[i]; local 338 if (on) { 339 on->refs++; 340 objpool_push(on, item->pool); 485 static void ot_nod_recycle(struct ot_node *on, struct objpool_head *pool, argument 490 on->refs++; 494 objpool_push(on, pool); 502 objpool_drop(on, poo 524 struct ot_node *on = nods[i]; local [all...] |
/linux-master/sound/aoa/core/ |
H A D | gpio-feature.c | 18 * that aren't used on most machines... 107 * that doesn't seem right at least on most 127 #define SWITCH_GPIO(name, v, on) \ 128 (((v)&~1) | ((on)? \ 133 static void ftr_gpio_set_##name(struct gpio_runtime *rt, int on)\ 146 /* muted = !on... */ \ 147 v = SWITCH_GPIO(name##_mute, v, !on); \ 153 rt->implementation_private |= (!!on << bit); \ 166 static void ftr_gpio_set_hw_reset(struct gpio_runtime *rt, int on) argument 176 v = SWITCH_GPIO(hw_reset, v, on); [all...] |
/linux-master/drivers/leds/ |
H A D | leds-an30259a.c | 129 unsigned long off = *delay_off, on = *delay_on; local 137 if (off % AN30259A_SLOPE_RESOLUTION || on % AN30259A_SLOPE_RESOLUTION) { 143 if (off > AN30259A_BLINK_MAX_TIME || on > AN30259A_BLINK_MAX_TIME) { 149 if (!off && !on) { 151 *delay_on = on = 500; 156 on /= AN30259A_SLOPE_RESOLUTION; 174 /* slope time controls on/off cycle length. */ 177 AN30259A_LED_SLOPETIME2(on));
|