Lines Matching +full:0 +full:x28

23 			.addr = 0x50,  in read_eeprom_byte()
24 .flags = 0, in read_eeprom_byte()
28 .addr = 0x50, in read_eeprom_byte()
36 if (err < 0) { in read_eeprom_byte()
38 "ERROR: i2c read: < err=%i d0=0x%02x d1=0x%02x >", in read_eeprom_byte()
39 err, data[0], data[1]); in read_eeprom_byte()
44 return 0; in read_eeprom_byte()
51 mantis->mac_address[0] = 0x08; in get_mac_address()
52 err = read_eeprom_byte(mantis, &mantis->mac_address[0], 6); in get_mac_address()
53 if (err < 0) { in get_mac_address()
58 dprintk(verbose, MANTIS_ERROR, 0, in get_mac_address()
61 return 0; in get_mac_address()
104 int err = 0; in mantis_core_init()
107 dprintk(verbose, MANTIS_ERROR, 0, "found a %s PCI %s device on (%02x:%02x.%x),\n", in mantis_core_init()
110 dprintk(verbose, MANTIS_ERROR, 0, " Mantis Rev %d [%04x:%04x], ", in mantis_core_init()
113 dprintk(verbose, MANTIS_ERROR, 0, in mantis_core_init()
114 "irq: %d, latency: %d\n memory: 0x%lx, mmio: 0x%p\n", in mantis_core_init()
119 if (err < 0) { in mantis_core_init()
124 if (err < 0) { in mantis_core_init()
129 if (err < 0) { in mantis_core_init()
134 if (err < 0) { in mantis_core_init()
139 if (err < 0) { in mantis_core_init()
144 return 0; in mantis_core_init()
155 if (mantis_dma_exit(mantis) < 0) in mantis_core_exit()
157 if (mantis_dvb_exit(mantis) < 0) in mantis_core_exit()
159 if (mantis_i2c_exit(mantis) < 0) in mantis_core_exit()
162 return 0; in mantis_core_exit()
177 mmwrite(0x00, MANTIS_GPIF_DOUT); in gpio_set_bits()
181 /* direction = 0 , no CI passthrough ; 1 , CI passthrough */
186 reg = mmread(0x28); in mantis_set_direction()
188 if (direction == 0x01) { in mantis_set_direction()
190 reg |= 0x04; in mantis_set_direction()
191 mmwrite(reg, 0x28); in mantis_set_direction()
192 reg &= 0xff - 0x04; in mantis_set_direction()
193 mmwrite(reg, 0x28); in mantis_set_direction()
195 reg &= 0xff - 0x04; in mantis_set_direction()
196 mmwrite(reg, 0x28); in mantis_set_direction()
197 reg |= 0x04; in mantis_set_direction()
198 mmwrite(reg, 0x28); in mantis_set_direction()