/kernel/linux/linux-6.6/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_dev_api.h | 406 u8 index; member 630 u32 index; member 638 u32 index; member
|
/kernel/linux/linux-6.6/scripts/gcc-plugins/ |
H A D | gcc-common.h | 118 tree cstr, elem, index, type; in build_const_char_string() local 122 index = build_index_type(size_int(len - 1)); in build_const_char_string() 123 type = build_array_type(elem, index); in build_const_char_string()
|
/kernel/linux/linux-6.6/sound/core/ |
H A D | hwdep.c | 213 if (info->index >= 32) in snd_hwdep_dsp_load() 216 if (hw->dsp_loaded & (1u << info->index)) in snd_hwdep_dsp_load() 221 hw->dsp_loaded |= (1u << info->index); in snd_hwdep_dsp_load() 355 * @device: the device index (zero-based) 358 * Creates a new hwdep instance with the given index on the card.
|
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | ebitmap.c | 368 u32 mapunit, count, startbit, index; in ebitmap_read() local 454 index = (startbit - n->startbit) / EBITMAP_UNIT_SIZE; in ebitmap_read() 456 n->maps[index++] = map & (-1UL); in ebitmap_read()
|
/kernel/linux/linux-6.6/security/tomoyo/ |
H A D | audit.c | 322 * @index: Index number of functionality. 329 const u8 profile, const u8 index, in tomoyo_get_audit() 334 const u8 category = tomoyo_index2category[index] + in tomoyo_get_audit() 346 mode = p->config[index]; in tomoyo_get_audit() 328 tomoyo_get_audit(const struct tomoyo_policy_namespace *ns, const u8 profile, const u8 index, const struct tomoyo_acl_info *matched_acl, const bool is_granted) tomoyo_get_audit() argument
|
/kernel/linux/linux-6.6/sound/firewire/fireface/ |
H A D | ff-protocol-latter.c | 400 unsigned int index = (data & 0x000000f0) >> 4; in latter_handle_midi_msg() local 405 if (index >= ff->spec->midi_in_ports) in latter_handle_midi_msg() 431 substream = READ_ONCE(ff->tx_midi_substreams[index]); in latter_handle_midi_msg()
|
/kernel/linux/linux-6.6/sound/oss/dmasound/ |
H A D | dmasound_q40.c | 50 static void Q40PlayNextFrame(int index); 401 static void Q40PlayNextFrame(int index) in Q40PlayNextFrame() argument 412 size = (write_sq.count == index ? write_sq.rear_size : write_sq.block_size); in Q40PlayNextFrame()
|
/kernel/linux/linux-6.6/sound/usb/caiaq/ |
H A D | control.c | 154 .index = 0, 163 int index; member 579 kcontrol_template.private_value = c->index; in add_controls()
|
/kernel/linux/linux-5.10/sound/pci/rme9652/ |
H A D | hdsp.c | 34 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ variable 38 module_param_array(index, int, NULL, 0444); 39 MODULE_PARM_DESC(index, "Index value for RME Hammerfall DSP interface."); 499 the DMA channel." We index it using the logical audio channel, 1636 .index = xindex, \ 1751 .index = xindex, \ 1810 .index = xindex, \ 1834 .index = xindex, \ 1893 .index = xindex, \ 1926 .index [all...] |
/kernel/linux/linux-6.6/drivers/ptp/ |
H A D | ptp_ocp.c | 246 int index; member 477 .index = 0, 486 .index = 1, 495 .index = 2, 504 .index = 3, 513 .index = 4, 523 .index = 5, 532 .index = 1, 541 .index = 2, 550 .index [all...] |
/kernel/linux/linux-6.6/sound/pci/rme9652/ |
H A D | hdsp.c | 34 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ variable 38 module_param_array(index, int, NULL, 0444); 39 MODULE_PARM_DESC(index, "Index value for RME Hammerfall DSP interface."); 500 the DMA channel." We index it using the logical audio channel, 1634 .index = xindex, \ 1749 .index = xindex, \ 1808 .index = xindex, \ 1832 .index = xindex, \ 1891 .index = xindex, \ 1924 .index [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A D | ice_switch.c | 690 s_rule->pdata.lkup_tx_rx.index = in ice_fill_sw_rule() 847 lg_act->pdata.lg_act.index = cpu_to_le16(l_id); in ice_add_marker_act() 892 rx_tx->pdata.lkup_tx_rx.index = in ice_add_marker_act() 994 s_rule->pdata.vsi_list.index = cpu_to_le16(vsi_list_id); in ice_update_vsi_list_rule() 1077 le16_to_cpu(s_rule->pdata.lkup_tx_rx.index); in ice_create_pkt_fwd_rule() 1079 le16_to_cpu(s_rule->pdata.lkup_tx_rx.index); in ice_create_pkt_fwd_rule() 1114 s_rule->pdata.lkup_tx_rx.index = cpu_to_le16(f_info->fltr_rule_id); in ice_update_pkt_fwd_rule() 1411 s_rule->pdata.vsi_list.index = cpu_to_le16(vsi_list_id); in ice_remove_vsi_list_rule() 1729 le16_to_cpu(r_iter->pdata.lkup_tx_rx.index); in ice_add_mac() 2078 u16 index in ice_cfg_dflt_vsi() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
H A D | sdio.c | 2145 int index; in mwifiex_host_to_card_mp_aggr() local 2254 index = adapter->dbg.last_sdio_mp_index; in mwifiex_host_to_card_mp_aggr() 2255 index = (index + 1) % MWIFIEX_DBG_SDIO_MP_NUM; in mwifiex_host_to_card_mp_aggr() 2256 adapter->dbg.last_sdio_mp_index = index; in mwifiex_host_to_card_mp_aggr() 2257 adapter->dbg.last_mp_wr_ports[index] = mport; in mwifiex_host_to_card_mp_aggr() 2258 adapter->dbg.last_mp_wr_bitmap[index] = card->mp_wr_bitmap; in mwifiex_host_to_card_mp_aggr() 2259 adapter->dbg.last_mp_wr_len[index] = card->mpa_tx.buf_len; in mwifiex_host_to_card_mp_aggr() 2260 adapter->dbg.last_mp_curr_wr_port[index] = card->curr_wr_port; in mwifiex_host_to_card_mp_aggr() 3008 u8 count, func, data, index in mwifiex_sdio_reg_dump() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/ |
H A D | sdio.c | 2180 int index; in mwifiex_host_to_card_mp_aggr() local 2289 index = adapter->dbg.last_sdio_mp_index; in mwifiex_host_to_card_mp_aggr() 2290 index = (index + 1) % MWIFIEX_DBG_SDIO_MP_NUM; in mwifiex_host_to_card_mp_aggr() 2291 adapter->dbg.last_sdio_mp_index = index; in mwifiex_host_to_card_mp_aggr() 2292 adapter->dbg.last_mp_wr_ports[index] = mport; in mwifiex_host_to_card_mp_aggr() 2293 adapter->dbg.last_mp_wr_bitmap[index] = card->mp_wr_bitmap; in mwifiex_host_to_card_mp_aggr() 2294 adapter->dbg.last_mp_wr_len[index] = card->mpa_tx.buf_len; in mwifiex_host_to_card_mp_aggr() 2295 adapter->dbg.last_mp_curr_wr_port[index] = card->curr_wr_port; in mwifiex_host_to_card_mp_aggr() 3056 u8 count, func, data, index in mwifiex_sdio_reg_dump() local [all...] |
/kernel/linux/linux-5.10/drivers/cpufreq/ |
H A D | cpufreq.c | 2124 struct cpufreq_freqs *freqs, int index) in __target_intermediate() 2128 freqs->new = cpufreq_driver->get_intermediate(policy, index); in __target_intermediate() 2138 ret = cpufreq_driver->target_intermediate(policy, index); in __target_intermediate() 2148 static int __target_index(struct cpufreq_policy *policy, int index) in __target_index() argument 2152 unsigned int newfreq = policy->freq_table[index].frequency; in __target_index() 2163 retval = __target_intermediate(policy, &freqs, index); in __target_index() 2180 retval = cpufreq_driver->target_index(policy, index); in __target_index() 2210 int index; in __cpufreq_driver_target() local 2223 * after finding index. But it is left intentionally for cases where in __cpufreq_driver_target() 2240 index in __cpufreq_driver_target() 2123 __target_intermediate(struct cpufreq_policy *policy, struct cpufreq_freqs *freqs, int index) __target_intermediate() argument [all...] |
/kernel/linux/linux-5.10/drivers/mtd/ |
H A D | mtdcore.c | 86 #define MTD_DEVT(index) MKDEV(MTD_CHAR_MAJOR, (index)*2) 128 dev_t index = MTD_DEVT(mtd->index); in mtd_release() local 131 device_destroy(&mtd_class, index + 1); in mtd_release() 656 mtd->index = i; in add_mtd_device() 761 if (idr_find(&mtd_idr, mtd->index) != mtd) { in del_mtd_device() 773 mtd->index, mtd->name, mtd->usecount); in del_mtd_device() 784 idr_remove(&mtd_idr, mtd->index); in del_mtd_device() 2204 mtd->index, (unsigne in mtd_proc_show() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/ |
H A D | e1000_phy.c | 1678 u16 phy_data, index; in igb_get_cable_length_m88() local 1684 index = (phy_data & M88E1000_PSSR_CABLE_LENGTH) >> in igb_get_cable_length_m88() 1686 if (index >= ARRAY_SIZE(e1000_m88_cable_length_table) - 1) { in igb_get_cable_length_m88() 1691 phy->min_cable_length = e1000_m88_cable_length_table[index]; in igb_get_cable_length_m88() 1692 phy->max_cable_length = e1000_m88_cable_length_table[index + 1]; in igb_get_cable_length_m88() 1704 u16 phy_data, phy_data2, index, default_page, is_cm; in igb_get_cable_length_m88_gen2() local 1798 index = (phy_data & M88E1000_PSSR_CABLE_LENGTH) >> in igb_get_cable_length_m88_gen2() 1800 if (index >= ARRAY_SIZE(e1000_m88_cable_length_table) - 1) { in igb_get_cable_length_m88_gen2() 1805 phy->min_cable_length = e1000_m88_cable_length_table[index]; in igb_get_cable_length_m88_gen2() 1806 phy->max_cable_length = e1000_m88_cable_length_table[index in igb_get_cable_length_m88_gen2() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/ |
H A D | bgmac.c | 137 int index = ring->end % BGMAC_TX_RING_SLOTS; in bgmac_dma_tx_add() local 138 struct bgmac_slot_info *slot = &ring->slots[index]; in bgmac_dma_tx_add() 171 bgmac_dma_tx_add_buf(bgmac, ring, index, skb_headlen(skb), flags); in bgmac_dma_tx_add() 178 index = (index + 1) % BGMAC_TX_RING_SLOTS; in bgmac_dma_tx_add() 179 slot = &ring->slots[index]; in bgmac_dma_tx_add() 188 bgmac_dma_tx_add_buf(bgmac, ring, index, len, flags); in bgmac_dma_tx_add() 215 int index = (ring->end + i) % BGMAC_TX_RING_SLOTS; in bgmac_dma_tx_add() local 216 struct bgmac_slot_info *slot = &ring->slots[index]; in bgmac_dma_tx_add() 217 u32 ctl1 = le32_to_cpu(ring->cpu_base[index] in bgmac_dma_tx_add() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | smu8_hwmgr.c | 1365 unsigned int index, in smu8_dpm_get_pp_table_entry_callback() 1374 uint8_t clock_info_index = smu8_clock_info->index; in smu8_dpm_get_pp_table_entry_callback() 1379 smu8_ps->levels[index].engineClock = table->entries[clock_info_index].clk; in smu8_dpm_get_pp_table_entry_callback() 1380 smu8_ps->levels[index].vddcIndex = (uint8_t)table->entries[clock_info_index].v; in smu8_dpm_get_pp_table_entry_callback() 1382 smu8_ps->level = index + 1; in smu8_dpm_get_pp_table_entry_callback() 1385 smu8_ps->levels[index].dsDividerIndex = 5; in smu8_dpm_get_pp_table_entry_callback() 1386 smu8_ps->levels[index].ssDividerIndex = 5; in smu8_dpm_get_pp_table_entry_callback() 1584 PHM_PerformanceLevelDesignation designation, uint32_t index, in smu8_get_performance_level() 1598 level_index = index > ps->level - 1 ? ps->level - 1 : index; in smu8_get_performance_level() 1362 smu8_dpm_get_pp_table_entry_callback( struct pp_hwmgr *hwmgr, struct pp_hw_power_state *hw_ps, unsigned int index, const void *clock_info) smu8_dpm_get_pp_table_entry_callback() argument 1583 smu8_get_performance_level(struct pp_hwmgr *hwmgr, const struct pp_hw_power_state *state, PHM_PerformanceLevelDesignation designation, uint32_t index, PHM_PerformanceLevel *level) smu8_get_performance_level() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | ov9650.c | 1076 if (code->index >= ARRAY_SIZE(ov965x_formats)) in ov965x_enum_mbus_code() 1079 code->code = ov965x_formats[code->index].code; in ov965x_enum_mbus_code() 1089 if (fse->index >= ARRAY_SIZE(ov965x_framesizes)) in ov965x_enum_frame_sizes() 1098 fse->min_width = ov965x_framesizes[fse->index].width; in ov965x_enum_frame_sizes() 1100 fse->max_height = ov965x_framesizes[fse->index].height; in ov965x_enum_frame_sizes() 1218 unsigned int index = ARRAY_SIZE(ov965x_formats); in ov965x_set_fmt() local 1226 while (--index) in ov965x_set_fmt() 1227 if (ov965x_formats[index].code == mf->code) in ov965x_set_fmt() 1231 mf->code = ov965x_formats[index].code; in ov965x_set_fmt() 1247 ov965x->tslb_reg = ov965x_formats[index] in ov965x_set_fmt() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
H A D | cq.c | 707 int *cqe_size, int *index, int *inlen) in create_cq_user() 770 *index = ucmd.uar_page_index; in create_cq_user() 775 *index = context->bfregi.sys_pages[0]; in create_cq_user() 856 u32 **cqb, int *index, int *inlen) in create_cq_kernel() 893 *index = dev->mdev->priv.uar->index; in create_cq_kernel() 928 int index; in mlx5_ib_create_cq() local 958 &index, &inlen); in mlx5_ib_create_cq() 964 &index, &inlen); in mlx5_ib_create_cq() 983 MLX5_SET(cqc, cqc, uar_page, index); in mlx5_ib_create_cq() 705 create_cq_user(struct mlx5_ib_dev *dev, struct ib_udata *udata, struct mlx5_ib_cq *cq, int entries, u32 **cqb, int *cqe_size, int *index, int *inlen) create_cq_user() argument 854 create_cq_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_cq *cq, int entries, int cqe_size, u32 **cqb, int *index, int *inlen) create_cq_kernel() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/davinci/ |
H A D | vpfe_capture.c | 877 if (ccdc_dev->hw_ops.enum_pix(&pix, fmt->index) < 0) in vpfe_enum_fmt_vid_cap() 938 * vpfe_get_subdev_input_index - Get subdev index and subdev input index for a 939 * given app input index 963 * vpfe_get_app_input - Get app input index for a given subdev input index 964 * driver stores the input index of the current sub device and translate it 992 int subdev, index ; in vpfe_enum_input() local 998 &index, in vpfe_enum_input() 999 inp->index) < in vpfe_enum_input() 1008 vpfe_g_input(struct file *file, void *priv, unsigned int *index) vpfe_g_input() argument 1018 vpfe_s_input(struct file *file, void *priv, unsigned int index) vpfe_s_input() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_83xx_init.c | 1911 int index, i, j, err; in qlcnic_83xx_poll_read_list() local 1929 index = p_dev->ahw->reset.array_index; in qlcnic_83xx_poll_read_list() 1935 p_dev->ahw->reset.array[index++] = j; in qlcnic_83xx_poll_read_list() 1937 if (index == QLC_83XX_MAX_RESET_SEQ_ENTRIES) in qlcnic_83xx_poll_read_list() 1977 int index, entries; in qlcnic_83xx_exec_template_cmd() local 1984 index = p_dev->ahw->reset.seq_index; in qlcnic_83xx_exec_template_cmd() 1986 for (; (!p_dev->ahw->reset.seq_end) && (index < entries); index++) { in qlcnic_83xx_exec_template_cmd() 2022 __func__, p_hdr->cmd, index); in qlcnic_83xx_exec_template_cmd() 2028 p_dev->ahw->reset.seq_index = index; in qlcnic_83xx_exec_template_cmd() [all...] |
/kernel/linux/linux-5.10/drivers/soc/ti/ |
H A D | knav_qmss_queue.c | 694 int index = pool->region_offset + i; in kdesc_fill_pool() local 697 dma_addr = region->dma_start + (region->desc_size * index); in kdesc_fill_pool() 1105 if (!of_get_property(child, "link-index", NULL)) { in knav_queue_setup_regions() 1110 ret = of_property_read_u32(child, "link-index", in knav_queue_setup_regions() 1113 dev_err(dev, "link index not found for %s\n", in knav_queue_setup_regions() 1215 u32 temp[2], start, end, id, index; in knav_setup_queue_range() local 1286 index = id - qmgr->start_queue; in knav_setup_queue_range() 1288 &qmgr->reg_peek[index].ptr_size_thresh); in knav_setup_queue_range() 1290 &qmgr->reg_push[index].ptr_size_thresh); in knav_setup_queue_range() 1370 struct device_node *node, int index) in knav_queue_map_reg() 1369 knav_queue_map_reg(struct knav_device *kdev, struct device_node *node, int index) knav_queue_map_reg() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/vc04_services/vchiq-mmal/ |
H A D | mmal-vchiq.c | 760 p->index = port->index; in port_to_mmal_msg() 792 m.u.port_info_set.port_index = port->index; in port_info_set() 848 m.u.port_info_get.index = port->index; in port_info_get() 875 /* port type and index cached to use on port info set because in port_info_get() 879 port->index = rmsg->u.port_info_get_reply.port_index; in port_info_get() 1644 int idx; /* port index */ in vchiq_mmal_component_init() 1664 * Use the array index in instance->component rather than rolling in vchiq_mmal_component_init() 1678 component->control.index in vchiq_mmal_component_init() [all...] |