Home
last modified time | relevance | path

Searched refs:master_data (Results 1 – 10 of 10) 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.c558 u16 master_data; in piix_set_timings() local
596 pci_read_config_word(dev, master_port, &master_data); in piix_set_timings()
599 master_data &= 0xff0f; in piix_set_timings()
601 master_data |= (control << 4); in piix_set_timings()
609 master_data &= 0xccf0; in piix_set_timings()
611 master_data |= control; in piix_set_timings()
613 master_data |= in piix_set_timings()
619 master_data |= 0x4000; in piix_set_timings()
620 pci_write_config_word(dev, master_port, master_data); in piix_set_timings()
/drivers/media/pci/zoran/
Dzr36016.c39 if (ptr->codec->master_data->readreg) in zr36016_read()
40 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36016_read()
56 if (ptr->codec->master_data->writereg) in zr36016_write()
57 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36016_write()
74 if ((ptr->codec->master_data->writereg) && (ptr->codec->master_data->readreg)) { in zr36016_readi()
75 ptr->codec->master_data->writereg(ptr->codec, ZR016_IADDR, reg & 0x0F); in zr36016_readi()
76 value = (ptr->codec->master_data->readreg(ptr->codec, ZR016_IDATA)) & 0xFF; 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); in zr36016_writei()
96 ptr->codec->master_data->writereg(ptr->codec, ZR016_IDATA, value & 0x0FF); in zr36016_writei()
Dvideocodec.c72 codec->master_data = master; in videocodec_attach()
140 a->codec->master_data = NULL; in videocodec_detach()
143 a->codec->master_data = NULL; in videocodec_detach()
267 a->codec->master_data->name, in videocodec_debugfs_show()
268 a->codec->master_data->type, in videocodec_debugfs_show()
269 a->codec->master_data->flags, in videocodec_debugfs_show()
270 a->codec->master_data->magic, in videocodec_debugfs_show()
Dvideocodec.h245 struct videocodec_master *master_data; member
320 struct videocodec_master *master = codec->master_data; in videocodec_to_zoran()
Dzr36050.c47 if (ptr->codec->master_data->readreg) in zr36050_read()
48 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36050_read()
64 if (ptr->codec->master_data->writereg) in zr36050_write()
65 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36050_write()
Dzr36060.c47 if (ptr->codec->master_data->readreg) in zr36060_read()
48 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xff; in zr36060_read()
62 if (ptr->codec->master_data->writereg) in zr36060_write()
63 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36060_write()
Dzoran_card.c100 struct zoran *zr = (struct zoran *)codec->master_data->data; in zr36060_read()
113 struct zoran *zr = (struct zoran *)codec->master_data->data; in zr36060_write()
125 struct zoran *zr = (struct zoran *)codec->master_data->data; in zr36050_read()
137 struct zoran *zr = (struct zoran *)codec->master_data->data; in zr36050_write()
148 struct zoran *zr = (struct zoran *)codec->master_data->data; in zr36016_read()
161 struct zoran *zr = (struct zoran *)codec->master_data->data; in zr36016_write()