Lines Matching +full:0 +full:x000000

15 #define PDM_CTRL			0x00
22 #define PDM_CTRL_CHAN_EN_MASK GENMASK(7, 0)
23 #define PDM_CTRL_CHAN_EN(x) ((x) << 0)
24 #define PDM_HCIC_CTRL1 0x04
32 #define PDM_HCIC_CTRL1_STAGE_NUM_MASK GENMASK(3, 0)
33 #define PDM_HCIC_CTRL1_STAGE_NUM(x) ((x) << 0)
34 #define PDM_HCIC_CTRL2 0x08
35 #define PDM_F1_CTRL 0x0c
40 #define PDM_LPF_STAGE_NUM_MASK GENMASK(8, 0)
41 #define PDM_LPF_STAGE_NUM(x) ((x) << 0)
44 #define PDM_F2_CTRL 0x10
45 #define PDM_F3_CTRL 0x14
46 #define PDM_HPF_CTRL 0x18
49 #define PDM_HPF_OUT_FACTOR_MASK GENMASK(15, 0)
50 #define PDM_HPF_OUT_FACTOR(x) ((x) << 0)
51 #define PDM_CHAN_CTRL 0x1c
55 #define PDM_CHAN_CTRL1 0x20
56 #define PDM_COEFF_ADDR 0x24
57 #define PDM_COEFF_DATA 0x28
58 #define PDM_CLKG_CTRL 0x2c
59 #define PDM_STS 0x30
103 regmap_update_bits(map, PDM_CTRL, PDM_CTRL_RST_FIFO, 0); in axg_pdm_enable()
111 regmap_update_bits(map, PDM_CTRL, PDM_CTRL_EN, 0); in axg_pdm_disable()
116 unsigned int val = enable ? PDM_FILTER_EN : 0; in axg_pdm_filters_enable()
135 return 0; in axg_pdm_trigger()
141 return 0; in axg_pdm_trigger()
159 for (i = 0; i < PDM_LPF_NUM; i++) in axg_pdm_get_os()
197 for (i = 0, val = 0; i < PDM_CHAN_CTRL_NUM; i++) in axg_pdm_set_sample_pointer()
203 return 0; in axg_pdm_set_sample_pointer()
209 unsigned int mask = GENMASK(channels - 1, 0); in axg_pdm_set_channel_mask()
213 PDM_CTRL_CHAN_RSTN_MASK, 0); in axg_pdm_set_channel_mask()
238 val = 0; in axg_pdm_hw_params()
267 return 0; in axg_pdm_hw_params()
350 unsigned int count = 0; in axg_pdm_set_lpf_filters()
353 for (i = 0; i < PDM_LPF_NUM; i++) in axg_pdm_set_lpf_filters()
361 regmap_write(priv->map, PDM_COEFF_ADDR, 0); in axg_pdm_set_lpf_filters()
364 for (i = 0; i < PDM_LPF_NUM; i++) { in axg_pdm_set_lpf_filters()
367 for (j = 0; j < lpf[i].tap_num; j++) in axg_pdm_set_lpf_filters()
371 return 0; in axg_pdm_set_lpf_filters()
405 regmap_update_bits(priv->map, PDM_CTRL, PDM_CTRL_BYPASS_MODE, 0); in axg_pdm_dai_probe()
417 return 0; in axg_pdm_dai_probe()
433 return 0; in axg_pdm_dai_remove()
472 0x000014, 0xffffb2, 0xfffed9, 0xfffdce, 0xfffd45,
473 0xfffe32, 0x000147, 0x000645, 0x000b86, 0x000e21,
474 0x000ae3, 0x000000, 0xffeece, 0xffdca8, 0xffd212,
475 0xffd7d1, 0xfff2a7, 0x001f4c, 0x0050c2, 0x0072aa,
476 0x006ff1, 0x003c32, 0xffdc4e, 0xff6a18, 0xff0fef,
477 0xfefbaf, 0xff4c40, 0x000000, 0x00ebc8, 0x01c077,
478 0x02209e, 0x01c1a4, 0x008e60, 0xfebe52, 0xfcd690,
479 0xfb8fa5, 0xfba498, 0xfd9812, 0x0181ce, 0x06f5f3,
480 0x0d112f, 0x12a958, 0x169686, 0x18000e, 0x169686,
481 0x12a958, 0x0d112f, 0x06f5f3, 0x0181ce, 0xfd9812,
482 0xfba498, 0xfb8fa5, 0xfcd690, 0xfebe52, 0x008e60,
483 0x01c1a4, 0x02209e, 0x01c077, 0x00ebc8, 0x000000,
484 0xff4c40, 0xfefbaf, 0xff0fef, 0xff6a18, 0xffdc4e,
485 0x003c32, 0x006ff1, 0x0072aa, 0x0050c2, 0x001f4c,
486 0xfff2a7, 0xffd7d1, 0xffd212, 0xffdca8, 0xffeece,
487 0x000000, 0x000ae3, 0x000e21, 0x000b86, 0x000645,
488 0x000147, 0xfffe32, 0xfffd45, 0xfffdce, 0xfffed9,
489 0xffffb2, 0x000014,
493 0x00050a, 0xfff004, 0x0002c1, 0x003c12, 0xffa818,
494 0xffc87d, 0x010aef, 0xff5223, 0xfebd93, 0x028f41,
495 0xff5c0e, 0xfc63f8, 0x055f81, 0x000000, 0xf478a0,
496 0x11c5e3, 0x2ea74d, 0x11c5e3, 0xf478a0, 0x000000,
497 0x055f81, 0xfc63f8, 0xff5c0e, 0x028f41, 0xfebd93,
498 0xff5223, 0x010aef, 0xffc87d, 0xffa818, 0x003c12,
499 0x0002c1, 0xfff004, 0x00050a,
503 0x000000, 0x000081, 0x000000, 0xfffedb, 0x000000,
504 0x00022d, 0x000000, 0xfffc46, 0x000000, 0x0005f7,
505 0x000000, 0xfff6eb, 0x000000, 0x000d4e, 0x000000,
506 0xffed1e, 0x000000, 0x001a1c, 0x000000, 0xffdcb0,
507 0x000000, 0x002ede, 0x000000, 0xffc2d1, 0x000000,
508 0x004ebe, 0x000000, 0xff9beb, 0x000000, 0x007dd7,
509 0x000000, 0xff633a, 0x000000, 0x00c1d2, 0x000000,
510 0xff11d5, 0x000000, 0x012368, 0x000000, 0xfe9c45,
511 0x000000, 0x01b252, 0x000000, 0xfdebf6, 0x000000,
512 0x0290b8, 0x000000, 0xfcca0d, 0x000000, 0x041d7c,
513 0x000000, 0xfa8152, 0x000000, 0x07e9c6, 0x000000,
514 0xf28fb5, 0x000000, 0x28b216, 0x3fffde, 0x28b216,
515 0x000000, 0xf28fb5, 0x000000, 0x07e9c6, 0x000000,
516 0xfa8152, 0x000000, 0x041d7c, 0x000000, 0xfcca0d,
517 0x000000, 0x0290b8, 0x000000, 0xfdebf6, 0x000000,
518 0x01b252, 0x000000, 0xfe9c45, 0x000000, 0x012368,
519 0x000000, 0xff11d5, 0x000000, 0x00c1d2, 0x000000,
520 0xff633a, 0x000000, 0x007dd7, 0x000000, 0xff9beb,
521 0x000000, 0x004ebe, 0x000000, 0xffc2d1, 0x000000,
522 0x002ede, 0x000000, 0xffdcb0, 0x000000, 0x001a1c,
523 0x000000, 0xffed1e, 0x000000, 0x000d4e, 0x000000,
524 0xfff6eb, 0x000000, 0x0005f7, 0x000000, 0xfffc46,
525 0x000000, 0x00022d, 0x000000, 0xfffedb, 0x000000,
526 0x000081, 0x000000,
542 .shift = 0x15,
543 .mult = 0x80,
548 .out_factor = 0x8000,
552 [0] = {
560 .round_mode = 0,
603 regs = devm_platform_ioremap_resource(pdev, 0); in axg_pdm_probe()