/kernel/linux/linux-5.10/drivers/staging/media/omap4iss/ |
H A D | iss_video.c | 199 *pad = remote->index; in iss_video_remote_subdev() 547 unsigned int index = f->index; in iss_video_enum_format() local 564 if (index == 0) { in iss_video_enum_format() 569 index--; in iss_video_enum_format() 1042 if (input->index > 0) in iss_video_enum_input()
|
/kernel/linux/linux-5.10/drivers/staging/media/zoran/ |
H A D | zoran_driver.c | 265 if (fmt->index >= ARRAY_SIZE(zoran_formats)) in zoran_enum_fmt() 271 if (zoran_formats[i].flags & flag && num++ == fmt->index) { in zoran_enum_fmt() 598 if (inp->index >= zr->card.inputs) in zoran_enum_input() 601 strscpy(inp->name, zr->card.input[inp->index].name, sizeof(inp->name)); in zoran_enum_input() 636 if (outp->index != 0) 639 outp->index = 0;
|
/kernel/linux/linux-6.6/drivers/media/usb/pwc/ |
H A D | pwc-v4l.c | 491 if (i->index) /* Only one INPUT is supported */ in pwc_enum_input() 872 switch (f->index) { in pwc_enum_fmt_vid_cap() 910 unsigned int i = 0, index = fsize->index; in pwc_enum_framesizes() local 920 if (!index--) { in pwc_enum_framesizes() 950 i = pwc_get_fps(pdev, fival->index, size); in pwc_enum_frameintervals()
|
/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | videobuf-core.c | 324 b->index = vb->i; in videobuf_status() 510 if (unlikely(b->index >= VIDEO_MAX_FRAME)) { in videobuf_querybuf() 511 dprintk(1, "querybuf: index out of range.\n"); in videobuf_querybuf() 514 if (unlikely(NULL == q->bufs[b->index])) { in videobuf_querybuf() 519 videobuf_status(q, b, q->bufs[b->index], q->type); in videobuf_querybuf() 551 if (b->index >= VIDEO_MAX_FRAME) { in videobuf_qbuf() 552 dprintk(1, "qbuf: index out of range.\n"); in videobuf_qbuf() 555 buf = q->bufs[b->index]; in videobuf_qbuf()
|
/kernel/linux/linux-6.6/drivers/media/platform/via/ |
H A D | via-camera.c | 744 if (input->index != 0) in viacam_enum_input() 784 if (fmt->index >= N_VIA_FMTS) in viacam_enum_fmt_vid_cap() 786 fmt->pixelformat = via_formats[fmt->index].pixelformat; in viacam_enum_fmt_vid_cap() 939 if (sizes->index != 0) in viacam_enum_framesizes() 960 .index = interval->index, in viacam_enum_frameintervals()
|
/kernel/linux/linux-6.6/drivers/media/usb/gspca/ |
H A D | spca508.c | 1231 static int reg_write(struct gspca_dev *gspca_dev, u16 index, u16 value) in reg_write() argument 1240 value, index, NULL, 0, 500); in reg_write() 1242 index, value); in reg_write() 1251 u16 index) /* wIndex */ in reg_read() 1260 index, in reg_read() 1264 index, gspca_dev->usb_buf[0]); in reg_read() 1250 reg_read(struct gspca_dev *gspca_dev, u16 index) reg_read() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | clock.c | 473 if (rq->extts.index >= clock->ptp_info.n_pins) in mlx5_extts_configure() 476 pin = ptp_find_pin(clock->ptp, PTP_PF_EXTTS, rq->extts.index); in mlx5_extts_configure() 653 if (rq->perout.index >= clock->ptp_info.n_pins) in mlx5_perout_configure() 657 pin = ptp_find_pin(clock->ptp, PTP_PF_PEROUT, rq->perout.index); in mlx5_perout_configure() 829 clock->ptp_info.pin_config[i].index = i; in mlx5_init_pin_config() 900 ptp_event.index = pin; in mlx5_pps_event()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | ef100_nic.c | 338 if (context->index == efx->irq_level) in ef100_msi_interrupt() 342 efx_schedule_channel_irq(efx->channel[context->index]); in ef100_msi_interrupt() 600 size_t stats_count = 0, index; in ef100_update_stats_common() local 606 for_each_set_bit(index, mask, EF100_STAT_COUNT) { in ef100_update_stats_common() 607 if (ef100_stat_desc[index].name) { in ef100_update_stats_common() 608 *full_stats++ = stats[index]; in ef100_update_stats_common()
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | space-info.c | 303 int factor, index; in btrfs_add_bg_to_space_info() local 323 index = btrfs_bg_flags_to_raid_index(block_group->flags); in btrfs_add_bg_to_space_info() 325 list_add_tail(&block_group->list, &found->block_groups[index]); in btrfs_add_bg_to_space_info() 510 int index = 0; in btrfs_dump_space_info() local 522 list_for_each_entry(cache, &info->block_groups[index], list) { in btrfs_dump_space_info() 539 if (++index < BTRFS_NR_RAID_TYPES) in btrfs_dump_space_info()
|
/kernel/linux/linux-6.6/fs/ext2/ |
H A D | inode.c | 405 int index = 0; in ext2_alloc_blocks() local 428 while (index < indirect_blks && count) { in ext2_alloc_blocks() 429 new_blocks[index++] = current_block++; in ext2_alloc_blocks() 438 new_blocks[index] = current_block; in ext2_alloc_blocks() 445 for (i = 0; i <index; i++) in ext2_alloc_blocks() 447 if (index) in ext2_alloc_blocks()
|
/kernel/linux/linux-6.6/fs/ntfs3/ |
H A D | ntfs_fs.h | 125 /* Biggest index / smallest cluster = 4096 / 512 = 8 */ 405 struct INDEX_BUFFER *index; member 659 /* Globals from index.c */ 792 CLST *len, size_t *index); 800 bool run_get_entry(const struct runs_tree *run, size_t index, CLST *vcn, 916 unsigned long index) in ntfs_map_page() 918 struct page *page = read_mapping_page(mapping, index, NULL); in ntfs_map_page() 1105 kfree(in->index); in put_indx_node() 915 ntfs_map_page(struct address_space *mapping, unsigned long index) ntfs_map_page() argument
|
H A D | file.c | 808 static int ntfs_get_frame_pages(struct address_space *mapping, pgoff_t index, in ntfs_get_frame_pages() argument 817 for (npages = 0; npages < pages_per_frame; npages++, index++) { in ntfs_get_frame_pages() 820 page = find_or_create_page(mapping, index, gfp_mask); in ntfs_get_frame_pages() 863 pgoff_t index; in ntfs_compress_write() local 962 index = frame_vbo >> PAGE_SHIFT; in ntfs_compress_write() 970 err = ntfs_get_frame_pages(mapping, index, pages, in ntfs_compress_write()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | phy.h | 419 * @irq: An array of interrupts, each PHY's interrupt at the index 858 * @index: Number of the LED 864 u8 index; member 1099 u8 index, enum led_brightness value); 1109 int (*led_blink_set)(struct phy_device *dev, u8 index, 1115 * @index: Which LED of the PHY device 1120 int (*led_hw_is_supported)(struct phy_device *dev, u8 index, 1125 * @index: Which LED of the PHY device 1130 int (*led_hw_control_set)(struct phy_device *dev, u8 index, 1135 * @index [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/omap4iss/ |
H A D | iss_video.c | 197 *pad = remote->index; in iss_video_remote_subdev() 540 unsigned int index = f->index; in iss_video_enum_format() local 557 if (index == 0) { in iss_video_enum_format() 562 index--; in iss_video_enum_format() 1032 if (input->index > 0) in iss_video_enum_input()
|
/kernel/linux/linux-6.6/drivers/tty/serial/ |
H A D | mvebu-uart.c | 732 struct uart_port *port = &mvebu_uart_ports[co->index]; in mvebu_uart_console_write() 772 if (co->index < 0 || co->index >= MVEBU_NR_UARTS) in mvebu_uart_console_setup() 775 port = &mvebu_uart_ports[co->index]; in mvebu_uart_console_setup() 778 pr_debug("console on ttyMV%i not present\n", co->index); in mvebu_uart_console_setup() 796 .index = -1,
|
/kernel/linux/linux-6.6/drivers/platform/mellanox/ |
H A D | mlxbf-tmfifo.c | 73 * @index: vring index 92 int index; member 152 * @index: index into the interrupt array 157 int index; member 282 vring->index = i; in mlxbf_tmfifo_alloc_vrings() 319 if (!test_and_set_bit(irq_info->index, &irq_info->fifo->pend_events)) in mlxbf_tmfifo_irq_handler() 990 if (vring->index & BIT(0)) { in mlxbf_tmfifo_virtio_notify() 1385 fifo->irq_info[i].index in mlxbf_tmfifo_probe() [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | f_midi.c | 93 int index; member 807 err = snd_card_new(&midi->gadget->dev, midi->index, midi->id, in f_midi_register_card() 1171 F_MIDI_OPT_SIGNED(index, true, SNDRV_CARDS); 1271 opts->index = SNDRV_DEFAULT_IDX1; in f_midi_alloc_inst() 1364 midi->index = opts->index; in f_midi_alloc()
|
/kernel/linux/linux-6.6/drivers/staging/vc04_services/interface/vchiq_arm/ |
H A D | vchiq_dev.c | 375 static inline int vchiq_get_user_ptr(void __user **buf, void __user *ubuf, int index) in vchiq_get_user_ptr() argument 383 ret = get_user(ptr32, uptr + index); in vchiq_get_user_ptr() 391 ret = get_user(ptr, uptr + index); in vchiq_get_user_ptr() 411 int index) in vchiq_put_completion() 422 if (copy_to_user(&buf32[index], &tmp, sizeof(tmp))) in vchiq_put_completion() 425 if (copy_to_user(&buf[index], completion, sizeof(*completion))) in vchiq_put_completion() 409 vchiq_put_completion(struct vchiq_completion_data __user *buf, struct vchiq_completion_data *completion, int index) vchiq_put_completion() argument
|
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | hyperv_fb.c | 573 u8 index; in synthvid_get_supported_resolution() local 597 index = msg->resolution_resp.default_resolution_index; in synthvid_get_supported_resolution() 598 if (index >= msg->resolution_resp.resolution_count) { in synthvid_get_supported_resolution() 599 pr_err("Invalid resolution index: %d\n", index); in synthvid_get_supported_resolution() 605 msg->resolution_resp.supported_resolution[index].width; in synthvid_get_supported_resolution() 607 msg->resolution_resp.supported_resolution[index].height; in synthvid_get_supported_resolution()
|
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | mxuport.c | 213 u8 request, u16 value, u16 index, in mxuport_recv_ctrl_urb() 222 USB_RECIP_DEVICE), value, index, in mxuport_recv_ctrl_urb() 245 u16 value, u16 index, in mxuport_send_ctrl_data_urb() 254 USB_RECIP_DEVICE), value, index, in mxuport_send_ctrl_data_urb() 269 u8 request, u16 value, u16 index) in mxuport_send_ctrl_urb() 271 return mxuport_send_ctrl_data_urb(serial, request, value, index, in mxuport_send_ctrl_urb() 212 mxuport_recv_ctrl_urb(struct usb_serial *serial, u8 request, u16 value, u16 index, u8 *data, size_t size) mxuport_recv_ctrl_urb() argument 243 mxuport_send_ctrl_data_urb(struct usb_serial *serial, u8 request, u16 value, u16 index, u8 *data, size_t size) mxuport_send_ctrl_data_urb() argument 268 mxuport_send_ctrl_urb(struct usb_serial *serial, u8 request, u16 value, u16 index) mxuport_send_ctrl_urb() argument
|
/kernel/linux/linux-6.6/drivers/base/ |
H A D | platform.c | 51 * @num: resource index 92 * @index: resource index 100 unsigned int index, struct resource **res) in devm_platform_get_and_ioremap_resource() 104 r = platform_get_resource(pdev, IORESOURCE_MEM, index); in devm_platform_get_and_ioremap_resource() 117 * @index: resource index 123 unsigned int index) in devm_platform_ioremap_resource() 125 return devm_platform_get_and_ioremap_resource(pdev, index, NULL); in devm_platform_ioremap_resource() 156 * @num: IRQ number index 99 devm_platform_get_and_ioremap_resource(struct platform_device *pdev, unsigned int index, struct resource **res) devm_platform_get_and_ioremap_resource() argument 122 devm_platform_ioremap_resource(struct platform_device *pdev, unsigned int index) devm_platform_ioremap_resource() argument 297 platform_disable_acpi_irq(struct platform_device *pdev, int index) platform_disable_acpi_irq() argument [all...] |
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A D | amd-pstate.c | 74 * display strings corresponding to EPP index in the 76 * index String 152 int index = -EINVAL; in amd_pstate_get_energy_pref_index() local 160 index = EPP_INDEX_PERFORMANCE; in amd_pstate_get_energy_pref_index() 163 index = EPP_INDEX_BALANCE_PERFORMANCE; in amd_pstate_get_energy_pref_index() 166 index = EPP_INDEX_BALANCE_POWERSAVE; in amd_pstate_get_energy_pref_index() 169 index = EPP_INDEX_POWERSAVE; in amd_pstate_get_energy_pref_index() 175 return index; in amd_pstate_get_energy_pref_index()
|
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | k3dma.c | 404 u32 clli = 0, index = 0; in k3_dma_tx_status() local 408 index = ((clli - ds->desc_hw_lli) / in k3_dma_tx_status() 410 for (; index < ds->desc_num; index++) { in k3_dma_tx_status() 411 bytes += ds->desc_hw[index].count; in k3_dma_tx_status() 413 if (!ds->desc_hw[index].lli) in k3_dma_tx_status()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_cgx.c | 529 /* As cgx_lmac_addr_del does not clear entry for index 0 in rvu_cgx_disable_dmac_entries() 660 rsp->index = rc; in rvu_mbox_handler_cgx_mac_addr_add() 681 return cgx_lmac_addr_del(cgx_id, lmac_id, req->index); in rvu_mbox_handler_cgx_mac_addr_del() 1035 int index, int rxtxflag, u64 *stat) in rvu_cgx_nix_cuml_stats() 1067 NIX_AF_LFX_RX_STATX(lf, index)); in rvu_cgx_nix_cuml_stats() 1070 NIX_AF_LFX_TX_STATX(lf, index)); in rvu_cgx_nix_cuml_stats() 1214 return cgx_lmac_addr_update(cgx_id, lmac_id, req->mac_addr, req->index); in rvu_mbox_handler_cgx_mac_addr_update() 1034 rvu_cgx_nix_cuml_stats(struct rvu *rvu, void *cgxd, int lmac_id, int index, int rxtxflag, u64 *stat) rvu_cgx_nix_cuml_stats() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
H A D | fw_tracer.c | 928 u32 index, start_index, end_index; in mlx5_fw_tracer_get_saved_traces_objects() local 946 index = start_index; in mlx5_fw_tracer_get_saved_traces_objects() 947 while (index != end_index) { in mlx5_fw_tracer_get_saved_traces_objects() 948 err = mlx5_devlink_fmsg_fill_trace(fmsg, &straces[index]); in mlx5_fw_tracer_get_saved_traces_objects() 952 index = (index + 1) & (SAVED_TRACES_NUM - 1); in mlx5_fw_tracer_get_saved_traces_objects()
|