Lines Matching refs:reg_encode
314 val = reg_encode(reg, GEN_QMB_0_MAX_WRITES, data0->max_writes); in ipa_hardware_config_qsb()
316 val |= reg_encode(reg, GEN_QMB_1_MAX_WRITES, data1->max_writes); in ipa_hardware_config_qsb()
323 val = reg_encode(reg, GEN_QMB_0_MAX_READS, data0->max_reads); in ipa_hardware_config_qsb()
325 val |= reg_encode(reg, GEN_QMB_0_MAX_READS_BEATS, in ipa_hardware_config_qsb()
328 val = reg_encode(reg, GEN_QMB_1_MAX_READS, data1->max_reads); in ipa_hardware_config_qsb()
330 val |= reg_encode(reg, GEN_QMB_1_MAX_READS_BEATS, in ipa_hardware_config_qsb()
380 val = reg_encode(reg, DPL_TIMESTAMP_LSB, DPL_TIMESTAMP_SHIFT); in ipa_qtime_config()
383 val = reg_encode(reg, TAG_TIMESTAMP_LSB, TAG_TIMESTAMP_SHIFT); in ipa_qtime_config()
384 val = reg_encode(reg, NAT_TIMESTAMP_LSB, NAT_TIMESTAMP_SHIFT); in ipa_qtime_config()
390 val = reg_encode(reg, PULSE_GRAN_0, IPA_GRAN_100_US); in ipa_qtime_config()
391 val |= reg_encode(reg, PULSE_GRAN_1, IPA_GRAN_1_MS); in ipa_qtime_config()
393 val |= reg_encode(reg, PULSE_GRAN_2, IPA_GRAN_10_MS); in ipa_qtime_config()
394 val |= reg_encode(reg, PULSE_GRAN_3, IPA_GRAN_10_MS); in ipa_qtime_config()
396 val |= reg_encode(reg, PULSE_GRAN_2, IPA_GRAN_1_MS); in ipa_qtime_config()
405 val = reg_encode(reg, DIV_VALUE, IPA_XO_CLOCK_DIVIDER - 1); in ipa_qtime_config()
424 val = reg_encode(reg, AGGR_GRANULARITY, granularity); in ipa_hardware_config_counter()
468 val = reg_encode(reg, ENTER_IDLE_DEBOUNCE_THRESH, in ipa_idle_indication_cfg()