/kernel/linux/linux-5.10/drivers/firmware/efi/ |
H A D | efi.c | 954 int rc, index; in efi_mem_reserve_persistent() local 970 index = atomic_fetch_add_unless(&rsv->count, 1, rsv->size); in efi_mem_reserve_persistent() 971 if (index < rsv->size) { in efi_mem_reserve_persistent() 972 rsv->entry[index].base = addr; in efi_mem_reserve_persistent() 973 rsv->entry[index].size = size; in efi_mem_reserve_persistent()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | head.S | 157 and \tmp1, \tmp1, \ptrs // table index 168 * index: start index to write 169 * eindex: end index to write - [index, eindex] written to 175 * Corrupts: index, tmp1 178 .macro populate_entries, tbl, rtbl, index, eindex, flags, inc, tmp1 181 str \tmp1, [\tbl, \index, lsl #3] 183 add \index, \index, # [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | rmd160.c | 312 u32 i, index, padlen; in rmd160_final() local 320 index = rctx->byte_count & 0x3f; in rmd160_final() 321 padlen = (index < 56) ? (56 - index) : ((64+56) - index); in rmd160_final()
|
H A D | rmd256.c | 287 u32 i, index, padlen; in rmd256_final() local 295 index = rctx->byte_count & 0x3f; in rmd256_final() 296 padlen = (index < 56) ? (56 - index) : ((64+56) - index); in rmd256_final()
|
H A D | rmd128.c | 268 u32 i, index, padlen; in rmd128_final() local 276 index = rctx->byte_count & 0x3f; in rmd128_final() 277 padlen = (index < 56) ? (56 - index) : ((64+56) - index); in rmd128_final()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_mbx.c | 187 dev_err(&hdev->pdev->dev, "tqp index(%u) is out of range(0-%u)\n", in hclge_get_ring_chain_from_mbx() 614 u8 index; in hclge_get_rss_key() local 616 index = mbx_req->msg.data[0]; in hclge_get_rss_key() 618 /* Check the query index of rss_hash_key from VF, make sure no in hclge_get_rss_key() 621 if (((index + 1) * HCLGE_RSS_MBX_RESP_LEN) > in hclge_get_rss_key() 624 "failed to get the rss hash key, the index(%u) invalid !\n", in hclge_get_rss_key() 625 index); in hclge_get_rss_key() 630 &hdev->vport[0].rss_hash_key[index * HCLGE_RSS_MBX_RESP_LEN], in hclge_get_rss_key()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | cgx.c | 178 int index; in mac2u64() local 180 for (index = ETH_ALEN - 1; index >= 0; index--) in mac2u64() 181 mac |= ((u64)*mac_addr++) << (8 * index); in mac2u64()
|
/kernel/linux/linux-5.10/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-5.10/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/arch/arm64/kernel/ |
H A D | head.S | 197 * index: start index to write 198 * eindex: end index to write - [index, eindex] written to 204 * Corrupts: index, tmp1 207 .macro populate_entries, tbl, rtbl, index, eindex, flags, inc, tmp1 210 str \tmp1, [\tbl, \index, lsl #3] 212 add \index, \index, #1 213 cmp \index, \einde [all...] |
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | imx214.c | 480 if (code->index > 0) in imx214_enum_mbus_code() 495 if (fse->index >= ARRAY_SIZE(imx214_modes)) in imx214_enum_frame_size() 498 fse->min_width = fse->max_width = imx214_modes[fse->index].width; in imx214_enum_frame_size() 499 fse->min_height = fse->max_height = imx214_modes[fse->index].height; in imx214_enum_frame_size() 818 if (fie->index != 0) in imx214_enum_frame_interval()
|
H A D | video-i2c.c | 596 if (vin->index > 0) in video_i2c_enum_input() 612 if (fmt->index > 0) in video_i2c_enum_fmt_vid_cap() 628 if (fsize->index > 0) in video_i2c_enum_framesizes() 647 if (fe->index >= data->chip->num_frame_intervals) in video_i2c_enum_frameintervals() 654 fe->discrete = data->chip->frame_intervals[fe->index]; in video_i2c_enum_frameintervals()
|
/kernel/linux/linux-5.10/drivers/media/pci/cx25821/ |
H A D | cx25821-video.c | 217 buf, buf->vb.vb2_buf.index, chan->width, chan->height, in cx25821_buffer_prepare() 309 if (unlikely(f->index >= ARRAY_SIZE(formats))) in cx25821_vidioc_enum_fmt_vid_cap() 312 f->pixelformat = formats[f->index].fourcc; in cx25821_vidioc_enum_fmt_vid_cap() 465 if (i->index) in cx25821_vidioc_enum_input() 513 if (o->index) in cx25821_vidioc_enum_output()
|
/kernel/linux/linux-5.10/drivers/iio/magnetometer/ |
H A D | ak8975.c | 683 static int ak8975_read_axis(struct iio_dev *indio_dev, int index, int *val) in ak8975_read_axis() argument 701 client, def->data_regs[index], in ak8975_read_axis() 754 #define AK8975_CHANNEL(axis, index) \ 761 .address = index, \ 762 .scan_index = index, \
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | iwcm.c | 70 size_t index; in iwcm_reject_msg() local 73 index = -reason; in iwcm_reject_msg() 75 if (index < ARRAY_SIZE(iwcm_rej_reason_strs) && in iwcm_reject_msg() 76 iwcm_rej_reason_strs[index]) in iwcm_reject_msg() 77 return iwcm_rej_reason_strs[index]; in iwcm_reject_msg()
|
/kernel/linux/linux-5.10/drivers/iio/light/ |
H A D | us5182d.c | 450 * @index: index in us5182d_dark_ths array to use for the updated value 456 static int us5182d_update_dark_th(struct us5182d_data *data, int index) in us5182d_update_dark_th() argument 458 __be16 dark_th = cpu_to_be16(data->us5182d_dark_ths[index]); in us5182d_update_dark_th() 473 * @index: index in us5182d_scales array to use for the updated value 478 static int us5182d_apply_scale(struct us5182d_data *data, int index) in us5182d_apply_scale() argument 487 ret |= index; in us5182d_apply_scale() 493 return us5182d_update_dark_th(data, index); in us5182d_apply_scale()
|
H A D | si1133.c | 4 * light and UV index sensors 533 int index; in si1133_set_integration_time() local 535 index = si1133_get_int_time_index(milliseconds, nanoseconds); in si1133_set_integration_time() 536 if (index < 0) in si1133_set_integration_time() 537 return index; in si1133_set_integration_time() 540 data->adc_sens[adc] |= index; in si1133_set_integration_time() 1074 MODULE_DESCRIPTION("Silabs SI1133, UV index sensor and ambient light sensor driver");
|
/kernel/linux/linux-5.10/drivers/pinctrl/freescale/ |
H A D | pinctrl-imx.c | 571 u32 index) in imx_pinctrl_parse_groups() 579 dev_dbg(ipctl->dev, "group(%d): %pOFn\n", index, np); in imx_pinctrl_parse_groups() 645 u32 index) in imx_pinctrl_parse_functions() 653 dev_dbg(pctl->dev, "parse function(%d): %pOFn\n", index, np); in imx_pinctrl_parse_functions() 655 func = pinmux_generic_get_function(pctl, index); in imx_pinctrl_parse_functions() 568 imx_pinctrl_parse_groups(struct device_node *np, struct group_desc *grp, struct imx_pinctrl *ipctl, u32 index) imx_pinctrl_parse_groups() argument 643 imx_pinctrl_parse_functions(struct device_node *np, struct imx_pinctrl *ipctl, u32 index) imx_pinctrl_parse_functions() argument
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | rda-uart.c | 631 rda_port = rda_uart_ports[co->index]; in rda_uart_console_write() 646 if (co->index < 0 || co->index >= RDA_UART_PORT_NUM) in rda_uart_console_setup() 649 rda_port = rda_uart_ports[co->index]; in rda_uart_console_setup() 665 .index = -1,
|
H A D | pic32_uart.c | 714 struct pic32_sport *sport = pic32_sports[co->index]; in pic32_console_write() 734 if (unlikely(co->index < 0 || co->index >= PIC32_MAX_UARTS)) in pic32_console_setup() 737 sport = pic32_sports[co->index]; in pic32_console_setup() 759 .index = -1,
|
H A D | vr41xx_siu.c | 757 port = &siu_uart_ports[con->index]; in siu_console_write() 776 if (con->index >= SIU_PORTS_MAX) in siu_console_setup() 777 con->index = 0; in siu_console_setup() 779 port = &siu_uart_ports[con->index]; in siu_console_setup() 803 .index = -1,
|
H A D | amba-pl010.c | 577 struct uart_amba_port *uap = amba_ports[co->index]; in pl010_console_write() 644 if (co->index >= UART_NR) in pl010_console_setup() 645 co->index = 0; in pl010_console_setup() 646 uap = amba_ports[co->index]; in pl010_console_setup() 671 .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 | 630 if (co->index >= MAXPORTS) in lqasc_console_write() 633 ltq_port = lqasc_port[co->index]; in lqasc_console_write() 652 if (co->index >= MAXPORTS) in lqasc_console_setup() 655 ltq_port = lqasc_port[co->index]; in lqasc_console_setup() 677 .index = -1,
|
/kernel/linux/linux-5.10/drivers/tty/hvc/ |
H A D | hvc_iucv.c | 482 * @id: Additional data (originally passed to hvc_alloc): the index of an struct 623 * the index of an struct hvc_iucv_private instance. 708 * the index of an struct hvc_iucv_private instance. 1089 * @id: hvc_iucv_table index 1093 * the instance in hvc_iucv_table at index @id. 1325 size_t index, len; in param_get_vmidfilter() local 1333 for (index = 0; index < hvc_iucv_filter_size; index++) { in param_get_vmidfilter() 1334 start = hvc_iucv_filter + (8 * index); in param_get_vmidfilter() [all...] |