/base/telephony/cellular_call/vendor/ims/services/ims_call/src/ |
H A D | ims_call_stub.cpp | 313 int32_t index = data.ReadInt32(); in OnStartDtmf() local 315 reply.WriteInt32(StartDtmf(slotId, cDtmfCode, index)); in OnStartDtmf() 323 int32_t index = data.ReadInt32(); in OnSendDtmf() local 325 reply.WriteInt32(SendDtmf(slotId, cDtmfCode, index)); in OnSendDtmf() 332 int32_t index = data.ReadInt32(); in OnStopDtmf() local 334 reply.WriteInt32(StopDtmf(slotId, index)); in OnStopDtmf()
|
/base/usb/usb_manager/services/native/src/ |
H A D | usb_right_manager.cpp | 566 int32_t index = 0; in CleanUpRightAppUninstalled() local 567 if (!StringVectorFound(apps, bundleName, index)) { in CleanUpRightAppUninstalled() 571 ret = helper->DeleteAppRightRecord(uid, apps.at(index)); in CleanUpRightAppUninstalled() 573 index, apps.size(), uid, bundleName.c_str(), ret); in CleanUpRightAppUninstalled() 585 const std::vector<std::string> &strings, const std::string &value, int32_t &index) in StringVectorFound() 590 index = static_cast<int32_t>(i); in StringVectorFound() 584 StringVectorFound( const std::vector<std::string> &strings, const std::string &value, int32_t &index) StringVectorFound() argument
|
/base/web/webview/test/unittest/pasteboard_adapter/ |
H A D | pasteboard_client_adapter_test.cpp | 467 std::size_t index = 0; in HWTEST_F() local 474 std::shared_ptr<PasteDataRecordAdapter> record = g_dataAdapter->GetRecordAt(index); in HWTEST_F() 523 std::size_t index = 1; in HWTEST_F() local 524 std::shared_ptr<PasteDataRecordAdapter> record = g_dataAdapterNull->GetRecordAt(index); in HWTEST_F() 540 std::size_t index = 0; in HWTEST_F() local 543 std::shared_ptr<PasteDataRecordAdapter> str = g_dataAdapterNull->GetRecordAt(index); in HWTEST_F()
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/main_test/ |
H A D | v4l2_main.cpp | 78 void StoreImage(const unsigned char *bufStart, const unsigned int size, const int index, in StoreImage() argument 87 sprintf_s(path, sizeof(path), "./picture%d.jpeg", index); in StoreImage() 91 sprintf_s(path, sizeof(path), "./UVC%d.jpeg", index); in StoreImage() 99 CAMERA_LOGD("store_image size == %d index %d\n", size, index); in StoreImage() 319 int32_t index = buffer->buffer_->GetIndex(); in V4L2BufferCallback() local 320 StoreImage(addr, size, index, buffer); in V4L2BufferCallback()
|
/kernel/linux/linux-5.10/drivers/base/ |
H A D | platform.c | 47 * @num: resource index 73 * @index: resource index 81 unsigned int index, struct resource **res) in devm_platform_get_and_ioremap_resource() 85 r = platform_get_resource(pdev, IORESOURCE_MEM, index); in devm_platform_get_and_ioremap_resource() 98 * @index: resource index 104 unsigned int index) in devm_platform_ioremap_resource() 106 return devm_platform_get_and_ioremap_resource(pdev, index, NULL); in devm_platform_ioremap_resource() 116 * @index 80 devm_platform_get_and_ioremap_resource(struct platform_device *pdev, unsigned int index, struct resource **res) devm_platform_get_and_ioremap_resource() argument 103 devm_platform_ioremap_resource(struct platform_device *pdev, unsigned int index) devm_platform_ioremap_resource() argument 121 devm_platform_ioremap_resource_wc(struct platform_device *pdev, unsigned int index) devm_platform_ioremap_resource_wc() argument [all...] |
/kernel/linux/linux-5.10/arch/mips/alchemy/common/ |
H A D | clock.c | 525 static int alchemy_clk_fgv1_setp(struct clk_hw *hw, u8 index) in alchemy_clk_fgv1_setp() argument 532 if (index) in alchemy_clk_fgv1_setp() 640 static int alchemy_clk_fgv2_setp(struct clk_hw *hw, u8 index) in alchemy_clk_fgv2_setp() argument 646 c->parent = index + 1; /* value to write to register */ in alchemy_clk_fgv2_setp() 863 static int alchemy_clk_csrc_setp(struct clk_hw *hw, u8 index) in alchemy_clk_csrc_setp() argument 869 c->parent = index + 1; /* value to write to register */ in alchemy_clk_csrc_setp() 947 /* disabled at index 0 */ ALCHEMY_AUXPLL_CLK,
|
/kernel/linux/linux-5.10/drivers/mtd/nand/onenand/ |
H A D | onenand_samsung.c | 384 int index; in s3c_onenand_command() local 403 index = ONENAND_CURRENT_BUFFERRAM(this); in s3c_onenand_command() 411 if (index) { in s3c_onenand_command() 477 int index = ONENAND_CURRENT_BUFFERRAM(this); in s3c_get_bufferram() local 482 if (index == 1) in s3c_get_bufferram() 486 if (index == 1) in s3c_get_bufferram()
|
/kernel/linux/linux-6.6/arch/mips/alchemy/common/ |
H A D | clock.c | 525 static int alchemy_clk_fgv1_setp(struct clk_hw *hw, u8 index) in alchemy_clk_fgv1_setp() argument 532 if (index) in alchemy_clk_fgv1_setp() 640 static int alchemy_clk_fgv2_setp(struct clk_hw *hw, u8 index) in alchemy_clk_fgv2_setp() argument 646 c->parent = index + 1; /* value to write to register */ in alchemy_clk_fgv2_setp() 863 static int alchemy_clk_csrc_setp(struct clk_hw *hw, u8 index) in alchemy_clk_csrc_setp() argument 869 c->parent = index + 1; /* value to write to register */ in alchemy_clk_csrc_setp() 947 /* disabled at index 0 */ ALCHEMY_AUXPLL_CLK,
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | rtl2830.c | 601 static int rtl2830_pid_filter(struct dvb_frontend *fe, u8 index, u16 pid, int onoff) in rtl2830_pid_filter() argument 608 dev_dbg(&client->dev, "index=%d pid=%04x onoff=%d\n", in rtl2830_pid_filter() 609 index, pid, onoff); in rtl2830_pid_filter() 612 if (pid > 0x1fff || index > 32) in rtl2830_pid_filter() 616 set_bit(index, &dev->filters); in rtl2830_pid_filter() 618 clear_bit(index, &dev->filters); in rtl2830_pid_filter() 632 ret = rtl2830_bulk_write(client, 0x066 + 2 * index, buf, 2); in rtl2830_pid_filter()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-clone-metadata.c | 675 unsigned long index = word * BITS_PER_LONG; in __update_metadata_word() local 678 while (index < max_index) { in __update_metadata_word() 679 if (test_bit(index, dirty_regions)) { in __update_metadata_word() 681 index, &cmd->bitset_root); in __update_metadata_word() 686 __clear_bit(index, dirty_regions); in __update_metadata_word() 688 index++; in __update_metadata_word()
|
/kernel/linux/linux-5.10/drivers/input/mouse/ |
H A D | cyapa_gen3.c | 248 u8 index; in cyapa_smbus_read_block() local 264 for (index = 0; index * I2C_SMBUS_BLOCK_MAX < len; index++) { in cyapa_smbus_read_block() 265 smbus_cmd = SMBUS_ENCODE_IDX(cmd, index); in cyapa_smbus_read_block() 267 buf = values + I2C_SMBUS_BLOCK_MAX * index; in cyapa_smbus_read_block()
|
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/ |
H A D | mipi-csis.c | 180 * @index: the hardware instance index 204 u8 index; member 543 if (code->index >= ARRAY_SIZE(s5pcsis_formats)) in s5pcsis_enum_mbus_code() 546 code->code = s5pcsis_formats[code->index].code; in s5pcsis_enum_mbus_code() 739 state->index = endpoint.base.port - FIMC_INPUT_MIPI_CSI2_0; in s5pcsis_parse_dt() 740 if (state->index >= CSIS_MAX_ENTITIES) { in s5pcsis_parse_dt() 843 CSIS_SUBDEV_NAME, state->index); in s5pcsis_probe()
|
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/ |
H A D | camss-video.c | 286 *pad = remote->index; in video_remote_subdev() 540 * Returns the index in the video->formats[] array of the element which 549 /* find index "i" of "k"th unique pixelformat in formats array */ in video_get_unique_pixelformat_by_index() 569 * Returns the index in the video->formats[] array of the element which 594 if (f->index >= video->nformats) in video_enum_fmt() 599 if (f->index > 0) in video_enum_fmt() 604 i = video_get_unique_pixelformat_by_index(video, f->index); in video_enum_fmt() 621 if (fsize->index) in video_enum_framesizes() 761 if (input->index > 0) in video_enum_input()
|
/kernel/linux/linux-5.10/drivers/media/platform/rcar-vin/ |
H A D | rcar-v4l2.c | 389 if (f->index) in rvin_enum_fmt_vid_cap() 394 if (f->index) in rvin_enum_fmt_vid_cap() 399 if (f->index) in rvin_enum_fmt_vid_cap() 404 if (f->index) in rvin_enum_fmt_vid_cap() 417 if (matched == f->index) { in rvin_enum_fmt_vid_cap() 552 if (i->index != 0) in rvin_enum_input()
|
/kernel/linux/linux-5.10/drivers/mtd/devices/ |
H A D | spear_smi.c | 354 * returns negative. In case of success returns index in to the flash devices 359 int index; in get_flash_index() local 362 for (index = 0; index < ARRAY_SIZE(flash_devices); index++) { in get_flash_index() 363 if (flash_devices[index].device_id == flash_id) in get_flash_index() 364 return index; in get_flash_index() 743 * Return index of the probed flash in flash devices structure
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | verifier.c | 672 int index = 0; in nfp_assign_subprog_idx_and_regs() local 676 index++; in nfp_assign_subprog_idx_and_regs() 677 meta->subprog_idx = index; in nfp_assign_subprog_idx_and_regs() 681 nfp_prog->subprog[index].needs_reg_push = 1; in nfp_assign_subprog_idx_and_regs() 684 if (index + 1 != nfp_prog->subprog_cnt) { in nfp_assign_subprog_idx_and_regs() 686 index + 1, nfp_prog->subprog_cnt); in nfp_assign_subprog_idx_and_regs()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | clock.c | 291 if (rq->extts.index >= clock->ptp_info.n_pins) in mlx5_extts_configure() 294 pin = ptp_find_pin(clock->ptp, PTP_PF_EXTTS, rq->extts.index); in mlx5_extts_configure() 350 if (rq->perout.index >= clock->ptp_info.n_pins) in mlx5_perout_configure() 354 rq->perout.index); in mlx5_perout_configure() 523 clock->ptp_info.pin_config[i].index = i; in mlx5_init_pin_config() 573 ptp_event.index = pin; in mlx5_pps_event()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/ |
H A D | sysfs.c | 101 /* set the record index */ in store_admin_alias_guid() 436 int index; member 446 if (p->dev->pkeys.virt2phys_pkey[p->slave][p->port_num - 1][tab_attr->index] >= in show_port_pkey() 452 [p->port_num - 1][tab_attr->index]); in show_port_pkey() 476 [tab_attr->index] = idx; in store_port_pkey() 478 tab_attr->index, idx); in store_port_pkey() 482 " port %d, index %d\n", p->slave, p->port_num, idx); in store_port_pkey() 528 element->index = i; in alloc_group_attrs()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
H A D | trx.c | 402 /* rate_idx: index of data rate into band's in rtl92ee_rx_query_desc() 403 * supported rates or MCS index if HT rates in rtl92ee_rx_query_desc() 994 bool rtl92ee_is_tx_desc_closed(struct ieee80211_hw *hw, u8 hw_queue, u16 index) in rtl92ee_is_tx_desc_closed() argument 1020 if (index < write_point && index >= read_point) in rtl92ee_is_tx_desc_closed() 1025 if (index > write_point && index < read_point) in rtl92ee_is_tx_desc_closed() 1030 if (index != read_point) in rtl92ee_is_tx_desc_closed()
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
H A D | sr9800.c | 28 static int sr_read_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, in sr_read_cmd() argument 33 err = usbnet_read_cmd(dev, cmd, SR_REQ_RD_REG, value, index, in sr_read_cmd() 41 static int sr_write_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, in sr_write_cmd() argument 46 err = usbnet_write_cmd(dev, cmd, SR_REQ_WR_REG, value, index, in sr_write_cmd() 55 sr_write_cmd_async(struct usbnet *dev, u8 cmd, u16 value, u16 index, in sr_write_cmd_async() argument 58 usbnet_write_cmd_async(dev, cmd, SR_REQ_WR_REG, value, index, data, in sr_write_cmd_async()
|
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/ |
H A D | pcie-designware-ep.c | 266 u32 index; in dw_pcie_find_index() local 268 for (index = 0; index < ep->num_ob_windows; index++) { in dw_pcie_find_index() 269 if (ep->outbound_addr[index] != addr) in dw_pcie_find_index() 271 *atu_index = index; in dw_pcie_find_index()
|
/kernel/linux/linux-5.10/drivers/scsi/qedi/ |
H A D | qedi_fw_api.c | 207 u16 index; in init_default_iscsi_task() local 215 for (index = 0; index < in init_default_iscsi_task() 217 index++) { in init_default_iscsi_task() 218 val = cpu_to_le32(pdu_header->data[index]); in init_default_iscsi_task() 219 context->ystorm_st_context.pdu_hdr.data.data[index] = val; in init_default_iscsi_task()
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | sa1100.c | 667 printk(KERN_ERR "%s: bad index number %d\n", __func__, idx); in sa1100_register_uart() 716 struct sa1100_port *sport = &sa1100_ports[co->index]; in sa1100_console_write() 788 if (co->index == -1 || co->index >= NR_PORTS) in sa1100_console_setup() 789 co->index = 0; in sa1100_console_setup() 790 sport = &sa1100_ports[co->index]; in sa1100_console_setup() 807 .index = -1,
|
H A D | fsl_linflexuart.c | 39 #define IFMI 0x0044 /* Identifier filter match index */ 656 struct uart_port *sport = linflex_ports[co->index]; in linflex_console_write() 721 if (co->index == -1 || co->index >= ARRAY_SIZE(linflex_ports)) in linflex_console_setup() 722 co->index = 0; in linflex_console_setup() 724 sport = linflex_ports[co->index]; in linflex_console_setup() 780 .index = -1,
|
/kernel/linux/linux-5.10/drivers/staging/rts5208/ |
H A D | spi.c | 557 unsigned int index = 0, offset = 0; in spi_read_flash() local 634 rtsx_stor_access_xfer_buf(buf, pagelen, srb, &index, &offset, in spi_read_flash() 654 unsigned int index = 0, offset = 0; in spi_write_flash() local 682 rtsx_stor_access_xfer_buf(buf, 1, srb, &index, &offset, in spi_write_flash() 725 rtsx_stor_access_xfer_buf(buf, 1, srb, &index, &offset, in spi_write_flash() 791 rtsx_stor_access_xfer_buf(buf, pagelen, srb, &index, in spi_write_flash()
|