/linux-6.6.21/sound/firewire/motu/ |
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() 43 spin_lock_init(&parser->lock); in snd_motu_command_dsp_message_parser_new() 44 motu->message_parser = parser; in snd_motu_command_dsp_message_parser_new() 51 struct msg_parser *parser = motu->message_parser; in snd_motu_command_dsp_message_parser_init() local 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() [all …]
|
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() 107 spin_lock_init(&parser->lock); in snd_motu_register_dsp_message_parser_new() 109 parser->meter_pos_quirk = true; in snd_motu_register_dsp_message_parser_new() 110 motu->message_parser = parser; in snd_motu_register_dsp_message_parser_new() 116 struct msg_parser *parser = motu->message_parser; in snd_motu_register_dsp_message_parser_init() local 118 parser->prev_mixer_src_type = INVALID; in snd_motu_register_dsp_message_parser_init() 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() [all …]
|
/linux-6.6.21/drivers/hid/ |
D | hid-core.c | 119 static int open_collection(struct hid_parser *parser, unsigned type) in open_collection() argument 125 usage = parser->local.usage[0]; in open_collection() 127 if (parser->collection_stack_ptr == parser->collection_stack_size) { in open_collection() 129 unsigned int new_size = parser->collection_stack_size + in open_collection() 132 collection_stack = krealloc(parser->collection_stack, in open_collection() 138 parser->collection_stack = collection_stack; in open_collection() 139 parser->collection_stack_size = new_size; in open_collection() 142 if (parser->device->maxcollection == parser->device->collection_size) { in open_collection() 145 parser->device->collection_size, in open_collection() 149 hid_err(parser->device, "failed to reallocate collection array\n"); in open_collection() [all …]
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | radeon_cs.c | 420 static void radeon_cs_parser_fini(struct radeon_cs_parser *parser, int error, bool backoff) in radeon_cs_parser_fini() argument 435 list_sort(NULL, &parser->validated, cmp_size_smaller_first); in radeon_cs_parser_fini() 437 ttm_eu_fence_buffer_objects(&parser->ticket, in radeon_cs_parser_fini() 438 &parser->validated, in radeon_cs_parser_fini() 439 &parser->ib.fence->base); in radeon_cs_parser_fini() 441 ttm_eu_backoff_reservation(&parser->ticket, in radeon_cs_parser_fini() 442 &parser->validated); in radeon_cs_parser_fini() 445 if (parser->relocs != NULL) { in radeon_cs_parser_fini() 446 for (i = 0; i < parser->nrelocs; i++) { in radeon_cs_parser_fini() 447 struct radeon_bo *bo = parser->relocs[i].robj; in radeon_cs_parser_fini() [all …]
|
/linux-6.6.21/drivers/gpu/drm/msm/dp/ |
D | dp_parser.c | 37 static int dp_parser_ctrl_res(struct dp_parser *parser) in dp_parser_ctrl_res() argument 39 struct platform_device *pdev = parser->pdev; in dp_parser_ctrl_res() 40 struct dp_io *io = &parser->io; in dp_parser_ctrl_res() 118 static int dp_parser_misc(struct dp_parser *parser) in dp_parser_misc() argument 120 struct device_node *of_node = parser->pdev->dev.of_node; in dp_parser_misc() 133 parser->max_dp_lanes = cnt; in dp_parser_misc() 135 parser->max_dp_lanes = DP_MAX_NUM_DP_LANES; /* 4 lanes */ in dp_parser_misc() 137 parser->max_dp_link_rate = dp_parser_link_frequencies(of_node); in dp_parser_misc() 138 if (!parser->max_dp_link_rate) in dp_parser_misc() 139 parser->max_dp_link_rate = DP_LINK_RATE_HBR2; in dp_parser_misc() [all …]
|
D | dp_power.c | 16 struct dp_parser *parser; member 32 core = &power->parser->mp[DP_CORE_PM]; in dp_power_clk_init() 33 ctrl = &power->parser->mp[DP_CTRL_PM]; in dp_power_clk_init() 34 stream = &power->parser->mp[DP_STREAM_PM]; in dp_power_clk_init() 111 mp = &power->parser->mp[DP_CORE_PM]; in dp_power_clk_enable() 121 mp = &power->parser->mp[pm_type]; in dp_power_clk_enable() 196 struct dp_power *dp_power_get(struct device *dev, struct dp_parser *parser) in dp_power_get() argument 205 power->parser = parser; in dp_power_get()
|
/linux-6.6.21/tools/net/ynl/ |
D | cli.py | 13 parser = argparse.ArgumentParser(description='YNL CLI sample') 14 parser.add_argument('--spec', dest='spec', type=str, required=True) 15 parser.add_argument('--schema', dest='schema', type=str) 16 parser.add_argument('--no-schema', action='store_true') 17 parser.add_argument('--json', dest='json_text', type=str) 18 parser.add_argument('--do', dest='do', type=str) 19 parser.add_argument('--dump', dest='dump', type=str) 20 parser.add_argument('--sleep', dest='sleep', type=int) 21 parser.add_argument('--subscribe', dest='ntf', type=str) 22 parser.add_argument('--replace', dest='flags', action='append_const', [all …]
|
D | ethtool.py | 123 parser = argparse.ArgumentParser(description='ethtool wannabe') 124 parser.add_argument('--json', action=argparse.BooleanOptionalAction) 125 parser.add_argument('--show-priv-flags', action=argparse.BooleanOptionalAction) 126 parser.add_argument('--set-priv-flags', action=argparse.BooleanOptionalAction) 127 parser.add_argument('--show-eee', action=argparse.BooleanOptionalAction) 128 parser.add_argument('--set-eee', action=argparse.BooleanOptionalAction) 129 parser.add_argument('-a', '--show-pause', action=argparse.BooleanOptionalAction) 130 parser.add_argument('-A', '--set-pause', action=argparse.BooleanOptionalAction) 131 parser.add_argument('-c', '--show-coalesce', action=argparse.BooleanOptionalAction) 132 parser.add_argument('-C', '--set-coalesce', action=argparse.BooleanOptionalAction) [all …]
|
/linux-6.6.21/include/linux/ |
D | of_address.h | 34 #define for_each_of_pci_range(parser, range) \ argument 35 for (; of_pci_range_parser_one(parser, range);) 47 static inline int of_range_count(const struct of_range_parser *parser) in of_range_count() argument 49 if (!parser || !parser->node || !parser->range || parser->range == parser->end) in of_range_count() 51 return (parser->end - parser->range) / (parser->na + parser->pna + parser->ns); in of_range_count() 77 extern int of_pci_range_parser_init(struct of_pci_range_parser *parser, 79 extern int of_pci_dma_range_parser_init(struct of_pci_range_parser *parser, 82 struct of_pci_range_parser *parser, 116 static inline int of_pci_range_parser_init(struct of_pci_range_parser *parser, in of_pci_range_parser_init() argument 122 static inline int of_pci_dma_range_parser_init(struct of_pci_range_parser *parser, in of_pci_dma_range_parser_init() argument [all …]
|
/linux-6.6.21/tools/testing/selftests/tc-testing/ |
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 …]
|
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 …]
|
D | tdc.py | 84 def load_required_plugins(self, reqs, parser, args, remaining): argument 113 parser = self.call_add_args(parser) 114 (args, remaining) = parser.parse_known_args(args=remaining, namespace=args) 148 def call_add_args(self, parser): argument 150 parser = pgn_inst.add_args(parser) 151 return parser 576 parser = argparse.ArgumentParser(description='Linux TC unit tests') 577 return parser 580 def set_args(parser): argument 584 parser.add_argument( [all …]
|
/linux-6.6.21/drivers/of/ |
D | address.c | 292 struct of_range_parser parser; in of_range_to_resource() local 295 ret = of_range_parser_init(&parser, np); in of_range_to_resource() 299 for_each_of_range(&parser, &range) in of_range_to_resource() 796 static int parser_init(struct of_pci_range_parser *parser, in parser_init() argument 801 parser->node = node; in parser_init() 802 parser->pna = of_n_addr_cells(node); in parser_init() 803 parser->na = of_bus_n_addr_cells(node); in parser_init() 804 parser->ns = of_bus_n_size_cells(node); in parser_init() 805 parser->dma = !strcmp(name, "dma-ranges"); in parser_init() 806 parser->bus = of_match_bus(node); in parser_init() [all …]
|
/linux-6.6.21/drivers/mtd/ |
D | mtdpart.c | 516 static int mtd_part_do_parse(struct mtd_part_parser *parser, in mtd_part_do_parse() argument 523 ret = (*parser->parse_fn)(master, &pparts->parts, data); in mtd_part_do_parse() 524 pr_debug("%s: parser %s: %i\n", master->name, parser->name, ret); in mtd_part_do_parse() 529 parser->name, master->name); in mtd_part_do_parse() 532 pparts->parser = parser; in mtd_part_do_parse() 579 struct mtd_part_parser *parser; in mtd_part_of_parse() local 609 parser = mtd_part_get_compatible_parser(compat); in mtd_part_of_parse() 610 if (!parser) in mtd_part_of_parse() 612 ret = mtd_part_do_parse(parser, master, pparts, NULL); in mtd_part_of_parse() 618 mtd_part_parser_put(parser); in mtd_part_of_parse() [all …]
|
/linux-6.6.21/tools/testing/kunit/ |
D | kunit.py | 308 def add_common_opts(parser: argparse.ArgumentParser) -> None: 309 parser.add_argument('--build_dir', 313 parser.add_argument('--make_options', 316 parser.add_argument('--alltests', 319 parser.add_argument('--kunitconfig', 325 parser.add_argument('--kconfig_add', 330 parser.add_argument('--arch', 338 parser.add_argument('--cross_compile', 350 parser.add_argument('--qemu_config', 355 parser.add_argument('--qemu_args', [all …]
|
/linux-6.6.21/sound/firewire/fireface/ |
D | ff-protocol-former.c | 561 struct ff400_msg_parser *parser = ff->msg_parser; in ff400_has_msg() local 563 return (parser->push_pos != parser->pull_pos); in ff400_has_msg() 658 struct ff400_msg_parser *parser = ff->msg_parser; in ff400_handle_msg() local 660 parser->msgs[parser->push_pos].msg = quad; in ff400_handle_msg() 661 parser->msgs[parser->push_pos].tstamp = tstamp; in ff400_handle_msg() 662 ++parser->push_pos; in ff400_handle_msg() 663 if (parser->push_pos >= FF400_QUEUE_SIZE) in ff400_handle_msg() 664 parser->push_pos = 0; in ff400_handle_msg() 684 struct ff400_msg_parser *parser = ff->msg_parser; in ff400_copy_msg_to_user() local 688 if (count < sizeof(ev) || parser->pull_pos == parser->push_pos) in ff400_copy_msg_to_user() [all …]
|
/linux-6.6.21/tools/verification/dot2/ |
D | dot2k | 21 parser = argparse.ArgumentParser(description='transform .dot file into kernel rv monitor') 22 parser.add_argument('-d', "--dot", dest="dot_file", required=True) 23 parser.add_argument('-t', "--monitor_type", dest="monitor_type", required=True) 24 parser.add_argument('-n', "--model_name", dest="model_name", required=False) 25 parser.add_argument("-D", "--description", dest="description", required=False) 26 params = parser.parse_args()
|
/linux-6.6.21/Documentation/networking/ |
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 50 are called by the stream parser (the callbacks are listed below). 56 Temporarily pause a stream parser. Message parsing is suspended 63 Unpause a paused stream parser. 69 strp_stop is called to completely stop stream parser operations. 70 This is called internally when the stream parser encounters an 79 parser instance. This must be called after the stream processor [all …]
|
/linux-6.6.21/tools/cgroup/ |
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-6.6.21/scripts/ |
D | spdxcheck.py | 107 self.parser = yacc.yacc(module = self, write_tables = False, debug = False) 195 self.parser.parse(expr, lexer = self.lexer) 293 parser.set_dirinfo(basedir, dirdepth) 298 parser.excluded += 1 301 parser.parse_lines(fd, args.maxlines, el.path) 353 parser = id_parser(spdx) variable 379 parser.parse_lines(stdin, args.maxlines, '-') 384 parser.parse_lines(open(p, 'rb'), args.maxlines, p) 395 ndirs = len(parser.spdx_dirs) 398 for di in parser.spdx_dirs.values(): [all …]
|
D | generate_rust_analyzer.py | 143 parser = argparse.ArgumentParser() 144 parser.add_argument('--verbose', '-v', action='store_true') 145 parser.add_argument('--cfgs', action='append', default=[]) 146 parser.add_argument("srctree", type=pathlib.Path) 147 parser.add_argument("objtree", type=pathlib.Path) 148 parser.add_argument("sysroot_src", type=pathlib.Path) 149 parser.add_argument("exttree", type=pathlib.Path, nargs="?") 150 args = parser.parse_args()
|
D | bpf_doc.py | 332 def __init__(self, parser): argument 333 self.parser = parser 378 def __init__(self, parser): argument 379 self.parser = parser 442 def __init__(self, parser): argument 443 self.elements = parser.helpers 444 …self.elem_number_check(parser.desc_unique_helpers, parser.define_unique_helpers, 'helper', '___BPF… 623 def __init__(self, parser): argument 624 self.elements = parser.commands 625 self.elem_number_check(parser.desc_syscalls, parser.enum_syscalls, 'syscall', 'bpf_cmd') [all …]
|
/linux-6.6.21/tools/perf/tests/ |
D | attr.py | 155 parser = configparser.ConfigParser() 156 parser.read(path) 163 self.command = parser.get('config', 'command') 164 self.args = parser.get('config', 'args') 167 self.ret = parser.get('config', 'ret') 171 self.test_ret = parser.getboolean('config', 'test_ret', fallback=False) 174 self.arch = parser.get('config', 'arch') 179 self.auxv = parser.get('config', 'auxv', fallback=None) 180 self.kernel_since = parse_version(parser.get('config', 'kernel_since', fallback=None)) 181 self.kernel_until = parse_version(parser.get('config', 'kernel_until', fallback=None)) [all …]
|
/linux-6.6.21/tools/crypto/ccp/ |
D | dbc_cli.py | 41 parser = argparse.ArgumentParser( 44 parser.add_argument( 49 parser.add_argument("--device", default="/dev/dbc", help="Device to operate") 50 parser.add_argument("--signature", help="File containing signature for command") 51 parser.add_argument("--message", choices=messages.keys(), help="Message index") 52 parser.add_argument("--data", help="Argument to pass to message") 53 parser.add_argument("--uid", help="File containing UID to pass") 54 return parser.parse_args()
|
/linux-6.6.21/include/linux/mtd/ |
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);
|