/Linux-v5.15/drivers/media/usb/cx231xx/ |
D | cx231xx-avcore.c | 2681 static int cx231xx_set_gpio_bit(struct cx231xx *dev, u32 gpio_bit, u32 gpio_val) in cx231xx_set_gpio_bit() argument 2685 gpio_val = (__force u32)cpu_to_le32(gpio_val); in cx231xx_set_gpio_bit() 2686 status = cx231xx_send_gpio_cmd(dev, gpio_bit, (u8 *)&gpio_val, 4, 0, 0); in cx231xx_set_gpio_bit() 2691 static int cx231xx_get_gpio_bit(struct cx231xx *dev, u32 gpio_bit, u32 *gpio_val) in cx231xx_get_gpio_bit() argument 2697 *gpio_val = le32_to_cpu(tmp); in cx231xx_get_gpio_bit() 2729 status = cx231xx_set_gpio_bit(dev, value, dev->gpio_val); in cx231xx_set_gpio_direction() 2763 dev->gpio_val); in cx231xx_set_gpio_value() 2768 value = dev->gpio_val & (~(1 << pin_number)); in cx231xx_set_gpio_value() 2770 value = dev->gpio_val | (1 << pin_number); in cx231xx_set_gpio_value() 2773 dev->gpio_val = value; in cx231xx_set_gpio_value() [all …]
|
D | cx231xx.h | 684 u32 gpio_val; member 836 int cx231xx_send_gpio_cmd(struct cx231xx *dev, u32 gpio_bit, u8 *gpio_val,
|
/Linux-v5.15/drivers/media/pci/cx18/ |
D | cx18-gpio.c | 41 u32 val_lo = cx->gpio_val & 0xffff; in gpio_write() 43 u32 val_hi = cx->gpio_val >> 16; in gpio_write() 61 cx->gpio_val = (cx->gpio_val & ~mask) | (data & mask); in gpio_update() 100 cx->gpio_dir, cx->gpio_val); in gpiomux_log_status() 199 cx->gpio_dir, cx->gpio_val); in resetctrl_log_status() 258 cx->gpio_val = cx->card->gpio_init.initial_value; in cx18_gpio_init() 262 cx->gpio_val |= 1 << cx->card->xceive_pin; in cx18_gpio_init()
|
D | cx18-driver.h | 647 u32 gpio_val; member
|
/Linux-v5.15/include/linux/mfd/ |
D | max14577.h | 67 int (*set_gpio_pogo_vbatt_en) (int gpio_val); 68 int (*set_gpio_pogo_vbus_en) (int gpio_val);
|
/Linux-v5.15/drivers/iio/dac/ |
D | ad5592r-base.c | 33 val = st->gpio_val; in ad5592r_gpio_get() 52 st->gpio_val |= BIT(offset); in ad5592r_gpio_set() 54 st->gpio_val &= ~BIT(offset); in ad5592r_gpio_set() 56 st->ops->reg_write(st, AD5592R_REG_GPIO_SET, st->gpio_val); in ad5592r_gpio_set() 92 st->gpio_val |= BIT(offset); in ad5592r_gpio_direction_output() 94 st->gpio_val &= ~BIT(offset); in ad5592r_gpio_direction_output() 99 ret = st->ops->reg_write(st, AD5592R_REG_GPIO_SET, st->gpio_val); in ad5592r_gpio_direction_output() 235 st->gpio_val |= BIT(i); in ad5592r_set_channel_modes() 266 ret = ops->reg_write(st, AD5592R_REG_GPIO_SET, st->gpio_val); in ad5592r_set_channel_modes()
|
D | ad5592r-base.h | 66 u8 gpio_val; member
|
/Linux-v5.15/drivers/regulator/ |
D | max8973-regulator.c | 146 int req_vsel, int *vout_reg, int *gpio_val) in find_voltage_set_register() argument 167 *gpio_val = new_vout_reg; in find_voltage_set_register() 194 int gpio_val = max->curr_gpio_val; in max8973_dcdc_set_voltage_sel() local 202 &vout_reg, &gpio_val); in max8973_dcdc_set_voltage_sel() 213 max->curr_vout_val[gpio_val] = vsel; in max8973_dcdc_set_voltage_sel() 218 gpio_set_value_cansleep(max->dvs_gpio, gpio_val & 0x1); in max8973_dcdc_set_voltage_sel() 219 max->curr_gpio_val = gpio_val; in max8973_dcdc_set_voltage_sel()
|
/Linux-v5.15/drivers/i2c/muxes/ |
D | i2c-arb-gpio-challenge.c | 57 int gpio_val = gpiod_get_value(arb->their_gpio); in i2c_arbitrator_select() local 59 if (!gpio_val) { in i2c_arbitrator_select()
|
/Linux-v5.15/include/linux/ |
D | ath9k_platform.h | 32 u32 gpio_val; member
|
/Linux-v5.15/drivers/media/dvb-frontends/ |
D | dib7000m.h | 23 u16 gpio_val; member
|
D | dib7000p.h | 20 u16 gpio_val; member
|
D | dib8000.h | 20 u16 gpio_val; member
|
D | dib7000p.c | 63 u16 gpio_val; member 528 dprintk("gpio dir: %x: val: %x, pwm_pos: %x\n", st->gpio_dir, st->gpio_val, st->cfg.gpio_pwm_pos); in dib7000p_reset_gpio() 531 dib7000p_write_word(st, 1030, st->gpio_val); in dib7000p_reset_gpio() 548 st->gpio_val = dib7000p_read_word(st, 1030); in dib7000p_cfg_gpio() 549 st->gpio_val &= ~(1 << num); /* reset the direction bit */ in dib7000p_cfg_gpio() 550 st->gpio_val |= (val & 0x01) << num; /* set the new value */ in dib7000p_cfg_gpio() 551 dib7000p_write_word(st, 1030, st->gpio_val); in dib7000p_cfg_gpio() 2748 st->gpio_val = cfg->gpio_val; in dib7000p_init()
|
D | dib9000.c | 67 u16 gpio_val; member 1761 st->gpio_val = dib9000_read_word(st, 774); in dib9000_cfg_gpio() 1762 st->gpio_val &= ~(1 << num); /* reset the direction bit */ in dib9000_cfg_gpio() 1763 st->gpio_val |= (val & 0x01) << num; /* set the new value */ in dib9000_cfg_gpio() 1764 dib9000_write_word(st, 774, st->gpio_val); in dib9000_cfg_gpio() 1766 dprintk("gpio dir: %04x: gpio val: %04x\n", st->gpio_dir, st->gpio_val); in dib9000_cfg_gpio() 2493 st->gpio_val = DIB9000_GPIO_DEFAULT_VALUES; in dib9000_attach()
|
D | dib8000.c | 90 u16 gpio_val; member 826 dib8000_write_word(st, 1030, st->cfg.gpio_val); in dib8000_reset_gpio() 843 st->cfg.gpio_val = dib8000_read_word(st, 1030); in dib8000_cfg_gpio() 844 st->cfg.gpio_val &= ~(1 << num); /* reset the direction bit */ in dib8000_cfg_gpio() 845 st->cfg.gpio_val |= (val & 0x01) << num; /* set the new value */ in dib8000_cfg_gpio() 846 dib8000_write_word(st, 1030, st->cfg.gpio_val); in dib8000_cfg_gpio() 848 dprintk("gpio dir: %x: gpio val: %x\n", st->cfg.gpio_dir, st->cfg.gpio_val); in dib8000_cfg_gpio() 4461 state->gpio_val = cfg->gpio_val; in dib8000_init()
|
/Linux-v5.15/drivers/media/usb/dvb-usb/ |
D | dib0700.h | 58 u8 gpio_dir, u8 gpio_val);
|
D | dib0700_devices.c | 249 .gpio_val = DIB7000P_GPIO_DEFAULT_VALUES, 261 .gpio_val = DIB7000P_GPIO_DEFAULT_VALUES, 415 .gpio_val = DIB7000P_GPIO_DEFAULT_VALUES, 685 .gpio_val = DIB7000M_GPIO_DEFAULT_VALUES, 697 .gpio_val = DIB7000M_GPIO_DEFAULT_VALUES, 977 .gpio_val = DIB7000P_GPIO_DEFAULT_VALUES, 1034 .gpio_val = DIB7000P_GPIO_DEFAULT_VALUES, 1203 .gpio_val = DIB8000_GPIO_DEFAULT_VALUES, 1220 .gpio_val = DIB8000_GPIO_DEFAULT_VALUES, 1564 .gpio_val = DIB8000_GPIO_DEFAULT_VALUES, [all …]
|
D | dib0700_core.c | 108 int dib0700_set_gpio(struct dvb_usb_device *d, enum dib07x0_gpios gpio, u8 gpio_dir, u8 gpio_val) in dib0700_set_gpio() argument 120 st->buf[2] = ((gpio_dir & 0x01) << 7) | ((gpio_val & 0x01) << 6); in dib0700_set_gpio()
|
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramnv50.c | 195 u32 reg, sh, gpio_val; in nv50_ram_gpio() local 205 gpio_val = ram_rd32(hwsq, gpio[reg]); in nv50_ram_gpio() 207 if (gpio_val & (8 << sh)) in nv50_ram_gpio()
|
D | ramgt215.c | 470 u32 reg, sh, gpio_val; in gt215_ram_gpio() local 480 gpio_val = ram_rd32(fuc, gpio[reg]); in gt215_ram_gpio() 481 if (gpio_val & (8 << sh)) in gt215_ram_gpio()
|
/Linux-v5.15/drivers/net/ethernet/intel/i40e/ |
D | i40e_common.c | 1327 u32 gpio_val = 0; in i40e_led_is_mine() local 1333 gpio_val = rd32(hw, I40E_GLGEN_GPIO_CTL(idx)); in i40e_led_is_mine() 1334 port = (gpio_val & I40E_GLGEN_GPIO_CTL_PRT_NUM_MASK) >> in i40e_led_is_mine() 1340 if ((gpio_val & I40E_GLGEN_GPIO_CTL_PRT_NUM_NA_MASK) || in i40e_led_is_mine() 1344 return gpio_val; in i40e_led_is_mine() 1374 u32 gpio_val = i40e_led_is_mine(hw, i); in i40e_led_get() local 1376 if (!gpio_val) in i40e_led_get() 1379 mode = (gpio_val & I40E_GLGEN_GPIO_CTL_LED_MODE_MASK) >> in i40e_led_get() 1409 u32 gpio_val = i40e_led_is_mine(hw, i); in i40e_led_set() local 1411 if (!gpio_val) in i40e_led_set() [all …]
|
/Linux-v5.15/drivers/infiniband/hw/hfi1/ |
D | debugfs.c | 1030 u64 gpio_val = 0; in exprom_wp_set() local 1033 gpio_val = EXPROM_WRITE_ENABLE; in exprom_wp_set() 1041 write_csr(dd, ASIC_GPIO_OUT, gpio_val); in exprom_wp_set() 1042 write_csr(dd, ASIC_GPIO_OE, gpio_val); in exprom_wp_set()
|
/Linux-v5.15/drivers/net/wireless/ath/ath9k/ |
D | init.c | 584 ah->gpio_val = pdata->gpio_val; in ath9k_init_platform()
|
/Linux-v5.15/drivers/media/pci/bt8xx/ |
D | bttv-driver.c | 973 int gpio_val, signal, mute_gpio; in audio_mux_gpio() local 984 gpio_val = bttv_tvcards[btv->c.type].gpiomute; in audio_mux_gpio() 986 gpio_val = bttv_tvcards[btv->c.type].gpiomux[input]; in audio_mux_gpio() 991 gpio_val = bttv_tda9880_setnorm(btv, gpio_val); in audio_mux_gpio() 995 gpio_bits(bttv_tvcards[btv->c.type].gpiomask, gpio_val); in audio_mux_gpio()
|