Home
last modified time | relevance | path

Searched refs:finfo (Results 1 – 25 of 36) sorted by relevance

12

/linux-6.6.21/drivers/mailbox/
Domap-mailbox.c691 struct omap_mbox_fifo_info *finfo, *finfoblk; in omap_mbox_probe() local
730 finfo = finfoblk; in omap_mbox_probe()
732 for (i = 0; i < info_count; i++, finfo++) { in omap_mbox_probe()
738 finfo->tx_id = tmp[0]; in omap_mbox_probe()
739 finfo->tx_irq = tmp[1]; in omap_mbox_probe()
740 finfo->tx_usr = tmp[2]; in omap_mbox_probe()
746 finfo->rx_id = tmp[0]; in omap_mbox_probe()
747 finfo->rx_irq = tmp[1]; in omap_mbox_probe()
748 finfo->rx_usr = tmp[2]; in omap_mbox_probe()
750 finfo->name = child->name; in omap_mbox_probe()
[all …]
/linux-6.6.21/tools/testing/selftests/x86/
Damx.c700 struct futex_info *finfo = (struct futex_info *)info; in check_tiledata() local
714 pthread_mutex_lock(&finfo->mutex); in check_tiledata()
734 pthread_mutex_unlock(&finfo->next->mutex); in check_tiledata()
742 return finfo; in check_tiledata()
745 static int create_threads(int num, struct futex_info *finfo) in create_threads() argument
752 finfo[i].nr = i; in create_threads()
758 pthread_mutex_init(&finfo[i].mutex, NULL); in create_threads()
759 pthread_mutex_lock(&finfo[i].mutex); in create_threads()
762 finfo[i].next = &finfo[next_nr]; in create_threads()
764 if (pthread_create(&finfo[i].thread, NULL, check_tiledata, &finfo[i])) in create_threads()
[all …]
/linux-6.6.21/tools/testing/selftests/mm/
Dkhugepaged.c73 static struct file_info finfo; variable
339 if (file_ops && finfo.type == VMA_FILE) in write_settings()
340 _write_num(finfo.dev_queue_read_ahead_path, in write_settings()
412 if (file_ops && finfo.type == VMA_FILE) in save_settings()
414 _read_num(finfo.dev_queue_read_ahead_path); in save_settings()
432 finfo.dir = dir; in get_finfo()
433 stat(finfo.dir, &path_stat); in get_finfo()
435 printf("%s: Not a directory (%s)\n", __func__, finfo.dir); in get_finfo()
438 if (snprintf(finfo.path, sizeof(finfo.path), "%s/" TEST_FILE, in get_finfo()
439 finfo.dir) >= sizeof(finfo.path)) { in get_finfo()
[all …]
/linux-6.6.21/drivers/fpga/
Ddfl.c766 struct dfl_feature_info *finfo, *p; in build_info_commit_dev() local
810 list_for_each_entry_safe(finfo, p, &binfo->sub_features, node) { in build_info_commit_dev()
817 feature->id = finfo->fid; in build_info_commit_dev()
818 feature->revision = finfo->revision; in build_info_commit_dev()
819 feature->dfh_version = finfo->dfh_version; in build_info_commit_dev()
821 if (finfo->param_size) { in build_info_commit_dev()
823 finfo->params, finfo->param_size, in build_info_commit_dev()
828 feature->param_size = finfo->param_size; in build_info_commit_dev()
841 &finfo->mmio_res); in build_info_commit_dev()
846 fdev->resource[res_idx++] = finfo->mmio_res; in build_info_commit_dev()
[all …]
/linux-6.6.21/drivers/hid/usbhid/
Dhiddev.c601 struct hiddev_field_info finfo; in hiddev_ioctl() local
749 if (copy_from_user(&finfo, user_arg, sizeof(finfo))) { in hiddev_ioctl()
754 rinfo.report_type = finfo.report_type; in hiddev_ioctl()
755 rinfo.report_id = finfo.report_id; in hiddev_ioctl()
761 if (finfo.field_index >= report->maxfield) in hiddev_ioctl()
763 finfo.field_index = array_index_nospec(finfo.field_index, in hiddev_ioctl()
766 field = report->field[finfo.field_index]; in hiddev_ioctl()
767 memset(&finfo, 0, sizeof(finfo)); in hiddev_ioctl()
768 finfo.report_type = rinfo.report_type; in hiddev_ioctl()
769 finfo.report_id = rinfo.report_id; in hiddev_ioctl()
[all …]
/linux-6.6.21/drivers/gpu/drm/tidss/
Dtidss_plane.c30 const struct drm_format_info *finfo; in tidss_plane_atomic_check() local
71 finfo = drm_format_info(new_plane_state->fb->format->format); in tidss_plane_atomic_check()
73 if ((new_plane_state->src_x >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check()
76 __func__, (new_plane_state->src_x >> 16), finfo->hsub); in tidss_plane_atomic_check()
80 if ((new_plane_state->src_y >> 16) % finfo->vsub != 0) { in tidss_plane_atomic_check()
83 __func__, (new_plane_state->src_y >> 16), finfo->vsub); in tidss_plane_atomic_check()
87 if ((new_plane_state->src_w >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check()
91 finfo->hsub); in tidss_plane_atomic_check()
/linux-6.6.21/net/ipv6/
Dseg6_local.c336 static __u8 seg6_flv_lcblock_octects(const struct seg6_flavors_info *finfo) in seg6_flv_lcblock_octects() argument
338 return finfo->lcblock_bits >> 3; in seg6_flv_lcblock_octects()
341 static __u8 seg6_flv_lcnode_func_octects(const struct seg6_flavors_info *finfo) in seg6_flv_lcnode_func_octects() argument
343 return finfo->lcnode_func_bits >> 3; in seg6_flv_lcnode_func_octects()
347 const struct seg6_flavors_info *finfo) in seg6_next_csid_is_arg_zero() argument
349 __u8 fnc_octects = seg6_flv_lcnode_func_octects(finfo); in seg6_next_csid_is_arg_zero()
350 __u8 blk_octects = seg6_flv_lcblock_octects(finfo); in seg6_next_csid_is_arg_zero()
365 const struct seg6_flavors_info *finfo) in seg6_next_csid_advance_arg() argument
367 __u8 fnc_octects = seg6_flv_lcnode_func_octects(finfo); in seg6_next_csid_advance_arg()
368 __u8 blk_octects = seg6_flv_lcblock_octects(finfo); in seg6_next_csid_advance_arg()
[all …]
/linux-6.6.21/drivers/scsi/aic7xxx/aicasm/
Daicasm_symbol.c106 if (symbol->info.finfo != NULL) { in symbol_delete()
107 symlist_free(&symbol->info.finfo->symrefs); in symbol_delete()
108 free(symbol->info.finfo); in symbol_delete()
260 && (curnode->symbol->info.finfo->value > in symlist_add()
261 newnode->symbol->info.finfo->value)))) in symlist_add()
280 && (cursymbol->info.finfo->value > in symlist_add()
281 symbol->info.finfo->value)))) in symlist_add()
456 curnode->symbol->info.finfo->value, in aic_print_reg_dump_entry()
457 curnode->symbol->info.finfo->mask); in aic_print_reg_dump_entry()
583 regnode = SLIST_FIRST(&curnode->symbol->info.finfo->symrefs); in symtable_dump()
[all …]
Daicasm_gram.y710 $$.value = symbol->info.finfo->value;
1433 sym->info.finfo->value = value;
1439 sym->info.finfo->value = value;
1440 sym->info.finfo->mask = value;
1442 sym->info.finfo->mask = field_symbol->info.finfo->value;
1444 sym->info.finfo->mask = 0xFF;
1450 } else if (value != sym->info.finfo->value) {
1455 if (symlist_search(&(sym->info.finfo->symrefs),
1460 symlist_add(&(sym->info.finfo->symrefs), cur_symbol,
1462 cur_symbol->info.rinfo->valid_bitmask |= sym->info.finfo->mask;
[all …]
/linux-6.6.21/drivers/firmware/efi/libstub/
Dfile.c32 struct finfo { struct
38 struct finfo *fi, in efi_open_file() argument
61 info_sz = sizeof(struct finfo); in efi_open_file()
129 struct finfo *fi) in efi_open_device_path()
213 struct finfo fi; in handle_cmdline_files()
/linux-6.6.21/drivers/gpu/drm/ingenic/
Dingenic-ipu.c329 const struct drm_format_info *finfo; in ingenic_ipu_plane_atomic_update() local
342 finfo = drm_format_info(newstate->fb->format->format); in ingenic_ipu_plane_atomic_update()
369 if (finfo->num_planes > 1) in ingenic_ipu_plane_atomic_update()
372 if (finfo->num_planes > 2) in ingenic_ipu_plane_atomic_update()
384 if (finfo->num_planes == 1) in ingenic_ipu_plane_atomic_update()
390 if (finfo->num_planes > 2) in ingenic_ipu_plane_atomic_update()
391 stride = ((newstate->src_w >> 16) * finfo->cpp[2] / finfo->hsub) in ingenic_ipu_plane_atomic_update()
394 if (finfo->num_planes > 1) in ingenic_ipu_plane_atomic_update()
395 stride |= ((newstate->src_w >> 16) * finfo->cpp[1] / finfo->hsub) in ingenic_ipu_plane_atomic_update()
400 stride = ((newstate->src_w >> 16) * finfo->cpp[0]) << JZ_IPU_Y_STRIDE_Y_LSB; in ingenic_ipu_plane_atomic_update()
[all …]
/linux-6.6.21/drivers/net/ethernet/cavium/liquidio/
Dlio_vf_main.c802 struct octnet_buf_free_info *finfo; in free_netbuf() local
806 finfo = (struct octnet_buf_free_info *)buf; in free_netbuf()
807 skb = finfo->skb; in free_netbuf()
808 lio = finfo->lio; in free_netbuf()
810 dma_unmap_single(&lio->oct_dev->pci_dev->dev, finfo->dptr, skb->len, in free_netbuf()
822 struct octnet_buf_free_info *finfo; in free_netsgbuf() local
828 finfo = (struct octnet_buf_free_info *)buf; in free_netsgbuf()
829 skb = finfo->skb; in free_netsgbuf()
830 lio = finfo->lio; in free_netsgbuf()
831 g = finfo->g; in free_netsgbuf()
[all …]
Dlio_main.c1413 struct octnet_buf_free_info *finfo; in free_netbuf() local
1416 finfo = (struct octnet_buf_free_info *)buf; in free_netbuf()
1417 skb = finfo->skb; in free_netbuf()
1418 lio = finfo->lio; in free_netbuf()
1420 dma_unmap_single(&lio->oct_dev->pci_dev->dev, finfo->dptr, skb->len, in free_netbuf()
1432 struct octnet_buf_free_info *finfo; in free_netsgbuf() local
1438 finfo = (struct octnet_buf_free_info *)buf; in free_netsgbuf()
1439 skb = finfo->skb; in free_netsgbuf()
1440 lio = finfo->lio; in free_netsgbuf()
1441 g = finfo->g; in free_netsgbuf()
[all …]
/linux-6.6.21/drivers/media/usb/ttusb-dec/
Dttusb_dec.c561 struct filter_info *finfo; in ttusb_dec_process_filter() local
570 finfo = list_entry(item, struct filter_info, filter_info_list); in ttusb_dec_process_filter()
571 if (finfo->stream_id == sid) { in ttusb_dec_process_filter()
572 filter = finfo->filter; in ttusb_dec_process_filter()
1047 struct filter_info *finfo; in ttusb_dec_start_sec_feed() local
1063 if (!(finfo = kmalloc(sizeof(struct filter_info), in ttusb_dec_start_sec_feed()
1067 finfo->stream_id = c[1]; in ttusb_dec_start_sec_feed()
1068 finfo->filter = dvbdmxfeed->filter; in ttusb_dec_start_sec_feed()
1071 list_add_tail(&finfo->filter_info_list, in ttusb_dec_start_sec_feed()
1076 dvbdmxfeed->priv = finfo; in ttusb_dec_start_sec_feed()
[all …]
/linux-6.6.21/drivers/mtd/chips/
Djedec_probe.c2034 const struct amd_flash_info *finfo ) in jedec_match() argument
2051 mfr = (uint8_t)finfo->mfr_id; in jedec_match()
2052 id = (uint8_t)finfo->dev_id; in jedec_match()
2058 if (finfo->dev_id > 0xff) { in jedec_match()
2065 mfr = (uint16_t)finfo->mfr_id; in jedec_match()
2066 id = (uint16_t)finfo->dev_id; in jedec_match()
2069 mfr = (uint16_t)finfo->mfr_id; in jedec_match()
2070 id = (uint32_t)finfo->dev_id; in jedec_match()
2084 __func__, base, 1 << finfo->dev_size, base + (1 << finfo->dev_size) ); in jedec_match()
2085 if ( base + cfi_interleave(cfi) * ( 1 << finfo->dev_size ) > map->size ) { in jedec_match()
[all …]
/linux-6.6.21/drivers/gpu/drm/
Ddrm_fb_dma_helper.c124 const struct drm_format_info *finfo = state->fb->format; in drm_fb_dma_sync_non_coherent() local
132 for (i = 0; i < finfo->num_planes; i++) { in drm_fb_dma_sync_non_coherent()
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/
Dcoex.c1029 prpt = &pfwinfo->rpt_ctrl.finfo; in _chk_btc_report()
1031 pfinfo = &pfwinfo->rpt_ctrl.finfo.v1; in _chk_btc_report()
1032 pcinfo->req_len = sizeof(pfwinfo->rpt_ctrl.finfo.v1); in _chk_btc_report()
1034 pfinfo = &pfwinfo->rpt_ctrl.finfo.v4; in _chk_btc_report()
1035 pcinfo->req_len = sizeof(pfwinfo->rpt_ctrl.finfo.v4); in _chk_btc_report()
1037 pfinfo = &pfwinfo->rpt_ctrl.finfo.v5; in _chk_btc_report()
1038 pcinfo->req_len = sizeof(pfwinfo->rpt_ctrl.finfo.v5); in _chk_btc_report()
1040 pfinfo = &pfwinfo->rpt_ctrl.finfo.v105; in _chk_btc_report()
1041 pcinfo->req_len = sizeof(pfwinfo->rpt_ctrl.finfo.v105); in _chk_btc_report()
1052 pfinfo = &pfwinfo->rpt_fbtc_tdma.finfo.v1; in _chk_btc_report()
[all …]
/linux-6.6.21/fs/nilfs2/
Drecovery.c328 struct nilfs_finfo *finfo; in nilfs_scan_dsync_log() local
330 finfo = nilfs_read_summary_info(nilfs, &bh, &offset, in nilfs_scan_dsync_log()
331 sizeof(*finfo)); in nilfs_scan_dsync_log()
332 if (unlikely(!finfo)) in nilfs_scan_dsync_log()
335 ino = le64_to_cpu(finfo->fi_ino); in nilfs_scan_dsync_log()
336 nblocks = le32_to_cpu(finfo->fi_nblocks); in nilfs_scan_dsync_log()
337 ndatablk = le32_to_cpu(finfo->fi_ndatablk); in nilfs_scan_dsync_log()
Dsegment.c512 struct nilfs_finfo *finfo; in nilfs_segctor_end_finfo() local
529 finfo = nilfs_segctor_map_segsum_entry(sci, &sci->sc_finfo_ptr, in nilfs_segctor_end_finfo()
530 sizeof(*finfo)); in nilfs_segctor_end_finfo()
531 finfo->fi_ino = cpu_to_le64(inode->i_ino); in nilfs_segctor_end_finfo()
532 finfo->fi_nblocks = cpu_to_le32(sci->sc_blk_cnt); in nilfs_segctor_end_finfo()
533 finfo->fi_ndatablk = cpu_to_le32(sci->sc_datablk_cnt); in nilfs_segctor_end_finfo()
534 finfo->fi_cno = cpu_to_le64(cno); in nilfs_segctor_end_finfo()
1593 struct nilfs_finfo *finfo = NULL; in nilfs_segctor_update_payload_blocknr() local
1609 if (!finfo) { in nilfs_segctor_update_payload_blocknr()
1610 finfo = nilfs_segctor_map_segsum_entry( in nilfs_segctor_update_payload_blocknr()
[all …]
/linux-6.6.21/drivers/media/i2c/
Dds90ub913.c412 const struct ub913_format_info *finfo; in ub913_set_fmt() local
422 finfo = ub913_find_format(format->format.code); in ub913_set_fmt()
423 if (!finfo) { in ub913_set_fmt()
424 finfo = &ub913_formats[0]; in ub913_set_fmt()
425 format->format.code = finfo->incode; in ub913_set_fmt()
442 format->format.code = finfo->outcode; in ub913_set_fmt()
/linux-6.6.21/drivers/hv/
Dhv_balloon.c147 } finfo; member
1007 pg_start = dm->ha_wrk.ha_page_range.finfo.start_page; in hot_add_req()
1008 pfn_cnt = dm->ha_wrk.ha_page_range.finfo.page_cnt; in hot_add_req()
1010 rg_start = dm->ha_wrk.ha_region_range.finfo.start_page; in hot_add_req()
1011 rg_sz = dm->ha_wrk.ha_region_range.finfo.page_cnt; in hot_add_req()
1220 int num_pages = range_array->finfo.page_cnt; in free_balloon_pages()
1221 __u64 start_frame = range_array->finfo.start_page; in free_balloon_pages()
1277 bl_resp->range_array[i].finfo.start_page = in alloc_balloon_pages()
1279 bl_resp->range_array[i].finfo.page_cnt = alloc_unit; in alloc_balloon_pages()
/linux-6.6.21/tools/bpf/bpftool/
Dcommon.c341 const struct bpf_func_info finfo = {}; in get_prog_full_name() local
355 if (info.func_info_rec_size > sizeof(finfo)) in get_prog_full_name()
356 info.func_info_rec_size = sizeof(finfo); in get_prog_full_name()
357 info.func_info = ptr_to_u64(&finfo); in get_prog_full_name()
366 func_type = btf__type_by_id(prog_btf, finfo.type_id); in get_prog_full_name()
/linux-6.6.21/tools/perf/util/
Dbpf-event.c129 const struct bpf_func_info *finfo; in synthesize_bpf_prog_name() local
138 finfo = func_infos + sub_id * info->func_info_rec_size; in synthesize_bpf_prog_name()
139 t = btf__type_by_id(btf, finfo->type_id); in synthesize_bpf_prog_name()
/linux-6.6.21/drivers/gpu/drm/bridge/imx/
Dimx8qm-ldb.c318 const struct drm_format_info *finfo; in imx8qm_ldb_bridge_atomic_get_input_bus_fmts() local
339 finfo = drm_format_info(di->bus_formats[0]); in imx8qm_ldb_bridge_atomic_get_input_bus_fmts()
341 input_fmts[0] = finfo->depth == 18 ? in imx8qm_ldb_bridge_atomic_get_input_bus_fmts()
/linux-6.6.21/tools/lib/bpf/
Dbpf.c236 void *finfo = NULL, *linfo = NULL; in bpf_prog_load() local
323 while (errno == E2BIG && (!finfo || !linfo)) { in bpf_prog_load()
324 if (!finfo && attr.func_info_cnt && in bpf_prog_load()
327 finfo = alloc_zero_tailing_info(func_info, in bpf_prog_load()
331 if (!finfo) { in bpf_prog_load()
336 attr.func_info = ptr_to_u64(finfo); in bpf_prog_load()
375 free(finfo); in bpf_prog_load()

12