/kernel/linux/linux-5.10/fs/udf/ |
H A D | partition.c | 51 uint32_t index; in udf_get_pblock_virt15() local 72 index = (sb->s_blocksize - vdata->s_start_offset) / sizeof(uint32_t); in udf_get_pblock_virt15() 73 if (block >= index) { in udf_get_pblock_virt15() 74 block -= index; in udf_get_pblock_virt15() 76 index = block % (sb->s_blocksize / sizeof(uint32_t)); in udf_get_pblock_virt15() 79 index = vdata->s_start_offset / sizeof(uint32_t) + block; in udf_get_pblock_virt15() 87 sb, block, partition, loc, index); in udf_get_pblock_virt15() 91 loc = le32_to_cpu(((__le32 *)bh->b_data)[index]); in udf_get_pblock_virt15()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nf_queue.c | 167 unsigned int index, unsigned int queuenum) in __nf_queue() 216 .hook_index = index, in __nf_queue() 247 unsigned int index, unsigned int verdict) in nf_queue() 251 ret = __nf_queue(skb, state, index, verdict >> NF_VERDICT_QBITS); in nf_queue() 266 unsigned int *index) in nf_iterate() 269 unsigned int verdict, i = *index; in nf_iterate() 276 *index = i; in nf_iterate() 284 *index = i; in nf_iterate() 166 __nf_queue(struct sk_buff *skb, const struct nf_hook_state *state, unsigned int index, unsigned int queuenum) __nf_queue() argument 246 nf_queue(struct sk_buff *skb, struct nf_hook_state *state, unsigned int index, unsigned int verdict) nf_queue() argument 263 nf_iterate(struct sk_buff *skb, struct nf_hook_state *state, const struct nf_hook_entries *hooks, unsigned int *index) nf_iterate() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | intel_mocs.c | 253 * more entries are needed. We are programming index I915_MOCS_PTE(1) 254 * only, __init_mocs_table() take care to program unused index with 380 unsigned int index) in get_entry_control() 382 if (index < table->size && table->table[index].used) in get_entry_control() 383 return table->table[index].control_value; in get_entry_control() 430 unsigned int index) in get_entry_l3cc() 432 if (index < table->size && table->table[index].used) in get_entry_l3cc() 433 return table->table[index] in get_entry_l3cc() 379 get_entry_control(const struct drm_i915_mocs_table *table, unsigned int index) get_entry_control() argument 429 get_entry_l3cc(const struct drm_i915_mocs_table *table, unsigned int index) get_entry_l3cc() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/ |
H A D | ce6230.c | 19 u16 index; in ce6230_ctrl_msg() local 24 index = req->index; in ce6230_ctrl_msg() 61 ret = usb_control_msg(d->udev, pipe, request, requesttype, value, index, in ce6230_ctrl_msg() 64 dvb_usb_dbg_usb_control_msg(d->udev, request, requesttype, value, index, in ce6230_ctrl_msg() 110 req.index = msg[i].buf[0]; in ce6230_i2c_master_xfer() 130 req.index = msg[i].buf[0]; in ce6230_i2c_master_xfer() 137 req.index = 0x0000; in ce6230_i2c_master_xfer()
|
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
H A D | vsp1_rpf.c | 42 vsp1_dl_body_write(dlb, reg + rpf->entity.index * VI6_RPF_OFFSET, in vsp1_rpf_write() 208 /* Re-index our auto_fld to match the current RPF. */ in vsp1_rpf_configure_autofld() 210 auto_fld = &auto_fld[rpf->entity.index]; in vsp1_rpf_configure_autofld() 223 cmd->flags |= VI6_DL_EXT_AUTOFLD_INT | BIT(16 + rpf->entity.index); in vsp1_rpf_configure_autofld() 344 struct vsp1_rwpf *vsp1_rpf_create(struct vsp1_device *vsp1, unsigned int index) in vsp1_rpf_create() argument 359 rpf->entity.index = index; in vsp1_rpf_create() 361 sprintf(name, "rpf.%u", index); in vsp1_rpf_create() 371 index); in vsp1_rpf_create()
|
/kernel/linux/linux-5.10/include/linux/firmware/ |
H A D | xlnx-zynqmp.h | 350 int zynqmp_pm_write_ggs(u32 index, u32 value); 351 int zynqmp_pm_read_ggs(u32 index, u32 *value); 352 int zynqmp_pm_write_pggs(u32 index, u32 value); 353 int zynqmp_pm_read_pggs(u32 index, u32 *value); 506 static inline int zynqmp_pm_write_ggs(u32 index, u32 value) in zynqmp_pm_write_ggs() argument 511 static inline int zynqmp_pm_read_ggs(u32 index, u32 *value) in zynqmp_pm_read_ggs() argument 516 static inline int zynqmp_pm_write_pggs(u32 index, u32 value) in zynqmp_pm_write_pggs() argument 521 static inline int zynqmp_pm_read_pggs(u32 index, u32 *value) in zynqmp_pm_read_pggs() argument
|
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb-v2/ |
H A D | ce6230.c | 19 u16 index; in ce6230_ctrl_msg() local 24 index = req->index; in ce6230_ctrl_msg() 61 ret = usb_control_msg(d->udev, pipe, request, requesttype, value, index, in ce6230_ctrl_msg() 64 dvb_usb_dbg_usb_control_msg(d->udev, request, requesttype, value, index, in ce6230_ctrl_msg() 110 req.index = msg[i].buf[0]; in ce6230_i2c_master_xfer() 130 req.index = msg[i].buf[0]; in ce6230_i2c_master_xfer() 137 req.index = 0x0000; in ce6230_i2c_master_xfer()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/ |
H A D | io.h | 113 const ef4_qword_t *value, unsigned int index) in ef4_sram_writeq() 115 unsigned int addr = index * sizeof(*value); in ef4_sram_writeq() 164 ef4_qword_t *value, unsigned int index) in ef4_sram_readq() 166 unsigned int addr = index * sizeof(*value); in ef4_sram_readq() 196 unsigned int reg, unsigned int index) in ef4_writeo_table() 198 ef4_writeo(efx, value, reg + index * sizeof(ef4_oword_t)); in ef4_writeo_table() 203 unsigned int reg, unsigned int index) in ef4_reado_table() 205 ef4_reado(efx, value, reg + index * sizeof(ef4_oword_t)); in ef4_reado_table() 112 ef4_sram_writeq(struct ef4_nic *efx, void __iomem *membase, const ef4_qword_t *value, unsigned int index) ef4_sram_writeq() argument 163 ef4_sram_readq(struct ef4_nic *efx, void __iomem *membase, ef4_qword_t *value, unsigned int index) ef4_sram_readq() argument 195 ef4_writeo_table(struct ef4_nic *efx, const ef4_oword_t *value, unsigned int reg, unsigned int index) ef4_writeo_table() argument 202 ef4_reado_table(struct ef4_nic *efx, ef4_oword_t *value, unsigned int reg, unsigned int index) ef4_reado_table() argument
|
/kernel/linux/linux-6.6/fs/isofs/ |
H A D | compress.c | 314 pgoff_t index = page->index, end_index; in zisofs_read_folio() local 321 if (index >= end_index) { in zisofs_read_folio() 330 full_page = index & (zisofs_pages_per_cblock - 1); in zisofs_read_folio() 332 end_index - (index & ~(zisofs_pages_per_cblock - 1))); in zisofs_read_folio() 333 index -= full_page; in zisofs_read_folio() 346 for (i = 0; i < pcount; i++, index++) { in zisofs_read_folio() 348 pages[i] = grab_cache_page_nowait(mapping, index); in zisofs_read_folio()
|
/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | sc1200wdt.c | 100 static inline void __sc1200wdt_read_data(unsigned char index, in __sc1200wdt_read_data() argument 103 outb_p(index, PMIR); in __sc1200wdt_read_data() 107 static void sc1200wdt_read_data(unsigned char index, unsigned char *data) in sc1200wdt_read_data() argument 110 __sc1200wdt_read_data(index, data); in sc1200wdt_read_data() 115 static inline void __sc1200wdt_write_data(unsigned char index, in __sc1200wdt_write_data() argument 118 outb_p(index, PMIR); in __sc1200wdt_write_data() 122 static inline void sc1200wdt_write_data(unsigned char index, in sc1200wdt_write_data() argument 126 __sc1200wdt_write_data(index, data); in sc1200wdt_write_data()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | cpuidle.h | 62 int index); 64 int (*enter_dead) (struct cpuidle_device *dev, int index); 76 int index); 179 struct cpuidle_device *dev, int index); 180 extern void cpuidle_reflect(struct cpuidle_device *dev, int index); 214 struct cpuidle_device *dev, int index) in cpuidle_enter() 216 static inline void cpuidle_reflect(struct cpuidle_device *dev, int index) { } in cpuidle_reflect() argument 301 void (*reflect) (struct cpuidle_device *dev, int index); 213 cpuidle_enter(struct cpuidle_driver *drv, struct cpuidle_device *dev, int index) cpuidle_enter() argument
|
/kernel/linux/linux-6.6/include/media/ |
H A D | videobuf2-core.h | 239 * @index: id number of the buffer. 251 unsigned int index; member 750 * @index: id number of the buffer. 762 void vb2_core_querybuf(struct vb2_queue *q, unsigned int index, void *pb); 826 * @index: id number of the buffer. 842 int vb2_core_prepare_buf(struct vb2_queue *q, unsigned int index, void *pb); 848 * @index: id number of the buffer 870 int vb2_core_qbuf(struct vb2_queue *q, unsigned int index, void *pb, 876 * @pindex: pointer to the buffer index. May be NULL 934 * @index 1239 vb2_get_buffer(struct vb2_queue *q, unsigned int index) vb2_get_buffer() argument [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8192u/ |
H A D | r8190_rtl8256.c | 252 u8 index = 0; in phy_set_rf8256_ofdm_tx_power() local 261 for (index = 0; index < 6; index++) { in phy_set_rf8256_ofdm_tx_power() 262 writeVal = priv->MCSTxPowerLevelOriginalOffset[index] + ((index < 2) ? powerBase0 : powerBase1); in phy_set_rf8256_ofdm_tx_power() 269 /* Max power index = 0x24 */ in phy_set_rf8256_ofdm_tx_power() 279 if (index == 3) { in phy_set_rf8256_ofdm_tx_power() 292 rtl8192_setBBreg(dev, RegOffset[index], 0x7f7f7f7f, writeVal); in phy_set_rf8256_ofdm_tx_power()
|
/kernel/linux/linux-6.6/drivers/clk/tegra/ |
H A D | clk-tegra210-emc.c | 108 u8 index) in tegra210_clk_emc_find_parent() 110 struct clk_hw *parent = clk_hw_get_parent_by_index(&emc->hw, index); in tegra210_clk_emc_find_parent() 126 u8 old_idx, new_idx, index; in tegra210_clk_emc_set_rate() local 183 index = new_idx; in tegra210_clk_emc_set_rate() 186 index = old_idx; in tegra210_clk_emc_set_rate() 190 clk = tegra210_clk_emc_find_parent(emc, index); in tegra210_clk_emc_set_rate() 193 dev_err(dev, "failed to get parent clock for index %u: %d\n", in tegra210_clk_emc_set_rate() 194 index, err); in tegra210_clk_emc_set_rate() 220 config->value |= FIELD_PREP(CLK_SOURCE_EMC_2X_CLK_SRC, index); in tegra210_clk_emc_set_rate() 247 "failed to get parent clock for index in tegra210_clk_emc_set_rate() 107 tegra210_clk_emc_find_parent(struct tegra210_clk_emc *emc, u8 index) tegra210_clk_emc_find_parent() argument [all...] |
/kernel/linux/linux-6.6/drivers/clk/sunxi-ng/ |
H A D | ccu_mux.c | 42 if (parent_index == cm->fixed_predivs[i].index) in ccu_mux_get_prediv() 50 if (parent_index == cm->var_predivs[i].index) { in ccu_mux_get_prediv() 185 u8 index) in ccu_mux_helper_set_parent() 191 index = cm->table[index]; in ccu_mux_helper_set_parent() 202 writel(reg | (index << cm->shift), common->base + common->reg); in ccu_mux_helper_set_parent() 238 static int ccu_mux_set_parent(struct clk_hw *hw, u8 index) in ccu_mux_set_parent() argument 242 return ccu_mux_helper_set_parent(&cm->common, &cm->mux, index); in ccu_mux_set_parent() 183 ccu_mux_helper_set_parent(struct ccu_common *common, struct ccu_mux_internal *cm, u8 index) ccu_mux_helper_set_parent() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_clock_source.h | 58 #define CS_COMMON_REG_LIST_DCN2_0(index, pllid) \ 79 #define CS_COMMON_REG_LIST_DCN201(index, pllid) \ 88 #define CS_COMMON_REG_LIST_DCN2_1(index, pllid) \ 103 #define CS_COMMON_REG_LIST_DCN3_0(index, pllid) \ 118 #define CS_COMMON_REG_LIST_DCN3_01(index, pllid) \ 133 #define CS_COMMON_REG_LIST_DCN3_02(index, pllid) \ 151 #define CS_COMMON_REG_LIST_DCN3_03(index, pllid) \ 174 #define CS_COMMON_REG_LIST_DCN1_0(index, pllid) \
|
/kernel/linux/linux-6.6/drivers/dma/qcom/ |
H A D | hidma_mgmt_sys.c | 15 int index; member 150 sprintf(buf, "%d\n", mdev->priority[chattr->index]); in show_values_channel() 152 sprintf(buf, "%d\n", mdev->weight[chattr->index]); in show_values_channel() 174 rc = set_priority(mdev, chattr->index, tmp); in set_values_channel() 178 rc = set_weight(mdev, chattr->index, tmp); in set_values_channel() 209 int mode, int index, in create_sysfs_entry_channel() 224 chattr->index = index; in create_sysfs_entry_channel() 208 create_sysfs_entry_channel(struct hidma_mgmt_dev *mdev, char *name, int mode, int index, struct kobject *parent) create_sysfs_entry_channel() argument
|
/kernel/linux/linux-6.6/drivers/edac/ |
H A D | i82443bxgx_edac.c | 190 int index; in i82443bxgx_init_csrows() local 196 for (index = 0; index < mci->nr_csrows; index++) { in i82443bxgx_init_csrows() 197 csrow = mci->csrows[index]; in i82443bxgx_init_csrows() 200 pci_read_config_byte(pdev, I82443BXGX_DRB + index, &drbar); in i82443bxgx_init_csrows() 202 mci->mc_idx, index, drbar); in i82443bxgx_init_csrows() 206 mci->mc_idx, index, row_high_limit, in i82443bxgx_init_csrows()
|
H A D | r82600_edac.c | 221 int index; in r82600_init_csrows() local 230 for (index = 0; index < mci->nr_csrows; index++) { in r82600_init_csrows() 231 csrow = mci->csrows[index]; in r82600_init_csrows() 235 pci_read_config_byte(pdev, R82600_DRBA + index, &drbar); in r82600_init_csrows() 237 edac_dbg(1, "Row=%d DRBA = %#0x\n", index, drbar); in r82600_init_csrows() 243 index, row_high_limit, row_high_limit_last); in r82600_init_csrows()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/ |
H A D | io.h | 130 const efx_qword_t *value, unsigned int index) in efx_sram_writeq() 132 unsigned int addr = index * sizeof(*value); in efx_sram_writeq() 181 efx_qword_t *value, unsigned int index) in efx_sram_readq() 183 unsigned int addr = index * sizeof(*value); in efx_sram_readq() 213 unsigned int reg, unsigned int index) in efx_writeo_table() 215 efx_writeo(efx, value, reg + index * sizeof(efx_oword_t)); in efx_writeo_table() 220 unsigned int reg, unsigned int index) in efx_reado_table() 222 efx_reado(efx, value, reg + index * sizeof(efx_oword_t)); in efx_reado_table() 129 efx_sram_writeq(struct efx_nic *efx, void __iomem *membase, const efx_qword_t *value, unsigned int index) efx_sram_writeq() argument 180 efx_sram_readq(struct efx_nic *efx, void __iomem *membase, efx_qword_t *value, unsigned int index) efx_sram_readq() argument 212 efx_writeo_table(struct efx_nic *efx, const efx_oword_t *value, unsigned int reg, unsigned int index) efx_writeo_table() argument 219 efx_reado_table(struct efx_nic *efx, efx_oword_t *value, unsigned int reg, unsigned int index) efx_reado_table() argument
|
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_rpf.c | 42 vsp1_dl_body_write(dlb, reg + rpf->entity.index * VI6_RPF_OFFSET, in vsp1_rpf_write() 260 /* Re-index our auto_fld to match the current RPF. */ in vsp1_rpf_configure_autofld() 262 auto_fld = &auto_fld[rpf->entity.index]; in vsp1_rpf_configure_autofld() 275 cmd->flags |= VI6_DL_EXT_AUTOFLD_INT | BIT(16 + rpf->entity.index); in vsp1_rpf_configure_autofld() 396 struct vsp1_rwpf *vsp1_rpf_create(struct vsp1_device *vsp1, unsigned int index) in vsp1_rpf_create() argument 411 rpf->entity.index = index; in vsp1_rpf_create() 413 sprintf(name, "rpf.%u", index); in vsp1_rpf_create() 423 index); in vsp1_rpf_create()
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/ |
H A D | stats.c | 86 rtlpriv->stats.ui_rssi.index]; in rtl_process_ui_rssi() 90 rtlpriv->stats.ui_rssi.elements[rtlpriv->stats.ui_rssi.index++] = in rtl_process_ui_rssi() 92 if (rtlpriv->stats.ui_rssi.index >= PHY_RSSI_SLID_WIN_MAX) in rtl_process_ui_rssi() 93 rtlpriv->stats.ui_rssi.index = 0; in rtl_process_ui_rssi() 207 rtlpriv->stats.ui_link_quality.index]; in rtl_process_ui_link_quality() 212 rtlpriv->stats.ui_link_quality.index++] = in rtl_process_ui_link_quality() 214 if (rtlpriv->stats.ui_link_quality.index >= in rtl_process_ui_link_quality() 216 rtlpriv->stats.ui_link_quality.index = 0; in rtl_process_ui_link_quality()
|
/kernel/linux/linux-6.6/drivers/mailbox/ |
H A D | mailbox-mpfs.c | 119 u32 index; in mpfs_mbox_send_data() local 123 for (index = 0; index < (msg->cmd_data_size / 4); index++) in mpfs_mbox_send_data() 124 writel_relaxed(word_buf[index], in mpfs_mbox_send_data() 125 mbox->mbox_base + msg->mbox_offset + index * 0x4); in mpfs_mbox_send_data() 131 val = readl_relaxed(mbox->mbox_base + msg->mbox_offset + index * 0x4); in mpfs_mbox_send_data() 138 writel_relaxed(val, mbox->mbox_base + msg->mbox_offset + index * 0x4); in mpfs_mbox_send_data()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_queue.c | 157 unsigned int index, unsigned int queuenum) in __nf_queue() 205 .hook_index = index, in __nf_queue() 236 unsigned int index, unsigned int verdict) in nf_queue() 240 ret = __nf_queue(skb, state, index, verdict >> NF_VERDICT_QBITS); in nf_queue() 255 unsigned int *index) in nf_iterate() 258 unsigned int verdict, i = *index; in nf_iterate() 265 *index = i; in nf_iterate() 273 *index = i; in nf_iterate() 156 __nf_queue(struct sk_buff *skb, const struct nf_hook_state *state, unsigned int index, unsigned int queuenum) __nf_queue() argument 235 nf_queue(struct sk_buff *skb, struct nf_hook_state *state, unsigned int index, unsigned int verdict) nf_queue() argument 252 nf_iterate(struct sk_buff *skb, struct nf_hook_state *state, const struct nf_hook_entries *hooks, unsigned int *index) nf_iterate() argument
|
/kernel/linux/linux-6.6/net/sched/ |
H A D | act_skbmod.c | 114 u32 lflags = 0, index; in tcf_skbmod_init() local 149 index = parm->index; in tcf_skbmod_init() 155 err = tcf_idr_check_alloc(tn, &index, a, bind); in tcf_skbmod_init() 166 tcf_idr_cleanup(tn, index); in tcf_skbmod_init() 171 ret = tcf_idr_create(tn, index, est, a, in tcf_skbmod_init() 174 tcf_idr_cleanup(tn, index); in tcf_skbmod_init() 245 .index = d->tcf_index, in tcf_skbmod_dump()
|