/openbmc/linux/sound/pci/ymfpci/ |
H A D | ymfpci.c | 24 static long fm_port[SNDRV_CARDS]; variable 39 module_param_hw_array(fm_port, long, ioport, NULL, 0444); 40 MODULE_PARM_DESC(fm_port, "FM OPL-3 Port."); 202 if (fm_port[dev] == 1) { in __snd_card_ymfpci_probe() 204 fm_port[dev] = pci_resource_start(pci, 1); in __snd_card_ymfpci_probe() 206 if (fm_port[dev] > 0) in __snd_card_ymfpci_probe() 207 fm_res = devm_request_region(&pci->dev, fm_port[dev], in __snd_card_ymfpci_probe() 211 pci_write_config_word(pci, PCIR_DSXG_FMBASE, fm_port[dev]); in __snd_card_ymfpci_probe() 225 switch (fm_port[dev]) { in __snd_card_ymfpci_probe() 231 if (fm_port[dev] > 0) in __snd_card_ymfpci_probe() [all …]
|
/openbmc/linux/sound/drivers/opl4/ |
H A D | opl4_lib.c | 22 while ((inb(opl4->fm_port) & OPL4_STATUS_BUSY) && --timeout > 0) in snd_opl4_wait() 102 outb(OPL3_REG_MODE, opl4->fm_port + 2); in snd_opl4_enable_opl4() 103 inb(opl4->fm_port); in snd_opl4_enable_opl4() 104 inb(opl4->fm_port); in snd_opl4_enable_opl4() 105 outb(OPL3_OPL3_ENABLE | OPL3_OPL4_ENABLE, opl4->fm_port + 3); in snd_opl4_enable_opl4() 106 inb(opl4->fm_port); in snd_opl4_enable_opl4() 107 inb(opl4->fm_port); in snd_opl4_enable_opl4() 180 unsigned long fm_port, unsigned long pcm_port, in snd_opl4_create() argument 200 opl4->res_fm_port = request_region(fm_port, 8, "OPL4 FM"); in snd_opl4_create() 203 snd_printk(KERN_ERR "opl4: can't grab ports 0x%lx, 0x%lx\n", fm_port, pcm_port); in snd_opl4_create() [all …]
|
/openbmc/u-boot/include/ |
H A D | fm_eth.h | 13 enum fm_port { enum 172 enum fm_port port; 196 phy_interface_t fm_info_get_enet_if(enum fm_port port); 197 void fm_info_set_phy_address(enum fm_port port, int address); 198 int fm_info_get_phy_address(enum fm_port port); 199 void fm_info_set_mdio(enum fm_port port, struct mii_dev *bus); 200 void fm_disable_port(enum fm_port port); 201 void fm_enable_port(enum fm_port port); 202 void set_sgmii_phy(struct mii_dev *bus, enum fm_port base_port,
|
/openbmc/u-boot/drivers/net/fm/ |
H A D | init.c | 116 static int fm_port_to_index(enum fm_port port) in fm_port_to_index() 152 void fm_disable_port(enum fm_port port) in fm_disable_port() 165 void fm_enable_port(enum fm_port port) in fm_enable_port() 176 void fm_info_set_mdio(enum fm_port port, struct mii_dev *bus) in fm_info_set_mdio() 186 void fm_info_set_phy_address(enum fm_port port, int address) in fm_info_set_phy_address() 202 int fm_info_get_phy_address(enum fm_port port) in fm_info_get_phy_address() 216 phy_interface_t fm_info_get_enet_if(enum fm_port port) in fm_info_get_enet_if() 231 enum fm_port port, int offset) in __def_board_ft_fman_fixup_port() 237 enum fm_port port, int offset) 344 void set_sgmii_phy(struct mii_dev *bus, enum fm_port base_port, in set_sgmii_phy()
|
H A D | p1023.c | 17 static int is_device_disabled(enum fm_port port) in is_device_disabled() 25 void fman_disable_port(enum fm_port port) in fman_disable_port() 36 void fman_enable_port(enum fm_port port) in fman_enable_port() 43 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
|
H A D | p5020.c | 21 static int is_device_disabled(enum fm_port port) in is_device_disabled() 29 void fman_disable_port(enum fm_port port) in fman_disable_port() 40 void fman_enable_port(enum fm_port port) in fman_enable_port() 47 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
|
H A D | p4080.c | 25 static int is_device_disabled(enum fm_port port) in is_device_disabled() 33 void fman_disable_port(enum fm_port port) in fman_disable_port() 44 void fman_enable_port(enum fm_port port) in fman_enable_port() 51 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
|
H A D | b4860.c | 25 static int is_device_disabled(enum fm_port port) in is_device_disabled() 33 void fman_disable_port(enum fm_port port) in fman_disable_port() 40 void fman_enable_port(enum fm_port port) in fman_enable_port() 47 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
|
H A D | p5040.c | 27 static int is_device_disabled(enum fm_port port) in is_device_disabled() 35 void fman_disable_port(enum fm_port port) in fman_disable_port() 46 void fman_enable_port(enum fm_port port) in fman_enable_port() 53 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
|
H A D | t4240.c | 36 static int is_device_disabled(enum fm_port port) in is_device_disabled() 44 void fman_disable_port(enum fm_port port) in fman_disable_port() 51 void fman_enable_port(enum fm_port port) in fman_enable_port() 58 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
|
H A D | t1024.c | 21 static int is_device_disabled(enum fm_port port) in is_device_disabled() 29 void fman_disable_port(enum fm_port port) in fman_disable_port() 36 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
|
H A D | t2080.c | 29 static int is_device_disabled(enum fm_port port) in is_device_disabled() 37 void fman_disable_port(enum fm_port port) in fman_disable_port() 44 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
|
H A D | ls1043.c | 36 static int is_device_disabled(enum fm_port port) in is_device_disabled() 44 void fman_disable_port(enum fm_port port) in fman_disable_port() 51 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
|
H A D | ls1046.c | 36 static int is_device_disabled(enum fm_port port) in is_device_disabled() 44 void fman_disable_port(enum fm_port port) in fman_disable_port() 51 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
|
H A D | fm.h | 101 phy_interface_t fman_port_enet_if(enum fm_port port); 102 void fman_disable_port(enum fm_port port); 103 void fman_enable_port(enum fm_port port);
|
/openbmc/linux/sound/isa/ |
H A D | als100.c | 37 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable 149 fm_port[dev] = pnp_port_start(pdev, 0); in snd_card_als100_pnp() 157 fm_port[dev] = -1; in snd_card_als100_pnp() 236 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_card_als100_probe() 238 fm_port[dev], fm_port[dev] + 2, in snd_card_als100_probe() 241 fm_port[dev], fm_port[dev] + 2); in snd_card_als100_probe()
|
H A D | azt2320.c | 45 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable 106 fm_port[dev] = pnp_port_start(pdev, 1); in snd_card_azt2320_pnp() 216 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_card_azt2320_probe() 218 fm_port[dev], fm_port[dev] + 2, in snd_card_azt2320_probe() 221 fm_port[dev], fm_port[dev] + 2); in snd_card_azt2320_probe()
|
H A D | es18xx.c | 1365 unsigned long fm_port) in snd_es18xx_initialize() argument 1379 if (fm_port > 0 && fm_port != SNDRV_AUTO_PORT) { in snd_es18xx_initialize() 1381 snd_es18xx_config_write(chip, 0x62, fm_port >> 8); in snd_es18xx_initialize() 1382 snd_es18xx_config_write(chip, 0x63, fm_port & 0xff); in snd_es18xx_initialize() 1601 unsigned long fm_port) in snd_es18xx_probe() argument 1636 return snd_es18xx_initialize(chip, mpu_port, fm_port); in snd_es18xx_probe() 1723 unsigned long fm_port, in snd_es18xx_new_device() argument 1763 if (snd_es18xx_probe(card, chip, mpu_port, fm_port) < 0) in snd_es18xx_new_device() 1912 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; variable 1931 module_param_hw_array(fm_port, long, ioport, NULL, 0444); [all …]
|
/openbmc/linux/sound/isa/es1688/ |
H A D | es1688.c | 38 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* Usually 0x388 */ variable 59 module_param_hw_array(fm_port, long, ioport, NULL, 0444); 60 MODULE_PARM_DESC(fm_port, "FM port # for ES1688 driver."); 137 if (fm_port[n] == SNDRV_AUTO_PORT) in snd_es1688_probe() 138 fm_port[n] = port[n]; /* share the same port */ in snd_es1688_probe() 140 if (fm_port[n] > 0) { in snd_es1688_probe() 141 if (snd_opl3_create(card, fm_port[n], fm_port[n] + 2, in snd_es1688_probe() 144 "opl3 not detected at 0x%lx\n", fm_port[n]); in snd_es1688_probe()
|
/openbmc/linux/sound/isa/sb/ |
H A D | sb16.c | 54 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; variable 83 module_param_hw_array(fm_port, long, ioport, NULL, 0444); 84 MODULE_PARM_DESC(fm_port, "FM port # for SB16 PnP driver."); 254 fm_port[dev] = pnp_port_start(pdev, 2); in snd_card_sb16_pnp() 259 port[dev], mpu_port[dev], fm_port[dev]); in snd_card_sb16_pnp() 377 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_sb16_probe() 378 if (snd_opl3_create(card, fm_port[dev], fm_port[dev] + 2, in snd_sb16_probe() 380 acard->fm_res != NULL || fm_port[dev] == port[dev], in snd_sb16_probe() 383 fm_port[dev], fm_port[dev] + 2); in snd_sb16_probe() 473 fm_port[dev] = port[dev]; in snd_sb16_isa_probe1()
|
/openbmc/linux/sound/isa/ad1816a/ |
H A D | ad1816a.c | 31 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable 95 fm_port[dev] = pnp_port_start(pdev, 1); in snd_card_ad1816a_pnp() 172 if (fm_port[dev] > 0) { in snd_card_ad1816a_probe() 174 fm_port[dev], fm_port[dev] + 2, in snd_card_ad1816a_probe() 176 printk(KERN_ERR PFX "no OPL device at 0x%lx-0x%lx.\n", fm_port[dev], fm_port[dev] + 2); in snd_card_ad1816a_probe()
|
/openbmc/linux/sound/isa/galaxy/ |
H A D | galaxy.c | 37 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; variable 49 module_param_hw_array(fm_port, long, ioport, NULL, 0444); 50 MODULE_PARM_DESC(fm_port, "FM port # for " CRD_NAME " driver."); 356 switch (fm_port[n]) { in snd_galaxy_match() 359 fm_port[n] = -1; in snd_galaxy_match() 364 dev_err(dev, "illegal FM port %#lx\n", fm_port[n]); in snd_galaxy_match() 575 if (fm_port[n] >= 0) { in __snd_galaxy_probe() 578 err = snd_opl3_create(card, fm_port[n], fm_port[n] + 2, in __snd_galaxy_probe() 581 dev_err(dev, "no OPL device at %#lx\n", fm_port[n]); in __snd_galaxy_probe()
|
/openbmc/linux/sound/isa/wavefront/ |
H A D | wavefront.c | 37 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable 68 module_param_hw_array(fm_port, long, ioport, NULL, 0444); 69 MODULE_PARM_DESC(fm_port, "FM port #."); 148 fm_port[dev] = pnp_port_start(pdev, 1); in snd_wavefront_pnp() 191 fm_port[dev], in snd_wavefront_pnp() 366 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_wavefront_probe() 369 err = snd_opl3_create(card, fm_port[dev], fm_port[dev] + 2, in snd_wavefront_probe()
|
/openbmc/linux/sound/isa/cs423x/ |
H A D | cs4236.c | 35 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable 58 module_param_hw_array(fm_port, long, ioport, NULL, 0444); 59 MODULE_PARM_DESC(fm_port, "FM port # for " IDENT " driver."); 211 if (fm_port[dev] > 0) in snd_cs423x_pnp_init_wss() 212 fm_port[dev] = pnp_port_start(pdev, 1); in snd_cs423x_pnp_init_wss() 218 port[dev], fm_port[dev], sb_port[dev]); in snd_cs423x_pnp_init_wss() 383 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_cs423x_probe() 385 fm_port[dev], fm_port[dev] + 2, in snd_cs423x_probe()
|
/openbmc/linux/sound/isa/opti9xx/ |
H A D | opti92x-ad1848.c | 55 static long fm_port = SNDRV_DEFAULT_PORT1; /* 0x388 */ variable 77 module_param_hw(fm_port, long, ioport, 0444); 78 MODULE_PARM_DESC(fm_port, "FM port # for opti9xx driver."); 749 fm_port = pnp_port_start(pdev, 1) + 8; 765 fm_port = pnp_port_start(pdev, 2) + 8; 883 if (fm_port > 0 && fm_port != SNDRV_AUTO_PORT) { 893 if (snd_opl4_create(card, fm_port, fm_port - 8, 901 if (!opl3 && snd_opl3_create(card, fm_port, fm_port + 2, 904 fm_port, fm_port + 4 - 1);
|