/kernel/linux/linux-5.10/tools/gpio/ |
H A 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 in hammer_device() 132 int num_lines; main() local [all...] |
H A D | gpio-event-mon.c | 30 unsigned int num_lines, in monitor_device() 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() 169 unsigned int num_lines = 0; in main() local 186 if (num_lines >= GPIO_V2_LINES_MAX) { in main() 190 lines[num_lines] = strtoul(optarg, NULL, 10); in main() 191 num_lines in main() 28 monitor_device(const char *device_name, unsigned int *lines, unsigned int num_lines, struct gpio_v2_line_config *config, unsigned int loops) monitor_device() argument [all...] |
H A D | gpio-utils.c | 41 * @num_lines: The number of lines to request. 59 unsigned int num_lines, unsigned int flag, in gpiotools_request_linehandle() 81 for (i = 0; i < num_lines; i++) in gpiotools_request_linehandle() 86 req.lines = num_lines; in gpiotools_request_linehandle() 110 * @num_lines: The number of lines to request. 126 unsigned int num_lines, in gpiotools_request_line() 149 for (i = 0; i < num_lines; i++) in gpiotools_request_line() 154 req.num_lines = num_lines; in gpiotools_request_line() 288 * @num_lines 58 gpiotools_request_linehandle(const char *device_name, unsigned int *lines, unsigned int num_lines, unsigned int flag, struct gpiohandle_data *data, const char *consumer_label) gpiotools_request_linehandle() argument 125 gpiotools_request_line(const char *device_name, unsigned int *lines, unsigned int num_lines, struct gpio_v2_line_config *config, const char *consumer) gpiotools_request_line() argument 294 gpiotools_gets(const char *device_name, unsigned int *lines, unsigned int num_lines, unsigned int *values) gpiotools_gets() argument 352 gpiotools_sets(const char *device_name, unsigned int *lines, unsigned int num_lines, unsigned int *values) gpiotools_sets() argument [all...] |
H A D | gpio-utils.h | 28 unsigned int num_lines, unsigned int flag, 35 unsigned int num_lines, 44 unsigned int num_lines, unsigned int *values); 48 unsigned int num_lines, unsigned int *values);
|
/kernel/linux/linux-6.6/tools/gpio/ |
H A 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 in hammer_device() 132 int num_lines; main() local [all...] |
H A D | gpio-event-mon.c | 30 unsigned int num_lines, in monitor_device() 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() 28 monitor_device(const char *device_name, unsigned int *lines, unsigned int num_lines, struct gpio_v2_line_config *config, unsigned int loops) monitor_device() argument [all...] |
H A D | gpio-utils.c | 42 * @num_lines: The number of lines to request. 58 unsigned int num_lines, in gpiotools_request_line() 81 for (i = 0; i < num_lines; i++) in gpiotools_request_line() 86 req.num_lines = num_lines; in gpiotools_request_line() 199 * @num_lines: The number of lines to request. 206 unsigned int num_lines, unsigned int *values) in gpiotools_gets() 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; in gpiotools_gets() 57 gpiotools_request_line(const char *device_name, unsigned int *lines, unsigned int num_lines, struct gpio_v2_line_config *config, const char *consumer) gpiotools_request_line() argument 205 gpiotools_gets(const char *device_name, unsigned int *lines, unsigned int num_lines, unsigned int *values) gpiotools_gets() argument 263 gpiotools_sets(const char *device_name, unsigned int *lines, unsigned int num_lines, unsigned int *values) gpiotools_sets() argument [all...] |
H A 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);
|
/kernel/linux/linux-5.10/drivers/char/ |
H A 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() 155 rc = of_property_read_u32(np, "#lines", &num_lines); in oppanel_probe() 160 oppanel_size = line_len * num_lines; in oppanel_probe() 163 oppanel_size, num_lines, line_len); in oppanel_probe() 169 oppanel_lines = kcalloc(num_lines, sizeof(oppanel_line_t), GFP_KERNEL); in oppanel_probe() 176 for (i = 0; i < num_lines; i++) { in oppanel_probe()
|
/kernel/linux/linux-6.6/drivers/char/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/gpio/ |
H A D | gpio-sim.c | 306 unsigned int num_lines = chip->gc.ngpio; in gpio_sim_setup_sysfs() local 313 num_lines + 1, GFP_KERNEL); in gpio_sim_setup_sysfs() 317 for (i = 0; i < num_lines; i++) { in gpio_sim_setup_sysfs() 369 u32 num_lines; in gpio_sim_add_bank() local 372 ret = fwnode_property_read_u32(swnode, "ngpios", &num_lines); in gpio_sim_add_bank() 376 if (num_lines > GPIO_SIM_NGPIO_MAX) in gpio_sim_add_bank() 391 chip->direction_map = devm_bitmap_alloc(dev, num_lines, GFP_KERNEL); in gpio_sim_add_bank() 396 bitmap_fill(chip->direction_map, num_lines); in gpio_sim_add_bank() 398 chip->value_map = devm_bitmap_zalloc(dev, num_lines, GFP_KERNEL); in gpio_sim_add_bank() 402 chip->pull_map = devm_bitmap_zalloc(dev, num_lines, GFP_KERNE in gpio_sim_add_bank() 569 unsigned int num_lines; global() member 1077 unsigned int num_lines; gpio_sim_bank_config_num_lines_store() local [all...] |
H A D | gpiolib-cdev.c | 553 * @num_lines: the number of lines in the lines array 559 * this line request. Note that this is not used when @num_lines is 1, as 563 * @lines: the lines held by this line request, with @num_lines elements. 568 u32 num_lines; member 700 le.seqno = (lr->num_lines == 1) ? le.line_seqno : line->req_seqno; in process_hw_ts_thread() 733 if (lr->num_lines != 1) in process_hw_ts() 797 if (lr->num_lines != 1) in edge_irq_thread() 817 le.seqno = (lr->num_lines == 1) ? le.line_seqno : line->req_seqno; in edge_irq_thread() 836 if (lr->num_lines != 1) in edge_irq_handler() 925 le.seqno = (lr->num_lines in debounce_work_func() 1201 gpio_v2_line_config_validate(struct gpio_v2_line_config *lc, unsigned int num_lines) gpio_v2_line_config_validate() argument [all...] |
/kernel/linux/linux-5.10/arch/arc/mm/ |
H A D | cache.c | 254 int num_lines; in __cache_line_loop_v2() local 264 * and have @paddr - aligned to cache line and integral @num_lines. in __cache_line_loop_v2() 275 num_lines = DIV_ROUND_UP(sz, L1_CACHE_BYTES); in __cache_line_loop_v2() 280 while (num_lines-- > 0) { in __cache_line_loop_v2() 299 int num_lines; in __cache_line_loop_v3() local 310 * and have @paddr - aligned to cache line and integral @num_lines. in __cache_line_loop_v3() 320 num_lines = DIV_ROUND_UP(sz, L1_CACHE_BYTES); in __cache_line_loop_v3() 339 while (num_lines-- > 0) { in __cache_line_loop_v3() 370 int num_lines; in __cache_line_loop_v4() local 380 * and have @paddr - aligned to cache line and integral @num_lines in __cache_line_loop_v4() 744 int num_lines; slc_op_line() local [all...] |
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpiolib-cdev.c | 470 * @num_lines: the number of lines in the lines array 475 * this line request. Note that this is not used when @num_lines is 1, as 479 * @lines: the lines held by this line request, with @num_lines elements. 484 u32 num_lines; member 553 if (lr->num_lines != 1) in edge_irq_thread() 579 le.seqno = (lr->num_lines == 1) ? le.line_seqno : line->req_seqno; in edge_irq_thread() 598 if (lr->num_lines != 1) in edge_irq_handler() 673 le.seqno = (lr->num_lines == 1) ? in debounce_work_func() 922 unsigned int num_lines) in gpio_v2_line_config_validate() 934 for (i = 0; i < num_lines; in gpio_v2_line_config_validate() 921 gpio_v2_line_config_validate(struct gpio_v2_line_config *lc, unsigned int num_lines) gpio_v2_line_config_validate() argument [all...] |
H A D | gpio-mockup.c | 493 unsigned int num_lines) in gpio_mockup_make_line_names() 498 names = kcalloc(num_lines + 1, sizeof(char *), GFP_KERNEL); in gpio_mockup_make_line_names() 502 for (i = 0; i < num_lines; i++) { in gpio_mockup_make_line_names() 492 gpio_mockup_make_line_names(const char *label, unsigned int num_lines) gpio_mockup_make_line_names() argument
|
/kernel/linux/linux-6.6/arch/arc/mm/ |
H A D | cache.c | 193 int num_lines; in __cache_line_loop_v3() local 204 * and have @paddr - aligned to cache line and integral @num_lines. in __cache_line_loop_v3() 214 num_lines = DIV_ROUND_UP(sz, L1_CACHE_BYTES); in __cache_line_loop_v3() 233 while (num_lines-- > 0) { in __cache_line_loop_v3() 253 int num_lines; in __cache_line_loop_v4() local 263 * and have @paddr - aligned to cache line and integral @num_lines. in __cache_line_loop_v4() 273 num_lines = DIV_ROUND_UP(sz, L1_CACHE_BYTES); in __cache_line_loop_v4() 291 while (num_lines-- > 0) { in __cache_line_loop_v4() 625 int num_lines; in slc_op_line() local 644 num_lines in slc_op_line() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/via/ |
H A D | via_dmablit.c | 120 for (cur_line = 0; cur_line < xfer->num_lines; ++cur_line) { in via_map_blit_for_device() 236 vsg->num_pages = VIA_PFN(xfer->mem_addr + (xfer->num_lines * xfer->mem_stride - 1)) - in via_lock_all_dma_pages() 584 if (xfer->num_lines <= 0 || xfer->line_length <= 0) { in via_build_sg_info() 604 xfer->mem_stride *= xfer->num_lines; in via_build_sg_info() 607 xfer->num_lines = 1; in via_build_sg_info() 615 if (xfer->num_lines > 2048 || (xfer->num_lines*xfer->mem_stride > (2048*2048*4))) { in via_build_sg_info() 639 ((xfer->num_lines > 1) && ((xfer->mem_stride & 3) != (xfer->fb_stride & 3)))) { in via_build_sg_info() 646 ((xfer->num_lines > 1) && in via_build_sg_info()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | dcn314_fpu.c | 286 unsigned int num_lines = 0; in micro_sec_to_vert_lines() local 291 num_lines = dml_ceil(1000.0 * num_us / lines_time_in_ns, 1.0); in micro_sec_to_vert_lines() 293 return num_lines; in micro_sec_to_vert_lines() 323 unsigned int num_lines = 0; in dcn314_populate_dml_pipes_from_context_fpu() local 331 num_lines = micro_sec_to_vert_lines(dcn3_14_ip.VBlankNomDefaultUS, timing); in dcn314_populate_dml_pipes_from_context_fpu() 341 pipes[pipe_cnt].pipe.dest.vblank_nom = min(pipes[pipe_cnt].pipe.dest.vblank_nom, num_lines); in dcn314_populate_dml_pipes_from_context_fpu()
|
/kernel/linux/linux-6.6/drivers/media/platform/qcom/camss/ |
H A 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()
|
H A 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()
|
/kernel/linux/linux-6.6/tools/testing/nvdimm/test/ |
H A D | ndtest.h | 59 u32 num_lines; member
|
/kernel/linux/linux-5.10/sound/soc/qcom/ |
H A D | lpass-cpu.c | 782 int num_lines, i; in of_lpass_cpu_parse_sd_lines() local 784 num_lines = of_property_read_variable_u32_array(node, name, lines, 0, in of_lpass_cpu_parse_sd_lines() 786 if (num_lines < 0) in of_lpass_cpu_parse_sd_lines() 789 for (i = 0; i < num_lines; i++) in of_lpass_cpu_parse_sd_lines()
|
/kernel/linux/linux-6.6/sound/soc/qcom/qdsp6/ |
H A D | q6afe-dai.c | 966 int id, i, num_lines; in of_q6afe_parse_dai_data() local 984 num_lines = 0; in of_q6afe_parse_dai_data() 986 num_lines = ret; in of_q6afe_parse_dai_data() 990 for (i = 0; i < num_lines; i++) in of_q6afe_parse_dai_data()
|
/kernel/linux/linux-5.10/include/uapi/drm/ |
H A D | via_drm.h | 263 __u32 num_lines; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | gpio.h | 177 * @num_lines: number of lines requested in this request, i.e. the number 185 * of @num_lines * 16. 195 __u32 num_lines; member
|