Lines Matching +full:0 +full:x20010000

29 #define OCC_P9_SRAM_CMD_ADDR	0xFFFBE000
30 #define OCC_P9_SRAM_RSP_ADDR 0xFFFBF000
32 #define OCC_P10_SRAM_CMD_ADDR 0xFFFFD000
33 #define OCC_P10_SRAM_RSP_ADDR 0xFFFFE000
35 #define OCC_P10_SRAM_MODE 0x58 /* Normal mode, OCB channel 2 */
104 return 0; in occ_open()
111 ssize_t rc = 0; in occ_read()
162 * byte 0: command type in occ_write()
187 client->read_offset = 0; in occ_write()
206 return 0; in occ_release()
244 checksum += (data_length >> 8) + (data_length & 0xFF); in occ_verify_checksum()
246 for (i = 0; i < data_length; ++i) in occ_verify_checksum()
255 return 0; in occ_verify_checksum()
265 int idx = 0, rc; in occ_getsram()
282 cmd[3] = 0; in occ_getsram()
287 cmd[0] = cpu_to_be32(cmd_len); in occ_getsram()
297 if (rc > 0) { in occ_getsram()
326 int idx = 0, rc; in occ_putsram()
335 buf[0] = cpu_to_be32(cmd_len); in occ_putsram()
347 buf[3] = 0; in occ_putsram()
360 byte_buf[0] = seq_no; in occ_putsram()
362 byte_buf[len - 1] = checksum & 0xff; in occ_putsram()
370 if (rc > 0) { in occ_putsram()
384 resp_data_len = be32_to_cpu(buf[0]); in occ_putsram()
401 int idx = 0, rc; in occ_trigger_attn()
408 buf[3] = 0; in occ_trigger_attn()
413 buf[2] = cpu_to_be32(0xd0); /* Circular mode, OCB Channel 1 */ in occ_trigger_attn()
414 buf[3] = 0; in occ_trigger_attn()
415 buf[4] = 0; in occ_trigger_attn()
419 buf[0] = cpu_to_be32(cmd_len); /* Chip-op length in words */ in occ_trigger_attn()
422 buf[5 + idx] = cpu_to_be32(0x20010000); /* Trigger OCC attention */ in occ_trigger_attn()
423 buf[6 + idx] = 0; in occ_trigger_attn()
431 if (rc > 0) { in occ_trigger_attn()
445 resp_data_len = be32_to_cpu(buf[0]); in occ_trigger_attn()
476 u16 checksum = 0; in fsi_occ_submit()
483 *resp_len = 0; in fsi_occ_submit()
505 occ->client_response_size = 0; in fsi_occ_submit()
514 * number of 0 which would pass the response check below even if the in fsi_occ_submit()
536 rc = occ_getsram(occ, 0, resp, 8); in fsi_occ_submit()
571 rc = occ_getsram(occ, 0, resp, in fsi_occ_submit()
608 return 0; in occ_unregister_platform_child()
619 return 0; in occ_unregister_of_child()
652 occ->sequence_number = (u8)((jiffies % 0xff) + 1); in occ_probe()
661 if (occ->idx < 0) in occ_probe()
702 return 0; in occ_probe()