Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 258) sorted by relevance

1234567891011

/include/trace/events/
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;
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, const char *attr_name, long val),
43 TP_ARGS(index, attr_name, val)
48 TP_PROTO(int index, const char *attr_name, const char *s),
[all …]
Dintel_iommu.h97 TP_PROTO(struct device *dev, int index, int total,
100 TP_ARGS(dev, index, total, sg),
107 __field(int, index)
116 __entry->index = index;
121 __get_str(dev_name), __entry->index, __entry->total,
128 TP_PROTO(struct device *dev, int index, int total,
130 TP_ARGS(dev, index, total, sg)
134 TP_PROTO(struct device *dev, int index, int total,
136 TP_ARGS(dev, index, total, sg)
Dnbd.h63 TP_PROTO(struct nbd_request *nbd_request, int index,
66 TP_ARGS(nbd_request, index, rq),
76 __entry->dev_index = index;
96 TP_PROTO(struct nbd_request *nbd_request, int index,
99 TP_ARGS(nbd_request, index, rq),
/include/linux/
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) { in scx200_gpio_get() argument
25 return (inl(ioaddr) & (1<<index)) ? 1 : 0; in scx200_gpio_get()
32 static inline int scx200_gpio_current(unsigned index) { in scx200_gpio_current() argument
36 return (scx200_gpio_shadow[bank] & (1<<index)) ? 1 : 0; in scx200_gpio_current()
41 static inline void scx200_gpio_set_high(unsigned index) { in scx200_gpio_set_high() argument
46 set_bit(index, shadow); /* __set_bit()? */ in scx200_gpio_set_high()
52 static inline void scx200_gpio_set_low(unsigned index) { in scx200_gpio_set_low() argument
[all …]
Dnospec.h28 static inline unsigned long array_index_mask_nospec(unsigned long index, in array_index_mask_nospec() argument
36 OPTIMIZER_HIDE_VAR(index); in array_index_mask_nospec()
37 return ~(long)(index | (size - 1UL - index)) >> (BITS_PER_LONG - 1); in array_index_mask_nospec()
55 #define array_index_nospec(index, size) \ argument
57 typeof(index) _i = (index); \
Dof_gpio.h53 const char *list_name, int index, enum of_gpio_flags *flags);
71 const char *list_name, int index, enum of_gpio_flags *flags) in of_get_named_gpio_flags() argument
117 static inline int of_get_gpio_flags(struct device_node *np, int index, in of_get_gpio_flags() argument
120 return of_get_named_gpio_flags(np, "gpios", index, flags); in of_get_gpio_flags()
133 const char *propname, int index) in of_get_named_gpio() argument
135 return of_get_named_gpio_flags(np, propname, index, NULL); in of_get_named_gpio()
146 static inline int of_get_gpio(struct device_node *np, int index) in of_get_gpio() argument
148 return of_get_gpio_flags(np, index, NULL); in of_get_gpio()
Dxarray.h347 void *xa_load(struct xarray *, unsigned long index);
348 void *xa_store(struct xarray *, unsigned long index, void *entry, gfp_t);
349 void *xa_erase(struct xarray *, unsigned long index);
352 bool xa_get_mark(struct xarray *, unsigned long index, xa_mark_t);
353 void xa_set_mark(struct xarray *, unsigned long index, xa_mark_t);
354 void xa_clear_mark(struct xarray *, unsigned long index, xa_mark_t);
355 void *xa_find(struct xarray *xa, unsigned long *index,
357 void *xa_find_after(struct xarray *xa, unsigned long *index,
443 #define xa_for_each_range(xa, index, entry, start, last) \ argument
444 for (index = start, \
[all …]
Dreset.h23 const char *id, int index, bool shared,
26 int index, bool shared,
31 const char *id, int index, bool shared,
84 const char *id, int index, bool shared, in __of_reset_control_get() argument
92 int index, bool shared, bool optional, in __reset_control_get() argument
100 int index, bool shared, bool optional, in __devm_reset_control_get() argument
293 struct device_node *node, int index) in of_reset_control_get_exclusive_by_index() argument
295 return __of_reset_control_get(node, NULL, index, false, false, true); in of_reset_control_get_exclusive_by_index()
321 struct device_node *node, int index) in of_reset_control_get_shared_by_index() argument
323 return __of_reset_control_get(node, NULL, index, true, false, false); in of_reset_control_get_shared_by_index()
[all …]
Dradix-tree.h105 unsigned long index; member
217 int radix_tree_insert(struct radix_tree_root *, unsigned long index,
219 void *__radix_tree_lookup(const struct radix_tree_root *, unsigned long index,
223 unsigned long index);
241 unsigned long index, unsigned int tag);
243 unsigned long index, unsigned int tag);
245 unsigned long index, unsigned int tag);
289 iter->index = 0; in radix_tree_iter_init()
322 struct radix_tree_iter *iter, unsigned long index) in radix_tree_iter_lookup() argument
324 radix_tree_iter_init(iter, index); in radix_tree_iter_lookup()
[all …]
Dof_irq.h23 extern int of_irq_parse_oldworld(struct device_node *device, int index,
28 static inline int of_irq_parse_oldworld(struct device_node *device, int index, in of_irq_parse_oldworld() argument
37 extern int of_irq_to_resource(struct device_node *dev, int index,
43 extern int of_irq_parse_one(struct device_node *device, int index,
46 extern int of_irq_get(struct device_node *dev, int index);
60 static inline int of_irq_parse_one(struct device_node *device, int index, in of_irq_parse_one() argument
69 static inline int of_irq_get(struct device_node *dev, int index) in of_irq_get() argument
114 extern unsigned int irq_of_parse_and_map(struct device_node *node, int index);
118 int index) in irq_of_parse_and_map() argument
Dpagemap.h304 pgoff_t index, unsigned long max_scan);
306 pgoff_t index, unsigned long max_scan);
356 pgoff_t index) in find_lock_page() argument
358 return pagecache_get_page(mapping, index, FGP_LOCK, 0); in find_lock_page()
375 pgoff_t index) in find_lock_head() argument
377 return pagecache_get_page(mapping, index, FGP_LOCK | FGP_HEAD, 0); in find_lock_head()
400 pgoff_t index, gfp_t gfp_mask) in find_or_create_page() argument
402 return pagecache_get_page(mapping, index, in find_or_create_page()
421 pgoff_t index) in grab_cache_page_nowait() argument
423 return pagecache_get_page(mapping, index, in grab_cache_page_nowait()
[all …]
Dof_address.h44 extern int of_address_to_resource(struct device_node *dev, int index,
46 extern void __iomem *of_iomap(struct device_node *device, int index);
48 int index, const char *name);
54 extern const __be32 *of_get_address(struct device_node *dev, int index,
67 int index, const char *name) in of_io_request_and_map() argument
78 static inline const __be32 *of_get_address(struct device_node *dev, int index, in of_get_address() argument
110 extern int of_address_to_resource(struct device_node *dev, int index,
112 void __iomem *of_iomap(struct device_node *node, int index);
114 static inline int of_address_to_resource(struct device_node *dev, int index, in of_address_to_resource() argument
120 static inline void __iomem *of_iomap(struct device_node *device, int index) in of_iomap() argument
Dcpu_rmap.h29 u16 index; member
39 extern int cpu_rmap_update(struct cpu_rmap *rmap, u16 index,
44 return rmap->near[cpu].index; in cpu_rmap_lookup_index()
49 return rmap->obj[rmap->near[cpu].index]; in cpu_rmap_lookup_obj()
Dsbitmap.h238 unsigned int index; in __sbitmap_for_each_set() local
244 index = SB_NR_TO_INDEX(sb, start); in __sbitmap_for_each_set()
250 sb->map[index].depth - nr, in __sbitmap_for_each_set()
254 word = sb->map[index].word & ~sb->map[index].cleared; in __sbitmap_for_each_set()
268 if (!fn(sb, (index << sb->shift) + nr, data)) in __sbitmap_for_each_set()
275 if (++index >= sb->map_nr) in __sbitmap_for_each_set()
276 index = 0; in __sbitmap_for_each_set()
490 static inline int sbq_index_inc(int index) in sbq_index_inc() argument
492 return (index + 1) & (SBQ_WAIT_QUEUES - 1); in sbq_index_inc()
495 static inline void sbq_index_atomic_inc(atomic_t *index) in sbq_index_atomic_inc() argument
[all …]
Dvia_i2c.h21 int viafb_i2c_readbyte(u8 adap, u8 slave_addr, u8 index, u8 *pdata);
22 int viafb_i2c_writebyte(u8 adap, u8 slave_addr, u8 index, u8 data);
23 int viafb_i2c_readbytes(u8 adap, u8 slave_addr, u8 index, u8 *buff, int buff_len);
Dfs_enet_pd.h62 static inline int fs_fec_index2id(int index) in fs_fec_index2id() argument
64 int id = fsid_fec1 + index - 1; in fs_fec_index2id()
70 static inline int fs_fcc_index2id(int index) in fs_fcc_index2id() argument
72 int id = fsid_fcc1 + index - 1; in fs_fcc_index2id()
78 static inline int fs_scc_index2id(int index) in fs_scc_index2id() argument
80 int id = fsid_scc1 + index - 1; in fs_scc_index2id()
Dsvga.h71 static inline void svga_wattr(void __iomem *regbase, u8 index, u8 data) in svga_wattr() argument
74 vga_w(regbase, VGA_ATT_IW, index); in svga_wattr()
80 static inline void svga_wseq_mask(void __iomem *regbase, u8 index, u8 data, u8 mask) in svga_wseq_mask() argument
82 vga_wseq(regbase, index, (data & mask) | (vga_rseq(regbase, index) & ~mask)); in svga_wseq_mask()
87 static inline void svga_wcrt_mask(void __iomem *regbase, u8 index, u8 data, u8 mask) in svga_wcrt_mask() argument
89 vga_wcrt(regbase, index, (data & mask) | (vga_rcrt(regbase, index) & ~mask)); in svga_wcrt_mask()
Dvia-core.h188 static inline u8 via_read_reg(u16 port, u8 index) in via_read_reg() argument
190 outb(index, port); in via_read_reg()
194 static inline void via_write_reg(u16 port, u8 index, u8 data) in via_write_reg() argument
196 outb(index, port); in via_write_reg()
200 static inline void via_write_reg_mask(u16 port, u8 index, u8 data, u8 mask) in via_write_reg_mask() argument
204 outb(index, port); in via_write_reg_mask()
/include/net/tc_act/
Dtc_pedit.h38 static inline u32 tcf_pedit_htype(const struct tc_action *a, int index) in tcf_pedit_htype() argument
41 return to_pedit(a)->tcfp_keys_ex[index].htype; in tcf_pedit_htype()
46 static inline u32 tcf_pedit_cmd(const struct tc_action *a, int index) in tcf_pedit_cmd() argument
49 return to_pedit(a)->tcfp_keys_ex[index].cmd; in tcf_pedit_cmd()
54 static inline u32 tcf_pedit_mask(const struct tc_action *a, int index) in tcf_pedit_mask() argument
56 return to_pedit(a)->tcfp_keys[index].mask; in tcf_pedit_mask()
59 static inline u32 tcf_pedit_val(const struct tc_action *a, int index) in tcf_pedit_val() argument
61 return to_pedit(a)->tcfp_keys[index].val; in tcf_pedit_val()
64 static inline u32 tcf_pedit_offset(const struct tc_action *a, int index) in tcf_pedit_offset() argument
66 return to_pedit(a)->tcfp_keys[index].off; in tcf_pedit_offset()
/include/sound/
Dsoc-topology.h66 unsigned int index; /* objects can belong in different groups */ member
114 int (*control_load)(struct snd_soc_component *, int index,
120 int (*dapm_route_load)(struct snd_soc_component *, int index,
126 int (*widget_load)(struct snd_soc_component *, int index,
129 int (*widget_ready)(struct snd_soc_component *, int index,
136 int (*dai_load)(struct snd_soc_component *, int index,
144 int (*link_load)(struct snd_soc_component *, int index,
151 int (*vendor_load)(struct snd_soc_component *, int index,
160 int (*manifest)(struct snd_soc_component *, int index,
185 u32 index);
[all …]
/include/linux/fsl/bestcomm/
Dbestcomm.h55 unsigned short index; member
108 return ((tsk->index + 1) == tsk->num_bd) ? 0 : tsk->index + 1; in _bcom_next_index()
129 return tsk->index == tsk->outdex; in bcom_queue_empty()
148 *bcom_get_bd(struct bcom_task *tsk, unsigned int index) in bcom_get_bd() argument
152 return ((void *)tsk->bd) + (index * tsk->bd_size); in bcom_get_bd()
181 bd = bcom_get_bd(tsk, tsk->index); in bcom_prepare_next_buffer()
189 struct bcom_bd *bd = bcom_get_bd(tsk, tsk->index); in bcom_submit_next_buffer()
191 tsk->cookie[tsk->index] = cookie; in bcom_submit_next_buffer()
194 tsk->index = _bcom_next_index(tsk); in bcom_submit_next_buffer()
/include/linux/mfd/
Dkempld.h119 extern u8 kempld_read8(struct kempld_device_data *pld, u8 index);
120 extern void kempld_write8(struct kempld_device_data *pld, u8 index, u8 data);
121 extern u16 kempld_read16(struct kempld_device_data *pld, u8 index);
122 extern void kempld_write16(struct kempld_device_data *pld, u8 index, u16 data);
123 extern u32 kempld_read32(struct kempld_device_data *pld, u8 index);
124 extern void kempld_write32(struct kempld_device_data *pld, u8 index, u32 data);
/include/linux/soc/samsung/
Ds3c-cpufreq-core.h272 int index, size_t table_size, in s3c_cpufreq_addfreq() argument
275 if (index < 0) in s3c_cpufreq_addfreq()
276 return index; in s3c_cpufreq_addfreq()
279 if (index >= table_size) in s3c_cpufreq_addfreq()
283 __func__, index, freq); in s3c_cpufreq_addfreq()
285 table[index].driver_data = index; in s3c_cpufreq_addfreq()
286 table[index].frequency = freq; in s3c_cpufreq_addfreq()
289 return index + 1; in s3c_cpufreq_addfreq()
/include/uapi/xen/
Dgntalloc.h31 __u64 index; member
48 __u64 index; member
72 __u64 index; member
/include/rdma/
Dib_cache.h13 int rdma_query_gid(struct ib_device *device, u8 port_num, int index,
47 int index,
64 u16 *index);
80 u16 *index);
110 u8 port_num, int index);

1234567891011