Home
last modified time | relevance | path

Searched refs:start_index (Results 1 – 25 of 53) sorted by relevance

123

/linux/drivers/soc/qcom/
H A Dspm.c73 u8 start_index[PM_SLEEP_MODE_NR]; member
134 .start_index[PM_SLEEP_MODE_STBY] = 0,
135 .start_index[PM_SLEEP_MODE_SPC] = 5,
146 .start_index[PM_SLEEP_MODE_STBY] = 0,
147 .start_index[PM_SLEEP_MODE_SPC] = 5,
157 .start_index[PM_SLEEP_MODE_STBY] = 0,
158 .start_index[PM_SLEEP_MODE_SPC] = 5,
176 .start_index[PM_SLEEP_MODE_STBY] = 0,
177 .start_index[PM_SLEEP_MODE_SPC] = 3,
186 .start_index[PM_SLEEP_MODE_STBY] = 0,
[all …]
/linux/drivers/misc/altera-stapl/
H A Daltera-jtag.h73 int altera_set_dr_pre(struct altera_jtag *js, u32 count, u32 start_index,
75 int altera_set_ir_pre(struct altera_jtag *js, u32 count, u32 start_index,
77 int altera_set_dr_post(struct altera_jtag *js, u32 count, u32 start_index,
79 int altera_set_ir_post(struct altera_jtag *js, u32 count, u32 start_index,
88 u8 *tdi_data, u32 start_index);
94 u8 *tdi_data, u32 start_index);
H A Daltera-jtag.c117 u32 count, u32 start_index, in altera_set_dr_pre() argument
136 j = i + start_index; in altera_set_dr_pre()
155 int altera_set_ir_pre(struct altera_jtag *js, u32 count, u32 start_index, in altera_set_ir_pre() argument
175 j = i + start_index; in altera_set_ir_pre()
193 int altera_set_dr_post(struct altera_jtag *js, u32 count, u32 start_index, in altera_set_dr_post() argument
214 j = i + start_index; in altera_set_dr_post()
233 int altera_set_ir_post(struct altera_jtag *js, u32 count, u32 start_index, in altera_set_ir_post() argument
255 j = i + start_index; in altera_set_ir_post()
394 u32 start_index, in altera_concatenate_data() argument
413 j = start_index; in altera_concatenate_data()
[all …]
/linux/fs/ntfs/
H A Ddir.c656 unsigned long start_index; in ntfs_filldir()
669 if (nir->start_index < cnir->start_index) in ntfs_filldir()
671 else if (nir->start_index >= cnir->start_index + cnir->count) in ntfs_filldir()
674 pr_err("nir start index : %ld, count : %d, cnir start_index : %ld, count : %d\n", in ntfs_filldir()
675 nir->start_index, nir->count, cnir->start_index, cnir->count); in ntfs_filldir()
906 if (nir->start_index <= index && in ntfs_readdir()
907 index < nir->start_index in ntfs_readdir()
696 unsigned long start_index; global() member
[all...]
H A Dbitmap.c18 pgoff_t index, start_index, end_index; in ntfs_trim_fs() local
48 start_index = start_cluster >> 15; in ntfs_trim_fs()
51 for (index = start_index; index < end_index; index++) { in ntfs_trim_fs()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum1_kvdl.c33 unsigned int start_index; member
47 .start_index = MLXSW_SP1_KVDL_##id##_BASE, \
96 if (kvdl_index >= part->info.start_index && in mlxsw_sp1_kvdl_index_part()
108 return info->start_index + entry_index * info->alloc_size; in mlxsw_sp1_kvdl_to_kvdl_index()
115 return (kvdl_index - info->start_index) / info->alloc_size; in mlxsw_sp1_kvdl_to_entry_index()
124 nr_entries = (info->end_index - info->start_index + 1) / in mlxsw_sp1_kvdl_part_alloc()
202 part->info.start_index = part_prev->info.end_index + 1; in mlxsw_sp1_kvdl_part_update()
203 part->info.end_index = part->info.start_index + size - 1; in mlxsw_sp1_kvdl_part_update()
223 resource_size = info->end_index - info->start_index + 1; in mlxsw_sp1_kvdl_part_init()
284 info->start_index + 1) / in mlxsw_sp1_kvdl_part_occ()
H A Dspectrum_fid.c132 u16 start_index; member
372 return fid_family->end_index - fid_family->start_index + 1; in mlxsw_sp_fid_family_num_fids()
507 fid->fid_offset = fid->fid_index - fid->fid_family->start_index; in mlxsw_sp_fid_8021q_setup()
919 fid->fid_offset = fid->fid_index - fid->fid_family->start_index; in mlxsw_sp_fid_8021d_setup()
941 nr_fids = fid_family->end_index - fid_family->start_index + 1; in mlxsw_sp_fid_8021d_index_alloc()
945 *p_fid_index = fid_family->start_index + fid_index; in mlxsw_sp_fid_8021d_index_alloc()
1405 *p_fid_index = fid->fid_family->start_index + rif_index; in mlxsw_sp_fid_rfid_index_alloc()
1415 return fid->fid_index == rif_index + fid->fid_family->start_index; in mlxsw_sp_fid_rfid_port_vid_map()
1681 *p_fid_index = fid->fid_family->start_index; in mlxsw_sp_fid_dummy_index_alloc()
1866 .start_index
[all...]
H A Dspectrum_policer.c16 u16 start_index; /* Inclusive */ member
92 family->start_index = MLXSW_CORE_RES_GET(core, MAX_CPU_POLICERS); in mlxsw_sp_policer_single_rate_family_init()
122 id = idr_alloc(&family->policer_idr, policer, family->start_index, in mlxsw_sp_policer_single_rate_index_alloc()
326 if (WARN_ON(family->start_index >= family->end_index)) { in mlxsw_sp_policer_family_register()
/linux/arch/sparc/kernel/
H A Dcpumap.c43 int start_index; /* Index of first node of a level in a cpuinfo tree */ member
133 lv->start_index = lv->end_index = lv->num_nodes = 0; in enumerate_cpuinfo_nodes()
165 tree_level[CPUINFO_LVL_NODE].start_index = 1; in enumerate_cpuinfo_nodes()
169 tree_level[CPUINFO_LVL_CORE].start_index = n; in enumerate_cpuinfo_nodes()
173 tree_level[CPUINFO_LVL_PROC].start_index = n; in enumerate_cpuinfo_nodes()
208 n = new_tree->level[level].start_index; in build_cpuinfo_tree()
223 ? new_tree->level[level - 1].start_index : -1; in build_cpuinfo_tree()
227 ? cpu : new_tree->level[level + 1].start_index; in build_cpuinfo_tree()
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_mr.c252 int start_index, u64 *buffer_list, int list_len) in __mthca_write_mtt() argument
267 start_index * 8); in __mthca_write_mtt()
287 start_index += i; in __mthca_write_mtt()
313 struct mthca_mtt *mtt, int start_index, in mthca_tavor_write_mtt_seg() argument
320 start_index * sizeof (u64); in mthca_tavor_write_mtt_seg()
327 struct mthca_mtt *mtt, int start_index, in mthca_arbel_write_mtt_seg() argument
333 int s = start_index * sizeof (u64); in mthca_arbel_write_mtt_seg()
356 int start_index, u64 *buffer_list, int list_len) in mthca_write_mtt() argument
363 return __mthca_write_mtt(dev, mtt, start_index, buffer_list, list_len); in mthca_write_mtt()
368 mthca_arbel_write_mtt_seg(dev, mtt, start_index, in mthca_write_mtt()
[all …]
/linux/drivers/acpi/acpica/
H A Dnsrepair2.c74 u32 start_index,
748 * start_index - Index of the first subpackage
765 u32 start_index, in acpi_ns_check_sorted_list() argument
791 if (!outer_element_count || start_index >= outer_element_count) { in acpi_ns_check_sorted_list()
795 outer_elements = &return_object->package.elements[start_index]; in acpi_ns_check_sorted_list()
796 outer_element_count -= start_index; in acpi_ns_check_sorted_list()
835 elements[start_index], in acpi_ns_check_sorted_list()
H A Dnsprepkg.c29 u8 type2, u32 count2, u32 start_index);
698 * start_index - Start of the first group of elements
712 u8 type2, u32 count2, u32 start_index) in acpi_ns_check_package_elements()
727 type1, i + start_index); in acpi_ns_check_package_elements()
738 (i + count1 + start_index)); in acpi_ns_check_package_elements()
705 acpi_ns_check_package_elements(struct acpi_evaluate_info * info,union acpi_operand_object ** elements,u8 type1,u32 count1,u8 type2,u32 count2,u32 start_index) acpi_ns_check_package_elements() argument
/linux/drivers/iommu/generic_pt/
H A Diommu_pt.h25 unsigned int start_index, unsigned int end_index) in flush_writes_range() argument
30 pts->table, start_index * PT_ITEM_WORD_SIZE, in flush_writes_range()
31 (end_index - start_index) * PT_ITEM_WORD_SIZE); in flush_writes_range()
576 unsigned int start_index; in __map_range_leaf()
594 start_index = pts.index; in __map_range_leaf()
611 if (pts.index != start_index) in __map_range_leaf()
630 flush_writes_range(&pts, start_index, pts.index);
662 if (pts.index != start_index) in __map_range()
1022 unsigned int start_index; in __unmap_range()
1026 start_index in __unmap_range()
538 unsigned int start_index; __map_range_leaf() local
984 unsigned int start_index; __unmap_range() local
[all...]
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_mr.c746 u32 start_index, u64 *mtt_buf, in hns_roce_get_direct_addr_mtt()
760 if (npage < start_index) in hns_roce_get_direct_addr_mtt()
776 struct hns_roce_mtr *mtr, u32 start_index, in hns_roce_get_mhop_mtt()
788 start_index + total, in hns_roce_get_mhop_mtt()
809 u32 start_index; in hns_roce_mtr_find()
817 start_index = offset >> HNS_HW_PAGE_SHIFT; in hns_roce_mtr_find()
818 ret = hns_roce_get_direct_addr_mtt(cfg, start_index, in hns_roce_mtr_find()
821 start_index = offset >> cfg->buf_pg_shift; in hns_roce_mtr_find()
822 ret = hns_roce_get_mhop_mtt(hr_dev, mtr, start_index, in hns_roce_mtr_find()
742 hns_roce_get_direct_addr_mtt(struct hns_roce_hem_cfg * cfg,u32 start_index,u64 * mtt_buf,int mtt_cnt) hns_roce_get_direct_addr_mtt() argument
772 hns_roce_get_mhop_mtt(struct hns_roce_dev * hr_dev,struct hns_roce_mtr * mtr,u32 start_index,u64 * mtt_buf,int mtt_cnt) hns_roce_get_mhop_mtt() argument
805 u32 start_index; hns_roce_mtr_find() local
/linux/fs/squashfs/
H A Dpage_actor.c111 struct page **page, int pages, int length, loff_t start_index) in squashfs_page_actor_init_special() argument
133 actor->next_index = start_index >> PAGE_SHIFT; in squashfs_page_actor_init_special()
H A Dpage_actor.h33 loff_t start_index);
H A Dfile.c400 int start_index = folio->index & ~mask, end_index = start_index | mask; in squashfs_copy_cache() local
408 for (i = start_index; i <= end_index && bytes > 0; i++, in squashfs_copy_cache()
/linux/kernel/
H A Dkcov.c243 u64 count, start_index, end_pos, max_pos; in write_comp_data() local
261 start_index = 1 + count * KCOV_WORDS_PER_CMP; in write_comp_data()
262 end_pos = (start_index + KCOV_WORDS_PER_CMP) * sizeof(u64); in write_comp_data()
267 area[start_index] = type; in write_comp_data()
268 area[start_index + 1] = arg1; in write_comp_data()
269 area[start_index + 2] = arg2; in write_comp_data()
270 area[start_index + 3] = ip; in write_comp_data()
/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-desc.c427 unsigned int start_index, cur_index; in xgbe_map_tx_skb() local
434 start_index = ring->cur; in xgbe_map_tx_skb()
542 packet->rdesc_count = cur_index - start_index; in xgbe_map_tx_skb()
549 while (start_index < cur_index) { in xgbe_map_tx_skb()
550 rdata = XGBE_GET_DESC_DATA(ring, start_index++); in xgbe_map_tx_skb()
/linux/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-desc.c498 unsigned int start_index, cur_index; in xlgmac_map_tx_skb() local
508 start_index = ring->cur; in xlgmac_map_tx_skb()
618 pkt_info->desc_count = cur_index - start_index; in xlgmac_map_tx_skb()
623 while (start_index < cur_index) { in xlgmac_map_tx_skb()
624 desc_data = XLGMAC_GET_DESC_DATA(ring, start_index++); in xlgmac_map_tx_skb()
H A Ddwc-xlgmac-hw.c711 int start_index = ring->cur; in xlgmac_dev_xmit() local
872 if (cur_index != start_index) in xlgmac_dev_xmit()
920 for (i = cur_index - start_index + 1; i < pkt_info->desc_count; i++) { in xlgmac_dev_xmit()
983 desc_data = XLGMAC_GET_DESC_DATA(ring, start_index); in xlgmac_dev_xmit()
991 xlgmac_dump_tx_desc(pdata, ring, start_index, in xlgmac_dev_xmit()
1006 channel->name, start_index & (ring->dma_desc_count - 1), in xlgmac_dev_xmit()
1060 int start_index = ring->cur; in xlgmac_tx_desc_init() local
1075 desc_data = XLGMAC_GET_DESC_DATA(ring, start_index); in xlgmac_tx_desc_init()
1143 unsigned int start_index = ring->cur; in xlgmac_rx_desc_init() local
1159 desc_data = XLGMAC_GET_DESC_DATA(ring, start_index); in xlgmac_rx_desc_init()
[all …]
/linux/drivers/tty/vt/
H A Dgen_ucs_fallback_table.py313 start_index = 0
319 start_index += count
/linux/tools/bpf/bpftool/
H A Dxlated_dumper.h39 unsigned int start_index,
/linux/drivers/scsi/
H A D3w-9xxx.c646 unsigned char event_index, start_index; in twa_chrdev_ioctl() local
796 start_index = tw_dev->error_index; in twa_chrdev_ioctl()
802 start_index = 0; in twa_chrdev_ioctl()
804 …event_index = (start_index + sequence_id - tw_dev->event_queue[start_index]->sequence_id + 1) % TW… in twa_chrdev_ioctl()
825 start_index = tw_dev->error_index; in twa_chrdev_ioctl()
831 start_index = 0; in twa_chrdev_ioctl()
833 …event_index = (start_index + sequence_id - tw_dev->event_queue[start_index]->sequence_id - 1) % TW… in twa_chrdev_ioctl()
/linux/net/can/
H A Disotp.c319 static int check_optimized(struct canfd_frame *cf, int start_index) in check_optimized() argument
327 return (cf->len != start_index); in check_optimized()
335 return (cf->len != padlen(start_index)); in check_optimized()
340 int start_index, u8 content) in check_pad() argument
347 return check_optimized(cf, start_index); in check_pad()
360 for (i = start_index; i < cf->len; i++) in check_pad()

123