Home
last modified time | relevance | path

Searched refs:master_data (Results 1 – 13 of 13) sorted by relevance

/linux-2.6.39/drivers/ata/
Dpata_rdc.c107 u16 master_data; in rdc_set_piomode() local
131 pci_read_config_word(dev, master_port, &master_data); in rdc_set_piomode()
134 master_data &= 0xff0f; in rdc_set_piomode()
136 master_data |= 0x4000; in rdc_set_piomode()
138 master_data |= (control << 4); in rdc_set_piomode()
146 master_data &= 0xccf0; in rdc_set_piomode()
148 master_data |= control; in rdc_set_piomode()
150 master_data |= in rdc_set_piomode()
154 pci_write_config_word(dev, master_port, master_data); in rdc_set_piomode()
181 u16 master_data; in rdc_set_dmamode() local
[all …]
Dpata_it8213.c143 u16 master_data; in it8213_set_dmamode() local
155 pci_read_config_word(dev, 0x40, &master_data); in it8213_set_dmamode()
210 master_data &= 0xFF4F; /* Mask out IORDY|TIME1|DMAONLY */ in it8213_set_dmamode()
211 master_data |= control << 4; in it8213_set_dmamode()
218 master_data &= 0xCCF4; /* Mask out IORDY|TIME1|DMAONLY in it8213_set_dmamode()
220 master_data |= control; in it8213_set_dmamode()
221 master_data |= in it8213_set_dmamode()
226 pci_write_config_word(dev, 0x40, master_data); in it8213_set_dmamode()
Dpata_efar.c162 u16 master_data; in efar_set_dmamode() local
177 pci_read_config_word(dev, master_port, &master_data); in efar_set_dmamode()
215 master_data &= 0xFF4F; /* Mask out IORDY|TIME1|DMAONLY */ in efar_set_dmamode()
216 master_data |= control << 4; in efar_set_dmamode()
223 master_data &= 0xCCF4; /* Mask out IORDY|TIME1|DMAONLY in efar_set_dmamode()
225 master_data |= control; in efar_set_dmamode()
226 master_data |= in efar_set_dmamode()
231 pci_write_config_word(dev, master_port, master_data); in efar_set_dmamode()
Data_piix.c726 u16 master_data; in piix_set_piomode() local
758 pci_read_config_word(dev, master_port, &master_data); in piix_set_piomode()
761 master_data &= 0xff0f; in piix_set_piomode()
763 master_data |= 0x4000; in piix_set_piomode()
765 master_data |= (control << 4); in piix_set_piomode()
773 master_data &= 0xccf0; in piix_set_piomode()
775 master_data |= control; in piix_set_piomode()
777 master_data |= in piix_set_piomode()
781 pci_write_config_word(dev, master_port, master_data); in piix_set_piomode()
814 u16 master_data; in do_pata_set_dmamode() local
[all …]
/linux-2.6.39/drivers/ide/
Dit8213.c33 u16 master_data; in it8213_set_pio_mode() local
47 pci_read_config_word(dev, master_port, &master_data); in it8213_set_pio_mode()
56 master_data |= 0x4000; in it8213_set_pio_mode()
57 master_data &= ~0x0070; in it8213_set_pio_mode()
59 master_data = master_data | (control << 4); in it8213_set_pio_mode()
64 master_data &= ~0x3307; in it8213_set_pio_mode()
66 master_data = master_data | control; in it8213_set_pio_mode()
67 master_data = master_data | (timings[pio][0] << 12) | (timings[pio][1] << 8); in it8213_set_pio_mode()
69 pci_write_config_word(dev, master_port, master_data); in it8213_set_pio_mode()
Dslc90e66.c28 u16 master_data; in slc90e66_set_pio_mode() local
42 pci_read_config_word(dev, master_port, &master_data); in slc90e66_set_pio_mode()
51 master_data |= 0x4000; in slc90e66_set_pio_mode()
52 master_data &= ~0x0070; in slc90e66_set_pio_mode()
55 master_data |= control << 4; in slc90e66_set_pio_mode()
62 master_data &= ~0x3307; in slc90e66_set_pio_mode()
65 master_data |= control; in slc90e66_set_pio_mode()
67 master_data |= (timings[pio][0] << 12) | (timings[pio][1] << 8); in slc90e66_set_pio_mode()
69 pci_write_config_word(dev, master_port, master_data); in slc90e66_set_pio_mode()
Dpiix.c75 u16 master_data; in piix_set_pio_mode() local
95 pci_read_config_word(dev, master_port, &master_data); in piix_set_pio_mode()
104 master_data |= 0x4000; in piix_set_pio_mode()
105 master_data &= ~0x0070; in piix_set_pio_mode()
108 master_data |= control << 4; in piix_set_pio_mode()
115 master_data &= ~0x3307; in piix_set_pio_mode()
118 master_data |= control; in piix_set_pio_mode()
120 master_data |= (timings[pio][0] << 12) | (timings[pio][1] << 8); in piix_set_pio_mode()
122 pci_write_config_word(dev, master_port, master_data); in piix_set_pio_mode()
/linux-2.6.39/drivers/media/video/zoran/
Dzr36016.c80 if (ptr->codec->master_data->readreg) in zr36016_read()
82 (ptr->codec->master_data-> in zr36016_read()
104 if (ptr->codec->master_data->writereg) { in zr36016_write()
105 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36016_write()
123 if ((ptr->codec->master_data->writereg) && in zr36016_readi()
124 (ptr->codec->master_data->readreg)) { in zr36016_readi()
125 ptr->codec->master_data->writereg(ptr->codec, ZR016_IADDR, reg & 0x0F); // ADDR in zr36016_readi()
126 value = (ptr->codec->master_data->readreg(ptr->codec, ZR016_IDATA)) & 0xFF; // DATA in zr36016_readi()
147 if (ptr->codec->master_data->writereg) { in zr36016_writei()
148 ptr->codec->master_data->writereg(ptr->codec, ZR016_IADDR, reg & 0x0F); // ADDR in zr36016_writei()
[all …]
Dvideocodec.c121 codec->master_data = master; in videocodec_attach()
200 a->codec->master_data = NULL; in videocodec_detach()
206 a->codec->master_data = NULL; in videocodec_detach()
339 a->codec->master_data->name, in proc_videocodecs_show()
340 a->codec->master_data->type, in proc_videocodecs_show()
341 a->codec->master_data->flags, in proc_videocodecs_show()
342 a->codec->master_data->magic, in proc_videocodecs_show()
Dzr36050.c78 if (ptr->codec->master_data->readreg) in zr36050_read()
79 value = (ptr->codec->master_data->readreg(ptr->codec, in zr36050_read()
101 if (ptr->codec->master_data->writereg) in zr36050_write()
102 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36050_write()
Dzoran_card.c159 struct zoran *zr = (struct zoran *) codec->master_data->data; in zr36060_read()
177 struct zoran *zr = (struct zoran *) codec->master_data->data; in zr36060_write()
193 struct zoran *zr = (struct zoran *) codec->master_data->data; in zr36050_read()
210 struct zoran *zr = (struct zoran *) codec->master_data->data; in zr36050_write()
225 struct zoran *zr = (struct zoran *) codec->master_data->data; in zr36016_read()
242 struct zoran *zr = (struct zoran *) codec->master_data->data; in zr36016_write()
1097 struct videocodec_master *master = zr->codec->master_data; in zoran_remove()
1103 struct videocodec_master *master = zr->vfe->master_data; in zoran_remove()
Dzr36060.c82 if (ptr->codec->master_data->readreg) in zr36060_read()
83 value = (ptr->codec->master_data->readreg(ptr->codec, in zr36060_read()
104 if (ptr->codec->master_data->writereg) in zr36060_write()
105 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36060_write()
Dvideocodec.h267 struct videocodec_master *master_data; member