Home
last modified time | relevance | path

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

/drivers/ata/
Dpata_it8213.c80 u16 master_data; in it8213_set_piomode() local
103 pci_read_config_word(dev, master_port, &master_data); in it8213_set_piomode()
107 master_data &= 0xCCF0; in it8213_set_piomode()
108 master_data |= control; in it8213_set_piomode()
109 master_data |= (timings[pio][0] << 12) | in it8213_set_piomode()
114 master_data &= 0xFF0F; in it8213_set_piomode()
115 master_data |= (control << 4); in it8213_set_piomode()
124 master_data |= 0x4000; /* Ensure SITRE is set */ in it8213_set_piomode()
125 pci_write_config_word(dev, master_port, master_data); in it8213_set_piomode()
143 u16 master_data; in it8213_set_dmamode() local
[all …]
Dpata_efar.c90 u16 master_data; in efar_set_piomode() local
116 pci_read_config_word(dev, master_port, &master_data); in efar_set_piomode()
120 master_data &= 0xCCF0; in efar_set_piomode()
121 master_data |= control; in efar_set_piomode()
122 master_data |= (timings[pio][0] << 12) | in efar_set_piomode()
128 master_data &= 0xFF0F; in efar_set_piomode()
129 master_data |= (control << 4); in efar_set_piomode()
138 master_data |= 0x4000; /* Ensure SITRE is set */ in efar_set_piomode()
139 pci_write_config_word(dev, master_port, master_data); in efar_set_piomode()
162 u16 master_data; in efar_set_dmamode() local
[all …]
Dpata_rdc.c96 u16 master_data; in rdc_set_piomode() local
122 pci_read_config_word(dev, master_port, &master_data); in rdc_set_piomode()
125 master_data &= 0xff0f; in rdc_set_piomode()
127 master_data |= 0x4000; in rdc_set_piomode()
129 master_data |= (control << 4); in rdc_set_piomode()
137 master_data &= 0xccf0; in rdc_set_piomode()
139 master_data |= control; in rdc_set_piomode()
141 master_data |= in rdc_set_piomode()
145 pci_write_config_word(dev, master_port, master_data); in rdc_set_piomode()
175 u16 master_data; in rdc_set_dmamode() local
[all …]
Data_piix.c557 u16 master_data; in piix_set_timings() local
595 pci_read_config_word(dev, master_port, &master_data); in piix_set_timings()
598 master_data &= 0xff0f; in piix_set_timings()
600 master_data |= (control << 4); in piix_set_timings()
608 master_data &= 0xccf0; in piix_set_timings()
610 master_data |= control; in piix_set_timings()
612 master_data |= in piix_set_timings()
618 master_data |= 0x4000; in piix_set_timings()
619 pci_write_config_word(dev, master_port, master_data); in piix_set_timings()
/drivers/ide/
Dit8213.c34 u16 master_data; in it8213_set_pio_mode() local
48 pci_read_config_word(dev, master_port, &master_data); in it8213_set_pio_mode()
57 master_data |= 0x4000; in it8213_set_pio_mode()
58 master_data &= ~0x0070; in it8213_set_pio_mode()
60 master_data = master_data | (control << 4); in it8213_set_pio_mode()
65 master_data &= ~0x3307; in it8213_set_pio_mode()
67 master_data = master_data | control; in it8213_set_pio_mode()
68 master_data = master_data | (timings[pio][0] << 12) | (timings[pio][1] << 8); in it8213_set_pio_mode()
70 pci_write_config_word(dev, master_port, master_data); in it8213_set_pio_mode()
Dslc90e66.c29 u16 master_data; in slc90e66_set_pio_mode() local
43 pci_read_config_word(dev, master_port, &master_data); in slc90e66_set_pio_mode()
52 master_data |= 0x4000; in slc90e66_set_pio_mode()
53 master_data &= ~0x0070; in slc90e66_set_pio_mode()
56 master_data |= control << 4; in slc90e66_set_pio_mode()
63 master_data &= ~0x3307; in slc90e66_set_pio_mode()
66 master_data |= control; in slc90e66_set_pio_mode()
68 master_data |= (timings[pio][0] << 12) | (timings[pio][1] << 8); in slc90e66_set_pio_mode()
70 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()
/drivers/staging/media/zoran/
Dzr36016.c48 if (ptr->codec->master_data->readreg) in zr36016_read()
49 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36016_read()
63 if (ptr->codec->master_data->writereg) in zr36016_write()
64 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36016_write()
77 if ((ptr->codec->master_data->writereg) && (ptr->codec->master_data->readreg)) { in zr36016_readi()
78 ptr->codec->master_data->writereg(ptr->codec, ZR016_IADDR, reg & 0x0F); // ADDR in zr36016_readi()
79 value = (ptr->codec->master_data->readreg(ptr->codec, ZR016_IDATA)) & 0xFF; // DATA in zr36016_readi()
94 if (ptr->codec->master_data->writereg) { in zr36016_writei()
95 ptr->codec->master_data->writereg(ptr->codec, ZR016_IADDR, reg & 0x0F); // ADDR in zr36016_writei()
96 ptr->codec->master_data->writereg(ptr->codec, ZR016_IDATA, value & 0x0FF); // DATA in zr36016_writei()
Dvideocodec.c92 codec->master_data = master; in videocodec_attach()
159 a->codec->master_data = NULL; in videocodec_detach()
162 a->codec->master_data = NULL; in videocodec_detach()
284 a->codec->master_data->name, in proc_videocodecs_show()
285 a->codec->master_data->type, in proc_videocodecs_show()
286 a->codec->master_data->flags, in proc_videocodecs_show()
287 a->codec->master_data->magic, in proc_videocodecs_show()
Dzr36050.c57 if (ptr->codec->master_data->readreg) in zr36050_read()
58 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36050_read()
73 if (ptr->codec->master_data->writereg) in zr36050_write()
74 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36050_write()
Dzr36060.c59 if (ptr->codec->master_data->readreg) in zr36060_read()
60 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xff; in zr36060_read()
72 if (ptr->codec->master_data->writereg) in zr36060_write()
73 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36060_write()
Dzoran_card.c121 struct zoran *zr = (struct zoran *)codec->master_data->data; in zr36060_read()
134 struct zoran *zr = (struct zoran *)codec->master_data->data; in zr36060_write()
146 struct zoran *zr = (struct zoran *)codec->master_data->data; in zr36050_read()
158 struct zoran *zr = (struct zoran *)codec->master_data->data; in zr36050_write()
169 struct zoran *zr = (struct zoran *)codec->master_data->data; in zr36016_read()
182 struct zoran *zr = (struct zoran *)codec->master_data->data; in zr36016_write()
Dvideocodec.h245 struct videocodec_master *master_data; member