Home
last modified time | relevance | path

Searched refs:val (Results 601 - 625 of 21273) sorted by relevance

1...<<21222324252627282930>>...851

/kernel/linux/linux-6.6/arch/m68k/include/asm/
H A Dio_mm.h204 #define isa_outb(val,port) out_8(isa_itb(port),(val))
205 #define isa_outw(val,port) (ISA_SEX ? out_be16(isa_itw(port),(val)) : out_le16(isa_itw(port),(val)))
206 #define isa_outl(val,port) (ISA_SEX ? out_be32(isa_itl(port),(val)) : out_le32(isa_itl(port),(val)))
212 #define isa_writeb(val,p) out_8(isa_mtb((unsigned long)(p)),(val))
[all...]
/kernel/linux/linux-5.10/drivers/pcmcia/
H A Dbcm63xx_pcmcia.c40 u32 val, u32 off) in pcmcia_writel()
42 bcm_writel(val, skt->base + off); in pcmcia_writel()
80 u32 val; in bcm63xx_pcmcia_set_socket() local
90 val = pcmcia_readl(skt, PCMCIA_C1_REG); in bcm63xx_pcmcia_set_socket()
92 val |= PCMCIA_C1_RESET_MASK; in bcm63xx_pcmcia_set_socket()
94 val &= ~PCMCIA_C1_RESET_MASK; in bcm63xx_pcmcia_set_socket()
98 val ^= PCMCIA_C1_RESET_MASK; in bcm63xx_pcmcia_set_socket()
100 pcmcia_writel(skt, val, PCMCIA_C1_REG); in bcm63xx_pcmcia_set_socket()
165 u32 val; in __get_socket_status() local
170 val in __get_socket_status()
39 pcmcia_writel(struct bcm63xx_pcmcia_socket *skt, u32 val, u32 off) pcmcia_writel() argument
332 u32 val; bcm63xx_drv_pcmcia_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A Dintel_pipe_crc.c54 u32 *val) in i8xx_pipe_crc_ctl_reg()
61 *val = PIPE_CRC_ENABLE | PIPE_CRC_INCLUDE_BORDER_I8XX; in i8xx_pipe_crc_ctl_reg()
64 *val = 0; in i8xx_pipe_crc_ctl_reg()
130 u32 *val) in vlv_pipe_crc_ctl_reg()
142 *val = PIPE_CRC_ENABLE | PIPE_CRC_SOURCE_PIPE_VLV; in vlv_pipe_crc_ctl_reg()
145 *val = PIPE_CRC_ENABLE | PIPE_CRC_SOURCE_DP_B_VLV; in vlv_pipe_crc_ctl_reg()
149 *val = PIPE_CRC_ENABLE | PIPE_CRC_SOURCE_DP_C_VLV; in vlv_pipe_crc_ctl_reg()
155 *val = PIPE_CRC_ENABLE | PIPE_CRC_SOURCE_DP_D_VLV; in vlv_pipe_crc_ctl_reg()
159 *val = 0; in vlv_pipe_crc_ctl_reg()
200 u32 *val) in i9xx_pipe_crc_ctl_reg()
53 i8xx_pipe_crc_ctl_reg(enum intel_pipe_crc_source *source, u32 *val) i8xx_pipe_crc_ctl_reg() argument
127 vlv_pipe_crc_ctl_reg(struct drm_i915_private *dev_priv, enum pipe pipe, enum intel_pipe_crc_source *source, u32 *val) vlv_pipe_crc_ctl_reg() argument
197 i9xx_pipe_crc_ctl_reg(struct drm_i915_private *dev_priv, enum pipe pipe, enum intel_pipe_crc_source *source, u32 *val) i9xx_pipe_crc_ctl_reg() argument
260 ilk_pipe_crc_ctl_reg(enum intel_pipe_crc_source *source, u32 *val) ilk_pipe_crc_ctl_reg() argument
337 ivb_pipe_crc_ctl_reg(struct drm_i915_private *dev_priv, enum pipe pipe, enum intel_pipe_crc_source *source, u32 *val) ivb_pipe_crc_ctl_reg() argument
365 skl_pipe_crc_ctl_reg(struct drm_i915_private *dev_priv, enum pipe pipe, enum intel_pipe_crc_source *source, u32 *val) skl_pipe_crc_ctl_reg() argument
408 get_new_crc_ctl_reg(struct drm_i915_private *dev_priv, enum pipe pipe, enum intel_pipe_crc_source *source, u32 *val) get_new_crc_ctl_reg() argument
591 u32 val = 0; /* shut up gcc */ intel_crtc_set_crc_source() local
641 u32 val = 0; intel_crtc_enable_pipe_crc() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_validation.c392 struct vmw_validation_res_node *val; in vmw_validation_res_set_dirty() local
397 val = container_of(val_private, typeof(*val), private); in vmw_validation_res_set_dirty()
398 val->dirty_set = 1; in vmw_validation_res_set_dirty()
400 val->dirty = (dirty & VMW_RES_DIRTY_SET) ? 1 : 0; in vmw_validation_res_set_dirty()
419 struct vmw_validation_res_node *val; in vmw_validation_res_switch_backup() local
421 val = container_of(val_private, typeof(*val), private); in vmw_validation_res_switch_backup()
423 val->switching_backup = 1; in vmw_validation_res_switch_backup()
424 if (val in vmw_validation_res_switch_backup()
443 struct vmw_validation_res_node *val; vmw_validation_res_reserve() local
497 struct vmw_validation_res_node *val; vmw_validation_res_unreserve() local
640 struct vmw_validation_res_node *val; vmw_validation_res_validate() local
684 struct vmw_validation_res_node *val; vmw_validation_drop_ht() local
712 struct vmw_validation_res_node *val; vmw_validation_unref_lists() local
[all...]
/kernel/linux/linux-5.10/drivers/power/supply/
H A Dact8945a_charger.c86 static int act8945a_get_charger_state(struct regmap *regmap, int *val) in act8945a_get_charger_state() argument
105 *val = POWER_SUPPLY_STATUS_CHARGING; in act8945a_get_charger_state()
109 *val = POWER_SUPPLY_STATUS_FULL; in act8945a_get_charger_state()
111 *val = POWER_SUPPLY_STATUS_CHARGING; in act8945a_get_charger_state()
116 *val = POWER_SUPPLY_STATUS_DISCHARGING; in act8945a_get_charger_state()
118 *val = POWER_SUPPLY_STATUS_NOT_CHARGING; in act8945a_get_charger_state()
125 static int act8945a_get_charge_type(struct regmap *regmap, int *val) in act8945a_get_charge_type() argument
143 *val = POWER_SUPPLY_CHARGE_TYPE_TRICKLE; in act8945a_get_charge_type()
146 *val = POWER_SUPPLY_CHARGE_TYPE_FAST; in act8945a_get_charge_type()
149 *val in act8945a_get_charge_type()
163 act8945a_get_battery_health(struct regmap *regmap, int *val) act8945a_get_battery_health() argument
209 act8945a_get_capacity_level(struct act8945a_charger *charger, struct regmap *regmap, int *val) act8945a_get_capacity_level() argument
276 act8945a_get_current_max(struct act8945a_charger *charger, struct regmap *regmap, int *val) act8945a_get_current_max() argument
342 act8945a_charger_get_property(struct power_supply *psy, enum power_supply_property prop, union power_supply_propval *val) act8945a_charger_get_property() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
H A Ds526.c176 unsigned int chan, unsigned int val) in s526_gpct_write()
179 outw((val >> 16) & 0xffff, dev->iobase + S526_GPCT_MSB_REG(chan)); in s526_gpct_write()
180 outw(val & 0xffff, dev->iobase + S526_GPCT_LSB_REG(chan)); in s526_gpct_write()
186 unsigned int val; in s526_gpct_read() local
189 val = inw(dev->iobase + S526_GPCT_LSB_REG(chan)) & 0xffff; in s526_gpct_read()
190 val |= (inw(dev->iobase + S526_GPCT_MSB_REG(chan)) & 0xff) << 16; in s526_gpct_read()
192 return val; in s526_gpct_read()
216 unsigned int val; in s526_gpct_insn_config() local
234 val = data[1] & 0xffff; in s526_gpct_insn_config()
235 outw(val, de in s526_gpct_insn_config()
175 s526_gpct_write(struct comedi_device *dev, unsigned int chan, unsigned int val) s526_gpct_write() argument
440 unsigned int val; s526_ai_insn_read() local
479 unsigned int val = s->readback[chan]; s526_ao_insn_write() local
[all...]
/kernel/linux/linux-6.6/drivers/power/supply/
H A Dact8945a_charger.c86 static int act8945a_get_charger_state(struct regmap *regmap, int *val) in act8945a_get_charger_state() argument
105 *val = POWER_SUPPLY_STATUS_CHARGING; in act8945a_get_charger_state()
109 *val = POWER_SUPPLY_STATUS_FULL; in act8945a_get_charger_state()
111 *val = POWER_SUPPLY_STATUS_CHARGING; in act8945a_get_charger_state()
116 *val = POWER_SUPPLY_STATUS_DISCHARGING; in act8945a_get_charger_state()
118 *val = POWER_SUPPLY_STATUS_NOT_CHARGING; in act8945a_get_charger_state()
125 static int act8945a_get_charge_type(struct regmap *regmap, int *val) in act8945a_get_charge_type() argument
143 *val = POWER_SUPPLY_CHARGE_TYPE_TRICKLE; in act8945a_get_charge_type()
146 *val = POWER_SUPPLY_CHARGE_TYPE_FAST; in act8945a_get_charge_type()
149 *val in act8945a_get_charge_type()
163 act8945a_get_battery_health(struct regmap *regmap, int *val) act8945a_get_battery_health() argument
209 act8945a_get_capacity_level(struct act8945a_charger *charger, struct regmap *regmap, int *val) act8945a_get_capacity_level() argument
276 act8945a_get_current_max(struct act8945a_charger *charger, struct regmap *regmap, int *val) act8945a_get_current_max() argument
342 act8945a_charger_get_property(struct power_supply *psy, enum power_supply_property prop, union power_supply_propval *val) act8945a_charger_get_property() argument
[all...]
/kernel/linux/linux-6.6/drivers/comedi/drivers/
H A Ds526.c176 unsigned int chan, unsigned int val) in s526_gpct_write()
179 outw((val >> 16) & 0xffff, dev->iobase + S526_GPCT_MSB_REG(chan)); in s526_gpct_write()
180 outw(val & 0xffff, dev->iobase + S526_GPCT_LSB_REG(chan)); in s526_gpct_write()
186 unsigned int val; in s526_gpct_read() local
189 val = inw(dev->iobase + S526_GPCT_LSB_REG(chan)) & 0xffff; in s526_gpct_read()
190 val |= (inw(dev->iobase + S526_GPCT_MSB_REG(chan)) & 0xff) << 16; in s526_gpct_read()
192 return val; in s526_gpct_read()
216 unsigned int val; in s526_gpct_insn_config() local
234 val = data[1] & 0xffff; in s526_gpct_insn_config()
235 outw(val, de in s526_gpct_insn_config()
175 s526_gpct_write(struct comedi_device *dev, unsigned int chan, unsigned int val) s526_gpct_write() argument
440 unsigned int val; s526_ai_insn_read() local
479 unsigned int val = s->readback[chan]; s526_ao_insn_write() local
[all...]
/kernel/linux/linux-6.6/drivers/pcmcia/
H A Dbcm63xx_pcmcia.c40 u32 val, u32 off) in pcmcia_writel()
42 bcm_writel(val, skt->base + off); in pcmcia_writel()
80 u32 val; in bcm63xx_pcmcia_set_socket() local
90 val = pcmcia_readl(skt, PCMCIA_C1_REG); in bcm63xx_pcmcia_set_socket()
92 val |= PCMCIA_C1_RESET_MASK; in bcm63xx_pcmcia_set_socket()
94 val &= ~PCMCIA_C1_RESET_MASK; in bcm63xx_pcmcia_set_socket()
98 val ^= PCMCIA_C1_RESET_MASK; in bcm63xx_pcmcia_set_socket()
100 pcmcia_writel(skt, val, PCMCIA_C1_REG); in bcm63xx_pcmcia_set_socket()
165 u32 val; in __get_socket_status() local
170 val in __get_socket_status()
39 pcmcia_writel(struct bcm63xx_pcmcia_socket *skt, u32 val, u32 off) pcmcia_writel() argument
332 u32 val; bcm63xx_drv_pcmcia_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/pci/controller/dwc/
H A Dpcie-uniphier-ep.c93 u32 val; in uniphier_pcie_ltssm_enable() local
95 val = readl(priv->base + PCL_APP_READY_CTRL); in uniphier_pcie_ltssm_enable()
97 val |= PCL_APP_LTSSM_ENABLE; in uniphier_pcie_ltssm_enable()
99 val &= ~PCL_APP_LTSSM_ENABLE; in uniphier_pcie_ltssm_enable()
100 writel(val, priv->base + PCL_APP_READY_CTRL); in uniphier_pcie_ltssm_enable()
106 u32 val; in uniphier_pcie_phy_reset() local
108 val = readl(priv->base + PCL_RSTCTRL2); in uniphier_pcie_phy_reset()
110 val |= PCL_RSTCTRL_PHY_RESET; in uniphier_pcie_phy_reset()
112 val &= ~PCL_RSTCTRL_PHY_RESET; in uniphier_pcie_phy_reset()
113 writel(val, pri in uniphier_pcie_phy_reset()
118 u32 val; uniphier_pcie_pro5_init_ep() local
143 u32 val; uniphier_pcie_nx1_init_ep() local
219 u32 val; uniphier_pcie_ep_raise_legacy_irq() local
245 u32 val; uniphier_pcie_ep_raise_msi_irq() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_pipe_crc.c56 u32 *val) in i8xx_pipe_crc_ctl_reg()
63 *val = PIPE_CRC_ENABLE | PIPE_CRC_INCLUDE_BORDER_I8XX; in i8xx_pipe_crc_ctl_reg()
66 *val = 0; in i8xx_pipe_crc_ctl_reg()
128 u32 *val) in vlv_pipe_crc_ctl_reg()
137 *val = PIPE_CRC_ENABLE | PIPE_CRC_SOURCE_PIPE_VLV; in vlv_pipe_crc_ctl_reg()
140 *val = PIPE_CRC_ENABLE | PIPE_CRC_SOURCE_DP_B_VLV; in vlv_pipe_crc_ctl_reg()
144 *val = PIPE_CRC_ENABLE | PIPE_CRC_SOURCE_DP_C_VLV; in vlv_pipe_crc_ctl_reg()
150 *val = PIPE_CRC_ENABLE | PIPE_CRC_SOURCE_DP_D_VLV; in vlv_pipe_crc_ctl_reg()
154 *val = 0; in vlv_pipe_crc_ctl_reg()
195 u32 *val) in i9xx_pipe_crc_ctl_reg()
55 i8xx_pipe_crc_ctl_reg(enum intel_pipe_crc_source *source, u32 *val) i8xx_pipe_crc_ctl_reg() argument
125 vlv_pipe_crc_ctl_reg(struct drm_i915_private *dev_priv, enum pipe pipe, enum intel_pipe_crc_source *source, u32 *val) vlv_pipe_crc_ctl_reg() argument
192 i9xx_pipe_crc_ctl_reg(struct drm_i915_private *dev_priv, enum pipe pipe, enum intel_pipe_crc_source *source, u32 *val) i9xx_pipe_crc_ctl_reg() argument
252 ilk_pipe_crc_ctl_reg(enum intel_pipe_crc_source *source, u32 *val) ilk_pipe_crc_ctl_reg() argument
330 ivb_pipe_crc_ctl_reg(struct drm_i915_private *dev_priv, enum pipe pipe, enum intel_pipe_crc_source *source, u32 *val) ivb_pipe_crc_ctl_reg() argument
358 skl_pipe_crc_ctl_reg(struct drm_i915_private *dev_priv, enum pipe pipe, enum intel_pipe_crc_source *source, u32 *val) skl_pipe_crc_ctl_reg() argument
401 get_new_crc_ctl_reg(struct drm_i915_private *dev_priv, enum pipe pipe, enum intel_pipe_crc_source *source, u32 *val) get_new_crc_ctl_reg() argument
585 u32 val = 0; /* shut up gcc */ intel_crtc_set_crc_source() local
635 u32 val = 0; intel_crtc_enable_pipe_crc() local
[all...]
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dpgtable-invert.h16 static inline bool __pte_needs_invert(u64 val) in __pte_needs_invert() argument
18 return val && !(val & _PAGE_PRESENT); in __pte_needs_invert()
22 static inline u64 protnone_mask(u64 val) in protnone_mask() argument
24 return __pte_needs_invert(val) ? ~0ull : 0; in protnone_mask()
27 static inline u64 flip_protnone_guard(u64 oldval, u64 val, u64 mask) in flip_protnone_guard() argument
34 if (__pte_needs_invert(oldval) != __pte_needs_invert(val)) in flip_protnone_guard()
35 val = (val & ~mask) | (~val in flip_protnone_guard()
[all...]
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dpgtable-invert.h16 static inline bool __pte_needs_invert(u64 val) in __pte_needs_invert() argument
18 return val && !(val & _PAGE_PRESENT); in __pte_needs_invert()
22 static inline u64 protnone_mask(u64 val) in protnone_mask() argument
24 return __pte_needs_invert(val) ? ~0ull : 0; in protnone_mask()
27 static inline u64 flip_protnone_guard(u64 oldval, u64 val, u64 mask) in flip_protnone_guard() argument
34 if (__pte_needs_invert(oldval) != __pte_needs_invert(val)) in flip_protnone_guard()
35 val = (val & ~mask) | (~val in flip_protnone_guard()
[all...]
/kernel/linux/linux-5.10/drivers/net/phy/
H A Dmarvell10g.c194 u16 val; in mv3310_hwmon_config() local
205 val = enable ? MV_V2_TEMP_CTRL_SAMPLE : MV_V2_TEMP_CTRL_DISABLE; in mv3310_hwmon_config()
208 MV_V2_TEMP_CTRL_MASK, val); in mv3310_hwmon_config()
283 int val, err; in mv3310_reset() local
291 unit + MDIO_CTRL1, val, in mv3310_reset()
292 !(val & MDIO_CTRL1_RESET), in mv3310_reset()
298 int val; in mv3310_get_edpd() local
300 val = phy_read_mmd(phydev, MDIO_MMD_PCS, MV_PCS_CSCR1); in mv3310_get_edpd()
301 if (val < 0) in mv3310_get_edpd()
302 return val; in mv3310_get_edpd()
320 u16 val; mv3310_set_edpd() local
467 int val; mv3310_config_init() local
496 int ret, val; mv3310_get_features() local
522 u16 val; mv3310_config_mdix() local
582 int val; mv3310_aneg_done() local
648 int cssr1, speed, val; mv3310_read_status_copper() local
726 int err, val; mv3310_read_status() local
[all...]
/kernel/linux/linux-5.10/drivers/phy/broadcom/
H A Dphy-brcm-sata.c324 /* Set RX PPM val center frequency */ in brcm_stb_sata_16nm_ssc_init()
402 unsigned int val; in brcm_ns2_sata_init() local
407 val = 0x0; in brcm_ns2_sata_init()
408 val |= (0xc << OOB_CTRL1_BURST_MAX_SHIFT); in brcm_ns2_sata_init()
409 val |= (0x4 << OOB_CTRL1_BURST_MIN_SHIFT); in brcm_ns2_sata_init()
410 val |= (0x9 << OOB_CTRL1_WAKE_IDLE_MAX_SHIFT); in brcm_ns2_sata_init()
411 val |= (0x3 << OOB_CTRL1_WAKE_IDLE_MIN_SHIFT); in brcm_ns2_sata_init()
412 brcm_sata_phy_wr(port, OOB_REG_BANK, OOB_CTRL1, 0x0, val); in brcm_ns2_sata_init()
413 val = 0x0; in brcm_ns2_sata_init()
414 val | in brcm_ns2_sata_init()
464 unsigned int val, try; brcm_nsp_sata_init() local
536 unsigned int val, try; brcm_sr_sata_init() local
[all...]
/kernel/linux/linux-5.10/drivers/pinctrl/
H A Dpinctrl-coh901.c222 u32 val; in u300_gpio_set() local
226 val = readl(U300_PIN_REG(offset, dor)); in u300_gpio_set()
228 writel(val | U300_PIN_BIT(offset), U300_PIN_REG(offset, dor)); in u300_gpio_set()
230 writel(val & ~U300_PIN_BIT(offset), U300_PIN_REG(offset, dor)); in u300_gpio_set()
239 u32 val; in u300_gpio_direction_input() local
242 val = readl(U300_PIN_REG(offset, pcr)); in u300_gpio_direction_input()
244 val &= ~(U300_GPIO_PXPCR_PIN_MODE_MASK << ((offset & 0x07) << 1)); in u300_gpio_direction_input()
245 writel(val, U300_PIN_REG(offset, pcr)); in u300_gpio_direction_input()
256 u32 val; in u300_gpio_direction_output() local
259 val in u300_gpio_direction_output()
344 u32 val; u300_gpio_config_set() local
403 u32 val; u300_toggle_trigger() local
426 u32 val; u300_gpio_irq_type() local
463 u32 val; u300_gpio_irq_enable() local
479 u32 val; u300_gpio_irq_disable() local
503 unsigned long val; u300_gpio_irq_handler() local
621 u32 val; u300_gpio_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dlm95234.c73 int val; in lm95234_read_temp() local
77 val = i2c_smbus_read_byte_data(client, in lm95234_read_temp()
79 if (val < 0) in lm95234_read_temp()
80 return val; in lm95234_read_temp()
81 temp = val << 8; in lm95234_read_temp()
82 val = i2c_smbus_read_byte_data(client, in lm95234_read_temp()
84 if (val < 0) in lm95234_read_temp()
85 return val; in lm95234_read_temp()
86 temp |= val; in lm95234_read_temp()
94 val in lm95234_read_temp()
249 unsigned long val; type_store() local
294 long val; tcrit2_store() local
344 long val; tcrit1_store() local
385 long val; tcrit1_hyst_store() local
424 long val; offset_store() local
463 unsigned long val; update_interval_store() local
597 int mfg_id, chip_id, val; lm95234_detect() local
653 int val, model; lm95234_init_client() local
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dlm95234.c73 int val; in lm95234_read_temp() local
77 val = i2c_smbus_read_byte_data(client, in lm95234_read_temp()
79 if (val < 0) in lm95234_read_temp()
80 return val; in lm95234_read_temp()
81 temp = val << 8; in lm95234_read_temp()
82 val = i2c_smbus_read_byte_data(client, in lm95234_read_temp()
84 if (val < 0) in lm95234_read_temp()
85 return val; in lm95234_read_temp()
86 temp |= val; in lm95234_read_temp()
94 val in lm95234_read_temp()
249 unsigned long val; type_store() local
294 long val; tcrit2_store() local
344 long val; tcrit1_store() local
385 long val; tcrit1_hyst_store() local
424 long val; offset_store() local
463 unsigned long val; update_interval_store() local
597 int mfg_id, chip_id, val; lm95234_detect() local
653 int val, model; lm95234_init_client() local
[all...]
/kernel/linux/linux-5.10/net/dccp/
H A Dfeat.c133 int (*activation_hdlr)(struct sock *sk, u64 val, bool rx);
254 static void dccp_feat_printval(u8 feat_num, dccp_feat_val const *val) in dccp_feat_printval() argument
258 if (val == NULL || (type == FEAT_SP && val->sp.vec == NULL)) in dccp_feat_printval()
261 for (i = 0; i < val->sp.len; i++) in dccp_feat_printval()
262 dccp_pr_debug_cat("%s%u", i ? " " : "", val->sp.vec[i]); in dccp_feat_printval()
264 dccp_pr_debug_cat("%llu", (unsigned long long)val->nn); in dccp_feat_printval()
283 dccp_feat_printval(entry->feat_num, &entry->val); in dccp_feat_print_entry()
288 #define dccp_feat_print_opt(opt, feat, val, len, mandatory) do { \
290 dccp_feat_printvals(feat, val, le
309 u64 val; __dccp_feat_activate() local
367 dccp_feat_clone_sp_val(dccp_feat_val *fval, u8 const *val, u8 len) dccp_feat_clone_sp_val() argument
380 dccp_feat_val_destructor(u8 feat_num, dccp_feat_val *val) dccp_feat_val_destructor() argument
586 dccp_feat_is_valid_nn_val(u8 feat_num, u64 val) dccp_feat_is_valid_nn_val() argument
598 dccp_feat_is_valid_sp_val(u8 feat_num, u8 val) dccp_feat_is_valid_sp_val() argument
1101 dccp_feat_change_recv(struct list_head *fn, u8 is_mandatory, u8 opt, u8 feat, u8 *val, u8 len, const bool server) dccp_feat_change_recv() argument
1212 dccp_feat_confirm_recv(struct list_head *fn, u8 is_mandatory, u8 opt, u8 feat, u8 *val, u8 len, const bool server) dccp_feat_confirm_recv() argument
1309 dccp_feat_handle_nn_established(struct sock *sk, u8 mandatory, u8 opt, u8 feat, u8 *val, u8 len) dccp_feat_handle_nn_established() argument
1398 dccp_feat_parse_options(struct sock *sk, struct dccp_request_sock *dreq, u8 mandatory, u8 opt, u8 feat, u8 *val, u8 len) dccp_feat_parse_options() argument
1453 u8 *val; dccp_feat_init() member
[all...]
/kernel/linux/linux-5.10/drivers/pinctrl/spear/
H A Dpinctrl-spear1340.c220 .val = 0x0,
224 .val = 0x0,
228 .val = 0x0,
232 .val = 0x0,
236 .val = 0x0,
240 .val = 0x0,
244 .val = 0x0,
248 .val = 0x0,
281 .val = FSMC_8BIT_REG7_MASK,
306 .val
1977 unsigned int val; gpio_request_endisable() local
[all...]
/kernel/linux/linux-6.6/drivers/pinctrl/spear/
H A Dpinctrl-spear1340.c220 .val = 0x0,
224 .val = 0x0,
228 .val = 0x0,
232 .val = 0x0,
236 .val = 0x0,
240 .val = 0x0,
244 .val = 0x0,
248 .val = 0x0,
281 .val = FSMC_8BIT_REG7_MASK,
306 .val
1977 unsigned int val; gpio_request_endisable() local
[all...]
/kernel/linux/linux-6.6/sound/core/seq/
H A Dseq_ump_convert.c34 u16 val, repeat; in upscale_7_to_16bit() local
36 val = (u16)src << 9; in upscale_7_to_16bit()
38 return val; in upscale_7_to_16bit()
40 return val | (repeat << 3) | (repeat >> 3); in upscale_7_to_16bit()
45 u32 val, repeat; in upscale_7_to_32bit() local
47 val = src << 25; in upscale_7_to_32bit()
49 return val; in upscale_7_to_32bit()
51 return val | (repeat << 19) | (repeat << 13) | in upscale_7_to_32bit()
57 u32 val, repeat; in upscale_14_to_32bit() local
59 val in upscale_14_to_32bit()
82 ump_midi1_to_note_ev(const union snd_ump_midi1_msg *val, struct snd_seq_event *ev) ump_midi1_to_note_ev() argument
91 ump_midi1_to_ctrl_ev(const union snd_ump_midi1_msg *val, struct snd_seq_event *ev) ump_midi1_to_ctrl_ev() argument
99 ump_midi1_to_pitchbend_ev(const union snd_ump_midi1_msg *val, struct snd_seq_event *ev) ump_midi1_to_pitchbend_ev() argument
108 ump_midi1_to_cc_ev(const union snd_ump_midi1_msg *val, struct snd_seq_event *ev) ump_midi1_to_cc_ev() argument
133 cvt_ump_midi1_to_event(const union snd_ump_midi1_msg *val, struct snd_seq_event *ev) cvt_ump_midi1_to_event() argument
150 ump_system_to_one_param_ev(const union snd_ump_midi1_msg *val, struct snd_seq_event *ev) ump_system_to_one_param_ev() argument
157 ump_system_to_songpos_ev(const union snd_ump_midi1_msg *val, struct snd_seq_event *ev) ump_system_to_songpos_ev() argument
183 cvt_ump_system_to_event(const union snd_ump_midi1_msg *val, struct snd_seq_event *ev) cvt_ump_system_to_event() argument
203 ump_midi2_to_note_ev(const union snd_ump_midi2_msg *val, struct snd_seq_event *ev) ump_midi2_to_note_ev() argument
219 ump_midi2_to_pitchbend_ev(const union snd_ump_midi2_msg *val, struct snd_seq_event *ev) ump_midi2_to_pitchbend_ev() argument
229 ump_midi2_to_cc_ev(const union snd_ump_midi2_msg *val, struct snd_seq_event *ev) ump_midi2_to_cc_ev() argument
239 ump_midi2_to_pgm_ev(const union snd_ump_midi2_msg *val, struct snd_seq_event *ev) ump_midi2_to_pgm_ev() argument
259 ump_midi2_to_ctrl_ev(const union snd_ump_midi2_msg *val, struct snd_seq_event *ev) ump_midi2_to_ctrl_ev() argument
268 ump_midi2_to_rpn_ev(const union snd_ump_midi2_msg *val, struct snd_seq_event *ev) ump_midi2_to_rpn_ev() argument
303 cvt_ump_midi2_to_event(const union snd_ump_midi2_msg *val, struct snd_seq_event *ev) cvt_ump_midi2_to_event() argument
321 u32 val; cvt_ump_sysex7_to_event() local
634 int val = event->data.control.value + 8192; pitchbend_ev_to_ump_midi1() local
781 unsigned char val = event->data.control.value & 0x7f; cc_ev_to_ump_midi2() local
868 int val = event->data.control.value + 8192; pitchbend_ev_to_ump_midi2() local
1131 fill_sysex7_ump(struct snd_seq_client_port *dest_port, u32 *val, u8 status, u8 *buf, int len) fill_sysex7_ump() argument
[all...]
/kernel/linux/linux-6.6/net/dccp/
H A Dfeat.c133 int (*activation_hdlr)(struct sock *sk, u64 val, bool rx);
254 static void dccp_feat_printval(u8 feat_num, dccp_feat_val const *val) in dccp_feat_printval() argument
258 if (val == NULL || (type == FEAT_SP && val->sp.vec == NULL)) in dccp_feat_printval()
261 for (i = 0; i < val->sp.len; i++) in dccp_feat_printval()
262 dccp_pr_debug_cat("%s%u", i ? " " : "", val->sp.vec[i]); in dccp_feat_printval()
264 dccp_pr_debug_cat("%llu", (unsigned long long)val->nn); in dccp_feat_printval()
283 dccp_feat_printval(entry->feat_num, &entry->val); in dccp_feat_print_entry()
288 #define dccp_feat_print_opt(opt, feat, val, len, mandatory) do { \
290 dccp_feat_printvals(feat, val, le
309 u64 val; __dccp_feat_activate() local
367 dccp_feat_clone_sp_val(dccp_feat_val *fval, u8 const *val, u8 len) dccp_feat_clone_sp_val() argument
380 dccp_feat_val_destructor(u8 feat_num, dccp_feat_val *val) dccp_feat_val_destructor() argument
586 dccp_feat_is_valid_nn_val(u8 feat_num, u64 val) dccp_feat_is_valid_nn_val() argument
598 dccp_feat_is_valid_sp_val(u8 feat_num, u8 val) dccp_feat_is_valid_sp_val() argument
1107 dccp_feat_change_recv(struct list_head *fn, u8 is_mandatory, u8 opt, u8 feat, u8 *val, u8 len, const bool server) dccp_feat_change_recv() argument
1218 dccp_feat_confirm_recv(struct list_head *fn, u8 is_mandatory, u8 opt, u8 feat, u8 *val, u8 len, const bool server) dccp_feat_confirm_recv() argument
1315 dccp_feat_handle_nn_established(struct sock *sk, u8 mandatory, u8 opt, u8 feat, u8 *val, u8 len) dccp_feat_handle_nn_established() argument
1404 dccp_feat_parse_options(struct sock *sk, struct dccp_request_sock *dreq, u8 mandatory, u8 opt, u8 feat, u8 *val, u8 len) dccp_feat_parse_options() argument
1459 u8 *val; dccp_feat_init() member
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/alsa/
H A Dmixer-test.c257 snd_ctl_elem_value_t *val, in ctl_value_index_valid()
270 int_val = snd_ctl_elem_value_get_boolean(val, index); in ctl_value_index_valid()
283 int_val = snd_ctl_elem_value_get_integer(val, index); in ctl_value_index_valid()
312 int64_val = snd_ctl_elem_value_get_integer64(val, index); in ctl_value_index_valid()
341 int_val = snd_ctl_elem_value_get_enumerated(val, index); in ctl_value_index_valid()
369 static bool ctl_value_valid(struct ctl_data *ctl, snd_ctl_elem_value_t *val) in ctl_value_valid() argument
375 if (!ctl_value_index_valid(ctl, val, i)) in ctl_value_valid()
715 snd_ctl_elem_value_t *val; in test_ctl_write_valid_boolean() local
716 snd_ctl_elem_value_alloca(&val); in test_ctl_write_valid_boolean()
718 snd_ctl_elem_value_set_id(val, ct in test_ctl_write_valid_boolean()
256 ctl_value_index_valid(struct ctl_data *ctl, snd_ctl_elem_value_t *val, int index) ctl_value_index_valid() argument
738 snd_ctl_elem_value_t *val; test_ctl_write_valid_integer() local
767 snd_ctl_elem_value_t *val; test_ctl_write_valid_integer64() local
794 snd_ctl_elem_value_t *val; test_ctl_write_valid_enumerated() local
861 test_ctl_write_invalid_value(struct ctl_data *ctl, snd_ctl_elem_value_t *val) test_ctl_write_invalid_value() argument
886 snd_ctl_elem_value_t *val; test_ctl_write_invalid_boolean() local
904 snd_ctl_elem_value_t *val; test_ctl_write_invalid_integer() local
950 snd_ctl_elem_value_t *val; test_ctl_write_invalid_integer64() local
996 snd_ctl_elem_value_t *val; test_ctl_write_invalid_enumerated() local
[all...]
/kernel/linux/linux-5.10/drivers/iio/pressure/
H A Ddps310.c262 int val; in dps310_get_pres_precision() local
264 rc = regmap_read(data->regmap, DPS310_PRS_CFG, &val); in dps310_get_pres_precision()
268 return BIT(val & GENMASK(2, 0)); in dps310_get_pres_precision()
274 int val; in dps310_get_temp_precision() local
276 rc = regmap_read(data->regmap, DPS310_TMP_CFG, &val); in dps310_get_temp_precision()
284 return BIT(val & GENMASK(2, 0)); in dps310_get_temp_precision()
288 static int dps310_set_pres_precision(struct dps310_data *data, int val) in dps310_set_pres_precision() argument
293 if (val < 0 || val > 128) in dps310_set_pres_precision()
296 shift_en = val > in dps310_set_pres_precision()
307 dps310_set_temp_precision(struct dps310_data *data, int val) dps310_set_temp_precision() argument
328 u8 val; dps310_set_pres_samp_freq() local
342 u8 val; dps310_set_temp_samp_freq() local
356 int val; dps310_get_pres_samp_freq() local
368 int val; dps310_get_temp_samp_freq() local
462 u8 val[3]; dps310_read_pres_raw() local
491 u8 val[3]; dps310_read_temp_ready() local
563 dps310_write_raw(struct iio_dev *iio, struct iio_chan_spec const *chan, int val, int val2, long mask) dps310_write_raw() argument
693 dps310_read_pressure(struct dps310_data *data, int *val, int *val2, long mask) dps310_read_pressure() argument
752 dps310_read_temp(struct dps310_data *data, int *val, int *val2, long mask) dps310_read_temp() argument
791 dps310_read_raw(struct iio_dev *iio, struct iio_chan_spec const *chan, int *val, int *val2, long mask) dps310_read_raw() argument
[all...]

Completed in 21 milliseconds

1...<<21222324252627282930>>...851