staticbool rt715_sdca_readable_register(struct device *dev, unsignedint reg)
{ switch (reg) { case 0x201a ... 0x2027: case 0x2029 ... 0x202a: case 0x202d ... 0x2034: case 0x2200 ... 0x2204: case 0x2206 ... 0x2212: case 0x2230 ... 0x2239: case 0x2f5b: case SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SDCA_SMPU_TRIG_ST_EN,
RT715_SDCA_SMPU_TRIG_ST_CTRL, CH_00): returntrue; default: returnfalse;
}
}
staticbool rt715_sdca_volatile_register(struct device *dev, unsignedint reg)
{ switch (reg) { case 0x201b: case 0x201c: case 0x201d: case 0x201f: case 0x2021: case 0x2023: case 0x2230: case 0x202d ... 0x202f: /* BRA */ case 0x2200 ... 0x2212: /* i2c debug */ case 0x2f07: case 0x2f1b ... 0x2f1e: case 0x2f30 ... 0x2f34: case 0x2f50 ... 0x2f51: case 0x2f53 ... 0x2f59: case 0x2f5c ... 0x2f5f: case SDW_SDCA_CTL(FUN_MIC_ARRAY, RT715_SDCA_SMPU_TRIG_ST_EN,
RT715_SDCA_SMPU_TRIG_ST_CTRL, CH_00): /* VAD Searching status */ returntrue; default: returnfalse;
}
}
staticbool rt715_sdca_mbq_readable_register(struct device *dev, unsignedint reg)
{ switch (reg) { case 0x2000000: case 0x200002b: case 0x2000036: case 0x2000037: case 0x2000039: case 0x2000044: case 0x6100000: returntrue; default: returnfalse;
}
}
/* * Perform initialization only if slave status is present and * hw_init flag is false
*/ if (rt715->hw_init || status != SDW_SLAVE_ATTACHED) return 0;
/* first we need to allocate memory for set bits in port lists */
prop->source_ports = 0x50;/* BITMAP: 01010000 */
prop->sink_ports = 0x0; /* BITMAP: 00000000 */
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.