/kernel/linux/linux-5.10/drivers/staging/hungtask/ |
H A D | hungtask_base.c | 860 int index = 0; in htbase_monitorlist_update() local 869 strncpy(whitetmplist[index].name, token, TASK_COMM_LEN); in htbase_monitorlist_update() 870 if (strlen(whitetmplist[index].name) > 0) in htbase_monitorlist_update() 872 index++; in htbase_monitorlist_update() 873 if (index >= WHITELIST_LEN) in htbase_monitorlist_update()
|
/kernel/linux/linux-6.6/drivers/memory/ |
H A D | emif.c | 280 u32 index, type, density; in get_addressing_table() local 287 index = density - 1; in get_addressing_table() 293 index = density + 3; in get_addressing_table() 296 index = density - 1; in get_addressing_table() 303 return &lpddr2_jedec_addressing_table[index]; in get_addressing_table()
|
/kernel/linux/linux-6.6/drivers/media/platform/ti/cal/ |
H A D | cal-camerarx.c | 630 if (code->index > 0) in cal_camerarx_sd_enum_mbus_code() 637 if (code->index >= cal_num_formats) in cal_camerarx_sd_enum_mbus_code() 640 code->code = cal_formats[code->index].code; in cal_camerarx_sd_enum_mbus_code() 652 if (fse->index > 0) in cal_camerarx_sd_enum_frame_size() 761 remote_pad->index, &remote_desc); in cal_camerarx_get_frame_desc()
|
/kernel/linux/linux-6.6/drivers/media/usb/gspca/ |
H A D | spca505.c | 77 /* bmRequest,value,index */ 114 /* bmRequest,value,index */ 534 u16 req, u16 index, u16 value) in reg_write() 543 value, index, NULL, 0, 500); in reg_write() 545 req, index, value, ret); in reg_write() 554 u16 index) /* wIndex */ in reg_read() 563 index, in reg_read() 533 reg_write(struct gspca_dev *gspca_dev, u16 req, u16 index, u16 value) reg_write() argument 552 reg_read(struct gspca_dev *gspca_dev, u16 req, u16 index) reg_read() argument
|
/kernel/linux/linux-6.6/drivers/media/test-drivers/visl/ |
H A D | visl-video.c | 327 if (f->index >= ctx->coded_format_desc->num_decoded_fmts) in visl_enum_fmt_vid_cap() 330 f->pixelformat = ctx->coded_format_desc->decoded_fmts[f->index]; in visl_enum_fmt_vid_cap() 337 if (f->index >= ARRAY_SIZE(visl_coded_fmts)) in visl_enum_fmt_vid_out() 340 f->pixelformat = visl_coded_fmts[f->index].pixelformat; in visl_enum_fmt_vid_out() 486 if (fsize->index != 0) in visl_enum_framesizes()
|
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | video-i2c.c | 602 if (vin->index > 0) in video_i2c_enum_input() 618 if (fmt->index > 0) in video_i2c_enum_fmt_vid_cap() 634 if (fsize->index > 0) in video_i2c_enum_framesizes() 653 if (fe->index >= data->chip->num_frame_intervals) in video_i2c_enum_frameintervals() 660 fe->discrete = data->chip->frame_intervals[fe->index]; in video_i2c_enum_frameintervals()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_fs_ethtool.c | 800 int index; in mlx5e_ethtool_get_flow() local 809 index = mlx5e_rx_res_rss_index(priv->rx_res, eth_rule->rss); in mlx5e_ethtool_get_flow() 810 if (index < 0) in mlx5e_ethtool_get_flow() 811 return index; in mlx5e_ethtool_get_flow() 812 info->rss_context = index; in mlx5e_ethtool_get_flow()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/ibm/ehea/ |
H A D | ehea_qmr.c | 760 unsigned long index, offset; in ehea_map_vaddr() local 765 index = __pa(caddr) >> SECTION_SIZE_BITS; in ehea_map_vaddr() 766 top = (index >> EHEA_TOP_INDEX_SHIFT) & EHEA_INDEX_MASK; in ehea_map_vaddr() 770 dir = (index >> EHEA_DIR_INDEX_SHIFT) & EHEA_INDEX_MASK; in ehea_map_vaddr() 774 idx = index & EHEA_INDEX_MASK; in ehea_map_vaddr()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000e/ |
H A D | 80003es2lan.c | 11 * with a lower bound at "index" and the upper bound at 12 * "index + 5". 613 u16 phy_data, index; in e1000_get_cable_length_80003es2lan() local 619 index = phy_data & GG82563_DSPD_CABLE_LENGTH; in e1000_get_cable_length_80003es2lan() 621 if (index >= GG82563_CABLE_LENGTH_TABLE_SIZE - 5) in e1000_get_cable_length_80003es2lan() 624 phy->min_cable_length = e1000_gg82563_cable_length_table[index]; in e1000_get_cable_length_80003es2lan() 625 phy->max_cable_length = e1000_gg82563_cable_length_table[index + 5]; in e1000_get_cable_length_80003es2lan()
|
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | move_extents.c | 54 int ret = 0, index; in __ocfs2_move_extent() local 91 index = ocfs2_search_extent_list(el, cpos); in __ocfs2_move_extent() 92 if (index == -1) { in __ocfs2_move_extent() 99 rec = &el->l_recs[index]; in __ocfs2_move_extent() 108 ret = ocfs2_split_extent(handle, &context->et, path, index, in __ocfs2_move_extent()
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | file_remote.c | 650 if (!isize || page->index > end_index) { in hmdfs_readpage_remote() 655 if (!isize || page->index > end_index) { in hmdfs_readpage_remote() 673 loff_t pos = (loff_t)page->index << HMDFS_PAGE_OFFSET; in hmdfs_get_writecount() 796 pgoff_t index = ((unsigned long long)pos) >> PAGE_SHIFT; in hmdfs_write_begin_remote() local 802 page = grab_cache_page_write_begin(mapping, index); in hmdfs_write_begin_remote()
|
/kernel/linux/linux-6.6/include/net/bluetooth/ |
H A D | mgmt.h | 51 __le16 index; member 86 __le16 index[]; member 486 __le16 index[]; member 537 __le16 index; member 858 __le16 index; member
|
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | ar933x_uart.c | 625 struct ar933x_uart_port *up = ar933x_console_ports[co->index]; in ar933x_uart_console_write() 670 if (co->index < 0 || co->index >= CONFIG_SERIAL_AR933X_NR_UARTS) in ar933x_uart_console_setup() 673 up = ar933x_console_ports[co->index]; in ar933x_uart_console_setup() 689 .index = -1,
|
H A D | sb1250-duart.c | 834 int chip = co->index / DUART_MAX_SIDE; in sbd_console_write() 835 int side = co->index % DUART_MAX_SIDE; in sbd_console_write() 862 int chip = co->index / DUART_MAX_SIDE; in sbd_console_setup() 863 int side = co->index % DUART_MAX_SIDE; in sbd_console_setup() 893 .index = -1,
|
H A D | lantiq.c | 604 if (co->index >= MAXPORTS) in lqasc_console_write() 607 ltq_port = lqasc_port[co->index]; in lqasc_console_write() 626 if (co->index >= MAXPORTS) in lqasc_console_setup() 629 ltq_port = lqasc_port[co->index]; in lqasc_console_setup() 651 .index = -1,
|
H A D | meson_uart.c | 589 port = meson_ports[co->index]; in meson_serial_console_write() 604 if (co->index < 0 || co->index >= AML_UART_PORT_NUM) in meson_serial_console_setup() 607 port = meson_ports[co->index]; in meson_serial_console_setup() 626 .index = -1, \
|
H A D | pic32_uart.c | 45 * @idx: port index 785 struct pic32_sport *sport = pic32_sports[co->index]; in pic32_console_write() 803 if (unlikely(co->index < 0 || co->index >= PIC32_MAX_UARTS)) in pic32_console_setup() 806 sport = pic32_sports[co->index]; in pic32_console_setup() 827 .index = -1,
|
H A D | rda-uart.c | 628 rda_port = rda_uart_ports[co->index]; in rda_uart_console_write() 643 if (co->index < 0 || co->index >= RDA_UART_PORT_NUM) in rda_uart_console_setup() 646 rda_port = rda_uart_ports[co->index]; in rda_uart_console_setup() 662 .index = -1,
|
H A D | uartlite.c | 526 if (co->index >= 0 && co->index < ULITE_NR_UARTS) in ulite_console_setup() 527 port = ulite_ports + co->index; in ulite_console_setup() 531 pr_debug("console on ttyUL%i not present\n", co->index); in ulite_console_setup() 555 .index = -1, /* Specified on the cmdline (e.g. console=ttyUL0 ) */
|
/kernel/linux/linux-6.6/drivers/staging/hungtask/ |
H A D | hungtask_base.c | 860 int index = 0; in htbase_monitorlist_update() local 869 strncpy(whitetmplist[index].name, token, TASK_COMM_LEN); in htbase_monitorlist_update() 870 if (strlen(whitetmplist[index].name) > 0) in htbase_monitorlist_update() 872 index++; in htbase_monitorlist_update() 873 if (index >= WHITELIST_LEN) in htbase_monitorlist_update()
|
/kernel/linux/linux-6.6/drivers/usb/early/ |
H A D | ehci-dbgp.c | 325 int request, int value, int index, void *data, int size) in dbgp_control_msg() 340 req.wIndex = cpu_to_le16(index); in dbgp_control_msg() 964 .index = -1, 980 if ((early_dbgp_console.index != -1 && in dbgp_reset_prep() 1056 if (early_dbgp_console.index != -1) in kgdbdbgp_parse_config() 324 dbgp_control_msg(unsigned devnum, int requesttype, int request, int value, int index, void *data, int size) dbgp_control_msg() argument
|
/kernel/linux/linux-6.6/drivers/tty/hvc/ |
H A D | hvc_iucv.c | 479 * @id: Additional data (originally passed to hvc_alloc): the index of an struct 620 * the index of an struct hvc_iucv_private instance. 705 * the index of an struct hvc_iucv_private instance. 1041 * @id: hvc_iucv_table index 1045 * the instance in hvc_iucv_table at index @id. 1276 size_t index, len; in param_get_vmidfilter() local 1284 for (index = 0; index < hvc_iucv_filter_size; index++) { in param_get_vmidfilter() 1285 start = hvc_iucv_filter + (8 * index); in param_get_vmidfilter() [all...] |
/kernel/linux/linux-6.6/drivers/clk/imx/ |
H A D | clk-scu.c | 63 * @gpr_id: GPR ID index to control the divider 364 static int clk_scu_set_parent(struct clk_hw *hw, u8 index) in clk_scu_set_parent() argument 378 msg.parent = index; in clk_scu_set_parent() 387 clk->parent_index = index; in clk_scu_set_parent() 796 static int clk_gpr_mux_scu_set_parent(struct clk_hw *hw, u8 index) in clk_gpr_mux_scu_set_parent() argument 801 clk->gpr_id, index); in clk_gpr_mux_scu_set_parent()
|
/kernel/linux/linux-6.6/drivers/firmware/efi/ |
H A D | efi.c | 1072 int rc, index; in efi_mem_reserve_persistent() local 1088 index = atomic_fetch_add_unless(&rsv->count, 1, rsv->size); in efi_mem_reserve_persistent() 1089 if (index < rsv->size) { in efi_mem_reserve_persistent() 1090 rsv->entry[index].base = addr; in efi_mem_reserve_persistent() 1091 rsv->entry[index].size = size; in efi_mem_reserve_persistent()
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | bpf_iter.c | 128 p = seq->op->start(seq, &seq->index); in bpf_seq_read() 155 loff_t pos = seq->index; in bpf_seq_read() 159 p = seq->op->next(seq, p, &seq->index); in bpf_seq_read() 160 if (pos == seq->index) { in bpf_seq_read() 162 "did not updated position index\n", in bpf_seq_read() 164 seq->index++; in bpf_seq_read()
|