Lines Matching refs:php

34 typedef void (*dw_extractor)(const struct jesd216_param_header *php,
51 static void summarize_dw1(const struct jesd216_param_header *php, in summarize_dw1() argument
84 int rc = jesd216_bfp_read_support(php, bfp, in summarize_dw1()
98 static void summarize_dw2(const struct jesd216_param_header *php, in summarize_dw2() argument
104 static void summarize_dw89(const struct jesd216_param_header *php, in summarize_dw89() argument
113 typ_max_mul = jesd216_bfp_erase_type_times(php, bfp, in summarize_dw89()
127 static void summarize_dw11(const struct jesd216_param_header *php, in summarize_dw11() argument
132 if (jesd216_bfp_decode_dw11(php, bfp, &dw11) != 0) { in summarize_dw11()
151 static void summarize_dw12(const struct jesd216_param_header *php, in summarize_dw12() argument
176 static void summarize_dw14(const struct jesd216_param_header *php, in summarize_dw14() argument
181 if (jesd216_bfp_decode_dw14(php, bfp, &dw14) != 0) { in summarize_dw14()
189 static void summarize_dw15(const struct jesd216_param_header *php, in summarize_dw15() argument
194 if (jesd216_bfp_decode_dw15(php, bfp, &dw15) != 0) { in summarize_dw15()
210 static void summarize_dw16(const struct jesd216_param_header *php, in summarize_dw16() argument
215 if (jesd216_bfp_decode_dw16(php, bfp, &dw16) != 0) { in summarize_dw16()
244 static void dump_bfp(const struct jesd216_param_header *php, in dump_bfp() argument
248 uint8_t limit = MIN(1U + php->len_dw, ARRAY_SIZE(extractor)); in dump_bfp()
255 ext(php, bfp); in dump_bfp()
261 static void dump_bytes(const struct jesd216_param_header *php, in dump_bytes() argument
268 while (nw < php->len_dw) { in dump_bytes()
272 bool emit_nl = (nw == php->len_dw) || ((nw % 4) == 0); in dump_bytes()
318 const struct jesd216_param_header *php = hp->phdr; in main() local
319 const struct jesd216_param_header *phpe = php + MIN(decl_nph, 1 + hp->nph); in main()
321 while (php != phpe) { in main()
322 uint16_t id = jesd216_param_id(php); in main()
323 uint32_t addr = jesd216_param_addr(php); in main()
326 (uint32_t)(php - hp->phdr), id, php->rev_major, php->rev_minor, in main()
327 php->len_dw, addr); in main()
329 uint32_t dw[php->len_dw]; in main()
340 dump_bfp(php, bfp); in main()
347 dump_bytes(php, dw); in main()
349 ++php; in main()