Home
last modified time | relevance | path

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

/drivers/media/radio/
Dradio-isa.c48 struct radio_isa_card *isa = video_drvdata(file); in radio_isa_querycap() local
50 strlcpy(v->driver, isa->drv->driver.driver.name, sizeof(v->driver)); in radio_isa_querycap()
51 strlcpy(v->card, isa->drv->card, sizeof(v->card)); in radio_isa_querycap()
52 snprintf(v->bus_info, sizeof(v->bus_info), "ISA:%s", isa->v4l2_dev.name); in radio_isa_querycap()
62 struct radio_isa_card *isa = video_drvdata(file); in radio_isa_g_tuner() local
63 const struct radio_isa_ops *ops = isa->drv->ops; in radio_isa_g_tuner()
73 if (isa->drv->has_stereo) in radio_isa_g_tuner()
77 v->rxsubchans = ops->g_rxsubchans(isa); in radio_isa_g_tuner()
80 v->audmode = isa->stereo ? V4L2_TUNER_MODE_STEREO : V4L2_TUNER_MODE_MONO; in radio_isa_g_tuner()
82 v->signal = ops->g_signal(isa); in radio_isa_g_tuner()
[all …]
Dradio-zoltrix.c74 struct radio_isa_card isa; member
83 return zol ? &zol->isa : NULL; in zoltrix_alloc()
86 static int zoltrix_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in zoltrix_s_mute_volume() argument
88 struct zoltrix *zol = container_of(isa, struct zoltrix, isa); in zoltrix_s_mute_volume()
93 outb(0, isa->io); in zoltrix_s_mute_volume()
94 outb(0, isa->io); in zoltrix_s_mute_volume()
95 inb(isa->io + 3); /* Zoltrix needs to be read to confirm */ in zoltrix_s_mute_volume()
99 outb(vol - 1, isa->io); in zoltrix_s_mute_volume()
101 inb(isa->io + 2); in zoltrix_s_mute_volume()
106 static int zoltrix_s_frequency(struct radio_isa_card *isa, u32 freq) in zoltrix_s_frequency() argument
[all …]
Dradio-trust.c52 struct radio_isa_card isa; member
60 return tr ? &tr->isa : NULL; in trust_alloc()
67 #define TR_DELAY do { inb(tr->isa.io); inb(tr->isa.io); inb(tr->isa.io); } while (0)
68 #define TR_SET_SCL outb(tr->ioval |= 2, tr->isa.io)
69 #define TR_CLR_SCL outb(tr->ioval &= 0xfd, tr->isa.io)
70 #define TR_SET_SDA outb(tr->ioval |= 1, tr->isa.io)
71 #define TR_CLR_SDA outb(tr->ioval &= 0xfe, tr->isa.io)
119 static int trust_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in trust_s_mute_volume() argument
121 struct trust *tr = container_of(isa, struct trust, isa); in trust_s_mute_volume()
124 outb(tr->ioval, isa->io); in trust_s_mute_volume()
[all …]
Dradio-rtrack2.c52 static void zero(struct radio_isa_card *isa) in zero() argument
54 outb_p(1, isa->io); in zero()
55 outb_p(3, isa->io); in zero()
56 outb_p(1, isa->io); in zero()
59 static void one(struct radio_isa_card *isa) in one() argument
61 outb_p(5, isa->io); in one()
62 outb_p(7, isa->io); in one()
63 outb_p(5, isa->io); in one()
66 static int rtrack2_s_frequency(struct radio_isa_card *isa, u32 freq) in rtrack2_s_frequency() argument
72 outb_p(0xc8, isa->io); in rtrack2_s_frequency()
[all …]
Dradio-aimslab.c63 struct radio_isa_card isa; member
73 return rt ? &rt->isa : NULL; in rtrack_alloc()
87 struct radio_isa_card *isa = handle; in rtrack_set_pins() local
88 struct rtrack *rt = container_of(isa, struct rtrack, isa); in rtrack_set_pins()
91 if (!v4l2_ctrl_g_ctrl(rt->isa.mute)) in rtrack_set_pins()
101 outb_p(bits, rt->isa.io); in rtrack_set_pins()
104 static int rtrack_s_frequency(struct radio_isa_card *isa, u32 freq) in rtrack_s_frequency() argument
106 lm7000_set_freq(freq, isa, rtrack_set_pins); in rtrack_s_frequency()
111 static u32 rtrack_g_signal(struct radio_isa_card *isa) in rtrack_g_signal() argument
114 return 0xffff * !(inb(isa->io) & 2); in rtrack_g_signal()
[all …]
Dradio-aztech.c54 struct radio_isa_card isa; member
69 struct radio_isa_card *isa = handle; in aztech_set_pins() local
70 struct aztech *az = container_of(isa, struct aztech, isa); in aztech_set_pins()
80 outb_p(bits, az->isa.io); in aztech_set_pins()
87 return az ? &az->isa : NULL; in aztech_alloc()
90 static int aztech_s_frequency(struct radio_isa_card *isa, u32 freq) in aztech_s_frequency() argument
92 lm7000_set_freq(freq, isa, aztech_set_pins); in aztech_s_frequency()
97 static u32 aztech_g_rxsubchans(struct radio_isa_card *isa) in aztech_g_rxsubchans() argument
99 if (inb(isa->io) & AZTECH_BIT_MONO) in aztech_g_rxsubchans()
104 static u32 aztech_g_signal(struct radio_isa_card *isa) in aztech_g_signal() argument
[all …]
Dradio-typhoon.c71 struct radio_isa_card isa; member
79 return ty ? &ty->isa : NULL; in typhoon_alloc()
82 static int typhoon_s_frequency(struct radio_isa_card *isa, u32 freq) in typhoon_s_frequency() argument
104 outb_p((outval >> 8) & 0x01, isa->io + 4); in typhoon_s_frequency()
105 outb_p(outval >> 9, isa->io + 6); in typhoon_s_frequency()
106 outb_p(outval & 0xff, isa->io + 8); in typhoon_s_frequency()
110 static int typhoon_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in typhoon_s_mute_volume() argument
112 struct typhoon *ty = container_of(isa, struct typhoon, isa); in typhoon_s_mute_volume()
118 outb_p(vol / 2, isa->io); /* Set the volume, high bit. */ in typhoon_s_mute_volume()
119 outb_p(vol % 2, isa->io + 2); /* Set the volume, low bit. */ in typhoon_s_mute_volume()
[all …]
Dradio-gemtek.c104 struct radio_isa_card isa; member
155 struct radio_isa_card *isa = &gt->isa; in gemtek_bu2614_transmit() local
160 outb_p(mute | GEMTEK_CE | GEMTEK_DA | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit()
165 outb_p(mute | GEMTEK_CE | bit, isa->io); in gemtek_bu2614_transmit()
167 outb_p(mute | GEMTEK_CE | bit | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit()
171 outb_p(mute | GEMTEK_DA | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit()
189 return gt ? &gt->isa : NULL; in gemtek_alloc()
195 static int gemtek_s_frequency(struct radio_isa_card *isa, u32 freq) in gemtek_s_frequency() argument
197 struct gemtek *gt = container_of(isa, struct gemtek, isa); in gemtek_s_frequency()
217 static int gemtek_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in gemtek_s_mute_volume() argument
[all …]
Dradio-terratec.c61 static int terratec_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in terratec_s_mute_volume() argument
70 outb(0x80, isa->io + 1); in terratec_s_mute_volume()
72 outb(0x00, isa->io + 1); in terratec_s_mute_volume()
81 static int terratec_s_frequency(struct radio_isa_card *isa, u32 freq) in terratec_s_frequency() argument
111 outb(WRT_EN | DATA, isa->io); in terratec_s_frequency()
112 outb(WRT_EN | DATA | CLK_ON, isa->io); in terratec_s_frequency()
113 outb(WRT_EN | DATA, isa->io); in terratec_s_frequency()
115 outb(WRT_EN | 0x00, isa->io); in terratec_s_frequency()
116 outb(WRT_EN | 0x00 | CLK_ON, isa->io); in terratec_s_frequency()
119 outb(0x00, isa->io); in terratec_s_frequency()
[all …]
Dradio-isa.h60 bool (*probe)(struct radio_isa_card *isa, int io);
64 int (*init)(struct radio_isa_card *isa);
66 int (*s_mute_volume)(struct radio_isa_card *isa, bool mute, int volume);
68 int (*s_frequency)(struct radio_isa_card *isa, u32 freq);
70 int (*s_stereo)(struct radio_isa_card *isa, bool stereo);
72 u32 (*g_rxsubchans)(struct radio_isa_card *isa);
74 u32 (*g_signal)(struct radio_isa_card *isa);
DMakefile5 obj-$(CONFIG_RADIO_ISA) += radio-isa.o
/drivers/isdn/act2000/
Dact2000_isa.c238 if (card->idat.isa.rcvidx < 8) { in act2000_isa_receive()
239 card->idat.isa.rcvhdr[card->idat.isa.rcvidx++] = c; in act2000_isa_receive()
240 if (card->idat.isa.rcvidx == 8) { in act2000_isa_receive()
241 int valid = actcapi_chkhdr(card, (actcapi_msghdr *)&card->idat.isa.rcvhdr); in act2000_isa_receive()
244 card->idat.isa.rcvlen = ((actcapi_msghdr *)&card->idat.isa.rcvhdr)->len; in act2000_isa_receive()
245 card->idat.isa.rcvskb = dev_alloc_skb(card->idat.isa.rcvlen); in act2000_isa_receive()
246 if (card->idat.isa.rcvskb == NULL) { in act2000_isa_receive()
247 card->idat.isa.rcvignore = 1; in act2000_isa_receive()
253 memcpy(skb_put(card->idat.isa.rcvskb, 8), card->idat.isa.rcvhdr, 8); in act2000_isa_receive()
254 card->idat.isa.rcvptr = skb_put(card->idat.isa.rcvskb, card->idat.isa.rcvlen - 8); in act2000_isa_receive()
[all …]
Dact2000.h145 irq_data_isa isa; member
/drivers/ide/
Dvia82cxxx.c223 static struct via_isa_bridge *via_config_find(struct pci_dev **isa) in via_config_find() argument
229 if ((*isa = pci_get_device(PCI_VENDOR_ID_VIA + in via_config_find()
233 if ((*isa)->revision >= via_config->rev_min && in via_config_find()
234 (*isa)->revision <= via_config->rev_max) in via_config_find()
236 pci_dev_put(*isa); in via_config_find()
421 struct pci_dev *isa = NULL; in via_init_one() local
433 via_config = via_config_find(&isa); in via_init_one()
439 pci_name(dev), via_config->name, isa->revision, in via_init_one()
444 pci_dev_put(isa); in via_init_one()
DKconfig803 # no isa -> no vlb
/drivers/hwmon/
Dlm78.c541 struct lm78_data *isa; in lm78_alias_detect() local
546 isa = platform_get_drvdata(pdev); in lm78_alias_detect()
548 if (lm78_read_value(isa, LM78_REG_I2C_ADDR) != client->addr) in lm78_alias_detect()
550 if ((lm78_read_value(isa, LM78_REG_CHIPID) & 0xfe) != (chipid & 0xfe)) in lm78_alias_detect()
558 if (lm78_read_value(isa, i) != in lm78_alias_detect()
562 if (lm78_read_value(isa, LM78_REG_CONFIG) != in lm78_alias_detect()
566 if (lm78_read_value(isa, i) != in lm78_alias_detect()
590 struct lm78_data *isa = lm78_data_if_isa(); in lm78_i2c_detect() local
603 if (isa) in lm78_i2c_detect()
604 mutex_lock(&isa->update_lock); in lm78_i2c_detect()
[all …]
Dw83781d.c1102 struct w83781d_data *isa = w83781d_data_if_isa(); in w83781d_detect() local
1116 if (isa) in w83781d_detect()
1117 mutex_lock(&isa->update_lock); in w83781d_detect()
1186 if (isa) in w83781d_detect()
1187 mutex_unlock(&isa->update_lock); in w83781d_detect()
1194 if (isa) in w83781d_detect()
1195 mutex_unlock(&isa->update_lock); in w83781d_detect()
1634 struct w83781d_data *isa; in w83781d_alias_detect() local
1640 isa = platform_get_drvdata(pdev); in w83781d_alias_detect()
1642 if (w83781d_read_value(isa, W83781D_REG_I2C_ADDR) != client->addr) in w83781d_alias_detect()
[all …]
/drivers/ata/
Dpata_via.c590 struct pci_dev *isa; in via_init_one() local
609 if ((isa = pci_get_device(PCI_VENDOR_ID_VIA + in via_init_one()
612 u8 rev = isa->revision; in via_init_one()
613 pci_dev_put(isa); in via_init_one()
/drivers/net/arcnet/
DMakefile13 obj-$(CONFIG_ARCNET_COM20020_ISA) += com20020-isa.o
/drivers/base/
DMakefile13 obj-$(CONFIG_ISA) += isa.o
/drivers/parport/
Dparport_ip32.c2042 parport_ip32_make_isa_registers(&regs, &mace->isa.parallel, in parport_ip32_probe_port()
2043 &mace->isa.ecp1284, 8 /* regshift */); in parport_ip32_probe_port()
2052 p->base = MACE_BASE + offsetof(struct sgi_mace, isa.parallel); in parport_ip32_probe_port()
2053 p->base_hi = MACE_BASE + offsetof(struct sgi_mace, isa.ecp1284); in parport_ip32_probe_port()
/drivers/i2c/busses/
DMakefile102 obj-$(CONFIG_I2C_PCA_ISA) += i2c-pca-isa.o
DKconfig1014 will be called i2c-pca-isa.
/drivers/staging/speakup/
DKconfig17 external (old), Dectalk PC (full length isa board),
/drivers/firmware/
Dedd.c152 info->params.interface_path.isa.base_address); in edd_show_host_bus()