/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
H A D | omap_hwmod.c | 1111 * _save_mpu_port_index - find and save the index to @oh's MPU port 1114 * Determines the array index of the OCP slave port that the MPU uses 2109 * @index: index of the entry found 2118 int *index, in of_dev_hwmod_lookup() 2127 *index = res; in of_dev_hwmod_lookup() 2138 *index = i; in of_dev_hwmod_lookup() 2144 *index = 0; in of_dev_hwmod_lookup() 2259 * @index: index o 2116 of_dev_hwmod_lookup(struct device_node *np, struct omap_hwmod *oh, int *index, struct device_node **found) of_dev_hwmod_lookup() argument 2272 _init_mpu_rt_base(struct omap_hwmod *oh, void *data, int index, struct device_node *np) _init_mpu_rt_base() argument 2344 int r, index; _init() local [all...] |
/kernel/linux/linux-6.6/arch/arm/mach-omap2/ |
H A D | omap_hwmod.c | 1111 * _save_mpu_port_index - find and save the index to @oh's MPU port 1114 * Determines the array index of the OCP slave port that the MPU uses 2109 * @index: index of the entry found 2118 int *index, in of_dev_hwmod_lookup() 2127 *index = res; in of_dev_hwmod_lookup() 2138 *index = i; in of_dev_hwmod_lookup() 2145 *index = 0; in of_dev_hwmod_lookup() 2227 * @index: index o 2116 of_dev_hwmod_lookup(struct device_node *np, struct omap_hwmod *oh, int *index, struct device_node **found) of_dev_hwmod_lookup() argument 2240 _init_mpu_rt_base(struct omap_hwmod *oh, void *data, int index, struct device_node *np) _init_mpu_rt_base() argument 2312 int r, index; _init() local [all...] |
/kernel/linux/linux-5.10/drivers/net/usb/ |
H A D | hso.c | 601 static struct hso_serial *get_serial_by_index(unsigned index) in get_serial_by_index() argument 607 if (serial_table[index]) in get_serial_by_index() 608 serial = dev2ser(serial_table[index]); in get_serial_by_index() 616 int index; in obtain_minor() local 620 for (index = 0; index < HSO_SERIAL_TTY_MINORS; index++) { in obtain_minor() 621 if (serial_table[index] == NULL) { in obtain_minor() 622 serial_table[index] = serial->parent; in obtain_minor() 623 serial->minor = index; in obtain_minor() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | mvumi.c | 1651 int index; in mvumi_proc_msg() local 1654 index = -1; in mvumi_proc_msg() 1660 index = find_next_zero_bit(ar_bitmap, size, index + 1); in mvumi_proc_msg() 1661 if (index >= size) in mvumi_proc_msg() 1663 mvumi_handle_hotplug(mhba, index, DEVICE_ONLINE); in mvumi_proc_msg() 1666 index = -1; in mvumi_proc_msg() 1668 index = find_next_zero_bit(re_bitmap, size, index + 1); in mvumi_proc_msg() 1669 if (index > in mvumi_proc_msg() [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | vsprintf.c | 1322 int index; in ip4_string() local 1328 index = 0; in ip4_string() 1331 index = 3; in ip4_string() 1336 index = 3; in ip4_string() 1342 index = 0; in ip4_string() 1348 int digits = put_dec_trunc8(temp, addr[index]) - temp; in ip4_string() 1360 index += step; in ip4_string() 1704 const u8 *index = uuid_index; in uuid_string() local 1715 index = guid_index; in uuid_string() 1724 p = hex_byte_pack_upper(p, addr[index[ in uuid_string() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | rv770_dpm.c | 572 voltage->index = 0; in rv770_populate_vddc_value() 579 voltage->index = pi->vddc_table[i].vddc_index; in rv770_populate_vddc_value() 597 voltage->index = MVDD_HIGH_INDEX; in rv770_populate_mvdd_value() 603 voltage->index = MVDD_LOW_INDEX; in rv770_populate_mvdd_value() 606 voltage->index = MVDD_HIGH_INDEX; in rv770_populate_mvdd_value() 1012 voltage->index = MVDD_LOW_INDEX; in rv770_populate_initial_mvdd_value() 1015 voltage->index = MVDD_HIGH_INDEX; in rv770_populate_initial_mvdd_value() 2174 struct radeon_ps *rps, int index, in rv7xx_parse_pplib_clock_info() 2183 switch (index) { in rv7xx_parse_pplib_clock_info() 2274 int index in rv7xx_parse_power_table() local 2173 rv7xx_parse_pplib_clock_info(struct radeon_device *rdev, struct radeon_ps *rps, int index, union pplib_clock_info *clock_info) rv7xx_parse_pplib_clock_info() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_main.c | 103 /* Utilize last protocol index for XDP */ 551 fp->id, fp->sb_info->igu_sb_id, txq->index, txq->ndev_txq_id, txq->cos, in qede_txq_fp_log_metadata() 579 txq->index, le16_to_cpu(*txq->hw_cons_ptr), in qede_tx_log_print() 585 txq->index, fp->sb_info->igu_sb_id, in qede_tx_log_print() 1637 "Rx buffers allocation failed at index %d\n", i); in qede_alloc_mem_rxq() 1800 txq->index, qed_chain_get_cons_idx(&txq->tx_pbl), in qede_empty_tx_queue() 1807 txq->index, in qede_empty_tx_queue() 1853 fp->xdp_tx->index = QEDE_TXQ_IDX_TO_XDP(edev, in qede_init_fp() 1891 txq->index = txq_index; in qede_init_fp() 2067 txq->index); in qede_drain_txq() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | mvumi.c | 1651 int index; in mvumi_proc_msg() local 1654 index = -1; in mvumi_proc_msg() 1660 index = find_next_zero_bit(ar_bitmap, size, index + 1); in mvumi_proc_msg() 1661 if (index >= size) in mvumi_proc_msg() 1663 mvumi_handle_hotplug(mhba, index, DEVICE_ONLINE); in mvumi_proc_msg() 1666 index = -1; in mvumi_proc_msg() 1668 index = find_next_zero_bit(re_bitmap, size, index + 1); in mvumi_proc_msg() 1669 if (index > in mvumi_proc_msg() [all...] |
/kernel/linux/linux-6.6/drivers/base/power/ |
H A D | domain.c | 2197 * index. 2237 * genpd_xlate_onecell() - Xlate function using a single index. 2243 * A single cell is used as an index into an array of PM domains specified in 2257 pr_err("%s: invalid domain index %u\n", __func__, idx); in genpd_xlate_onecell() 2394 "Failed to add OPP table for index %d\n", i); in of_genpd_add_provider_onecell() 2728 unsigned int index, bool power_on) in __genpd_dev_pm_attach() 2736 "#power-domain-cells", index, &pd_args); in __genpd_dev_pm_attach() 2762 pstate = of_get_required_opp_performance_state(dev->of_node, index); in __genpd_dev_pm_attach() 2832 * @index: The index o 2727 __genpd_dev_pm_attach(struct device *dev, struct device *base_dev, unsigned int index, bool power_on) __genpd_dev_pm_attach() argument 2845 genpd_dev_pm_attach_by_id(struct device *dev, unsigned int index) genpd_dev_pm_attach_by_id() argument 2902 int index; genpd_dev_pm_attach_by_name() local [all...] |
/kernel/linux/linux-6.6/drivers/clk/qcom/ |
H A D | camcc-sm8450.c | 57 static const struct clk_parent_data pll_parent_data_tcxo = { .index = DT_BI_TCXO }; 498 { .index = DT_BI_TCXO }, 512 { .index = DT_BI_TCXO }, 523 { .index = DT_BI_TCXO }, 533 { .index = DT_BI_TCXO }, 543 { .index = DT_BI_TCXO }, 553 { .index = DT_BI_TCXO }, 563 { .index = DT_BI_TCXO }, 573 { .index = DT_BI_TCXO }, 582 { .index [all...] |
/kernel/linux/linux-6.6/drivers/net/usb/ |
H A D | hso.c | 600 static struct hso_serial *get_serial_by_index(unsigned index) in get_serial_by_index() argument 606 if (serial_table[index]) in get_serial_by_index() 607 serial = dev2ser(serial_table[index]); in get_serial_by_index() 615 int index; in obtain_minor() local 619 for (index = 0; index < HSO_SERIAL_TTY_MINORS; index++) { in obtain_minor() 620 if (serial_table[index] == NULL) { in obtain_minor() 621 serial_table[index] = serial->parent; in obtain_minor() 622 serial->minor = index; in obtain_minor() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | rv770_dpm.c | 574 voltage->index = 0; in rv770_populate_vddc_value() 581 voltage->index = pi->vddc_table[i].vddc_index; in rv770_populate_vddc_value() 599 voltage->index = MVDD_HIGH_INDEX; in rv770_populate_mvdd_value() 605 voltage->index = MVDD_LOW_INDEX; in rv770_populate_mvdd_value() 608 voltage->index = MVDD_HIGH_INDEX; in rv770_populate_mvdd_value() 1014 voltage->index = MVDD_LOW_INDEX; in rv770_populate_initial_mvdd_value() 1017 voltage->index = MVDD_HIGH_INDEX; in rv770_populate_initial_mvdd_value() 2176 struct radeon_ps *rps, int index, in rv7xx_parse_pplib_clock_info() 2185 switch (index) { in rv7xx_parse_pplib_clock_info() 2276 int index in rv7xx_parse_power_table() local 2175 rv7xx_parse_pplib_clock_info(struct radeon_device *rdev, struct radeon_ps *rps, int index, union pplib_clock_info *clock_info) rv7xx_parse_pplib_clock_info() argument [all...] |
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-core.c | 104 field->index = report->maxfield++; in hid_register_field() 105 report->field[field->index] = field; in hid_register_field() 205 unsigned index = parser->collection_stack[n]; in hid_lookup_collection() local 206 if (collection[index].type == type) in hid_lookup_collection() 207 return collection[index].usage; in hid_lookup_collection() 217 static void complete_usage(struct hid_parser *parser, unsigned int index) in complete_usage() argument 219 parser->local.usage[index] &= 0xFFFF; in complete_usage() 220 parser->local.usage[index] |= in complete_usage() 231 hid_err(parser->device, "usage index exceeded\n"); in hid_add_usage() 293 /* Total size check: Allow for possible report index byt in hid_add_field() [all...] |
/kernel/liteos_a/kernel/base/core/ |
H A D | los_process.c | 581 UINT32 index; in OsProcessInit() local 597 for (index = 0; index < g_processMaxNum; index++) { in OsProcessInit() 598 g_processCBArray[index].processID = index; in OsProcessInit() 599 g_processCBArray[index].processStatus = OS_PROCESS_FLAG_UNUSED; in OsProcessInit() 600 LOS_ListTailInsert(&g_freeProcess, &g_processCBArray[index].pendList); in OsProcessInit() 604 g_processCBArray[index].processID = index; in OsProcessInit() [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | vsprintf.c | 1313 int index; in ip4_string() local 1319 index = 0; in ip4_string() 1322 index = 3; in ip4_string() 1327 index = 3; in ip4_string() 1333 index = 0; in ip4_string() 1339 int digits = put_dec_trunc8(temp, addr[index]) - temp; in ip4_string() 1351 index += step; in ip4_string() 1695 const u8 *index = uuid_index; in uuid_string() local 1706 index = guid_index; in uuid_string() 1715 p = hex_byte_pack_upper(p, addr[index[ in uuid_string() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ethtool.c | 1935 static bool i40e_active_tx_ring_index(struct i40e_vsi *vsi, u16 index) in i40e_active_tx_ring_index() argument 1938 return index < vsi->num_queue_pairs || in i40e_active_tx_ring_index() 1939 (index >= vsi->alloc_queue_pairs && in i40e_active_tx_ring_index() 1940 index < vsi->alloc_queue_pairs + vsi->num_queue_pairs); in i40e_active_tx_ring_index() 1943 return index < vsi->num_queue_pairs; in i40e_active_tx_ring_index() 2229 * @i: the index of traffic class in (veb->tc_stats) structure to copy 3261 u16 index; in i40e_get_ethtool_fdir_entry() local 3289 index = I40E_FILTER_PCTYPE_NONF_IPV4_SCTP; in i40e_get_ethtool_fdir_entry() 3292 index = I40E_FILTER_PCTYPE_NONF_IPV4_TCP; in i40e_get_ethtool_fdir_entry() 3295 index in i40e_get_ethtool_fdir_entry() 3906 int index = flex_pit_start + i; __i40e_reprogram_flex_pit() local 4133 u16 index, src_offset = 0; i40e_check_fdir_input_set() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/arcmsr/ |
H A D | arcmsr_hba.c | 1870 uint32_t ending_index, index = reg->postq_index; in arcmsr_post_ccb() local 1872 ending_index = ((index + 1) % ARCMSR_MAX_HBB_POSTQUEUE); in arcmsr_post_ccb() 1875 reg->post_qbuffer[index] = in arcmsr_post_ccb() 1878 reg->post_qbuffer[index] = cdb_phyaddr; in arcmsr_post_ccb() 1880 index++; in arcmsr_post_ccb() 1881 index %= ARCMSR_MAX_HBB_POSTQUEUE;/*if last index number set it to 0 */ in arcmsr_post_ccb() 1882 reg->postq_index = index; in arcmsr_post_ccb() 2227 /* if last, index number set it to 0 */ in arcmsr_Read_iop_rqbuffer_in_DWORD() 2484 uint32_t index; in arcmsr_hbaB_postqueue_isr() local 3552 int index, rtn; arcmsr_hbaB_polling_ccbdone() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/arcmsr/ |
H A D | arcmsr_hba.c | 1862 uint32_t ending_index, index = reg->postq_index; in arcmsr_post_ccb() local 1864 ending_index = ((index + 1) % ARCMSR_MAX_HBB_POSTQUEUE); in arcmsr_post_ccb() 1867 reg->post_qbuffer[index] = in arcmsr_post_ccb() 1870 reg->post_qbuffer[index] = cdb_phyaddr; in arcmsr_post_ccb() 1872 index++; in arcmsr_post_ccb() 1873 index %= ARCMSR_MAX_HBB_POSTQUEUE;/*if last index number set it to 0 */ in arcmsr_post_ccb() 1874 reg->postq_index = index; in arcmsr_post_ccb() 2219 /* if last, index number set it to 0 */ in arcmsr_Read_iop_rqbuffer_in_DWORD() 2479 uint32_t index; in arcmsr_hbaB_postqueue_isr() local 3557 int index, rtn; arcmsr_hbaB_polling_ccbdone() local [all...] |
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | fsl_raid.c | 238 static void fill_cfd_frame(struct fsl_re_cmpnd_frame *cf, u8 index, in fill_cfd_frame() argument 244 cf[index].efrl32 = efrl; in fill_cfd_frame() 245 cf[index].addr_high = upper_32_bits(addr); in fill_cfd_frame() 246 cf[index].addr_low = lower_32_bits(addr); in fill_cfd_frame()
|
/kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
H A D | do_func.S | 7 | The opcode and tag bits form an index into a jump table in 14 | and combined to form the table index. The function called 82 addl %d1,%d0 |combine for final index into table 99 | by index into tbldo.
|
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/ |
H A D | inst.h | 770 __BITFIELD_FIELD(unsigned int index : 5, 878 __BITFIELD_FIELD(unsigned int index : 5, 925 __BITFIELD_FIELD(unsigned int index : 5, 1009 __BITFIELD_FIELD(unsigned int index : 5,
|
/kernel/linux/linux-5.10/arch/mips/kvm/ |
H A D | mmu.c | 93 * @addr: Address to index page table using. 1176 int index; in kvm_trap_emul_gva_fault() local 1184 index = kvm_mips_guest_tlb_lookup(vcpu, (gva & VPN2_MASK) | in kvm_trap_emul_gva_fault() 1186 if (index < 0) in kvm_trap_emul_gva_fault() 1188 tlb = &vcpu->arch.guest_tlb[index]; in kvm_trap_emul_gva_fault()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
H A D | papr_scm.c | 384 if (ret == H_PARAMETER) /* bad DRC index */ in papr_scm_meta_get() 448 if (ret == H_PARAMETER) /* bad DRC index */ in papr_scm_meta_set() 789 int index; in perf_stats_show() local 815 for (index = 0, stat = stats->scm_statistic; in perf_stats_show() 816 index < be32_to_cpu(stats->num_statistics); in perf_stats_show() 817 ++index, ++stat) { in perf_stats_show() 1062 if (of_property_read_u32(dn, "ibm,my-drc-index", &drc_index)) { in papr_scm_probe() 1063 dev_err(&pdev->dev, "%pOF: missing drc-index!\n", dn); in papr_scm_probe()
|
/kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
H A D | fsl_rmu.c | 617 * @index: ID of RapidIO interface 625 int index, u16 destid, u16 data) in fsl_rio_doorbell_send() 629 pr_debug("fsl_doorbell_send: index %d destid %4.4x data %4.4x\n", in fsl_rio_doorbell_send() 630 index, destid, data); in fsl_rio_doorbell_send() 640 out_be32(&dbell->dbell_regs->oddatr, (index << 20) | data); in fsl_rio_doorbell_send() 687 desc->dattr = 0x28000000 | ((mport->index) << 20); in fsl_add_outb_message() 624 fsl_rio_doorbell_send(struct rio_mport *mport, int index, u16 destid, u16 data) fsl_rio_doorbell_send() argument
|
/kernel/linux/linux-5.10/arch/arm/mach-davinci/ |
H A D | board-da850-evm.c | 1240 .index = 0, 1255 .index = 0, 1335 .index = 0, 1346 .index = 1,
|