Searched refs:index (Results 1 - 25 of 6121) sorted by relevance

1234567891011>>

/linux-master/drivers/clk/spear/
H A Dclk.c15 int *index)
19 for (*index = 0; *index < rtbl_cnt; (*index)++) {
21 rate = calc_rate(hw, parent_rate, *index);
24 if (*index) {
26 (*index)--;
32 if ((*index) == rtbl_cnt)
33 (*index)--;
13 clk_round_rate_index(struct clk_hw *hw, unsigned long drate, unsigned long parent_rate, clk_calc_rate calc_rate, u8 rtbl_cnt, int *index) argument
/linux-master/arch/sparc/kernel/
H A Dcpumap.h7 int map_to_cpu(unsigned int index);
11 static inline int map_to_cpu(unsigned int index) argument
/linux-master/include/trace/events/
H A Dhwmon.h12 TP_PROTO(int index, const char *attr_name, long val),
14 TP_ARGS(index, attr_name, val),
17 __field(int, index)
23 __entry->index = index;
28 TP_printk("index=%d, attr_name=%s, val=%ld",
29 __entry->index, __get_str(attr_name), __entry->val)
34 TP_PROTO(int index, const char *attr_name, long val),
36 TP_ARGS(index, attr_name, val)
41 TP_PROTO(int index, cons
[all...]
/linux-master/include/linux/
H A Dscx200_gpio.h2 u32 scx200_gpio_configure(unsigned index, u32 set, u32 clear);
11 #define __SCx200_GPIO_BANK unsigned bank = index>>5
14 #define __SCx200_GPIO_INDEX index &= 31
20 static inline int scx200_gpio_get(unsigned index) { argument
25 return (inl(ioaddr) & (1<<index)) ? 1 : 0;
32 static inline int scx200_gpio_current(unsigned index) { argument
36 return (scx200_gpio_shadow[bank] & (1<<index)) ? 1 : 0;
41 static inline void scx200_gpio_set_high(unsigned index) { argument
46 set_bit(index, shadow); /* __set_bit()? */
52 static inline void scx200_gpio_set_low(unsigned index) { argument
63 scx200_gpio_set(unsigned index, int state) argument
76 scx200_gpio_change(unsigned index) argument
[all...]
H A Dmsi_api.h40 * msi_map - Mapping between MSI index and Linux interrupt number
41 * @index: The MSI index, e.g. slot in the MSI-X table or
42 * a software managed index if >= 0. If negative
48 int index; member in struct:msi_map
54 * free MSI index, which is either an entry in a hardware table or a
55 * software managed index.
59 unsigned int msi_domain_get_virq(struct device *dev, unsigned int domid, unsigned int index);
62 * msi_get_virq - Lookup the Linux interrupt number for a MSI index on the default interrupt domain
64 * @index
68 msi_get_virq(struct device *dev, unsigned int index) argument
[all...]
H A Dnospec.h19 * array_index_mask_nospec() - generate a ~0 mask when index < size, 0 otherwise
20 * @index: array element index
23 * When @index is out of bounds (@index >= @size), the sign bit will be
25 * zero for an out of bounds index, or ~0 if within bounds [0, @size).
28 static inline unsigned long array_index_mask_nospec(unsigned long index, argument
34 * into account the value of @index under speculation.
36 OPTIMIZER_HIDE_VAR(index);
37 return ~(long)(index | (siz
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_global_func_args.c20 static void save_value(__u32 index, int value) argument
22 bpf_map_update_elem(&values, &index, &value, 0);
25 __noinline int foo(__u32 index, struct S *s) argument
28 save_value(index, s->v);
32 save_value(index, 0);
37 __noinline int bar(__u32 index, volatile struct S *s) argument
40 save_value(index, s->v);
44 save_value(index, 0);
60 __u32 index = 0; local
63 const int v = foo(index
[all...]
/linux-master/arch/mips/include/asm/fw/
H A Dfw.h21 #define fw_argv(index) ((char *)(long)_fw_argv[(index)])
22 #define fw_envp(index) ((char *)(long)_fw_envp[(index)])
/linux-master/lib/
H A Diommu-helper.c14 unsigned long index; local
19 index = bitmap_find_next_zero_area(map, size, start, nr, align_mask);
20 if (index < size) {
21 if (iommu_is_span_boundary(index, nr, shift, boundary_size)) {
22 start = ALIGN(shift + index, boundary_size) - shift;
25 bitmap_set(map, index, nr);
26 return index;
/linux-master/arch/mips/cavium-octeon/crypto/
H A Docteon-crypto.h29 * The index can be 0-1 (MD5) or 0-2 (SHA1), 0-3 (SHA256).
31 #define write_octeon_64bit_hash_dword(value, index) \
34 "dmtc2 %[rt],0x0048+" STR(index) \
40 * The index can be 0-1 (MD5) or 0-2 (SHA1), 0-3 (SHA256).
42 #define read_octeon_64bit_hash_dword(index) \
47 "dmfc2 %[rt],0x0048+" STR(index) \
55 * The index can be 0-6.
57 #define write_octeon_64bit_block_dword(value, index) \
60 "dmtc2 %[rt],0x0040+" STR(index) \
103 * The index ca
[all...]
/linux-master/arch/m68k/sun3x/
H A Ddvma.c44 #define dvma_entry_paddr(index) (iommu_pte[index] & IOMMU_ADDR_MASK)
45 #define dvma_entry_vaddr(index,paddr) ((index << DVMA_PAGE_SHIFT) | \
48 #define dvma_entry_set(index,addr) (iommu_pte[index] = \
52 #define dvma_entry_set(index,addr) (iommu_pte[index] = \
56 #define dvma_entry_clr(index) (iommu_pte[index]
66 unsigned long index; local
148 unsigned long end, index; local
181 int index, end; local
[all...]
/linux-master/arch/powerpc/boot/dts/fsl/
H A Dpq3-sata2-0.dtsi38 cell-index = <1>;
H A Dpq3-sata2-1.dtsi38 cell-index = <2>;
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dauxgf119.c31 gf119_i2c_aux_new(struct nvkm_i2c_pad *pad, int index, u8 drive, argument
34 return g94_i2c_aux_new_(&gf119_i2c_aux, pad, index, drive, paux);
/linux-master/drivers/gpu/drm/exynos/
H A Dexynos_drm_plane.h8 struct exynos_drm_plane *exynos_plane, unsigned int index,
/linux-master/drivers/gpu/drm/loongson/
H A Dlsdc_output.h14 unsigned int index);
19 unsigned int index);
/linux-master/tools/testing/radix-tree/
H A Dtag_check.c14 __simple_checks(struct radix_tree_root *tree, unsigned long index, int tag) argument
19 item_check_absent(tree, index);
20 assert(item_tag_get(tree, index, tag) == 0);
22 item_insert(tree, index);
23 assert(item_tag_get(tree, index, tag) == 0);
24 item_tag_set(tree, index, tag);
25 ret = item_tag_get(tree, index, tag);
29 ret = item_tag_get(tree, index, !tag);
31 ret = item_delete(tree, index);
33 item_insert(tree, index);
44 unsigned long index; local
136 unsigned long index = 0; local
171 unsigned long index; local
[all...]
/linux-master/include/video/
H A Dof_videomode.h15 int index);
/linux-master/kernel/printk/
H A Dconsole_cmdline.h8 int index; /* Minor dev. to use */ member in struct:console_cmdline
/linux-master/arch/x86/include/asm/fpu/
H A Dxcr.h8 static __always_inline u64 xgetbv(u32 index) argument
12 asm volatile("xgetbv" : "=a" (eax), "=d" (edx) : "c" (index));
16 static inline void xsetbv(u32 index, u64 value) argument
21 asm volatile("xsetbv" :: "a" (eax), "d" (edx), "c" (index));
/linux-master/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper-sgmii.c48 * @index: Index of prot on the interface
52 static int __cvmx_helper_sgmii_hardware_init_one_time(int interface, int index) argument
60 gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface));
62 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64);
70 cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface));
72 cvmx_read_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface));
82 cvmx_write_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface),
98 cvmx_read_csr(CVMX_PCSX_ANX_ADV_REG(index, interface));
103 cvmx_write_csr(CVMX_PCSX_ANX_ADV_REG(index, interface),
108 cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interfac
137 __cvmx_helper_sgmii_hardware_init_link(int interface, int index) argument
201 __cvmx_helper_sgmii_hardware_init_link_speed(int interface, int index, union cvmx_helper_link_info link_info) argument
309 int index; local
369 int index; local
402 int index = cvmx_helper_get_interface_index_num(ipd_port); local
511 int index = cvmx_helper_get_interface_index_num(ipd_port); local
[all...]
/linux-master/net/dccp/ccids/lib/
H A Dtfrc_equation.c590 /* return largest index i such that fval <= lookup[i][small] */
615 u16 index; local
631 index = 0;
633 index = p/TFRC_SMALLEST_P - 1;
635 f = tfrc_calc_x_lookup[index][1];
638 index = p/(1000000/TFRC_CALC_X_ARRSIZE) - 1;
640 f = tfrc_calc_x_lookup[index][0];
664 int index; local
680 index = tfrc_binsearch(fvalue, 1);
681 return (index
[all...]
/linux-master/include/drm/
H A Ddrm_exec.h55 * drm_exec_obj() - Return the object for a give drm_exec index
57 * @index: The index.
59 * Return: Pointer to the locked object corresponding to @index if
60 * index is within the number of locked objects. NULL otherwise.
63 drm_exec_obj(struct drm_exec *exec, unsigned long index) argument
65 return index < exec->num_objects ? exec->objects[index] : NULL;
71 * @index: unsigned long index fo
[all...]
/linux-master/drivers/md/dm-vdo/indexer/
H A Dindex.c7 #include "index.h"
19 * When searching for deduplication records, the index first searches the volume index, and then
20 * searches the chapter index for the relevant chapter. If the chapter has been fully committed to
22 * committed (either the open chapter or a recently closed one), the index searches the in-memory
23 * representation of the chapter. Finally, if the volume index does not find a record and the index
24 * is sparse, the index will search the sparse cache.
26 * The index send two kinds of messages to coordinate between zones: chapter close messages for the
36 * The last zone to close the chapter also removes the oldest chapter from the volume index
55 struct uds_index *index; member in struct:chapter_writer
85 launch_zone_message(struct uds_zone_message message, unsigned int zone, struct uds_index *index) argument
104 enqueue_barrier_messages(struct uds_index *index, u64 virtual_chapter) argument
124 triage_index_request(struct uds_index *index, struct uds_request *request) argument
170 struct uds_index *index = request->index; local
179 finish_previous_chapter(struct uds_index *index, u64 current_chapter_number) argument
216 start_closing_chapter(struct uds_index *index, unsigned int zone_number, struct open_chapter_zone *chapter) argument
579 dispatch_index_request(struct uds_index *index, struct uds_request *request) argument
616 struct uds_index *index = request->index; local
650 initialize_index_queues(struct uds_index *index, const struct index_geometry *geometry) argument
679 struct uds_index *index = writer->index; local
762 make_chapter_writer(struct uds_index *index, struct chapter_writer **writer_ptr) argument
810 load_index(struct uds_index *index) argument
828 rebuild_index_page_map(struct uds_index *index, u64 vcn) argument
867 replay_record(struct uds_index *index, const struct uds_record_name *name, u64 virtual_chapter, bool will_be_sparse_chapter) argument
948 check_for_suspend(struct uds_index *index) argument
974 replay_chapter(struct uds_index *index, u64 virtual, bool sparse) argument
1027 replay_volume(struct uds_index *index) argument
1075 rebuild_index(struct uds_index *index) argument
1124 make_index_zone(struct uds_index *index, unsigned int zone_number) argument
1161 struct uds_index *index = NULL; local
1275 uds_free_index(struct uds_index *index) argument
1301 uds_wait_for_idle_index(struct uds_index *index) argument
1312 uds_save_index(struct uds_index *index) argument
1339 uds_replace_index_storage(struct uds_index *index, struct block_device *bdev) argument
1345 uds_get_index_stats(struct uds_index *index, struct uds_index_stats *counters) argument
1361 struct uds_index *index = request->index; local
[all...]
/linux-master/arch/powerpc/xmon/
H A Dspu-dis.c46 const struct spu_opcode *index; local
54 if ((index = spu_disassemble_table[opcode & 0x780]) != 0
55 && index->insn_type == RRR)
56 return index;
58 if ((index = spu_disassemble_table[opcode & 0x7f0]) != 0
59 && (index->insn_type == RI18 || index->insn_type == LBT))
60 return index;
62 if ((index = spu_disassemble_table[opcode & 0x7f8]) != 0
63 && index
87 const struct spu_opcode *index; local
[all...]

Completed in 279 milliseconds

1234567891011>>