Searched refs:SPMI_PER_DATAREG_BYTE (Results 1 – 1 of 1) sorted by relevance
35 #define SPMI_PER_DATAREG_BYTE 4 macro159 for (i = 0; bc > i * SPMI_PER_DATAREG_BYTE; i++) { in spmi_read_cmd()163 i * SPMI_PER_DATAREG_BYTE); in spmi_read_cmd()165 if ((bc - i * SPMI_PER_DATAREG_BYTE) >> 2) { in spmi_read_cmd()169 memcpy(buf, &data, bc % SPMI_PER_DATAREG_BYTE); in spmi_read_cmd()170 buf += (bc % SPMI_PER_DATAREG_BYTE); in spmi_read_cmd()229 for (i = 0; bc > i * SPMI_PER_DATAREG_BYTE; i++) { in spmi_write_cmd()231 if ((bc - i * SPMI_PER_DATAREG_BYTE) >> 2) { in spmi_write_cmd()235 memcpy(&data, buf, bc % SPMI_PER_DATAREG_BYTE); in spmi_write_cmd()236 buf += (bc % SPMI_PER_DATAREG_BYTE); in spmi_write_cmd()[all …]