Home
last modified time | relevance | path

Searched refs:index (Results 6326 - 6350 of 19626) sorted by relevance

1...<<251252253254255256257258259260>>...786

/kernel/linux/linux-5.10/arch/powerpc/platforms/chrp/
H A Dpci.c212 int len, index = -1; in chrp_find_bridges() local
236 ++index; in chrp_find_bridges()
290 if (index == 0) { in chrp_find_bridges()
306 pci_process_bridge_OF_ranges(hose, dev, index == 0); in chrp_find_bridges()
311 if (index == 0 && dma != NULL && len >= 6 * sizeof(*dma)) { in chrp_find_bridges()
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
H A Dprcm-common.h440 * @index: loop index (integer)
443 * microseconds have passed. To use, define some integer @index in the
444 * calling code. After running, if @index == @timeout, then the loop has
447 #define omap_test_timeout(cond, timeout, index) \
449 for (index = 0; index < timeout; index++) { \
533 * @index: clock memory mapping index t
543 int index; global() member
[all...]
/kernel/linux/linux-5.10/drivers/block/
H A Dz2ram.c176 int index = device - Z2MINOR_MEMLIST1 + 1; in z2_open() local
179 if (index >= m68k_realnum_memory) { in z2_open()
185 paddr = m68k_memory[index].addr; in z2_open()
186 size = m68k_memory[index].size & ~(Z2RAM_CHUNKSIZE-1); in z2_open()
220 list_count * Z2RAM_CHUNK1024, index ); in z2_open()
/kernel/linux/linux-5.10/drivers/firmware/tegra/
H A Dbpmp-tegra186.c108 unsigned int index) in tegra186_bpmp_channel_init()
122 offset = queue_size * index; in tegra186_bpmp_channel_init()
131 index, err); in tegra186_bpmp_channel_init()
213 unsigned int index = bpmp->soc->channels.thread.offset + i; in tegra186_bpmp_init() local
216 bpmp, index); in tegra186_bpmp_init()
106 tegra186_bpmp_channel_init(struct tegra_bpmp_channel *channel, struct tegra_bpmp *bpmp, unsigned int index) tegra186_bpmp_channel_init() argument
/kernel/linux/linux-6.6/arch/arm/mach-omap1/
H A Dmux.c412 int omap_cfg_reg(const unsigned long index) in omap_cfg_reg() argument
418 index); in omap_cfg_reg()
428 if (index >= mux_cfg->size) { in omap_cfg_reg()
429 printk(KERN_ERR "Invalid pin mux index: %lu (%lu)\n", in omap_cfg_reg()
430 index, mux_cfg->size); in omap_cfg_reg()
435 reg = &mux_cfg->pins[index]; in omap_cfg_reg()
/kernel/linux/linux-6.6/arch/arm/mach-omap2/
H A Dprcm-common.h440 * @index: loop index (integer)
443 * microseconds have passed. To use, define some integer @index in the
444 * calling code. After running, if @index == @timeout, then the loop has
447 #define omap_test_timeout(cond, timeout, index) \
449 for (index = 0; index < timeout; index++) { \
533 * @index: clock memory mapping index t
543 int index; global() member
[all...]
/kernel/linux/linux-6.6/arch/powerpc/platforms/chrp/
H A Dpci.c211 int len, index = -1; in chrp_find_bridges() local
235 ++index; in chrp_find_bridges()
289 if (index == 0) { in chrp_find_bridges()
305 pci_process_bridge_OF_ranges(hose, dev, index == 0); in chrp_find_bridges()
310 if (index == 0 && dma != NULL && len >= 6 * sizeof(*dma)) { in chrp_find_bridges()
/kernel/linux/linux-6.6/arch/powerpc/sysdev/xics/
H A Dxics-common.c90 int index; in xics_set_cpu_giq() local
96 index = (1UL << xics_interrupt_server_size) - 1 - gserver; in xics_set_cpu_giq()
98 status = rtas_set_indicator_fast(GLOBAL_INTERRUPT_QUEUE, index, join); in xics_set_cpu_giq()
101 GLOBAL_INTERRUPT_QUEUE, index, join, status); in xics_set_cpu_giq()
154 * we have to reset the cppr index to 0 because we're in xics_teardown_cpu()
157 os_cppr->index = 0; in xics_teardown_cpu()
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dad7418.c138 LM75_TEMP_FROM_REG(data->temp[attr->index])); in temp_show()
153 ((data->in[attr->index] >> 6) * 2500 + 512) / 1024); in adc_show()
170 data->temp[attr->index] = LM75_TEMP_TO_REG(temp); in temp_store()
172 AD7418_REG_TEMP[attr->index], in temp_store()
173 data->temp[attr->index]); in temp_store()
H A Dmax1619.c86 u8 temp[t_num_regs]; /* index with enum temp_index */
145 return sprintf(buf, "%d\n", temp_from_reg(data->temp[attr->index])); in temp_show()
161 data->temp[attr->index] = temp_to_reg(val); in temp_store()
162 i2c_smbus_write_byte_data(client, regs_write[attr->index], in temp_store()
163 data->temp[attr->index]); in temp_store()
178 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show()
H A Dlm92.c106 s16 temp[t_num_regs]; /* index with enum temp_index */
143 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index])); in temp_show()
153 int nr = attr->index; in temp_store()
174 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp[attr->index]) in temp_hyst_show()
204 TEMP_TO_REG(TEMP_FROM_REG(data->temp[attr->index]) - val); in temp_hyst_store()
222 int bitnr = to_sensor_dev_attr(attr)->index; in alarm_show()
/kernel/linux/linux-5.10/drivers/macintosh/
H A Dwindfarm_ad7417_sensor.c180 int index, const char *name, in wf_ad7417_add_sensor()
183 pv->sensors[index].name = kasprintf(GFP_KERNEL, "%s-%d", name, pv->cpu); in wf_ad7417_add_sensor()
184 pv->sensors[index].priv = pv; in wf_ad7417_add_sensor()
185 pv->sensors[index].ops = ops; in wf_ad7417_add_sensor()
186 if (!wf_register_sensor(&pv->sensors[index])) in wf_ad7417_add_sensor()
179 wf_ad7417_add_sensor(struct wf_ad7417_priv *pv, int index, const char *name, const struct wf_sensor_ops *ops) wf_ad7417_add_sensor() argument
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
H A Dmthca_av.c158 u32 index = -1; in mthca_create_ah() local
172 index = mthca_alloc(&dev->av_table.alloc); in mthca_create_ah()
175 if (index == -1) in mthca_create_ah()
184 index * MTHCA_AV_SIZE; in mthca_create_ah()
235 memcpy_toio(dev->av_table.av_map + index * MTHCA_AV_SIZE, in mthca_create_ah()
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.h81 #define q_to_tx_stats(q) (&(q)->lif->txqstats[(q)->index])
82 #define q_to_rx_stats(q) (&(q)->lif->rxqstats[(q)->index])
162 unsigned int index; member
279 q->lif->txqstats[q->index].sg_cntr[num_sg_elems]++; in debug_stats_txq_post()
294 #define DEBUG_STATS_RX_BUFF_CNT(q) ((q)->lif->rxqstats[q->index].buffers_posted++)
/kernel/linux/linux-5.10/drivers/iio/gyro/
H A Dhid-sensor-gyro-3d.c256 st->gyro[0].index, in gyro_3d_parse_report()
258 st->gyro[1].index, st->gyro[1].report_id, in gyro_3d_parse_report()
259 st->gyro[2].index, st->gyro[2].report_id); in gyro_3d_parse_report()
267 if (st->common_attributes.sensitivity.index < 0) { in gyro_3d_parse_report()
273 dev_dbg(&pdev->dev, "Sensitivity index:report %d:%d\n", in gyro_3d_parse_report()
274 st->common_attributes.sensitivity.index, in gyro_3d_parse_report()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
H A Dtxrx.c283 int index; in mwifiex_write_data_complete() local
317 index = mwifiex_1d_to_wmm_queue[skb->priority]; in mwifiex_write_data_complete()
318 if (atomic_dec_return(&priv->wmm_tx_pending[index]) < LOW_TX_PENDING) { in mwifiex_write_data_complete()
319 txq = netdev_get_tx_queue(priv->netdev, index); in mwifiex_write_data_complete()
322 mwifiex_dbg(adapter, DATA, "wake queue: %d\n", index); in mwifiex_write_data_complete()
/kernel/linux/linux-5.10/drivers/s390/block/
H A Dxpram.c85 * xpage_index: index of expandeded memory page
115 * xpage_index: index of expandeded memory page
158 * Return index of the last available xpram page.
190 unsigned int index; in xpram_submit_bio() local
205 index = (bio->bi_iter.bi_sector >> 3) + xdev->offset; in xpram_submit_bio()
215 if (xpram_page_in(page_addr, index) != 0) in xpram_submit_bio()
218 if (xpram_page_out(page_addr, index) != 0) in xpram_submit_bio()
223 index++; in xpram_submit_bio()
/kernel/linux/linux-5.10/drivers/pinctrl/
H A Ddevicetree.c258 "prop %s index %i invalid phandle\n", in pinctrl_dt_to_map()
336 /* First element is always the index within the pinctrl device */ in pinctrl_get_list_and_count()
347 * Counts the number of elements in a pinctrl array consisting of an index
367 * pinctrl_copy_args - Populates of_phandle_args based on index
370 * @index: entry within the list of elements
375 * Populates the of_phandle_args based on the index in the list.
379 int index, int nr_cells, int nr_elem, in pinctrl_copy_args()
388 if (index >= nr_elem) in pinctrl_copy_args()
391 list += index * (nr_cells + 1); in pinctrl_copy_args()
400 * pinctrl_parse_index_with_args - Find a node pointed by index i
377 pinctrl_copy_args(const struct device_node *np, const __be32 *list, int index, int nr_cells, int nr_elem, struct of_phandle_args *out_args) pinctrl_copy_args() argument
410 pinctrl_parse_index_with_args(const struct device_node *np, const char *list_name, int index, struct of_phandle_args *out_args) pinctrl_parse_index_with_args() argument
[all...]
/kernel/linux/linux-5.10/drivers/soc/ti/
H A Dpruss.c173 int ret, i, index; in pruss_probe() local
209 index = of_property_match_string(child, "reg-names", in pruss_probe()
211 if (index < 0) { in pruss_probe()
213 return index; in pruss_probe()
216 if (of_address_to_resource(child, index, &res)) { in pruss_probe()
/kernel/linux/linux-5.10/sound/isa/es1688/
H A Des1688.c36 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ variable
49 module_param_array(index, int, NULL, 0444);
50 MODULE_PARM_DESC(index, "Index value for " CRD_NAME " soundcard.");
174 error = snd_card_new(dev, index[n], id[n], THIS_MODULE, in snd_es1688_isa_probe()
259 index[dev], id[dev], THIS_MODULE, in snd_es968_pnp_detect()
/kernel/linux/linux-5.10/sound/pci/au88x0/
H A Dau88x0.c28 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; variable
33 module_param_array(index, int, NULL, 0444);
34 MODULE_PARM_DESC(index, "Index value for " CARD_NAME " soundcard.");
252 err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, in snd_vortex_probe()
326 arg->index = 1; in snd_vortex_probe()
/kernel/linux/linux-5.10/sound/isa/gus/
H A Dgusmax.c26 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 GUS MAX soundcard.");
147 strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; in snd_gusmax_mixer()
202 err = snd_card_new(pdev, index[dev], id[dev], THIS_MODULE, in snd_gusmax_probe()
/kernel/linux/linux-5.10/mm/
H A Dpage_ext.c109 static inline struct page_ext *get_entry(void *base, unsigned long index) in get_entry() argument
111 return base + page_ext_size * index; in get_entry()
125 unsigned long index; in lookup_page_ext() local
137 index = pfn - round_down(node_start_pfn(page_to_nid(page)), in lookup_page_ext()
139 return get_entry(base, index); in lookup_page_ext()
/kernel/linux/linux-5.10/lib/842/
H A D842_decompress.c165 u64 index, offset, total = round_down(p->out - p->ostart, 8); in __do_index() local
168 ret = next_bits(p, &index, bits); in __do_index()
172 offset = index * size; in __do_index()
191 pr_debug("index%x %lx points past end %lx\n", size, in __do_index()
199 pr_debug("index%x to %lx off %lx adjoff %lx tot %lx data %lx\n", in __do_index()
200 size, (unsigned long)index, in __do_index()
201 (unsigned long)(index * size), (unsigned long)offset, in __do_index()
/kernel/linux/linux-5.10/fs/ufs/
H A Dutil.c236 * @index: the page index
245 pgoff_t index) in ufs_get_locked_page()
248 struct page *page = find_lock_page(mapping, index); in ufs_get_locked_page()
250 page = read_mapping_page(mapping, index, NULL); in ufs_get_locked_page()
254 "read_mapping_page error: ino %lu, index: %lu\n", in ufs_get_locked_page()
255 mapping->host->i_ino, index); in ufs_get_locked_page()
273 "can not read page: ino %lu, index: %lu\n", in ufs_get_locked_page()
274 inode->i_ino, index); in ufs_get_locked_page()
244 ufs_get_locked_page(struct address_space *mapping, pgoff_t index) ufs_get_locked_page() argument

Completed in 23 milliseconds

1...<<251252253254255256257258259260>>...786