Home
last modified time | relevance | path

Searched refs:GPIO_CTRL (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/sound/pci/aw2/
Daw2-saa7146.c424 WRITEREG(0x40, GPIO_CTRL); in snd_aw2_saa7146_use_digital_input()
426 WRITEREG(0x50, GPIO_CTRL); in snd_aw2_saa7146_use_digital_input()
431 unsigned int reg_val = READREG(GPIO_CTRL); in snd_aw2_saa7146_is_using_digital_input()
Dsaa7146.h28 #define GPIO_CTRL 0xE0 macro
/linux-6.1.9/drivers/staging/rtl8712/
Drtl8712_gp_regdef.h20 #define GPIO_CTRL (RTL8712_GP_ + 0x0C) macro
Drtl8712_cmd.c51 tmp1byte = r8712_read8(padapter, GPIO_CTRL); in check_hw_pbc()
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/av7110/
Dbudget-patch.c434 WRITE_RPS1(CMD_WR_REG_MASK | (GPIO_CTRL>>2)); in budget_patch_attach()
468 if( (saa7146_read(dev, GPIO_CTRL) & 0x10000000) == 0) in budget_patch_attach()
559 WRITE_RPS1(CMD_WR_REG_MASK | (GPIO_CTRL>>2)); in budget_patch_attach()
569 WRITE_RPS1(CMD_WR_REG_MASK | (GPIO_CTRL>>2)); in budget_patch_attach()
Dav7110.c2403 WRITE_RPS1(CMD_WR_REG_MASK | (GPIO_CTRL>>2)); in av7110_attach()
2436 if ((saa7146_read(dev, GPIO_CTRL) & 0x10000000) == 0) { in av7110_attach()
2469 saa7146_write(dev, GPIO_CTRL, 0x500000); in av7110_attach()
2548 saa7146_write(dev, GPIO_CTRL, 0x000000); in av7110_attach()
2564 WRITE_RPS1(CMD_WR_REG_MASK | (GPIO_CTRL>>2)); in av7110_attach()
2574 WRITE_RPS1(CMD_WR_REG_MASK | (GPIO_CTRL>>2)); in av7110_attach()
2615 saa7146_write(dev, GPIO_CTRL, 0x000000); in av7110_attach()
/linux-6.1.9/sound/pci/ctxfi/
Dct20k2reg.h54 #define GPIO_CTRL 0x1B7024 macro
Dcthw20k2.c1643 data = hw_read_20kx(hw, GPIO_CTRL); in hw_dac_init()
1645 hw_write_20kx(hw, GPIO_CTRL, data); in hw_dac_init()
1835 data = hw_read_20kx(hw, GPIO_CTRL); in hw_adc_init()
1837 hw_write_20kx(hw, GPIO_CTRL, data); in hw_adc_init()
1894 ctl = hw_read_20kx(hw, GPIO_CTRL); in hw_adc_init()
1896 hw_write_20kx(hw, GPIO_CTRL, ctl); in hw_adc_init()
2156 hw_write_20kx(hw, GPIO_CTRL, 0xD802); in hw_card_init()
2158 hw_write_20kx(hw, GPIO_CTRL, 0x9E5F); in hw_card_init()
/linux-6.1.9/drivers/leds/
Dleds-ss4200.c31 #define GPIO_CTRL 0x04c macro
363 status = pci_read_config_dword(dev, GPIO_CTRL, &gc); in ich7_lpc_probe()
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/saa7146/
Dmxb.c368 saa7146_write(dev, GPIO_CTRL, 0x00404050); in mxb_init_done()
767 saa7146_write(dev, GPIO_CTRL, 0x00404050); in std_callback()
779 saa7146_write(dev, GPIO_CTRL, 0x00404050); in std_callback()
/linux-6.1.9/sound/pci/
Dfm801.c767 unsigned short reg = fm801_readw(chip, GPIO_CTRL); in snd_fm801_tea575x_set_pins()
779 fm801_writew(chip, GPIO_CTRL, reg); in snd_fm801_tea575x_set_pins()
785 unsigned short reg = fm801_readw(chip, GPIO_CTRL); in snd_fm801_tea575x_get_pins()
800 unsigned short reg = fm801_readw(chip, GPIO_CTRL); in snd_fm801_tea575x_set_direction()
831 fm801_writew(chip, GPIO_CTRL, reg); in snd_fm801_tea575x_set_direction()
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/common/
Dsaa7146_core.c42 value = saa7146_read(dev, GPIO_CTRL); in saa7146_setgpio()
45 saa7146_write(dev, GPIO_CTRL, value); in saa7146_setgpio()
Dsaa7146.h362 #define GPIO_CTRL 0xE0 /* GPIO 0-3 register */ macro
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/ttpci/
Dbudget-core.c497 saa7146_write(dev, GPIO_CTRL, 0x500000); /* GPIO 3 = 1 */ in ttpci_budget_init()
521 saa7146_write(dev, GPIO_CTRL, 0x000000); in ttpci_budget_init()
/linux-6.1.9/include/linux/mfd/
Didt8a340_reg.h282 #define GPIO_CTRL 0x0010 macro
/linux-6.1.9/drivers/net/wireless/ralink/rt2x00/
Drt2800lib.c1532 reg = rt2800_register_read(rt2x00dev, GPIO_CTRL); in rt2800_rfkill_poll()
2257 reg = rt2800_register_read(rt2x00dev, GPIO_CTRL); in rt2800_set_ant_diversity()
2260 rt2800_register_write(rt2x00dev, GPIO_CTRL, reg); in rt2800_set_ant_diversity()
2725 reg = rt2800_register_read(rt2x00dev, GPIO_CTRL); in rt2800_config_channel_rf3052()
2731 rt2800_register_write(rt2x00dev, GPIO_CTRL, reg); in rt2800_config_channel_rf3052()
4352 reg = rt2800_register_read(rt2x00dev, GPIO_CTRL); in rt2800_config_channel()
4381 rt2800_register_write(rt2x00dev, GPIO_CTRL, reg); in rt2800_config_channel()
6899 reg = rt2800_register_read(rt2x00dev, GPIO_CTRL); in rt2800_init_bbp_53xx()
6908 rt2800_register_write(rt2x00dev, GPIO_CTRL, reg); in rt2800_init_bbp_53xx()
11880 reg = rt2800_register_read(rt2x00dev, GPIO_CTRL); in rt2800_probe_hw()
[all …]
Drt2800.h442 #define GPIO_CTRL 0x0228 macro