Lines Matching +full:0 +full:x160
34 /* DL_ADDR_LB=0 DL_ADDR_HB=0 */ in start_fw_load()
35 cx25840_write(client, 0x800, 0x00); in start_fw_load()
36 cx25840_write(client, 0x801, 0x00); in start_fw_load()
37 // DL_MAP=3 DL_AUTO_INC=0 DL_ENABLE=1 in start_fw_load()
38 cx25840_write(client, 0x803, 0x0b); in start_fw_load()
40 cx25840_write(client, 0x000, 0x20); in start_fw_load()
45 /* AUTO_INC_DIS=0 */ in end_fw_load()
46 cx25840_write(client, 0x000, 0x00); in end_fw_load()
47 /* DL_ENABLE=0 */ in end_fw_load()
48 cx25840_write(client, 0x803, 0x03); in end_fw_load()
59 if (firmware[0]) in get_fw_name()
71 int s = cx25840_read(client, 0x801) << 8; in check_fw_load()
72 s |= cx25840_read(client, 0x800); in check_fw_load()
82 return 0; in check_fw_load()
92 return 0; in fw_write()
104 u32 gpio_oe = 0, gpio_da = 0; in cx25840_loadfw()
108 gpio_oe = cx25840_read(client, 0x160); in cx25840_loadfw()
109 gpio_da = cx25840_read(client, 0x164); in cx25840_loadfw()
116 if (request_firmware(&fw, fwname, FWDEV(client)) != 0) { in cx25840_loadfw()
123 buffer[0] = 0x08; in cx25840_loadfw()
124 buffer[1] = 0x02; in cx25840_loadfw()
128 while (size > 0) { in cx25840_loadfw()
135 if (retval < 0) { in cx25840_loadfw()
151 cx25840_write(client, 0x160, gpio_oe); in cx25840_loadfw()
152 cx25840_write(client, 0x164, gpio_da); in cx25840_loadfw()