/linux-6.1.9/tools/gpio/ |
D | gpio-hammer.c | 25 int hammer_device(const char *device_name, unsigned int *lines, int num_lines, in hammer_device() argument 39 ret = gpiotools_request_line(device_name, lines, num_lines, in hammer_device() 48 for (i = 0; i < num_lines; i++) in hammer_device() 56 for (i = 0; i < num_lines; i++) { in hammer_device() 58 if (i != (num_lines - 1)) in hammer_device() 62 for (i = 0; i < num_lines; i++) { in hammer_device() 64 if (i != (num_lines - 1)) in hammer_device() 73 for (i = 0; i < num_lines; i++) in hammer_device() 91 for (i = 0; i < num_lines; i++) { in hammer_device() 94 if (i != (num_lines - 1)) in hammer_device() [all …]
|
D | gpio-event-mon.c | 30 unsigned int num_lines, in monitor_device() argument 51 ret = gpiotools_request_line(device_name, lines, num_lines, config, in monitor_device() 61 for (i = 0; i < num_lines; i++) in monitor_device() 71 if (num_lines == 1) { in monitor_device() 77 for (i = 1; i < num_lines - 1; i++) in monitor_device() 82 for (i = 1; i < num_lines - 1; i++) in monitor_device() 171 unsigned int num_lines = 0; in main() local 188 if (num_lines >= GPIO_V2_LINES_MAX) { in main() 192 lines[num_lines] = strtoul(optarg, NULL, 10); in main() 193 num_lines++; in main() [all …]
|
D | gpio-utils.c | 58 unsigned int num_lines, in gpiotools_request_line() argument 81 for (i = 0; i < num_lines; i++) in gpiotools_request_line() 86 req.num_lines = num_lines; in gpiotools_request_line() 206 unsigned int num_lines, unsigned int *values) in gpiotools_gets() argument 216 ret = gpiotools_request_line(device_name, lines, num_lines, in gpiotools_gets() 222 for (i = 0; i < num_lines; i++) in gpiotools_gets() 226 for (i = 0; i < num_lines; i++) in gpiotools_gets() 264 unsigned int num_lines, unsigned int *values) in gpiotools_sets() argument 273 for (i = 0; i < num_lines; i++) { in gpiotools_sets() 278 ret = gpiotools_request_line(device_name, lines, num_lines, in gpiotools_sets()
|
D | gpio-utils.h | 29 unsigned int num_lines, 38 unsigned int num_lines, unsigned int *values); 42 unsigned int num_lines, unsigned int *values);
|
/linux-6.1.9/drivers/char/ |
D | powernv-op-panel.c | 34 static u32 num_lines, oppanel_size; variable 63 rc = opal_write_oppanel_async(token, oppanel_lines, num_lines); in __op_panel_update_display() 156 rc = of_property_read_u32(np, "#lines", &num_lines); in oppanel_probe() 161 oppanel_size = line_len * num_lines; in oppanel_probe() 164 oppanel_size, num_lines, line_len); in oppanel_probe() 170 oppanel_lines = kcalloc(num_lines, sizeof(oppanel_line_t), GFP_KERNEL); in oppanel_probe() 177 for (i = 0; i < num_lines; i++) { in oppanel_probe()
|
/linux-6.1.9/drivers/gpio/ |
D | gpio-sim.c | 304 unsigned int num_lines = chip->gc.ngpio; in gpio_sim_setup_sysfs() local 311 num_lines + 1, GFP_KERNEL); in gpio_sim_setup_sysfs() 315 for (i = 0; i < num_lines; i++) { in gpio_sim_setup_sysfs() 367 u32 num_lines; in gpio_sim_add_bank() local 370 ret = fwnode_property_read_u32(swnode, "ngpios", &num_lines); in gpio_sim_add_bank() 386 chip->direction_map = devm_bitmap_alloc(dev, num_lines, GFP_KERNEL); in gpio_sim_add_bank() 391 bitmap_fill(chip->direction_map, num_lines); in gpio_sim_add_bank() 393 chip->value_map = devm_bitmap_zalloc(dev, num_lines, GFP_KERNEL); in gpio_sim_add_bank() 397 chip->pull_map = devm_bitmap_zalloc(dev, num_lines, GFP_KERNEL); in gpio_sim_add_bank() 401 chip->irq_sim = devm_irq_domain_create_sim(dev, NULL, num_lines); in gpio_sim_add_bank() [all …]
|
D | gpiolib-cdev.c | 569 u32 num_lines; member 689 le.seqno = (lr->num_lines == 1) ? le.line_seqno : line->req_seqno; in process_hw_ts_thread() 722 if (lr->num_lines != 1) in process_hw_ts() 786 if (lr->num_lines != 1) in edge_irq_thread() 806 le.seqno = (lr->num_lines == 1) ? le.line_seqno : line->req_seqno; in edge_irq_thread() 825 if (lr->num_lines != 1) in edge_irq_handler() 914 le.seqno = (lr->num_lines == 1) ? in debounce_work_func() 921 le.seqno = (lr->num_lines == 1) ? in debounce_work_func() 1191 unsigned int num_lines) in gpio_v2_line_config_validate() argument 1203 for (i = 0; i < num_lines; i++) { in gpio_v2_line_config_validate() [all …]
|
/linux-6.1.9/arch/arc/mm/ |
D | cache.c | 230 int num_lines; in __cache_line_loop_v3() local 251 num_lines = DIV_ROUND_UP(sz, L1_CACHE_BYTES); in __cache_line_loop_v3() 270 while (num_lines-- > 0) { in __cache_line_loop_v3() 290 int num_lines; in __cache_line_loop_v4() local 310 num_lines = DIV_ROUND_UP(sz, L1_CACHE_BYTES); in __cache_line_loop_v4() 328 while (num_lines-- > 0) { in __cache_line_loop_v4() 662 int num_lines; in slc_op_line() local 681 num_lines = DIV_ROUND_UP(sz, l2_line_sz); in slc_op_line() 683 while (num_lines-- > 0) { in slc_op_line()
|
/linux-6.1.9/drivers/media/platform/qcom/camss/ |
D | camss-csid-4-1.c | 184 u32 num_lines, num_bytes_per_line; in csid_configure_stream() local 190 num_lines = input_format->height; in csid_configure_stream() 200 (num_lines & 0x1fff); in csid_configure_stream()
|
D | camss-csid-4-7.c | 213 u32 num_bytes_per_line, num_lines; in csid_configure_stream() local 219 num_lines = input_format->height; in csid_configure_stream() 229 (num_lines & 0x1fff); in csid_configure_stream()
|
/linux-6.1.9/tools/testing/nvdimm/test/ |
D | ndtest.h | 59 u32 num_lines; member
|
/linux-6.1.9/tools/testing/selftests/gpio/ |
D | gpio-sim.sh | 81 echo $NUM_LINES > $CONFIGFS_DIR/$CHIP/$BANK/num_lines || \ 279 echo 8 > $CONFIGFS_DIR/chip/bank/num_lines 2> /dev/null && \
|
D | gpio-mockup-cdev.c | 28 req.num_lines = 1; in request_line_v2()
|
/linux-6.1.9/sound/soc/qcom/qdsp6/ |
D | q6afe-dai.c | 976 int id, i, num_lines; in of_q6afe_parse_dai_data() local 994 num_lines = 0; in of_q6afe_parse_dai_data() 996 num_lines = ret; in of_q6afe_parse_dai_data() 1000 for (i = 0; i < num_lines; i++) in of_q6afe_parse_dai_data()
|
/linux-6.1.9/Documentation/admin-guide/gpio/ |
D | gpio-sim.rst | 42 **Attribute:** ``/config/gpio-sim/gpio-device/gpio-bankX/num_lines`` 46 device name of the bank device. The ``'num_lines'`` attribute allows to specify
|
/linux-6.1.9/include/uapi/drm/ |
D | via_drm.h | 263 __u32 num_lines; member
|
/linux-6.1.9/include/uapi/linux/ |
D | gpio.h | 200 __u32 num_lines; member
|
/linux-6.1.9/drivers/staging/media/deprecated/vpfe_capture/ |
D | isif.h | 356 __u32 num_lines; member
|
D | isif.c | 522 regw(df_csc->num_lines, FMTLNV); in isif_config_csc()
|
/linux-6.1.9/sound/soc/qcom/ |
D | lpass-cpu.c | 1003 int num_lines, i; in of_lpass_cpu_parse_sd_lines() local 1005 num_lines = of_property_read_variable_u32_array(node, name, lines, 0, in of_lpass_cpu_parse_sd_lines() 1007 if (num_lines < 0) in of_lpass_cpu_parse_sd_lines() 1010 for (i = 0; i < num_lines; i++) in of_lpass_cpu_parse_sd_lines()
|
/linux-6.1.9/drivers/gpu/drm/via/ |
D | via_dri1.c | 1559 for (cur_line = 0; cur_line < xfer->num_lines; ++cur_line) { in via_map_blit_for_device() 1671 vsg->num_pages = VIA_PFN(xfer->mem_addr + (xfer->num_lines * xfer->mem_stride - 1)) - in via_lock_all_dma_pages() 2000 if (xfer->num_lines <= 0 || xfer->line_length <= 0) { in via_build_sg_info() 2020 xfer->mem_stride *= xfer->num_lines; in via_build_sg_info() 2023 xfer->num_lines = 1; in via_build_sg_info() 2031 if (xfer->num_lines > 2048 || (xfer->num_lines*xfer->mem_stride > (2048*2048*4))) { in via_build_sg_info() 2055 ((xfer->num_lines > 1) && ((xfer->mem_stride & 3) != (xfer->fb_stride & 3)))) { in via_build_sg_info() 2062 ((xfer->num_lines > 1) && in via_build_sg_info()
|
/linux-6.1.9/drivers/acpi/nfit/ |
D | nfit.h | 295 u32 num_lines; member
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | opal.h | 135 int64_t opal_write_oppanel(oppanel_line_t *lines, uint64_t num_lines); 190 uint64_t num_lines);
|
/linux-6.1.9/drivers/gpu/drm/tidss/ |
D | tidss_dispc.c | 884 u32 hw_videoport, int num_lines) in dispc_set_num_datalines() argument 888 switch (num_lines) { in dispc_set_num_datalines()
|