Home
last modified time | relevance | path

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

/Linux-v4.19/sound/pci/aw2/
Daw2-saa7146.c437 WRITEREG(0x40, GPIO_CTRL); in snd_aw2_saa7146_use_digital_input()
439 WRITEREG(0x50, GPIO_CTRL); in snd_aw2_saa7146_use_digital_input()
444 unsigned int reg_val = READREG(GPIO_CTRL); in snd_aw2_saa7146_is_using_digital_input()
Dsaa7146.h41 #define GPIO_CTRL 0xE0 macro
/Linux-v4.19/drivers/staging/rtl8712/
Drtl8712_gp_regdef.h32 #define GPIO_CTRL (RTL8712_GP_ + 0x0C) macro
Drtl8712_cmd.c63 tmp1byte = r8712_read8(padapter, GPIO_CTRL); in check_hw_pbc()
/Linux-v4.19/drivers/media/pci/ttpci/
Dbudget-patch.c448 WRITE_RPS1(CMD_WR_REG_MASK | (GPIO_CTRL>>2)); in budget_patch_attach()
482 if( (saa7146_read(dev, GPIO_CTRL) & 0x10000000) == 0) in budget_patch_attach()
573 WRITE_RPS1(CMD_WR_REG_MASK | (GPIO_CTRL>>2)); in budget_patch_attach()
583 WRITE_RPS1(CMD_WR_REG_MASK | (GPIO_CTRL>>2)); in budget_patch_attach()
Dbudget-core.c505 saa7146_write(dev, GPIO_CTRL, 0x500000); /* GPIO 3 = 1 */ in ttpci_budget_init()
527 saa7146_write(dev, GPIO_CTRL, 0x000000); in ttpci_budget_init()
Dav7110.c2417 WRITE_RPS1(CMD_WR_REG_MASK | (GPIO_CTRL>>2)); in av7110_attach()
2450 if ((saa7146_read(dev, GPIO_CTRL) & 0x10000000) == 0) { in av7110_attach()
2483 saa7146_write(dev, GPIO_CTRL, 0x500000); in av7110_attach()
2561 saa7146_write(dev, GPIO_CTRL, 0x000000); in av7110_attach()
2577 WRITE_RPS1(CMD_WR_REG_MASK | (GPIO_CTRL>>2)); in av7110_attach()
2587 WRITE_RPS1(CMD_WR_REG_MASK | (GPIO_CTRL>>2)); in av7110_attach()
2628 saa7146_write(dev, GPIO_CTRL, 0x000000); in av7110_attach()
/Linux-v4.19/sound/pci/ctxfi/
Dct20k2reg.h57 #define GPIO_CTRL 0x1B7024 macro
Dcthw20k2.c1647 data = hw_read_20kx(hw, GPIO_CTRL); in hw_dac_init()
1649 hw_write_20kx(hw, GPIO_CTRL, data); in hw_dac_init()
1839 data = hw_read_20kx(hw, GPIO_CTRL); in hw_adc_init()
1841 hw_write_20kx(hw, GPIO_CTRL, data); in hw_adc_init()
1898 ctl = hw_read_20kx(hw, GPIO_CTRL); in hw_adc_init()
1900 hw_write_20kx(hw, GPIO_CTRL, ctl); in hw_adc_init()
2163 hw_write_20kx(hw, GPIO_CTRL, 0xD802); in hw_card_init()
2165 hw_write_20kx(hw, GPIO_CTRL, 0x9E5F); in hw_card_init()
/Linux-v4.19/drivers/leds/
Dleds-ss4200.c43 #define GPIO_CTRL 0x04c macro
375 status = pci_read_config_dword(dev, GPIO_CTRL, &gc); in ich7_lpc_probe()
/Linux-v4.19/drivers/media/pci/saa7146/
Dmxb.c381 saa7146_write(dev, GPIO_CTRL, 0x00404050); in mxb_init_done()
773 saa7146_write(dev, GPIO_CTRL, 0x00404050); in std_callback()
785 saa7146_write(dev, GPIO_CTRL, 0x00404050); in std_callback()
/Linux-v4.19/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-v4.19/drivers/media/common/saa7146/
Dsaa7146_core.c54 value = saa7146_read(dev, GPIO_CTRL); in saa7146_setgpio()
57 saa7146_write(dev, GPIO_CTRL, value); in saa7146_setgpio()
/Linux-v4.19/include/media/drv-intf/
Dsaa7146.h362 #define GPIO_CTRL 0xE0 /* GPIO 0-3 register */ macro
/Linux-v4.19/drivers/net/wireless/ralink/rt2x00/
Drt2800lib.c1285 reg = rt2800_register_read(rt2x00dev, GPIO_CTRL); in rt2800_rfkill_poll()
1946 reg = rt2800_register_read(rt2x00dev, GPIO_CTRL); in rt2800_set_ant_diversity()
1949 rt2800_register_write(rt2x00dev, GPIO_CTRL, reg); in rt2800_set_ant_diversity()
2409 reg = rt2800_register_read(rt2x00dev, GPIO_CTRL); in rt2800_config_channel_rf3052()
2415 rt2800_register_write(rt2x00dev, GPIO_CTRL, reg); in rt2800_config_channel_rf3052()
3777 reg = rt2800_register_read(rt2x00dev, GPIO_CTRL); in rt2800_config_channel()
3806 rt2800_register_write(rt2x00dev, GPIO_CTRL, reg); in rt2800_config_channel()
6214 reg = rt2800_register_read(rt2x00dev, GPIO_CTRL); in rt2800_init_bbp_53xx()
6223 rt2800_register_write(rt2x00dev, GPIO_CTRL, reg); in rt2800_init_bbp_53xx()
9455 reg = rt2800_register_read(rt2x00dev, GPIO_CTRL); in rt2800_probe_hw()
[all …]
Drt2800.h451 #define GPIO_CTRL 0x0228 macro