/linux/sound/firewire/motu/ |
A D | motu-command-dsp-message-parser.c | 38 struct msg_parser *parser; in snd_motu_command_dsp_message_parser_new() local 40 parser = devm_kzalloc(&motu->card->card_dev, sizeof(*parser), GFP_KERNEL); in snd_motu_command_dsp_message_parser_new() 41 if (!parser) in snd_motu_command_dsp_message_parser_new() 53 parser->state = INITIALIZED; in snd_motu_command_dsp_message_parser_init() 59 parser->interval = 4; in snd_motu_command_dsp_message_parser_init() 63 parser->interval = 2; in snd_motu_command_dsp_message_parser_init() 69 parser->interval = 1; in snd_motu_command_dsp_message_parser_init() 103 switch (parser->state) { in snd_motu_command_dsp_message_parser_parse() 120 parser->value >>= 8; in snd_motu_command_dsp_message_parser_parse() 139 parser->value >>= 8; in snd_motu_command_dsp_message_parser_parse() [all …]
|
A D | motu-register-dsp-message-parser.c | 103 struct msg_parser *parser; in snd_motu_register_dsp_message_parser_new() local 104 parser = devm_kzalloc(&motu->card->card_dev, sizeof(*parser), GFP_KERNEL); in snd_motu_register_dsp_message_parser_new() 105 if (!parser) in snd_motu_register_dsp_message_parser_new() 119 parser->mixer_ch = 0xff; in snd_motu_register_dsp_message_parser_init() 120 parser->mixer_src_ch = 0xff; in snd_motu_register_dsp_message_parser_init() 142 parser->push_pos = pos; in queue_event() 174 parser->mixer_src_ch = 0; in snd_motu_register_dsp_message_parser_parse() 393 if (parser->pull_pos > parser->push_pos) in snd_motu_register_dsp_message_parser_count_event() 394 return EVENT_QUEUE_SIZE - parser->pull_pos + parser->push_pos; in snd_motu_register_dsp_message_parser_count_event() 396 return parser->push_pos - parser->pull_pos; in snd_motu_register_dsp_message_parser_count_event() [all …]
|
/linux/tools/perf/pmu-events/ |
A D | jsmn.c | 67 start = parser->pos; in jsmn_parse_primitive() 69 for (; parser->pos < len; parser->pos++) { in jsmn_parse_primitive() 89 if (js[parser->pos] < 32 || js[parser->pos] >= 127) { in jsmn_parse_primitive() 99 parser->pos = start; in jsmn_parse_primitive() 125 parser->pos++; in jsmn_parse_string() 127 for (; parser->pos < len; parser->pos++) { in jsmn_parse_string() 138 parser->pos); in jsmn_parse_string() 144 parser->pos++; in jsmn_parse_string() 189 for (; parser->pos < len; parser->pos++) { in jsmn_parse() 208 parser->toksuper = parser->toknext - 1; in jsmn_parse() [all …]
|
/linux/drivers/hid/ |
A D | hid-core.c | 165 parser->collection_stack[parser->collection_stack_ptr++] = in open_collection() 236 parser->local.usage[parser->local.usage_index] = usage; in hid_add_usage() 243 complete_usage(parser, parser->local.usage_index); in hid_add_usage() 245 parser->local.usage_size[parser->local.usage_index] = size; in hid_add_usage() 246 parser->local.collection_index[parser->local.usage_index] = in hid_add_usage() 378 memcpy(parser->global_stack + parser->global_stack_ptr++, in hid_parser_global() 389 memcpy(&parser->global, parser->global_stack + in hid_parser_global() 846 hid_scan_input_usage(parser, parser->local.usage[i]); in hid_scan_main() 852 hid_scan_feature_usage(parser, parser->local.usage[i]); in hid_scan_main() 857 memset(&parser->local, 0, sizeof(parser->local)); in hid_scan_main() [all …]
|
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_cs.c | 450 kfree(parser->track); in radeon_cs_parser_fini() 457 radeon_ib_free(parser->rdev, &parser->ib); in radeon_cs_parser_fini() 458 radeon_ib_free(parser->rdev, &parser->const_ib); in radeon_cs_parser_fini() 472 r = radeon_cs_parse(rdev, parser->ring, parser); in radeon_cs_ib_chunk() 556 r = radeon_ring_ib_parse(rdev, parser->ring, &parser->const_ib); in radeon_cs_ib_vm_chunk() 562 r = radeon_ring_ib_parse(rdev, parser->ring, &parser->ib); in radeon_cs_ib_vm_chunk() 585 r = radeon_ib_schedule(rdev, &parser->ib, &parser->const_ib, true); in radeon_cs_ib_vm_chunk() 625 r = radeon_ib_get(rdev, parser->ring, &parser->const_ib, in radeon_cs_ib_fill() 647 r = radeon_ib_get(rdev, parser->ring, &parser->ib, in radeon_cs_ib_fill() 681 parser.filp = filp; in radeon_cs_ioctl() [all …]
|
/linux/drivers/gpu/drm/msm/dp/ |
A D | dp_parser.c | 48 struct dp_io *io = &parser->io; in dp_parser_ctrl_res() 116 parser->max_dp_lanes = len; in dp_parser_misc() 293 if (!parser) { in dp_parser_parse() 298 rc = dp_parser_ctrl_res(parser); in dp_parser_parse() 302 rc = dp_parser_misc(parser); in dp_parser_parse() 306 rc = dp_parser_clock(parser); in dp_parser_parse() 327 struct dp_parser *parser; in dp_parser_get() local 329 parser = devm_kzalloc(&pdev->dev, sizeof(*parser), GFP_KERNEL); in dp_parser_get() 330 if (!parser) in dp_parser_get() 334 parser->pdev = pdev; in dp_parser_get() [all …]
|
A D | dp_power.c | 16 struct dp_parser *parser; member 31 int num = power->parser->regulator_cfg->num; in dp_power_regulator_disable() 47 int num = power->parser->regulator_cfg->num; in dp_power_regulator_enable() 104 core = &power->parser->mp[DP_CORE_PM]; in dp_power_clk_init() 105 ctrl = &power->parser->mp[DP_CTRL_PM]; in dp_power_clk_init() 106 stream = &power->parser->mp[DP_STREAM_PM]; in dp_power_clk_init() 138 core = &power->parser->mp[DP_CORE_PM]; in dp_power_clk_deinit() 139 ctrl = &power->parser->mp[DP_CTRL_PM]; in dp_power_clk_deinit() 395 if (!parser) { in dp_power_get() 404 power->parser = parser; in dp_power_get() [all …]
|
/linux/drivers/of/ |
A D | address.c | 678 parser->node = node; in parser_init() 689 parser->end = parser->range + rlen / sizeof(__be32); in parser_init() 712 int na = parser->na; in of_pci_range_parser_one() 720 if (!parser->range || parser->range + np > parser->end) in of_pci_range_parser_one() 723 range->flags = parser->bus->get_flags(parser->range); in of_pci_range_parser_one() 731 if (parser->dma) in of_pci_range_parser_one() 737 range->size = of_read_number(parser->range + parser->pna + na, ns); in of_pci_range_parser_one() 742 while (parser->range + np <= parser->end) { in of_pci_range_parser_one() 746 flags = parser->bus->get_flags(parser->range); in of_pci_range_parser_one() 748 if (parser->dma) in of_pci_range_parser_one() [all …]
|
/linux/scripts/kconfig/ |
A D | .parser.tab.o.cmd | 1 …parser.tab.o := gcc -Wp,-MMD,scripts/kconfig/.parser.tab.o.d -Wall -Wmissing-prototypes -Wstrict-p… 3 source_scripts/kconfig/parser.tab.o := scripts/kconfig/parser.tab.c 5 deps_scripts/kconfig/parser.tab.o := \ 12 scripts/kconfig/parser.tab.h \ 14 scripts/kconfig/parser.tab.o: $(deps_scripts/kconfig/parser.tab.o) 16 $(deps_scripts/kconfig/parser.tab.o):
|
A D | .parser.tab.h.cmd | 1 …scripts/kconfig/parser.tab.h := bison -o scripts/kconfig/parser.tab.c --defines=scripts/kconfig/pa…
|
/linux/tools/testing/selftests/tc-testing/ |
A D | tdc_multibatch.py | 13 parser = argparse.ArgumentParser( variable 15 parser.add_argument("device", help="device name") 16 parser.add_argument("dir", help="where to put batch files") 17 parser.add_argument( 19 parser.add_argument("num_files", type=int, help="how many batch files") 20 parser.add_argument( 24 parser.add_argument( 29 parser.add_argument( 34 parser.add_argument( 40 parser.add_argument( [all …]
|
A D | tdc_batch.py | 11 parser = argparse.ArgumentParser(description='TC batch file generator') variable 12 parser.add_argument("device", help="device name") 13 parser.add_argument("file", help="batch file name") 14 parser.add_argument("-n", "--number", type=int, 16 parser.add_argument( 22 parser.add_argument("-o", "--skip_sw", 25 parser.add_argument("-s", "--share_action", 28 parser.add_argument("-p", "--prio", 31 parser.add_argument( 38 parser.add_argument( [all …]
|
A D | tdc.py | 113 parser = self.call_add_args(parser) 150 parser = pgn_inst.add_args(parser) 151 return parser 453 return parser 456 def set_args(parser): argument 460 parser.add_argument( 464 parser.add_argument( 496 parser.add_argument( 510 return parser 763 parser = set_args(parser) [all …]
|
/linux/scripts/dtc/ |
A D | .dtc-parser.tab.o.cmd | 1 …parser.tab.o := gcc -Wp,-MMD,scripts/dtc/.dtc-parser.tab.o.d -Wall -Wmissing-prototypes -Wstrict-p… 3 source_scripts/dtc/dtc-parser.tab.o := scripts/dtc/dtc-parser.tab.c 5 deps_scripts/dtc/dtc-parser.tab.o := \ 11 scripts/dtc/dtc-parser.tab.h \ 13 scripts/dtc/dtc-parser.tab.o: $(deps_scripts/dtc/dtc-parser.tab.o) 15 $(deps_scripts/dtc/dtc-parser.tab.o):
|
A D | .dtc-parser.tab.h.cmd | 1 …scripts/dtc/dtc-parser.tab.h := bison -o scripts/dtc/dtc-parser.tab.c --defines=scripts/dtc/dtc-pa…
|
/linux/drivers/mtd/ |
A D | mtdpart.c | 530 pparts->parser = parser; in mtd_part_do_parse() 592 if (!parser) in mtd_part_of_parse() 599 mtd_part_parser_put(parser); in mtd_part_of_parse() 614 if (parser) { in mtd_part_of_parse() 618 mtd_part_parser_put(parser); in mtd_part_of_parse() 670 parser ? parser->name : NULL); in parse_mtd_partitions() 671 if (!parser) in parse_mtd_partitions() 701 parser = parts->parser; in mtd_part_parser_cleanup() 702 if (parser) { in mtd_part_parser_cleanup() 703 if (parser->cleanup) in mtd_part_parser_cleanup() [all …]
|
/linux/tools/testing/kunit/ |
A D | kunit.py | 268 parser.add_argument('--build_dir', 275 parser.add_argument('--alltests', 284 parser.add_argument('--arch', 309 def add_build_opts(parser) -> None: argument 310 parser.add_argument('--jobs', 315 def add_exec_opts(parser) -> None: argument 316 parser.add_argument('--timeout', 323 parser.add_argument('filter_glob', 344 parser.add_argument('--json', 352 parser = argparse.ArgumentParser( [all …]
|
/linux/Documentation/networking/ |
A D | strparser.rst | 10 The stream parser (strparser) is a utility that parses messages of an 12 parser works in conjunction with an upper layer in the kernel to provide 46 Called to initialize a stream parser. strp is a struct of type 48 socket associated with the stream parser for use with receive 63 Unpause a paused stream parser. 70 This is called internally when the stream parser encounters an 88 strp_process is called in general mode for a stream parser to 92 parser will parse. timeo is timeout for completing a message. 109 This is normally called at initialization of a stream parser 210 accumulating statistics for multiple stream parser instances. [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_cs.c | 699 kfree(parser->post_deps); in amdgpu_cs_parser_fini() 703 if (parser->ctx) { in amdgpu_cs_parser_fini() 707 if (parser->bo_list) in amdgpu_cs_parser_fini() 712 kvfree(parser->chunks); in amdgpu_cs_parser_fini() 713 if (parser->job) in amdgpu_cs_parser_fini() 880 for (i = 0, j = 0; i < parser->nchunks && j < parser->job->num_ibs; i++) { in amdgpu_cs_ib_fill() 917 if (parser->entity && parser->entity != entity) in amdgpu_cs_ib_fill() 925 parser->entity = entity; in amdgpu_cs_ib_fill() 948 return amdgpu_ctx_wait_prev_fence(parser->ctx, parser->entity); in amdgpu_cs_ib_fill() 1329 parser.adev = adev; in amdgpu_cs_ioctl() [all …]
|
/linux/tools/cgroup/ |
A D | iocost_coef_gen.py | 32 parser = argparse.ArgumentParser(description=desc, variable 34 parser.add_argument('--testdev', metavar='DEV', 36 parser.add_argument('--testfile-size-gb', type=float, metavar='GIGABYTES', default=16, 38 parser.add_argument('--duration', type=int, metavar='SECONDS', default=120, 40 parser.add_argument('--seqio-block-mb', metavar='MEGABYTES', type=int, default=128, 42 parser.add_argument('--seq-depth', type=int, metavar='DEPTH', default=64, 44 parser.add_argument('--rand-depth', type=int, metavar='DEPTH', default=64, 46 parser.add_argument('--numjobs', type=int, metavar='JOBS', default=1, 48 parser.add_argument('--quiet', action='store_true') 49 parser.add_argument('--verbose', action='store_true') [all …]
|
/linux/include/linux/ |
A D | of_address.h | 34 #define for_each_of_pci_range(parser, range) \ argument 35 for (; of_pci_range_parser_one(parser, range);) 57 extern int of_pci_range_parser_init(struct of_pci_range_parser *parser, 59 extern int of_pci_dma_range_parser_init(struct of_pci_range_parser *parser, 62 struct of_pci_range_parser *parser, 89 static inline int of_pci_range_parser_init(struct of_pci_range_parser *parser, in of_pci_range_parser_init() argument 95 static inline int of_pci_dma_range_parser_init(struct of_pci_range_parser *parser, in of_pci_dma_range_parser_init() argument 102 struct of_pci_range_parser *parser, in of_pci_range_parser_one() argument
|
/linux/tools/perf/tests/ |
A D | attr.py | 142 parser = configparser.SafeConfigParser() 143 parser.read(path) 151 self.args = parser.get('config', 'args') 154 self.ret = parser.get('config', 'ret') 159 self.arch = parser.get('config', 'arch') 362 parser = optparse.OptionParser(usage=USAGE) 364 parser.add_option("-t", "--test", 366 parser.add_option("-d", "--test-dir", 368 parser.add_option("-p", "--perf", 370 parser.add_option("-v", "--verbose", [all …]
|
/linux/include/linux/mtd/ |
A D | partitions.h | 92 const struct mtd_part_parser *parser; member 95 extern int __register_mtd_parser(struct mtd_part_parser *parser, 97 #define register_mtd_parser(parser) __register_mtd_parser(parser, THIS_MODULE) argument 99 extern void deregister_mtd_parser(struct mtd_part_parser *parser);
|
/linux/scripts/ |
A D | bpf_doc.py | 219 def __init__(self, parser): argument 220 self.parser = parser 246 def __init__(self, parser): argument 247 self.parser = parser 306 def __init__(self, parser): argument 307 self.elements = parser.helpers 479 def __init__(self, parser): argument 480 self.elements = parser.commands 510 def __init__(self, parser): argument 511 self.elements = parser.helpers
|
/linux/scripts/clang-tools/ |
A D | gen_compile_commands.py | 39 parser = argparse.ArgumentParser(description=usage) 43 parser.add_argument('-d', '--directory', type=str, default='.', 48 parser.add_argument('-o', '--output', type=str, default=_DEFAULT_OUTPUT, 53 parser.add_argument('--log_level', choices=_VALID_LOG_LEVELS, 57 parser.add_argument('-a', '--ar', type=str, default='llvm-ar', help=ar_help) 62 parser.add_argument('paths', type=str, nargs='*', help=paths_help) 64 args = parser.parse_args()
|