Home
last modified time | relevance | path

Searched refs:parser (Results 1 – 25 of 53) sorted by relevance

123

/device/soc/rockchip/common/sdk_linux/drivers/hid/
Dhid-core.c160 static int open_collection(struct hid_parser *parser, unsigned type) in open_collection() argument
166 usage = parser->local.usage[0]; in open_collection()
168 if (parser->collection_stack_ptr == parser->collection_stack_size) { in open_collection()
170 unsigned int new_size = parser->collection_stack_size + HID_COLLECTION_STACK_SIZE; in open_collection()
172 …collection_stack = krealloc(parser->collection_stack, new_size * sizeof(unsigned int), GFP_KERNEL); in open_collection()
177 parser->collection_stack = collection_stack; in open_collection()
178 parser->collection_stack_size = new_size; in open_collection()
181 if (parser->device->maxcollection == parser->device->collection_size) { in open_collection()
183 …kmalloc(array3_size(sizeof(struct hid_collection), parser->device->collection_size, HID_COLLECTION… in open_collection()
188 …memcpy(collection, parser->device->collection, sizeof(struct hid_collection) * parser->device->col… in open_collection()
[all …]
/device/board/isoftstone/zhiyuan/kernel/build/tools/pack/android/
Dmkbootimg130 def __call__(self, parser, namespace, values, option_string=None): argument
175 parser = ArgumentParser()
176 parser.add_argument('--kernel', help='path to the kernel', type=FileType('rb'),
178 parser.add_argument('--ramdisk', help='path to the ramdisk', type=FileType('rb'))
179 parser.add_argument('--second', help='path to the 2nd bootloader', type=FileType('rb'))
180 parser.add_argument('--dtb', help='path to dtb', type=FileType('rb'))
181 recovery_dtbo_group = parser.add_mutually_exclusive_group()
185 parser.add_argument('--cmdline', help='extra arguments to be passed on the '
187 parser.add_argument('--base', help='base address', type=parse_int, default=0x10000000)
188 parser.add_argument('--kernel_offset', help='kernel offset', type=parse_int, default=0x00008000)
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/
DMakefile10 stream_input-objs += parser/esparser.o
11 stream_input-objs += parser/tsdemux.o
12 stream_input-objs += parser/psparser.o
13 stream_input-objs += parser/rmparser.o
14 stream_input-objs += parser/dvb_common.o
17 obj-$(CONFIG_AMLOGIC_DVB) += parser/hw_demux/
18 obj-$(CONFIG_AMLOGIC_DVB) += parser/demux/
19 obj-$(CONFIG_AMLOGIC_DVB) += parser/dvb_ci/
/device/soc/rockchip/rk3588/kernel/scripts/
Dmkbootimg181 def __call__(self, parser, namespace, values, option_string=None): argument
229 parser = ArgumentParser()
230 parser.add_argument('--kernel', help='path to the kernel', type=FileType('rb'))
231 parser.add_argument('--ramdisk', help='path to the ramdisk', type=FileType('rb'))
232 parser.add_argument('--second', help='path to the 2nd bootloader', type=FileType('rb'))
233 parser.add_argument('--dtb', help='path to dtb', type=FileType('rb'))
234 recovery_dtbo_group = parser.add_mutually_exclusive_group()
240 parser.add_argument('--cmdline', help='extra arguments to be passed on the '
242 parser.add_argument('--vendor_cmdline',
245 parser.add_argument('--base', help='base address', type=parse_int, default=0x10000000)
[all …]
/device/board/hihope/rk3568/audio_drivers/headset_monitor/src/
Danalog_headset_core.c170 static int32_t ReadHookModeConfig(struct DeviceResourceIface *parser, in ReadHookModeConfig() argument
175 if ((pdata == NULL) || (node == NULL) || (parser == NULL)) { in ReadHookModeConfig()
181 ret = parser->GetUint32(node, "hook_gpio", &pdata->hookGpio, 0); in ReadHookModeConfig()
189 ret = parser->GetUint32(node, "adc_controller_no", &pdata->adcConfig.devNum, 0); in ReadHookModeConfig()
194 ret = parser->GetUint32(node, "adc_channel", &pdata->adcConfig.chanNo, 0); in ReadHookModeConfig()
200 ret = parser->GetUint32(node, "hook_down_type", &pdata->hookDownType, 0); in ReadHookModeConfig()
211 static int32_t ReadMicConfig(struct DeviceResourceIface *parser, in ReadMicConfig() argument
218 if ((pdata == NULL) || (parser == NULL) || (node == NULL)) { in ReadMicConfig()
223 ret = parser->GetUint32(node, "mic_switch_gpio", &pdata->hsGpio, 0); in ReadMicConfig()
229 ret = parser->GetUint32(node, "hp_mic_io_value", &pdata->hpMicIoValue, 0); in ReadMicConfig()
[all …]
/device/board/kaihong/khdvk_3566b/kernel/audio/headset_monitor/src/
Danalog_headset_core.c170 static int32_t ReadHookModeConfig(struct DeviceResourceIface *parser, in ReadHookModeConfig() argument
175 if ((pdata == NULL) || (node == NULL) || (parser == NULL)) { in ReadHookModeConfig()
181 ret = parser->GetUint32(node, "hook_gpio", &pdata->hookGpio, 0); in ReadHookModeConfig()
189 ret = parser->GetUint32(node, "adc_controller_no", &pdata->adcConfig.devNum, 0); in ReadHookModeConfig()
194 ret = parser->GetUint32(node, "adc_channel", &pdata->adcConfig.chanNo, 0); in ReadHookModeConfig()
200 ret = parser->GetUint32(node, "hook_down_type", &pdata->hookDownType, 0); in ReadHookModeConfig()
211 static int32_t ReadMicConfig(struct DeviceResourceIface *parser, in ReadMicConfig() argument
218 if ((pdata == NULL) || (parser == NULL) || (node == NULL)) { in ReadMicConfig()
223 ret = parser->GetUint32(node, "mic_switch_gpio", &pdata->hsGpio, 0); in ReadMicConfig()
229 ret = parser->GetUint32(node, "hp_mic_io_value", &pdata->hpMicIoValue, 0); in ReadMicConfig()
[all …]
/device/soc/esp/esp32/components/partition_table/
Dparttool.py236 parser = argparse.ArgumentParser('ESP-IDF Partitions Tool')
238 parser.add_argument('--quiet', '-q', help='suppress stderr messages', action='store_true')
239 parser.add_argument('--esptool-args', help='additional main arguments for esptool', nargs='+')
240parser.add_argument('--esptool-write-args', help='additional subcommand arguments when writing to …
241parser.add_argument('--esptool-read-args', help='additional subcommand arguments when reading flas…
242parser.add_argument('--esptool-erase-args', help='additional subcommand arguments when erasing reg…
246parser.add_argument('--port', '-p', help='port where the target device of the command is connected…
248 parser.add_argument('--baud', '-b', help='baudrate to use', type=int)
250parser.add_argument('--partition-table-offset', '-o', help='offset to read the partition table fro…
251parser.add_argument('--partition-table-file', '-f', help='file (CSV/binary) to read the partition …
[all …]
Dgen_empty_partition.py41parser = argparse.ArgumentParser(description='Generates an empty binary file of the required size.…
42 parser.add_argument('size', help='Size of generated the file', type=str)
44 parser.add_argument('output', help='Path for binary file.', nargs='?', default='-')
45 args = parser.parse_args()
Dgen_esp32part.py453 parser = argparse.ArgumentParser(description='ESP32 partition table utility')
455parser.add_argument('--flash-size', help='Optional flash size limit, checks partition table fits i…
457parser.add_argument('--disable-md5sum', help='Disable md5 checksum for the partition table', defau…
458parser.add_argument('--no-verify', help="Don't verify partition table fields", action='store_true')
459parser.add_argument('--verify', '-v', help='Verify partition table fields (deprecated, this behavi…
461parser.add_argument('--quiet', '-q', help="Don't print non-critical status messages to stderr", ac…
462 parser.add_argument('--offset', '-o', help='Set offset partition table', default='0x8000')
463parser.add_argument('--secure', help='Require app partitions to be suitable for secure boot', acti…
464parser.add_argument('input', help='Path to CSV or binary file to parse.', type=argparse.FileType('…
465parser.add_argument('output', help='Path to output converted binary or CSV file. Will use stdout i…
[all …]
/device/soc/esp/esp32/components/app_update/
Dotatool.py254 parser = argparse.ArgumentParser('ESP-IDF OTA Partitions Tool')
256 parser.add_argument('--quiet', '-q', help='suppress stderr messages', action='store_true')
257 parser.add_argument('--esptool-args', help='additional main arguments for esptool', nargs='+')
258parser.add_argument('--esptool-write-args', help='additional subcommand arguments for esptool writ…
259parser.add_argument('--esptool-read-args', help='additional subcommand arguments for esptool read_…
260parser.add_argument('--esptool-erase-args', help='additional subcommand arguments for esptool eras…
264parser.add_argument('--port', '-p', help='port where the device to read the partition table from i…
266 parser.add_argument('--baud', '-b', help='baudrate to use', type=int)
268parser.add_argument('--partition-table-offset', '-o', help='offset to read the partition table fro…
270parser.add_argument('--partition-table-file', '-f', help='file (CSV/binary) to read the partition …
[all …]
/device/soc/amlogic/a311d/soc/amlogic/media/common/codec_mm/configs/
Dconfigs_test.c23 static struct mconfig_node parser; variable
79 configs_init_new_node(&parser, "parser", CONFIG_FOR_W); in config_test()
80 REG_CONFIGS(&parser, parser_configs); in config_test()
81 configs_register_node(&media, &parser); in config_test()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/common/codec_mm/configs/
Dconfigs_test.c23 static struct mconfig_node parser; variable
106 configs_init_new_node(&parser, "parser", CONFIG_FOR_W); in config_test()
107 REG_CONFIGS(&parser, parser_configs); in config_test()
108 configs_register_node(&media, &parser); in config_test()
/device/soc/esp/esp32/components/efuse/
Defuse_table_gen.py469 parser = argparse.ArgumentParser(description='ESP32 eFuse Manager')
470parser.add_argument('--idf_target', '-t', help='Target chip type', choices=['esp32', 'esp32s2', 'e…
471parser.add_argument('--quiet', '-q', help="Don't print non-critical status messages to stderr", ac…
472parser.add_argument('--debug', help='Create header file with debug info', default=False, action='s…
473parser.add_argument('--info', help='Print info about range of used bits', default=False, action='s…
474 parser.add_argument('--max_blk_len', help='Max number of bits in BLOCKs', type=int, default=256)
475parser.add_argument('common_input', help='Path to common CSV file to parse.', type=argparse.FileTy…
476parser.add_argument('custom_input', help='Path to custom CSV file to parse.', type=argparse.FileTy…
478 args = parser.parse_args()
/device/board/hisilicon/hispark_taurus/camera/pipeline_core/
DBUILD.gn80 "$camera_path/pipeline_core/pipeline_impl/src/parser/config_parser.cpp",
116 "$camera_path/pipeline_core/pipeline_impl/src/parser",
137 # hcs parser
210 "$camera_path/pipeline_core/pipeline_impl/src/parser/config_parser.cpp",
245 "$camera_path/pipeline_core/pipeline_impl/src/parser",
261 # hcs parser
/device/board/isoftstone/yangfan/kernel/hdf/drivers/camera/pipeline_core/
DBUILD.gn70 "$camera_path/pipeline_core/pipeline_impl/src/parser/config_parser.cpp",
108 "$camera_path/pipeline_core/pipeline_impl/src/parser",
127 # hcs parser
141 # hcs parser
/device/board/osware/imx8mm/drivers/camera/pipeline_core/
DBUILD.gn73 "$camera_path/pipeline_core/pipeline_impl/src/parser/config_parser.cpp",
109 "$camera_path/pipeline_core/pipeline_impl/src/parser",
124 # hcs parser
/device/board/hihope/rk3568/camera/vdi_impl/v4l2/pipeline_core/
DBUILD.gn72 "$camera_path/pipeline_core/pipeline_impl/src/parser/config_parser.cpp",
111 "$camera_path/pipeline_core/pipeline_impl/src/parser",
129 # hcs parser
/device/board/isoftstone/zhiyuan/kernel/hdf/driver/camera/pipeline_core/
DBUILD.gn69 "$camera_path/pipeline_core/pipeline_impl/src/parser/config_parser.cpp",
107 "$camera_path/pipeline_core/pipeline_impl/src/parser",
128 # hcs parser
/device/board/kaihong/khdvk_3566b/camera/pipeline_core/
DBUILD.gn70 "$camera_path/pipeline_core/pipeline_impl/src/parser/config_parser.cpp",
109 "$camera_path/pipeline_core/pipeline_impl/src/parser",
127 # hcs parser
/device/board/hihope/dayu210/camera/vdi_impl/v4l2/pipeline_core/
DBUILD.gn76 "$camera_path/pipeline_core/pipeline_impl/src/parser/config_parser.cpp",
115 "$camera_path/pipeline_core/pipeline_impl/src/parser",
134 # hcs parser
/device/board/unionman/unionpi_tiger/hardware/camera/pipeline_core/
DBUILD.gn70 "$camera_path/pipeline_core/pipeline_impl/src/parser/config_parser.cpp",
107 "$camera_path/pipeline_core/pipeline_impl/src/parser",
123 # hcs parser
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/
Dtop_reg.h80 unsigned int parser, unsigned int ch);
Dtop_reg.c243 unsigned int parser, unsigned int ch) in csic_dma_input_select() argument
247 dma_input[dma][parser][ch]); in csic_dma_input_select()
/device/board/hihope/rk3568/camera/vdi_impl/v4l2/pipeline_core/test/unittest/
DBUILD.gn74 "$camera_path/pipeline_core/pipeline_impl/src/parser",
/device/board/kaihong/khdvk_3566b/camera/pipeline_core/test/unittest/
DBUILD.gn74 "$camera_path/pipeline_core/pipeline_impl/src/parser",

123