Home
last modified time | relevance | path

Searched refs:fm_port (Results 1 – 25 of 48) sorted by relevance

12

/OK3568_Linux_fs/kernel/sound/drivers/opl4/
H A Dopl4_lib.c22 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 …]
/OK3568_Linux_fs/kernel/sound/pci/ymfpci/
H A Dymfpci.c30 static long fm_port[SNDRV_CARDS]; variable
45 module_param_hw_array(fm_port, long, ioport, NULL, 0444);
46 MODULE_PARM_DESC(fm_port, "FM OPL-3 Port.");
198 if (fm_port[dev] == 1) { in snd_card_ymfpci_probe()
200 fm_port[dev] = pci_resource_start(pci, 1); in snd_card_ymfpci_probe()
202 if (fm_port[dev] > 0 && in snd_card_ymfpci_probe()
203 (fm_res = request_region(fm_port[dev], 4, "YMFPCI OPL3")) != NULL) { in snd_card_ymfpci_probe()
205 pci_write_config_word(pci, PCIR_DSXG_FMBASE, fm_port[dev]); in snd_card_ymfpci_probe()
217 switch (fm_port[dev]) { in snd_card_ymfpci_probe()
222 default: fm_port[dev] = 0; break; in snd_card_ymfpci_probe()
[all …]
/OK3568_Linux_fs/u-boot/include/
H A Dfm_eth.h14 enum fm_port { enum
173 enum fm_port port;
197 phy_interface_t fm_info_get_enet_if(enum fm_port port);
198 void fm_info_set_phy_address(enum fm_port port, int address);
199 int fm_info_get_phy_address(enum fm_port port);
200 void fm_info_set_mdio(enum fm_port port, struct mii_dev *bus);
201 void fm_disable_port(enum fm_port port);
202 void fm_enable_port(enum fm_port port);
203 void set_sgmii_phy(struct mii_dev *bus, enum fm_port base_port,
/OK3568_Linux_fs/u-boot/drivers/net/fm/
H A Dinit.c117 static int fm_port_to_index(enum fm_port port) in fm_port_to_index()
153 void fm_disable_port(enum fm_port port) in fm_disable_port()
166 void fm_enable_port(enum fm_port port) in fm_enable_port()
177 void fm_info_set_mdio(enum fm_port port, struct mii_dev *bus) in fm_info_set_mdio()
187 void fm_info_set_phy_address(enum fm_port port, int address) in fm_info_set_phy_address()
203 int fm_info_get_phy_address(enum fm_port port) in fm_info_get_phy_address()
217 phy_interface_t fm_info_get_enet_if(enum fm_port port) in fm_info_get_enet_if()
232 enum fm_port port, int offset) in __def_board_ft_fman_fixup_port()
238 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 Dp1023.c18 static int is_device_disabled(enum fm_port port) in is_device_disabled()
26 void fman_disable_port(enum fm_port port) in fman_disable_port()
37 void fman_enable_port(enum fm_port port) in fman_enable_port()
44 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
H A Dp5020.c22 static int is_device_disabled(enum fm_port port) in is_device_disabled()
30 void fman_disable_port(enum fm_port port) in fman_disable_port()
41 void fman_enable_port(enum fm_port port) in fman_enable_port()
48 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
H A Dp4080.c26 static int is_device_disabled(enum fm_port port) in is_device_disabled()
34 void fman_disable_port(enum fm_port port) in fman_disable_port()
45 void fman_enable_port(enum fm_port port) in fman_enable_port()
52 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
H A Db4860.c26 static int is_device_disabled(enum fm_port port) in is_device_disabled()
34 void fman_disable_port(enum fm_port port) in fman_disable_port()
41 void fman_enable_port(enum fm_port port) in fman_enable_port()
48 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
H A Dp5040.c28 static int is_device_disabled(enum fm_port port) in is_device_disabled()
36 void fman_disable_port(enum fm_port port) in fman_disable_port()
47 void fman_enable_port(enum fm_port port) in fman_enable_port()
54 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
H A Dt4240.c37 static int is_device_disabled(enum fm_port port) in is_device_disabled()
45 void fman_disable_port(enum fm_port port) in fman_disable_port()
52 void fman_enable_port(enum fm_port port) in fman_enable_port()
59 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
H A Dt1024.c22 static int is_device_disabled(enum fm_port port) in is_device_disabled()
30 void fman_disable_port(enum fm_port port) in fman_disable_port()
37 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
H A Dt2080.c30 static int is_device_disabled(enum fm_port port) in is_device_disabled()
38 void fman_disable_port(enum fm_port port) in fman_disable_port()
45 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
H A Dls1043.c37 static int is_device_disabled(enum fm_port port) in is_device_disabled()
45 void fman_disable_port(enum fm_port port) in fman_disable_port()
52 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
H A Dls1046.c37 static int is_device_disabled(enum fm_port port) in is_device_disabled()
45 void fman_disable_port(enum fm_port port) in fman_disable_port()
52 phy_interface_t fman_port_enet_if(enum fm_port port) in fman_port_enet_if()
H A Dfm.h102 phy_interface_t fman_port_enet_if(enum fm_port port);
103 void fman_disable_port(enum fm_port port);
104 void fman_enable_port(enum fm_port port);
/OK3568_Linux_fs/kernel/sound/isa/
H A Dals100.c48 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable
160 fm_port[dev] = pnp_port_start(pdev, 0); in snd_card_als100_pnp()
168 fm_port[dev] = -1; in snd_card_als100_pnp()
252 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_card_als100_probe()
254 fm_port[dev], fm_port[dev] + 2, in snd_card_als100_probe()
257 fm_port[dev], fm_port[dev] + 2); in snd_card_als100_probe()
H A Dazt2320.c50 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable
111 fm_port[dev] = pnp_port_start(pdev, 1); in snd_card_azt2320_pnp()
229 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_card_azt2320_probe()
231 fm_port[dev], fm_port[dev] + 2, in snd_card_azt2320_probe()
234 fm_port[dev], fm_port[dev] + 2); in snd_card_azt2320_probe()
H A Des18xx.c1371 unsigned long fm_port) in snd_es18xx_initialize() argument
1385 if (fm_port > 0 && fm_port != SNDRV_AUTO_PORT) { in snd_es18xx_initialize()
1387 snd_es18xx_config_write(chip, 0x62, fm_port >> 8); in snd_es18xx_initialize()
1388 snd_es18xx_config_write(chip, 0x63, fm_port & 0xff); in snd_es18xx_initialize()
1605 unsigned long fm_port) in snd_es18xx_probe() argument
1640 return snd_es18xx_initialize(chip, mpu_port, fm_port); in snd_es18xx_probe()
1752 unsigned long fm_port, in snd_es18xx_new_device() argument
1800 if (snd_es18xx_probe(chip, mpu_port, fm_port) < 0) { in snd_es18xx_new_device()
1956 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; variable
1975 module_param_hw_array(fm_port, long, ioport, NULL, 0444);
[all …]
/OK3568_Linux_fs/kernel/sound/isa/es1688/
H A Des1688.c43 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* Usually 0x388 */ variable
64 module_param_hw_array(fm_port, long, ioport, NULL, 0444);
65 MODULE_PARM_DESC(fm_port, "FM port # for ES1688 driver.");
142 if (fm_port[n] == SNDRV_AUTO_PORT) in snd_es1688_probe()
143 fm_port[n] = port[n]; /* share the same port */ in snd_es1688_probe()
145 if (fm_port[n] > 0) { in snd_es1688_probe()
146 if (snd_opl3_create(card, fm_port[n], fm_port[n] + 2, in snd_es1688_probe()
149 "opl3 not detected at 0x%lx\n", fm_port[n]); in snd_es1688_probe()
/OK3568_Linux_fs/kernel/sound/isa/sb/
H A Dsb16.c62 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; variable
91 module_param_hw_array(fm_port, long, ioport, NULL, 0444);
92 MODULE_PARM_DESC(fm_port, "FM port # for SB16 PnP driver.");
262 fm_port[dev] = pnp_port_start(pdev, 2); in snd_card_sb16_pnp()
267 port[dev], mpu_port[dev], fm_port[dev]); in snd_card_sb16_pnp()
395 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_sb16_probe()
396 if (snd_opl3_create(card, fm_port[dev], fm_port[dev] + 2, in snd_sb16_probe()
398 acard->fm_res != NULL || fm_port[dev] == port[dev], in snd_sb16_probe()
401 fm_port[dev], fm_port[dev] + 2); in snd_sb16_probe()
487 fm_port[dev] = port[dev]; in snd_sb16_isa_probe1()
/OK3568_Linux_fs/kernel/sound/isa/ad1816a/
H A Dad1816a.c38 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable
102 fm_port[dev] = pnp_port_start(pdev, 1); in snd_card_ad1816a_pnp()
185 if (fm_port[dev] > 0) { in snd_card_ad1816a_probe()
187 fm_port[dev], fm_port[dev] + 2, in snd_card_ad1816a_probe()
189 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()
/OK3568_Linux_fs/kernel/sound/isa/galaxy/
H A Dgalaxy.c37 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()
581 if (fm_port[n] >= 0) { in snd_galaxy_probe()
584 err = snd_opl3_create(card, fm_port[n], fm_port[n] + 2, in snd_galaxy_probe()
587 dev_err(dev, "no OPL device at %#lx\n", fm_port[n]); in snd_galaxy_probe()
/OK3568_Linux_fs/kernel/sound/isa/opti9xx/
H A Dopti92x-ad1848.c61 static long fm_port = SNDRV_DEFAULT_PORT1; /* 0x388 */ variable
83 module_param_hw(fm_port, long, ioport, 0444);
84 MODULE_PARM_DESC(fm_port, "FM port # for opti9xx driver.");
752 fm_port = pnp_port_start(pdev, 1) + 8;
768 fm_port = pnp_port_start(pdev, 2) + 8;
902 if (fm_port > 0 && fm_port != SNDRV_AUTO_PORT) {
912 if (snd_opl4_create(card, fm_port, fm_port - 8,
920 if (!opl3 && snd_opl3_create(card, fm_port, fm_port + 2,
923 fm_port, fm_port + 4 - 1);
/OK3568_Linux_fs/kernel/sound/isa/cs423x/
H A Dcs4236.c69 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable
92 module_param_hw_array(fm_port, long, ioport, NULL, 0444);
93 MODULE_PARM_DESC(fm_port, "FM port # for " IDENT " driver.");
246 if (fm_port[dev] > 0) in snd_cs423x_pnp_init_wss()
247 fm_port[dev] = pnp_port_start(pdev, 1); in snd_cs423x_pnp_init_wss()
253 port[dev], fm_port[dev], sb_port[dev]); in snd_cs423x_pnp_init_wss()
424 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_cs423x_probe()
426 fm_port[dev], fm_port[dev] + 2, in snd_cs423x_probe()
/OK3568_Linux_fs/kernel/sound/isa/wavefront/
H A Dwavefront.c38 static long fm_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable
69 module_param_hw_array(fm_port, long, ioport, NULL, 0444);
70 MODULE_PARM_DESC(fm_port, "FM port #.");
149 fm_port[dev] = pnp_port_start(pdev, 1); in snd_wavefront_pnp()
192 fm_port[dev], in snd_wavefront_pnp()
380 if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) { in snd_wavefront_probe()
383 err = snd_opl3_create(card, fm_port[dev], fm_port[dev] + 2, in snd_wavefront_probe()

12