/foundation/distributedhardware/distributed_camera/services/data_process/src/pipeline_node/multimedia_codec/encoder/ |
H A D | encode_data_process.cpp | 450 int32_t EncodeDataProcess::GetEncoderOutputBuffer(uint32_t index, MediaAVCodec::AVCodecBufferInfo info, in GetEncoderOutputBuffer() argument 459 DHLOGE("Failed to get the output shared memory, index : %{public}u", index); in GetEncoderOutputBuffer() 526 void EncodeDataProcess::OnInputBufferAvailable(uint32_t index, std::shared_ptr<Media::AVSharedMemory> buffer) in OnInputBufferAvailable() argument 528 DHLOGD("The available input buffer index : %{public}u. No operation when using input.", index); in OnInputBufferAvailable() 540 void EncodeDataProcess::OnOutputBufferAvailable(uint32_t index, MediaAVCodec::AVCodecBufferInfo info, in OnOutputBufferAvailable() argument 549 int32_t err = GetEncoderOutputBuffer(index, info, flag, buffer); in OnOutputBufferAvailable() 555 "The video encoder does not exist before release output buffer index."); in OnOutputBufferAvailable() 556 int32_t errRelease = videoEncoder_->ReleaseOutputBuffer(index); in OnOutputBufferAvailable() [all...] |
/kernel/linux/linux-5.10/drivers/firmware/xilinx/ |
H A D | zynqmp.c | 36 * @pm_api_id: PM API Id, used as key to index into hashmap 528 * This function is used by master to get parent index 652 * @index GGS register index 659 int zynqmp_pm_write_ggs(u32 index, u32 value) in zynqmp_pm_write_ggs() argument 662 index, value, NULL); in zynqmp_pm_write_ggs() 668 * @index GGS register index 675 int zynqmp_pm_read_ggs(u32 index, u32 *value) in zynqmp_pm_read_ggs() argument 678 index, in zynqmp_pm_read_ggs() 692 zynqmp_pm_write_pggs(u32 index, u32 value) zynqmp_pm_write_pggs() argument 709 zynqmp_pm_read_pggs(u32 index, u32 *value) zynqmp_pm_read_pggs() argument [all...] |
/kernel/linux/linux-5.10/drivers/firmware/ |
H A D | iscsi_ibft.c | 95 u8 index; member 264 str += sprintf(str, "%d\n", initiator->hdr.index); in ibft_attr_show_initiator() 306 str += sprintf(str, "%d\n", nic->hdr.index); in ibft_attr_show_nic() 366 str += sprintf(str, "%d\n", tgt->hdr.index); in ibft_attr_show_target() 650 boot_kobj = iscsi_boot_create_initiator(boot_kset, hdr->index, in ibft_create_kobject() 666 boot_kobj = iscsi_boot_create_ethernet(boot_kset, hdr->index, in ibft_create_kobject() 682 boot_kobj = iscsi_boot_create_target(boot_kset, hdr->index, in ibft_create_kobject() 756 rc |= ((control->hdr.index) ? -ENODEV : 0); in ibft_register_kobjects()
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | rsserial.c | 87 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.gpio.resource_source.index), 162 ACPI_RS_OFFSET(data.pin_function.resource_source.index), 250 ACPI_RS_OFFSET(data.common_serial_bus.resource_source.index), 341 ACPI_RS_OFFSET(data.common_serial_bus.resource_source.index), 448 ACPI_RS_OFFSET(data.common_serial_bus.resource_source.index), 555 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.pin_config.resource_source.index), 678 ACPI_RS_OFFSET(data.pin_group_function.resource_source.index), 759 ACPI_RS_OFFSET(data.pin_group_config.resource_source.index),
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_sk_lookup.c | 24 #define LSE_INDEX(index, size) (index) 26 #define LSE_INDEX(index, size) ((size) - (index) - 1) 28 #define LSB(value, index) \ 29 (((__u8 *)&(value))[LSE_INDEX((index), sizeof(value))]) 30 #define LSW(value, index) \ 31 (((__u16 *)&(value))[LSE_INDEX((index), sizeof(value) / 2)])
|
/kernel/linux/linux-5.10/drivers/i2c/ |
H A D | i2c-core-acpi.c | 39 int index; member 82 if (lookup->index != -1 && lookup->n++ != lookup->index) in i2c_acpi_fill_info() 187 lookup.index = -1; in i2c_acpi_get_info() 348 lookup.index = -1; in i2c_acpi_find_bus_speed() 454 * @index: Index of ACPI resource to get 469 struct i2c_client *i2c_acpi_new_device(struct device *dev, int index, in i2c_acpi_new_device() argument 481 lookup.index = index; in i2c_acpi_new_device()
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | emc2103.c | 177 int nr = to_sensor_dev_attr(da)->index; in temp_show() 187 int nr = to_sensor_dev_attr(da)->index; in temp_min_show() 196 int nr = to_sensor_dev_attr(da)->index; in temp_max_show() 205 int nr = to_sensor_dev_attr(da)->index; in temp_fault_show() 215 int nr = to_sensor_dev_attr(da)->index; in temp_min_alarm_show() 225 int nr = to_sensor_dev_attr(da)->index; in temp_max_alarm_show() 234 int nr = to_sensor_dev_attr(da)->index; in temp_min_store() 256 int nr = to_sensor_dev_attr(da)->index; in temp_max_store()
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
H A D | asix_common.c | 12 int asix_read_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, in asix_read_cmd() argument 26 value, index, data, size); in asix_read_cmd() 29 netdev_warn(dev->net, "Failed to read reg index 0x%04x: %d\n", in asix_read_cmd() 30 index, ret); in asix_read_cmd() 35 int asix_write_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, in asix_write_cmd() argument 49 value, index, data, size); in asix_write_cmd() 52 netdev_warn(dev->net, "Failed to write reg index 0x%04x: %d\n", in asix_write_cmd() 53 index, ret); in asix_write_cmd() 58 void asix_write_cmd_async(struct usbnet *dev, u8 cmd, u16 value, u16 index, in asix_write_cmd_async() argument 63 value, index, dat in asix_write_cmd_async() [all...] |
/kernel/linux/linux-5.10/sound/usb/usx2y/ |
H A D | us122l.c | 24 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-max */ variable 29 module_param_array(index, int, NULL, 0444); 30 MODULE_PARM_DESC(index, "Index value for "NAME_ALLCAPS"."); 486 int index = us122l->card_index; in snd_us122l_free() local 487 if (index >= 0 && index < SNDRV_CARDS) in snd_us122l_free() 488 snd_us122l_card_used[index] = 0; in snd_us122l_free() 505 err = snd_card_new(&intf->dev, index[dev], id[dev], THIS_MODULE, in usx2y_create_card()
|
/kernel/linux/linux-5.10/drivers/media/tuners/ |
H A D | fc2580.c | 364 .index = 0, 393 dev_dbg(&client->dev, "index=%d\n", v->index); in fc2580_g_tuner() 408 dev_dbg(&client->dev, "index=%d\n", v->index); in fc2580_s_tuner() 442 dev_dbg(&client->dev, "tuner=%d type=%d index=%d\n", in fc2580_enum_freq_bands() 443 band->tuner, band->type, band->index); in fc2580_enum_freq_bands() 445 if (band->index >= ARRAY_SIZE(bands)) in fc2580_enum_freq_bands() 448 band->capability = bands[band->index].capability; in fc2580_enum_freq_bands() 449 band->rangelow = bands[band->index] in fc2580_enum_freq_bands() [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/omap4iss/ |
H A D | iss_ipipeif.c | 453 if (code->index >= ARRAY_SIZE(ipipeif_fmts)) in ipipeif_enum_mbus_code() 456 code->code = ipipeif_fmts[code->index]; in ipipeif_enum_mbus_code() 462 if (code->index != 0) in ipipeif_enum_mbus_code() 485 if (fse->index != 0) in ipipeif_enum_frame_size() 661 unsigned int index = local->index; in ipipeif_link_setup() local 665 index |= 2 << 16; in ipipeif_link_setup() 667 switch (index) { in ipipeif_link_setup()
|
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/ |
H A D | aic94xx_tmf.c | 239 scb->clear_nexus.index = cpu_to_le16(tascb->tc_index); in asd_clear_nexus_index() 452 scb->abort_task.index = cpu_to_le16((u16)tascb->tc_index); in asd_abort_task() 546 * @index: the transaction context of the task to be queried if QT TMF 557 int tmf, int index) in asd_initiate_ssp_tmf() 601 scb->ssp_tmf.index = cpu_to_le16(index); in asd_initiate_ssp_tmf() 687 int index; in asd_query_task() local 690 index = ascb->tc_index; in asd_query_task() 692 TMF_QUERY_TASK, index); in asd_query_task() 556 asd_initiate_ssp_tmf(struct domain_device *dev, u8 *lun, int tmf, int index) asd_initiate_ssp_tmf() argument
|
/kernel/linux/linux-5.10/drivers/staging/media/imx/ |
H A D | imx-media-utils.c | 279 * selection criteria at the requested match index. 282 * the requested match index. 283 * @index: The requested match index. 287 int imx_media_enum_pixel_formats(u32 *fourcc, u32 index, in imx_media_enum_pixel_formats() argument 309 if (index == 0) { in imx_media_enum_pixel_formats() 314 index--; in imx_media_enum_pixel_formats() 324 * the search criteria at the requested match index. 327 * the requested match index. 328 * @index 332 imx_media_enum_mbus_formats(u32 *code, u32 index, enum imx_pixfmt_sel fmt_sel) imx_media_enum_mbus_formats() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/tuners/ |
H A D | fc2580.c | 364 .index = 0, 393 dev_dbg(&client->dev, "index=%d\n", v->index); in fc2580_g_tuner() 408 dev_dbg(&client->dev, "index=%d\n", v->index); in fc2580_s_tuner() 442 dev_dbg(&client->dev, "tuner=%d type=%d index=%d\n", in fc2580_enum_freq_bands() 443 band->tuner, band->type, band->index); in fc2580_enum_freq_bands() 445 if (band->index >= ARRAY_SIZE(bands)) in fc2580_enum_freq_bands() 448 band->capability = bands[band->index].capability; in fc2580_enum_freq_bands() 449 band->rangelow = bands[band->index] in fc2580_enum_freq_bands() [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/omap4iss/ |
H A D | iss_ipipeif.c | 456 if (code->index >= ARRAY_SIZE(ipipeif_fmts)) in ipipeif_enum_mbus_code() 459 code->code = ipipeif_fmts[code->index]; in ipipeif_enum_mbus_code() 465 if (code->index != 0) in ipipeif_enum_mbus_code() 489 if (fse->index != 0) in ipipeif_enum_frame_size() 668 unsigned int index = local->index; in ipipeif_link_setup() local 672 index |= 2 << 16; in ipipeif_link_setup() 674 switch (index) { in ipipeif_link_setup()
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_fops.c | 268 param = pipe->frame_params[frame->vb.vb2_buf.index]; in atomisp_q_video_buffers_to_css() 307 pipe->frame_params[frame->vb.vb2_buf.index] = NULL; in atomisp_q_video_buffers_to_css() 392 pipe->frame_params[vb->index] = NULL; in atomisp_buf_queue() 405 if (pipe->frame_request_config_id[vb->index] || in atomisp_buf_queue() 429 int index = frame->vb.vb2_buf.index; in atomisp_buf_cleanup() local 431 pipe->frame_request_config_id[index] = 0; in atomisp_buf_cleanup() 432 pipe->frame_params[index] = NULL; in atomisp_buf_cleanup()
|
/kernel/linux/linux-6.6/drivers/fpga/ |
H A D | fpga-mgr.c | 472 int index; in fpga_mgr_buf_load() local 494 for (index = 0; index < nr_pages; index++) { in fpga_mgr_buf_load() 496 pages[index] = vmalloc_to_page(p); in fpga_mgr_buf_load() 498 pages[index] = kmap_to_page((void *)p); in fpga_mgr_buf_load() 499 if (!pages[index]) { in fpga_mgr_buf_load() 510 rc = sg_alloc_table_from_pages(&sgt, pages, index, offset_in_page(buf), in fpga_mgr_buf_load()
|
/kernel/linux/linux-6.6/drivers/firmware/ |
H A D | iscsi_ibft.c | 93 u8 index; member 262 str += sprintf(str, "%d\n", initiator->hdr.index); in ibft_attr_show_initiator() 304 str += sprintf(str, "%d\n", nic->hdr.index); in ibft_attr_show_nic() 364 str += sprintf(str, "%d\n", tgt->hdr.index); in ibft_attr_show_target() 648 boot_kobj = iscsi_boot_create_initiator(boot_kset, hdr->index, in ibft_create_kobject() 664 boot_kobj = iscsi_boot_create_ethernet(boot_kset, hdr->index, in ibft_create_kobject() 680 boot_kobj = iscsi_boot_create_target(boot_kset, hdr->index, in ibft_create_kobject() 754 rc |= ((control->hdr.index) ? -ENODEV : 0); in ibft_register_kobjects()
|
/kernel/linux/linux-6.6/drivers/net/usb/ |
H A D | asix_common.c | 14 int __must_check asix_read_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, in asix_read_cmd() argument 28 value, index, data, size); in asix_read_cmd() 33 netdev_warn(dev->net, "Failed to read reg index 0x%04x: %d\n", in asix_read_cmd() 34 index, ret); in asix_read_cmd() 40 int asix_write_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, in asix_write_cmd() argument 54 value, index, data, size); in asix_write_cmd() 57 netdev_warn(dev->net, "Failed to write reg index 0x%04x: %d\n", in asix_write_cmd() 58 index, ret); in asix_write_cmd() 63 void asix_write_cmd_async(struct usbnet *dev, u8 cmd, u16 value, u16 index, in asix_write_cmd_async() argument 68 value, index, dat in asix_write_cmd_async() [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | emc2103.c | 177 int nr = to_sensor_dev_attr(da)->index; in temp_show() 187 int nr = to_sensor_dev_attr(da)->index; in temp_min_show() 196 int nr = to_sensor_dev_attr(da)->index; in temp_max_show() 205 int nr = to_sensor_dev_attr(da)->index; in temp_fault_show() 215 int nr = to_sensor_dev_attr(da)->index; in temp_min_alarm_show() 225 int nr = to_sensor_dev_attr(da)->index; in temp_max_alarm_show() 234 int nr = to_sensor_dev_attr(da)->index; in temp_min_store() 256 int nr = to_sensor_dev_attr(da)->index; in temp_max_store()
|
/kernel/linux/linux-6.6/drivers/i2c/ |
H A D | i2c-core-acpi.c | 39 int index; member 114 if (lookup->index != -1 && lookup->n++ != lookup->index) in i2c_acpi_fill_info() 242 lookup.index = -1; in i2c_acpi_get_info() 401 lookup.index = -1; in i2c_acpi_find_bus_speed() 492 * @index: Index of ACPI resource to get 508 int index, in i2c_acpi_new_device_by_fwnode() 524 lookup.index = index; in i2c_acpi_new_device_by_fwnode() 507 i2c_acpi_new_device_by_fwnode(struct fwnode_handle *fwnode, int index, struct i2c_board_info *info) i2c_acpi_new_device_by_fwnode() argument
|
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | mms114.c | 223 int index; in mms114_interrupt() local 248 for (index = 0; index < touch_size; index++) { in mms114_interrupt() 249 switch (touch[index].type) { in mms114_interrupt() 251 mms114_process_mt(data, touch + index); in mms114_interrupt() 255 mms114_process_touchkey(data, touch + index); in mms114_interrupt() 260 touch[index].type); in mms114_interrupt()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | test_sk_lookup.c | 24 #define LSE_INDEX(index, size) (index) 26 #define LSE_INDEX(index, size) ((size) - (index) - 1) 28 #define LSB(value, index) \ 29 (((__u8 *)&(value))[LSE_INDEX((index), sizeof(value))]) 30 #define LSW(value, index) \ 31 (((__u16 *)&(value))[LSE_INDEX((index), sizeof(value) / 2)])
|
/kernel/liteos_m/kal/posix/src/ |
H A D | mqueue.c | 115 UINT32 index; in GetMqueueCBByName() local 118 for (index = 0; index < LOSCFG_BASE_IPC_QUEUE_LIMIT; index++) { in GetMqueueCBByName() 119 if ((g_queueTable[index].mq_name == NULL) || (strlen(g_queueTable[index].mq_name) != mylen)) { in GetMqueueCBByName() 123 if (strncmp(name, (const CHAR *)(g_queueTable[index].mq_name), mylen) == 0) { in GetMqueueCBByName() 124 return &(g_queueTable[index]); in GetMqueueCBByName()
|
/kernel/linux/linux-6.6/drivers/scsi/aic94xx/ |
H A D | aic94xx_tmf.c | 239 scb->clear_nexus.index = cpu_to_le16(tascb->tc_index); in asd_clear_nexus_index() 452 scb->abort_task.index = cpu_to_le16((u16)tascb->tc_index); in asd_abort_task() 546 * @index: the transaction context of the task to be queried if QT TMF 557 int tmf, int index) in asd_initiate_ssp_tmf() 601 scb->ssp_tmf.index = cpu_to_le16(index); in asd_initiate_ssp_tmf() 678 int index; in asd_query_task() local 681 index = ascb->tc_index; in asd_query_task() 683 TMF_QUERY_TASK, index); in asd_query_task() 556 asd_initiate_ssp_tmf(struct domain_device *dev, u8 *lun, int tmf, int index) asd_initiate_ssp_tmf() argument
|