Searched refs:type (Results 1 - 200 of 11157) sorted by relevance

1234567891011>>

/linux-4.1.27/net/ieee802154/
H A Dnl_policy.c24 [IEEE802154_ATTR_DEV_NAME] = { .type = NLA_STRING, },
25 [IEEE802154_ATTR_DEV_INDEX] = { .type = NLA_U32, },
26 [IEEE802154_ATTR_PHY_NAME] = { .type = NLA_STRING, },
28 [IEEE802154_ATTR_STATUS] = { .type = NLA_U8, },
29 [IEEE802154_ATTR_SHORT_ADDR] = { .type = NLA_U16, },
30 [IEEE802154_ATTR_HW_ADDR] = { .type = NLA_HW_ADDR, },
31 [IEEE802154_ATTR_PAN_ID] = { .type = NLA_U16, },
32 [IEEE802154_ATTR_CHANNEL] = { .type = NLA_U8, },
33 [IEEE802154_ATTR_PAGE] = { .type = NLA_U8, },
34 [IEEE802154_ATTR_COORD_SHORT_ADDR] = { .type = NLA_U16, },
35 [IEEE802154_ATTR_COORD_HW_ADDR] = { .type = NLA_HW_ADDR, },
36 [IEEE802154_ATTR_COORD_PAN_ID] = { .type = NLA_U16, },
37 [IEEE802154_ATTR_SRC_SHORT_ADDR] = { .type = NLA_U16, },
38 [IEEE802154_ATTR_SRC_HW_ADDR] = { .type = NLA_HW_ADDR, },
39 [IEEE802154_ATTR_SRC_PAN_ID] = { .type = NLA_U16, },
40 [IEEE802154_ATTR_DEST_SHORT_ADDR] = { .type = NLA_U16, },
41 [IEEE802154_ATTR_DEST_HW_ADDR] = { .type = NLA_HW_ADDR, },
42 [IEEE802154_ATTR_DEST_PAN_ID] = { .type = NLA_U16, },
44 [IEEE802154_ATTR_CAPABILITY] = { .type = NLA_U8, },
45 [IEEE802154_ATTR_REASON] = { .type = NLA_U8, },
46 [IEEE802154_ATTR_SCAN_TYPE] = { .type = NLA_U8, },
47 [IEEE802154_ATTR_CHANNELS] = { .type = NLA_U32, },
48 [IEEE802154_ATTR_DURATION] = { .type = NLA_U8, },
52 [IEEE802154_ATTR_TXPOWER] = { .type = NLA_S8, },
53 [IEEE802154_ATTR_LBT_ENABLED] = { .type = NLA_U8, },
54 [IEEE802154_ATTR_CCA_MODE] = { .type = NLA_U8, },
55 [IEEE802154_ATTR_CCA_ED_LEVEL] = { .type = NLA_S32, },
56 [IEEE802154_ATTR_CSMA_RETRIES] = { .type = NLA_U8, },
57 [IEEE802154_ATTR_CSMA_MIN_BE] = { .type = NLA_U8, },
58 [IEEE802154_ATTR_CSMA_MAX_BE] = { .type = NLA_U8, },
60 [IEEE802154_ATTR_FRAME_RETRIES] = { .type = NLA_S8, },
62 [IEEE802154_ATTR_LLSEC_ENABLED] = { .type = NLA_U8, },
63 [IEEE802154_ATTR_LLSEC_SECLEVEL] = { .type = NLA_U8, },
64 [IEEE802154_ATTR_LLSEC_KEY_MODE] = { .type = NLA_U8, },
65 [IEEE802154_ATTR_LLSEC_KEY_SOURCE_SHORT] = { .type = NLA_U32, },
66 [IEEE802154_ATTR_LLSEC_KEY_SOURCE_EXTENDED] = { .type = NLA_HW_ADDR, },
67 [IEEE802154_ATTR_LLSEC_KEY_ID] = { .type = NLA_U8, },
68 [IEEE802154_ATTR_LLSEC_FRAME_COUNTER] = { .type = NLA_U32 },
70 [IEEE802154_ATTR_LLSEC_KEY_USAGE_FRAME_TYPES] = { .type = NLA_U8, },
72 [IEEE802154_ATTR_LLSEC_FRAME_TYPE] = { .type = NLA_U8, },
73 [IEEE802154_ATTR_LLSEC_CMD_FRAME_ID] = { .type = NLA_U8, },
74 [IEEE802154_ATTR_LLSEC_SECLEVELS] = { .type = NLA_U8, },
75 [IEEE802154_ATTR_LLSEC_DEV_OVERRIDE] = { .type = NLA_U8, },
76 [IEEE802154_ATTR_LLSEC_DEV_KEY_MODE] = { .type = NLA_U8, },
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/
H A Dreg_rdwr.h9 #define REG_READ(type, addr) (*((volatile type *) (addr)))
13 #define REG_WRITE(type, addr, val) \
14 do { *((volatile type *) (addr)) = (val); } while(0)
H A Ddma_defs.h66 #define REG_TYPE_CONV( type, orgtype, val ) \
67 ( { union { orgtype o; type n; } r; r.o = val; r.n; } )
87 /* Register rw_data, scope dma, type rw */
92 /* Register rw_data_next, scope dma, type rw */
97 /* Register rw_data_buf, scope dma, type rw */
102 /* Register rw_data_ctrl, scope dma, type rw */
114 /* Register rw_data_stat, scope dma, type rw */
123 /* Register rw_data_md, scope dma, type rw */
131 /* Register rw_data_md_s, scope dma, type rw */
139 /* Register rw_data_after, scope dma, type rw */
144 /* Register rw_ctxt, scope dma, type rw */
149 /* Register rw_ctxt_next, scope dma, type rw */
154 /* Register rw_ctxt_ctrl, scope dma, type rw */
167 /* Register rw_ctxt_stat, scope dma, type rw */
176 /* Register rw_ctxt_md0, scope dma, type rw */
184 /* Register rw_ctxt_md0_s, scope dma, type rw */
192 /* Register rw_ctxt_md1, scope dma, type rw */
197 /* Register rw_ctxt_md1_s, scope dma, type rw */
202 /* Register rw_ctxt_md2, scope dma, type rw */
207 /* Register rw_ctxt_md2_s, scope dma, type rw */
212 /* Register rw_ctxt_md3, scope dma, type rw */
217 /* Register rw_ctxt_md3_s, scope dma, type rw */
222 /* Register rw_ctxt_md4, scope dma, type rw */
227 /* Register rw_ctxt_md4_s, scope dma, type rw */
232 /* Register rw_saved_data, scope dma, type rw */
237 /* Register rw_saved_data_buf, scope dma, type rw */
242 /* Register rw_group, scope dma, type rw */
247 /* Register rw_group_next, scope dma, type rw */
252 /* Register rw_group_ctrl, scope dma, type rw */
266 /* Register rw_group_stat, scope dma, type rw */
275 /* Register rw_group_md, scope dma, type rw */
283 /* Register rw_group_md_s, scope dma, type rw */
291 /* Register rw_group_up, scope dma, type rw */
296 /* Register rw_group_down, scope dma, type rw */
301 /* Register rw_cmd, scope dma, type rw */
309 /* Register rw_cfg, scope dma, type rw */
318 /* Register rw_stat, scope dma, type rw */
329 /* Register rw_intr_mask, scope dma, type rw */
341 /* Register rw_ack_intr, scope dma, type rw */
353 /* Register r_intr, scope dma, type r */
364 /* Register r_masked_intr, scope dma, type r */
375 /* Register rw_stream_cmd, scope dma, type rw */
H A Dbif_dma_defs.h66 #define REG_TYPE_CONV( type, orgtype, val ) \
67 ( { union { orgtype o; type n; } r; r.o = val; r.n; } )
87 /* Register rw_ch0_ctrl, scope bif_dma, type rw */
106 /* Register rw_ch0_addr, scope bif_dma, type rw */
113 /* Register rw_ch0_start, scope bif_dma, type rw */
121 /* Register rw_ch0_cnt, scope bif_dma, type rw */
129 /* Register r_ch0_stat, scope bif_dma, type r */
137 /* Register rw_ch1_ctrl, scope bif_dma, type rw */
155 /* Register rw_ch1_addr, scope bif_dma, type rw */
162 /* Register rw_ch1_start, scope bif_dma, type rw */
170 /* Register rw_ch1_cnt, scope bif_dma, type rw */
178 /* Register r_ch1_stat, scope bif_dma, type r */
186 /* Register rw_ch2_ctrl, scope bif_dma, type rw */
205 /* Register rw_ch2_addr, scope bif_dma, type rw */
212 /* Register rw_ch2_start, scope bif_dma, type rw */
220 /* Register rw_ch2_cnt, scope bif_dma, type rw */
228 /* Register r_ch2_stat, scope bif_dma, type r */
236 /* Register rw_ch3_ctrl, scope bif_dma, type rw */
254 /* Register rw_ch3_addr, scope bif_dma, type rw */
261 /* Register rw_ch3_start, scope bif_dma, type rw */
269 /* Register rw_ch3_cnt, scope bif_dma, type rw */
277 /* Register r_ch3_stat, scope bif_dma, type r */
285 /* Register rw_intr_mask, scope bif_dma, type rw */
296 /* Register rw_ack_intr, scope bif_dma, type rw */
307 /* Register r_intr, scope bif_dma, type r */
317 /* Register r_masked_intr, scope bif_dma, type r */
327 /* Register rw_pin0_cfg, scope bif_dma, type rw */
338 /* Register rw_pin1_cfg, scope bif_dma, type rw */
349 /* Register rw_pin2_cfg, scope bif_dma, type rw */
360 /* Register rw_pin3_cfg, scope bif_dma, type rw */
371 /* Register rw_pin4_cfg, scope bif_dma, type rw */
382 /* Register rw_pin5_cfg, scope bif_dma, type rw */
393 /* Register rw_pin6_cfg, scope bif_dma, type rw */
404 /* Register rw_pin7_cfg, scope bif_dma, type rw */
415 /* Register r_pin_stat, scope bif_dma, type r */
H A Deth_defs.h66 #define REG_TYPE_CONV( type, orgtype, val ) \
67 ( { union { orgtype o; type n; } r; r.o = val; r.n; } )
87 /* Register rw_ma0_lo, scope eth, type rw */
94 /* Register rw_ma0_hi, scope eth, type rw */
102 /* Register rw_ma1_lo, scope eth, type rw */
109 /* Register rw_ma1_hi, scope eth, type rw */
117 /* Register rw_ga_lo, scope eth, type rw */
124 /* Register rw_ga_hi, scope eth, type rw */
131 /* Register rw_gen_ctrl, scope eth, type rw */
145 /* Register rw_rec_ctrl, scope eth, type rw */
161 /* Register rw_tr_ctrl, scope eth, type rw */
176 /* Register rw_clr_err, scope eth, type rw */
184 /* Register rw_mgm_ctrl, scope eth, type rw */
194 /* Register r_stat, scope eth, type r */
204 /* Register rs_rec_cnt, scope eth, type rs */
213 /* Register r_rec_cnt, scope eth, type r */
222 /* Register rs_tr_cnt, scope eth, type rs */
231 /* Register r_tr_cnt, scope eth, type r */
240 /* Register rs_phy_cnt, scope eth, type rs */
248 /* Register r_phy_cnt, scope eth, type r */
256 /* Register rw_test_ctrl, scope eth, type rw */
266 /* Register rw_intr_mask, scope eth, type rw */
287 /* Register rw_ack_intr, scope eth, type rw */
308 /* Register r_intr, scope eth, type r */
328 /* Register r_masked_intr, scope eth, type r */
/linux-4.1.27/tools/lib/lockdep/uinclude/linux/
H A Dmodule.h4 #define module_param(name, type, perm)
H A Dkernel.h11 #define container_of(ptr, type, member) ({ \
12 const typeof(((type *)0)->member) * __mptr = (ptr); \
13 (type *)((char *)__mptr - offsetof(type, member)); })
/linux-4.1.27/include/linux/
H A Dtypecheck.h5 * Check at compile time that something is of a particular type.
8 #define typecheck(type,x) \
9 ({ type __dummy; \
16 * Check at compile time that 'function' is a certain type, or is a pointer
17 * to that type (needs to use typedef for the function type.)
19 #define typecheck_fn(type,function) \
20 ({ typeof(type) __tmp = function; \
H A Dkcore.h19 int type; member in struct:kcore_list
30 extern void kclist_add(struct kcore_list *, void *, size_t, int type);
33 void kclist_add(struct kcore_list *new, void *addr, size_t size, int type) kclist_add() argument
H A Dswap_cgroup.h12 extern int swap_cgroup_swapon(int type, unsigned long max_pages);
13 extern void swap_cgroup_swapoff(int type);
30 swap_cgroup_swapon(int type, unsigned long max_pages) swap_cgroup_swapon() argument
35 static inline void swap_cgroup_swapoff(int type) swap_cgroup_swapoff() argument
H A Dicmpv6.h15 extern void icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info);
17 typedef void ip6_icmp_send_t(struct sk_buff *skb, u8 type, u8 code, __u32 info);
24 u8 type, u8 code, __u32 info) icmpv6_send()
31 extern int icmpv6_err_convert(u8 type, u8 code,
41 u8 type,
23 icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info) icmpv6_send() argument
H A Dquotaops.h61 struct dquot *dquot_alloc(struct super_block *sb, int type);
73 int dquot_disable(struct super_block *sb, int type, unsigned int flags);
75 static inline int dquot_suspend(struct super_block *sb, int type) dquot_suspend() argument
77 return dquot_disable(sb, type, DQUOT_SUSPENDED); dquot_suspend()
79 int dquot_resume(struct super_block *sb, int type);
84 int dquot_commit_info(struct super_block *sb, int type);
89 int dquot_enable(struct inode *inode, int type, int format_id,
91 int dquot_quota_on(struct super_block *sb, int type, int format_id,
94 int format_id, int type);
95 int dquot_quota_off(struct super_block *sb, int type);
96 int dquot_writeback_dquots(struct super_block *sb, int type);
97 int dquot_quota_sync(struct super_block *sb, int type);
99 int dquot_set_dqinfo(struct super_block *sb, int type, struct qc_info *ii);
108 static inline struct mem_dqinfo *sb_dqinfo(struct super_block *sb, int type) sb_dqinfo() argument
110 return sb_dqopt(sb)->info + type; sb_dqinfo()
117 static inline bool sb_has_quota_usage_enabled(struct super_block *sb, int type) sb_has_quota_usage_enabled() argument
120 dquot_state_flag(DQUOT_USAGE_ENABLED, type); sb_has_quota_usage_enabled()
123 static inline bool sb_has_quota_limits_enabled(struct super_block *sb, int type) sb_has_quota_limits_enabled() argument
126 dquot_state_flag(DQUOT_LIMITS_ENABLED, type); sb_has_quota_limits_enabled()
129 static inline bool sb_has_quota_suspended(struct super_block *sb, int type) sb_has_quota_suspended() argument
132 dquot_state_flag(DQUOT_SUSPENDED, type); sb_has_quota_suspended()
140 /* Does kernel know about any quota information for given sb + type? */ sb_has_quota_loaded()
141 static inline bool sb_has_quota_loaded(struct super_block *sb, int type) sb_has_quota_loaded() argument
144 return sb_has_quota_usage_enabled(sb, type); sb_has_quota_loaded()
152 static inline bool sb_has_quota_active(struct super_block *sb, int type) sb_has_quota_active() argument
154 return sb_has_quota_loaded(sb, type) && sb_has_quota_active()
155 !sb_has_quota_suspended(sb, type); sb_has_quota_active()
167 static inline int sb_has_quota_usage_enabled(struct super_block *sb, int type) sb_has_quota_usage_enabled() argument
172 static inline int sb_has_quota_limits_enabled(struct super_block *sb, int type) sb_has_quota_limits_enabled() argument
177 static inline int sb_has_quota_suspended(struct super_block *sb, int type) sb_has_quota_suspended() argument
187 /* Does kernel know about any quota information for given sb + type? */ sb_has_quota_loaded()
188 static inline int sb_has_quota_loaded(struct super_block *sb, int type) sb_has_quota_loaded() argument
198 static inline int sb_has_quota_active(struct super_block *sb, int type) sb_has_quota_active() argument
253 static inline int dquot_disable(struct super_block *sb, int type, dquot_disable() argument
259 static inline int dquot_suspend(struct super_block *sb, int type) dquot_suspend() argument
264 static inline int dquot_resume(struct super_block *sb, int type) dquot_resume() argument
271 static inline int dquot_writeback_dquots(struct super_block *sb, int type) dquot_writeback_dquots() argument
384 unsigned int qtype_enforce_flag(int type);
H A Delfnote.h9 * Each note has three parts: a name, a type and a desc. The name is
12 * use in a section name. The type is an integer which is used to tag
14 * "FooCo"'s type 42 is distinct from "BarProj"'s type 42). The
35 * assembler pseudo op defining the type of the data e.g. .asciz while
41 #define ELFNOTE_START(name, type, flags) \
46 .long type ; \
55 #define ELFNOTE(name, type, desc) \
56 ELFNOTE_START(name, type, "") \
65 * type of name and desc depend on the macro arguments. "name" must
71 #define _ELFNOTE(size, name, unique, type, desc) \
86 type, \
91 #define ELFNOTE(size, name, type, desc) \
92 _ELFNOTE(size, name, __LINE__, type, desc)
94 #define ELFNOTE32(name, type, desc) ELFNOTE(32, name, type, desc)
95 #define ELFNOTE64(name, type, desc) ELFNOTE(64, name, type, desc)
H A Dfrontswap.h26 extern void __frontswap_init(unsigned type, unsigned long *map);
89 static inline void frontswap_invalidate_page(unsigned type, pgoff_t offset) frontswap_invalidate_page() argument
92 __frontswap_invalidate_page(type, offset); frontswap_invalidate_page()
95 static inline void frontswap_invalidate_area(unsigned type) frontswap_invalidate_area() argument
98 __frontswap_invalidate_area(type); frontswap_invalidate_area()
101 static inline void frontswap_init(unsigned type, unsigned long *map) frontswap_init() argument
104 __frontswap_init(type, map); frontswap_init()
H A Dkobject_ns.h41 enum kobj_ns_type type; member in struct:kobj_ns_type_operations
50 int kobj_ns_type_registered(enum kobj_ns_type type);
54 bool kobj_ns_current_may_mount(enum kobj_ns_type type);
55 void *kobj_ns_grab_current(enum kobj_ns_type type);
56 const void *kobj_ns_netlink(enum kobj_ns_type type, struct sock *sk);
57 const void *kobj_ns_initial(enum kobj_ns_type type);
58 void kobj_ns_drop(enum kobj_ns_type type, void *ns);
H A Dtextsearch_fsm.h37 * @type: type of token
43 __u16 type; member in struct:ts_fsm_token
H A Dprofile.h46 void profile_tick(int type);
52 void profile_hits(int type, void *ip, unsigned int nr_hits);
57 static inline void profile_hit(int type, void *ip) profile_hit() argument
62 if (unlikely(prof_on == type)) profile_hit()
63 profile_hits(type, ip, 1); profile_hit()
97 static inline void profile_tick(int type) profile_tick() argument
102 static inline void profile_hits(int type, void *ip, unsigned int nr_hits) profile_hits() argument
107 static inline void profile_hit(int type, void *ip) profile_hit() argument
H A Dfwnode.h2 * fwnode.h - Firmware device node object handle type definition.
23 enum fwnode_type type; member in struct:fwnode_handle
/linux-4.1.27/include/linux/crush/
H A Dhash.h8 extern const char *crush_hash_name(int type);
10 extern __u32 crush_hash32(int type, __u32 a);
11 extern __u32 crush_hash32_2(int type, __u32 a, __u32 b);
12 extern __u32 crush_hash32_3(int type, __u32 a, __u32 b, __u32 c);
13 extern __u32 crush_hash32_4(int type, __u32 a, __u32 b, __u32 c, __u32 d);
14 extern __u32 crush_hash32_5(int type, __u32 a, __u32 b, __u32 c, __u32 d,
/linux-4.1.27/drivers/irqchip/
H A Dirq-s3c24xx.c51 unsigned int type; member in struct:s3c_irq_data
145 static int s3c_irq_type(struct irq_data *data, unsigned int type) s3c_irq_type() argument
147 switch (type) { s3c_irq_type()
160 pr_err("No such irq type %d", type); s3c_irq_type()
171 unsigned int type) s3c_irqext_type_set()
180 /* Set the external interrupt to pointed trigger type */ s3c_irqext_type_set()
181 switch (type) s3c_irqext_type_set()
208 pr_err("No such irq type %d", type); s3c_irqext_type_set()
219 static int s3c_irqext_type(struct irq_data *data, unsigned int type) s3c_irqext_type() argument
245 extint_offset, type); s3c_irqext_type()
248 static int s3c_irqext0_type(struct irq_data *data, unsigned int type) s3c_irqext0_type() argument
264 extint_offset, type); s3c_irqext0_type()
435 switch (irq_data->type) { s3c24xx_irq_map()
466 pr_err("irq-s3c24xx: unsupported irqtype %d\n", irq_data->type); s3c24xx_irq_map()
474 if (parent_intc && irq_data->type != S3C_IRQTYPE_NONE) { s3c24xx_irq_map()
620 { .type = S3C_IRQTYPE_NONE, }, /* reserved */
621 { .type = S3C_IRQTYPE_NONE, }, /* reserved */
622 { .type = S3C_IRQTYPE_NONE, }, /* reserved */
623 { .type = S3C_IRQTYPE_NONE, }, /* reserved */
624 { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT4 */
625 { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT5 */
626 { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT6 */
627 { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT7 */
628 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT8 */
629 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT9 */
630 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT10 */
631 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT11 */
632 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT12 */
633 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT13 */
634 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT14 */
635 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT15 */
636 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT16 */
637 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT17 */
638 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT18 */
639 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT19 */
640 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT20 */
641 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT21 */
642 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT22 */
643 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT23 */
648 { .type = S3C_IRQTYPE_EINT, }, /* EINT0 */
649 { .type = S3C_IRQTYPE_EINT, }, /* EINT1 */
650 { .type = S3C_IRQTYPE_EINT, }, /* EINT2 */
651 { .type = S3C_IRQTYPE_EINT, }, /* EINT3 */
652 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT4to7 */
653 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT8to23 */
654 { .type = S3C_IRQTYPE_NONE, }, /* reserved */
655 { .type = S3C_IRQTYPE_EDGE, }, /* nBATT_FLT */
656 { .type = S3C_IRQTYPE_EDGE, }, /* TICK */
657 { .type = S3C_IRQTYPE_EDGE, }, /* WDT */
658 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER0 */
659 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER1 */
660 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER2 */
661 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER3 */
662 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER4 */
663 { .type = S3C_IRQTYPE_LEVEL, }, /* UART2 */
664 { .type = S3C_IRQTYPE_EDGE, }, /* LCD */
665 { .type = S3C_IRQTYPE_EDGE, }, /* DMA0 */
666 { .type = S3C_IRQTYPE_EDGE, }, /* DMA1 */
667 { .type = S3C_IRQTYPE_EDGE, }, /* DMA2 */
668 { .type = S3C_IRQTYPE_EDGE, }, /* DMA3 */
669 { .type = S3C_IRQTYPE_EDGE, }, /* SDI */
670 { .type = S3C_IRQTYPE_EDGE, }, /* SPI0 */
671 { .type = S3C_IRQTYPE_LEVEL, }, /* UART1 */
672 { .type = S3C_IRQTYPE_NONE, }, /* reserved */
673 { .type = S3C_IRQTYPE_EDGE, }, /* USBD */
674 { .type = S3C_IRQTYPE_EDGE, }, /* USBH */
675 { .type = S3C_IRQTYPE_EDGE, }, /* IIC */
676 { .type = S3C_IRQTYPE_LEVEL, }, /* UART0 */
677 { .type = S3C_IRQTYPE_EDGE, }, /* SPI1 */
678 { .type = S3C_IRQTYPE_EDGE, }, /* RTC */
679 { .type = S3C_IRQTYPE_LEVEL, }, /* ADCPARENT */
683 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-RX */
684 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-TX */
685 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-ERR */
686 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-RX */
687 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-TX */
688 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-ERR */
689 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-RX */
690 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-TX */
691 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-ERR */
692 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* TC */
693 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* ADC */
717 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT0 */
718 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT1 */
719 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT2 */
720 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT3 */
721 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT4to7 */
722 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT8to23 */
723 { .type = S3C_IRQTYPE_NONE, }, /* reserved */
724 { .type = S3C_IRQTYPE_EDGE, }, /* nBATT_FLT */
725 { .type = S3C_IRQTYPE_EDGE, }, /* TICK */
726 { .type = S3C_IRQTYPE_EDGE, }, /* WDT */
727 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER0 */
728 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER1 */
729 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER2 */
730 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER3 */
731 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER4 */
732 { .type = S3C_IRQTYPE_LEVEL, }, /* UART2 */
733 { .type = S3C_IRQTYPE_EDGE, }, /* LCD */
734 { .type = S3C_IRQTYPE_EDGE, }, /* DMA0 */
735 { .type = S3C_IRQTYPE_EDGE, }, /* DMA1 */
736 { .type = S3C_IRQTYPE_EDGE, }, /* DMA2 */
737 { .type = S3C_IRQTYPE_EDGE, }, /* DMA3 */
738 { .type = S3C_IRQTYPE_LEVEL, }, /* SDI/CF */
739 { .type = S3C_IRQTYPE_EDGE, }, /* SPI0 */
740 { .type = S3C_IRQTYPE_LEVEL, }, /* UART1 */
741 { .type = S3C_IRQTYPE_NONE, }, /* reserved */
742 { .type = S3C_IRQTYPE_EDGE, }, /* USBD */
743 { .type = S3C_IRQTYPE_EDGE, }, /* USBH */
744 { .type = S3C_IRQTYPE_EDGE, }, /* IIC */
745 { .type = S3C_IRQTYPE_LEVEL, }, /* UART0 */
746 { .type = S3C_IRQTYPE_EDGE, }, /* SPI1 */
747 { .type = S3C_IRQTYPE_EDGE, }, /* RTC */
748 { .type = S3C_IRQTYPE_LEVEL, }, /* ADCPARENT */
752 { .type = S3C_IRQTYPE_EINT, .parent_irq = 0 }, /* EINT0 */
753 { .type = S3C_IRQTYPE_EINT, .parent_irq = 1 }, /* EINT1 */
754 { .type = S3C_IRQTYPE_EINT, .parent_irq = 2 }, /* EINT2 */
755 { .type = S3C_IRQTYPE_EINT, .parent_irq = 3 }, /* EINT3 */
756 { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT4 */
757 { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT5 */
758 { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT6 */
759 { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT7 */
760 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT8 */
761 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT9 */
762 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT10 */
763 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT11 */
764 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT12 */
765 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT13 */
766 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT14 */
767 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT15 */
768 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT16 */
769 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT17 */
770 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT18 */
771 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT19 */
772 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT20 */
773 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT21 */
774 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT22 */
775 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT23 */
779 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-RX */
780 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-TX */
781 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-ERR */
782 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-RX */
783 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-TX */
784 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-ERR */
785 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-RX */
786 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-TX */
787 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-ERR */
788 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* TC */
789 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* ADC */
790 { .type = S3C_IRQTYPE_NONE, },
791 { .type = S3C_IRQTYPE_NONE, },
792 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 21 }, /* SDI */
793 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 21 }, /* CF */
819 { .type = S3C_IRQTYPE_EINT, }, /* EINT0 */
820 { .type = S3C_IRQTYPE_EINT, }, /* EINT1 */
821 { .type = S3C_IRQTYPE_EINT, }, /* EINT2 */
822 { .type = S3C_IRQTYPE_EINT, }, /* EINT3 */
823 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT4to7 */
824 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT8to23 */
825 { .type = S3C_IRQTYPE_NONE, }, /* reserved */
826 { .type = S3C_IRQTYPE_EDGE, }, /* nBATT_FLT */
827 { .type = S3C_IRQTYPE_EDGE, }, /* TICK */
828 { .type = S3C_IRQTYPE_LEVEL, }, /* WDT/AC97 */
829 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER0 */
830 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER1 */
831 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER2 */
832 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER3 */
833 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER4 */
834 { .type = S3C_IRQTYPE_LEVEL, }, /* UART2 */
835 { .type = S3C_IRQTYPE_LEVEL, }, /* LCD */
836 { .type = S3C_IRQTYPE_LEVEL, }, /* DMA */
837 { .type = S3C_IRQTYPE_LEVEL, }, /* UART3 */
838 { .type = S3C_IRQTYPE_NONE, }, /* reserved */
839 { .type = S3C_IRQTYPE_EDGE, }, /* SDI1 */
840 { .type = S3C_IRQTYPE_EDGE, }, /* SDI0 */
841 { .type = S3C_IRQTYPE_EDGE, }, /* SPI0 */
842 { .type = S3C_IRQTYPE_LEVEL, }, /* UART1 */
843 { .type = S3C_IRQTYPE_EDGE, }, /* NAND */
844 { .type = S3C_IRQTYPE_EDGE, }, /* USBD */
845 { .type = S3C_IRQTYPE_EDGE, }, /* USBH */
846 { .type = S3C_IRQTYPE_EDGE, }, /* IIC */
847 { .type = S3C_IRQTYPE_LEVEL, }, /* UART0 */
848 { .type = S3C_IRQTYPE_NONE, },
849 { .type = S3C_IRQTYPE_EDGE, }, /* RTC */
850 { .type = S3C_IRQTYPE_LEVEL, }, /* ADCPARENT */
854 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-RX */
855 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-TX */
856 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-ERR */
857 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-RX */
858 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-TX */
859 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-ERR */
860 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-RX */
861 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-TX */
862 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-ERR */
863 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* TC */
864 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* ADC */
865 { .type = S3C_IRQTYPE_NONE }, /* reserved */
866 { .type = S3C_IRQTYPE_NONE }, /* reserved */
867 { .type = S3C_IRQTYPE_NONE }, /* reserved */
868 { .type = S3C_IRQTYPE_NONE }, /* reserved */
869 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 16 }, /* LCD2 */
870 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 16 }, /* LCD3 */
871 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 16 }, /* LCD4 */
872 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA0 */
873 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA1 */
874 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA2 */
875 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA3 */
876 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA4 */
877 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA5 */
878 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 18 }, /* UART3-RX */
879 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 18 }, /* UART3-TX */
880 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 18 }, /* UART3-ERR */
881 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 9 }, /* WDT */
882 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 9 }, /* AC97 */
886 { .type = S3C_IRQTYPE_EDGE }, /* 2D */
887 { .type = S3C_IRQTYPE_NONE }, /* reserved */
888 { .type = S3C_IRQTYPE_NONE }, /* reserved */
889 { .type = S3C_IRQTYPE_NONE }, /* reserved */
890 { .type = S3C_IRQTYPE_EDGE }, /* PCM0 */
891 { .type = S3C_IRQTYPE_NONE }, /* reserved */
892 { .type = S3C_IRQTYPE_EDGE }, /* I2S0 */
922 { .type = S3C_IRQTYPE_EINT, }, /* EINT0 */
923 { .type = S3C_IRQTYPE_EINT, }, /* EINT1 */
924 { .type = S3C_IRQTYPE_EINT, }, /* EINT2 */
925 { .type = S3C_IRQTYPE_EINT, }, /* EINT3 */
926 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT4to7 */
927 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT8to23 */
928 { .type = S3C_IRQTYPE_LEVEL, }, /* CAM */
929 { .type = S3C_IRQTYPE_EDGE, }, /* nBATT_FLT */
930 { .type = S3C_IRQTYPE_EDGE, }, /* TICK */
931 { .type = S3C_IRQTYPE_LEVEL, }, /* WDT/AC97 */
932 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER0 */
933 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER1 */
934 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER2 */
935 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER3 */
936 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER4 */
937 { .type = S3C_IRQTYPE_LEVEL, }, /* UART2 */
938 { .type = S3C_IRQTYPE_EDGE, }, /* LCD */
939 { .type = S3C_IRQTYPE_EDGE, }, /* DMA0 */
940 { .type = S3C_IRQTYPE_EDGE, }, /* DMA1 */
941 { .type = S3C_IRQTYPE_EDGE, }, /* DMA2 */
942 { .type = S3C_IRQTYPE_EDGE, }, /* DMA3 */
943 { .type = S3C_IRQTYPE_EDGE, }, /* SDI */
944 { .type = S3C_IRQTYPE_EDGE, }, /* SPI0 */
945 { .type = S3C_IRQTYPE_LEVEL, }, /* UART1 */
946 { .type = S3C_IRQTYPE_LEVEL, }, /* NFCON */
947 { .type = S3C_IRQTYPE_EDGE, }, /* USBD */
948 { .type = S3C_IRQTYPE_EDGE, }, /* USBH */
949 { .type = S3C_IRQTYPE_EDGE, }, /* IIC */
950 { .type = S3C_IRQTYPE_LEVEL, }, /* UART0 */
951 { .type = S3C_IRQTYPE_EDGE, }, /* SPI1 */
952 { .type = S3C_IRQTYPE_EDGE, }, /* RTC */
953 { .type = S3C_IRQTYPE_LEVEL, }, /* ADCPARENT */
957 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-RX */
958 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-TX */
959 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-ERR */
960 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-RX */
961 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-TX */
962 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-ERR */
963 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-RX */
964 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-TX */
965 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-ERR */
966 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* TC */
967 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* ADC */
968 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 6 }, /* CAM_C */
969 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 6 }, /* CAM_P */
970 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 9 }, /* WDT */
971 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 9 }, /* AC97 */
997 { .type = S3C_IRQTYPE_EINT, }, /* EINT0 */
998 { .type = S3C_IRQTYPE_EINT, }, /* EINT1 */
999 { .type = S3C_IRQTYPE_EINT, }, /* EINT2 */
1000 { .type = S3C_IRQTYPE_EINT, }, /* EINT3 */
1001 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT4to7 */
1002 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT8to23 */
1003 { .type = S3C_IRQTYPE_LEVEL, }, /* CAM */
1004 { .type = S3C_IRQTYPE_EDGE, }, /* nBATT_FLT */
1005 { .type = S3C_IRQTYPE_EDGE, }, /* TICK */
1006 { .type = S3C_IRQTYPE_EDGE, }, /* WDT */
1007 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER0 */
1008 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER1 */
1009 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER2 */
1010 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER3 */
1011 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER4 */
1012 { .type = S3C_IRQTYPE_LEVEL, }, /* UART2 */
1013 { .type = S3C_IRQTYPE_EDGE, }, /* LCD */
1014 { .type = S3C_IRQTYPE_EDGE, }, /* DMA0 */
1015 { .type = S3C_IRQTYPE_EDGE, }, /* DMA1 */
1016 { .type = S3C_IRQTYPE_EDGE, }, /* DMA2 */
1017 { .type = S3C_IRQTYPE_EDGE, }, /* DMA3 */
1018 { .type = S3C_IRQTYPE_EDGE, }, /* SDI */
1019 { .type = S3C_IRQTYPE_EDGE, }, /* SPI0 */
1020 { .type = S3C_IRQTYPE_LEVEL, }, /* UART1 */
1021 { .type = S3C_IRQTYPE_LEVEL, }, /* NFCON */
1022 { .type = S3C_IRQTYPE_EDGE, }, /* USBD */
1023 { .type = S3C_IRQTYPE_EDGE, }, /* USBH */
1024 { .type = S3C_IRQTYPE_EDGE, }, /* IIC */
1025 { .type = S3C_IRQTYPE_LEVEL, }, /* UART0 */
1026 { .type = S3C_IRQTYPE_EDGE, }, /* SPI1 */
1027 { .type = S3C_IRQTYPE_EDGE, }, /* RTC */
1028 { .type = S3C_IRQTYPE_LEVEL, }, /* ADCPARENT */
1032 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-RX */
1033 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-TX */
1034 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-ERR */
1035 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-RX */
1036 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-TX */
1037 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-ERR */
1038 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-RX */
1039 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-TX */
1040 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-ERR */
1041 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* TC */
1042 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* ADC */
1043 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 6 }, /* CAM_C */
1044 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 6 }, /* CAM_P */
1070 { .type = S3C_IRQTYPE_EINT, }, /* EINT0 */
1071 { .type = S3C_IRQTYPE_EINT, }, /* EINT1 */
1072 { .type = S3C_IRQTYPE_EINT, }, /* EINT2 */
1073 { .type = S3C_IRQTYPE_EINT, }, /* EINT3 */
1074 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT4to7 */
1075 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT8to23 */
1076 { .type = S3C_IRQTYPE_LEVEL, }, /* CAM */
1077 { .type = S3C_IRQTYPE_EDGE, }, /* nBATT_FLT */
1078 { .type = S3C_IRQTYPE_EDGE, }, /* TICK */
1079 { .type = S3C_IRQTYPE_LEVEL, }, /* WDT/AC97 */
1080 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER0 */
1081 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER1 */
1082 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER2 */
1083 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER3 */
1084 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER4 */
1085 { .type = S3C_IRQTYPE_LEVEL, }, /* UART2 */
1086 { .type = S3C_IRQTYPE_LEVEL, }, /* LCD */
1087 { .type = S3C_IRQTYPE_LEVEL, }, /* DMA */
1088 { .type = S3C_IRQTYPE_LEVEL, }, /* UART3 */
1089 { .type = S3C_IRQTYPE_EDGE, }, /* CFON */
1090 { .type = S3C_IRQTYPE_EDGE, }, /* SDI1 */
1091 { .type = S3C_IRQTYPE_EDGE, }, /* SDI0 */
1092 { .type = S3C_IRQTYPE_EDGE, }, /* SPI0 */
1093 { .type = S3C_IRQTYPE_LEVEL, }, /* UART1 */
1094 { .type = S3C_IRQTYPE_EDGE, }, /* NAND */
1095 { .type = S3C_IRQTYPE_EDGE, }, /* USBD */
1096 { .type = S3C_IRQTYPE_EDGE, }, /* USBH */
1097 { .type = S3C_IRQTYPE_EDGE, }, /* IIC */
1098 { .type = S3C_IRQTYPE_LEVEL, }, /* UART0 */
1099 { .type = S3C_IRQTYPE_EDGE, }, /* SPI1 */
1100 { .type = S3C_IRQTYPE_EDGE, }, /* RTC */
1101 { .type = S3C_IRQTYPE_LEVEL, }, /* ADCPARENT */
1106 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-RX */
1107 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-TX */
1108 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-ERR */
1109 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-RX */
1110 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-TX */
1111 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-ERR */
1112 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-RX */
1113 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-TX */
1114 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-ERR */
1115 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* TC */
1116 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* ADC */
1117 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 6 }, /* CAM_C */
1118 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 6 }, /* CAM_P */
1119 { .type = S3C_IRQTYPE_NONE }, /* reserved */
1120 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 16 }, /* LCD1 */
1121 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 16 }, /* LCD2 */
1122 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 16 }, /* LCD3 */
1123 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 16 }, /* LCD4 */
1124 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA0 */
1125 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA1 */
1126 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA2 */
1127 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA3 */
1128 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA4 */
1129 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA5 */
1130 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 18 }, /* UART3-RX */
1131 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 18 }, /* UART3-TX */
1132 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 18 }, /* UART3-ERR */
1133 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 9 }, /* WDT */
1134 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 9 }, /* AC97 */
1186 * format: <ctrl_num ctrl_irq parent_irq type>
167 s3c_irqext_type_set(void __iomem *gpcon_reg, void __iomem *extint_reg, unsigned long gpcon_offset, unsigned long extint_offset, unsigned int type) s3c_irqext_type_set() argument
/linux-4.1.27/include/uapi/linux/
H A Dv4l2-dv-timings.h39 .type = V4L2_DV_BT_656_1120, \
48 .type = V4L2_DV_BT_656_1120, \
56 .type = V4L2_DV_BT_656_1120, \
65 .type = V4L2_DV_BT_656_1120, \
73 .type = V4L2_DV_BT_656_1120, \
80 .type = V4L2_DV_BT_656_1120, \
89 .type = V4L2_DV_BT_656_1120, \
97 .type = V4L2_DV_BT_656_1120, \
106 .type = V4L2_DV_BT_656_1120, \
114 .type = V4L2_DV_BT_656_1120, \
123 .type = V4L2_DV_BT_656_1120, \
132 .type = V4L2_DV_BT_656_1120, \
140 .type = V4L2_DV_BT_656_1120, \
149 .type = V4L2_DV_BT_656_1120, \
158 .type = V4L2_DV_BT_656_1120, \
166 .type = V4L2_DV_BT_656_1120, \
176 .type = V4L2_DV_BT_656_1120, \
185 .type = V4L2_DV_BT_656_1120, \
194 .type = V4L2_DV_BT_656_1120, \
202 .type = V4L2_DV_BT_656_1120, \
211 .type = V4L2_DV_BT_656_1120, \
219 .type = V4L2_DV_BT_656_1120, \
228 .type = V4L2_DV_BT_656_1120, \
237 .type = V4L2_DV_BT_656_1120, \
245 .type = V4L2_DV_BT_656_1120, \
254 .type = V4L2_DV_BT_656_1120, \
262 .type = V4L2_DV_BT_656_1120, \
274 .type = V4L2_DV_BT_656_1120, \
281 .type = V4L2_DV_BT_656_1120, \
288 .type = V4L2_DV_BT_656_1120, \
298 .type = V4L2_DV_BT_656_1120, \
305 .type = V4L2_DV_BT_656_1120, \
312 .type = V4L2_DV_BT_656_1120, \
320 .type = V4L2_DV_BT_656_1120, \
328 .type = V4L2_DV_BT_656_1120, \
336 .type = V4L2_DV_BT_656_1120, \
344 .type = V4L2_DV_BT_656_1120, \
352 .type = V4L2_DV_BT_656_1120, \
360 .type = V4L2_DV_BT_656_1120, \
368 .type = V4L2_DV_BT_656_1120, \
376 .type = V4L2_DV_BT_656_1120, \
385 .type = V4L2_DV_BT_656_1120, \
392 .type = V4L2_DV_BT_656_1120, \
399 .type = V4L2_DV_BT_656_1120, \
407 .type = V4L2_DV_BT_656_1120, \
415 .type = V4L2_DV_BT_656_1120, \
424 .type = V4L2_DV_BT_656_1120, \
435 .type = V4L2_DV_BT_656_1120, \
443 .type = V4L2_DV_BT_656_1120, \
450 .type = V4L2_DV_BT_656_1120, \
457 .type = V4L2_DV_BT_656_1120, \
464 .type = V4L2_DV_BT_656_1120, \
472 .type = V4L2_DV_BT_656_1120, \
480 .type = V4L2_DV_BT_656_1120, \
487 .type = V4L2_DV_BT_656_1120, \
494 .type = V4L2_DV_BT_656_1120, \
501 .type = V4L2_DV_BT_656_1120, \
509 .type = V4L2_DV_BT_656_1120, \
517 .type = V4L2_DV_BT_656_1120, \
525 .type = V4L2_DV_BT_656_1120, \
534 .type = V4L2_DV_BT_656_1120, \
542 .type = V4L2_DV_BT_656_1120, \
550 .type = V4L2_DV_BT_656_1120, \
558 .type = V4L2_DV_BT_656_1120, \
566 .type = V4L2_DV_BT_656_1120, \
574 .type = V4L2_DV_BT_656_1120, \
582 .type = V4L2_DV_BT_656_1120, \
590 .type = V4L2_DV_BT_656_1120, \
599 .type = V4L2_DV_BT_656_1120, \
607 .type = V4L2_DV_BT_656_1120, \
614 .type = V4L2_DV_BT_656_1120, \
621 .type = V4L2_DV_BT_656_1120, \
628 .type = V4L2_DV_BT_656_1120, \
637 .type = V4L2_DV_BT_656_1120, \
645 .type = V4L2_DV_BT_656_1120, \
652 .type = V4L2_DV_BT_656_1120, \
659 .type = V4L2_DV_BT_656_1120, \
666 .type = V4L2_DV_BT_656_1120, \
674 .type = V4L2_DV_BT_656_1120, \
683 .type = V4L2_DV_BT_656_1120, \
691 .type = V4L2_DV_BT_656_1120, \
699 .type = V4L2_DV_BT_656_1120, \
707 .type = V4L2_DV_BT_656_1120, \
715 .type = V4L2_DV_BT_656_1120, \
723 .type = V4L2_DV_BT_656_1120, \
732 .type = V4L2_DV_BT_656_1120, \
740 .type = V4L2_DV_BT_656_1120, \
747 .type = V4L2_DV_BT_656_1120, \
754 .type = V4L2_DV_BT_656_1120, \
761 .type = V4L2_DV_BT_656_1120, \
769 .type = V4L2_DV_BT_656_1120, \
776 .type = V4L2_DV_BT_656_1120, \
783 .type = V4L2_DV_BT_656_1120, \
791 .type = V4L2_DV_BT_656_1120, \
798 .type = V4L2_DV_BT_656_1120, \
805 .type = V4L2_DV_BT_656_1120, \
816 .type = V4L2_DV_BT_656_1120, \
824 .type = V4L2_DV_BT_656_1120, \
831 .type = V4L2_DV_BT_656_1120, \
838 .type = V4L2_DV_BT_656_1120, \
845 .type = V4L2_DV_BT_656_1120, \
853 .type = V4L2_DV_BT_656_1120, \
860 .type = V4L2_DV_BT_656_1120, \
867 .type = V4L2_DV_BT_656_1120, \
875 .type = V4L2_DV_BT_656_1120, \
884 .type = V4L2_DV_BT_656_1120, \
892 .type = V4L2_DV_BT_656_1120, \
899 .type = V4L2_DV_BT_656_1120, \
906 .type = V4L2_DV_BT_656_1120, \
913 .type = V4L2_DV_BT_656_1120, \
922 .type = V4L2_DV_BT_656_1120, \
930 .type = V4L2_DV_BT_656_1120, \
H A Dkcmp.h4 /* Comparison type */
H A Dauto_fs4.h38 static inline void set_autofs_type_indirect(unsigned int *type) set_autofs_type_indirect() argument
40 *type = AUTOFS_TYPE_INDIRECT; set_autofs_type_indirect()
44 static inline unsigned int autofs_type_indirect(unsigned int type) autofs_type_indirect() argument
46 return (type == AUTOFS_TYPE_INDIRECT); autofs_type_indirect()
49 static inline void set_autofs_type_direct(unsigned int *type) set_autofs_type_direct() argument
51 *type = AUTOFS_TYPE_DIRECT; set_autofs_type_direct()
55 static inline unsigned int autofs_type_direct(unsigned int type) autofs_type_direct() argument
57 return (type == AUTOFS_TYPE_DIRECT); autofs_type_direct()
60 static inline void set_autofs_type_offset(unsigned int *type) set_autofs_type_offset() argument
62 *type = AUTOFS_TYPE_OFFSET; set_autofs_type_offset()
66 static inline unsigned int autofs_type_offset(unsigned int type) autofs_type_offset() argument
68 return (type == AUTOFS_TYPE_OFFSET); autofs_type_offset()
71 static inline unsigned int autofs_type_trigger(unsigned int type) autofs_type_trigger() argument
73 return (type == AUTOFS_TYPE_DIRECT || type == AUTOFS_TYPE_OFFSET); autofs_type_trigger()
77 * This isn't really a type as we use it to say "no type set" to
81 static inline void set_autofs_type_any(unsigned int *type) set_autofs_type_any() argument
83 *type = AUTOFS_TYPE_ANY; set_autofs_type_any()
87 static inline unsigned int autofs_type_any(unsigned int type) autofs_type_any() argument
89 return (type == AUTOFS_TYPE_ANY); autofs_type_any()
H A Datm_he.h17 char type; member in struct:he_ioctl_reg
H A Datm_tcp.h36 int type; /* message type; both directions */ member in struct:atmtcp_control
45 * Messge type dir. hdr.v?i type addr qos vcc result
H A Dconst.h8 * 'UL' and other type specifiers unilaterally. We
11 * Similarly, _AT() will cast an expression with a type in C, but
H A Dif_slip.h26 #define SIOCSLEASE (SIOCDEVPRIVATE+4) /* Set "leased" line type */
27 #define SIOCGLEASE (SIOCDEVPRIVATE+5) /* Get line type */
H A Dipv6.h41 #define IPV6_SRCRT_TYPE_2 2 /* IPv6 type 2 Routing Header */
49 __u8 type; member in struct:ipv6_rt_hdr
53 * type specific data
74 * routing header type 0 (used in cmsghdr struct)
82 #define rt0_type rt_hdr.type
86 * routing header type 2
94 #define rt2_type rt_hdr.type
102 __u8 type; member in struct:ipv6_destopt_hao
/linux-4.1.27/arch/arm/kernel/
H A Djump_label.c9 enum jump_label_type type, __arch_jump_label_transform()
15 if (type == JUMP_LABEL_ENABLE) __arch_jump_label_transform()
27 enum jump_label_type type) arch_jump_label_transform()
29 __arch_jump_label_transform(entry, type, false); arch_jump_label_transform()
33 enum jump_label_type type) arch_jump_label_transform_static()
35 __arch_jump_label_transform(entry, type, true); arch_jump_label_transform_static()
8 __arch_jump_label_transform(struct jump_entry *entry, enum jump_label_type type, bool is_static) __arch_jump_label_transform() argument
26 arch_jump_label_transform(struct jump_entry *entry, enum jump_label_type type) arch_jump_label_transform() argument
32 arch_jump_label_transform_static(struct jump_entry *entry, enum jump_label_type type) arch_jump_label_transform_static() argument
/linux-4.1.27/arch/arm/boot/bootp/
H A Dinitrd.S1 .type initrd_start,#object
/linux-4.1.27/tools/lib/symbol/
H A Dkallsyms.h12 static inline u8 kallsyms2elf_type(char type) kallsyms2elf_type() argument
14 if (type == 'W') kallsyms2elf_type()
17 return isupper(type) ? STB_GLOBAL : STB_LOCAL; kallsyms2elf_type()
22 char type, u64 start));
/linux-4.1.27/drivers/md/
H A Ddm-exception-store.c24 struct dm_exception_store_type *type; __find_exception_store_type() local
26 list_for_each_entry(type, &_exception_store_types, list) __find_exception_store_type()
27 if (!strcmp(name, type->name)) __find_exception_store_type()
28 return type; __find_exception_store_type()
35 struct dm_exception_store_type *type; _get_exception_store_type() local
39 type = __find_exception_store_type(name); _get_exception_store_type()
41 if (type && !try_module_get(type->module)) _get_exception_store_type()
42 type = NULL; _get_exception_store_type()
46 return type; _get_exception_store_type()
75 struct dm_exception_store_type *type; get_type() local
77 type = _get_exception_store_type(type_name); get_type()
78 if (type) get_type()
79 return type; get_type()
88 !(type = _get_exception_store_type(type_name))) { get_type()
95 if (!type) get_type()
96 DMWARN("Module for exstore type \"%s\" not found.", type_name); get_type()
100 return type; get_type()
103 static void put_type(struct dm_exception_store_type *type) put_type() argument
106 module_put(type->module); put_type()
110 int dm_exception_store_type_register(struct dm_exception_store_type *type) dm_exception_store_type_register() argument
115 if (!__find_exception_store_type(type->name)) dm_exception_store_type_register()
116 list_add(&type->list, &_exception_store_types); dm_exception_store_type_register()
125 int dm_exception_store_type_unregister(struct dm_exception_store_type *type) dm_exception_store_type_unregister() argument
129 if (!__find_exception_store_type(type->name)) { dm_exception_store_type_unregister()
134 list_del(&type->list); dm_exception_store_type_unregister()
197 struct dm_exception_store_type *type = NULL; dm_exception_store_create() local
214 type = get_type("P"); dm_exception_store_create()
216 type = get_type("N"); dm_exception_store_create()
223 if (!type) { dm_exception_store_create()
224 ti->error = "Exception store type not recognised"; dm_exception_store_create()
229 tmp_store->type = type; dm_exception_store_create()
236 r = type->ctr(tmp_store, 0, NULL); dm_exception_store_create()
238 ti->error = "Exception store type constructor failed"; dm_exception_store_create()
247 put_type(type); dm_exception_store_create()
256 store->type->dtr(store); dm_exception_store_destroy()
257 put_type(store->type); dm_exception_store_destroy()
268 DMERR("Unable to register transient exception store type."); dm_exception_store_init()
274 DMERR("Unable to register persistent exception store type"); dm_exception_store_init()
H A Ddm-cache-policy.c79 int dm_cache_policy_register(struct dm_cache_policy_type *type) dm_cache_policy_register() argument
84 if (type->hint_size != 0 && type->hint_size != 4) { dm_cache_policy_register()
85 DMWARN("hint size must be 0 or 4 but %llu supplied.", (unsigned long long) type->hint_size); dm_cache_policy_register()
90 if (__find_policy(type->name)) { dm_cache_policy_register()
91 DMWARN("attempt to register policy under duplicate name %s", type->name); dm_cache_policy_register()
94 list_add(&type->list, &register_list); dm_cache_policy_register()
103 void dm_cache_policy_unregister(struct dm_cache_policy_type *type) dm_cache_policy_unregister() argument
106 list_del_init(&type->list); dm_cache_policy_unregister()
117 struct dm_cache_policy_type *type; dm_cache_policy_create() local
119 type = get_policy(name); dm_cache_policy_create()
120 if (!type) { dm_cache_policy_create()
121 DMWARN("unknown policy type"); dm_cache_policy_create()
125 p = type->create(cache_size, origin_size, cache_block_size); dm_cache_policy_create()
127 put_policy(type); dm_cache_policy_create()
130 p->private = type; dm_cache_policy_create()
/linux-4.1.27/drivers/tty/serial/
H A Dsh-sci.h5 #define SCxSR_TEND(port) (((port)->type == PORT_SCI) ? SCI_TEND : SCIF_TEND)
6 #define SCxSR_RDxF(port) (((port)->type == PORT_SCI) ? SCI_RDRF : SCIF_RDF)
7 #define SCxSR_TDxE(port) (((port)->type == PORT_SCI) ? SCI_TDRE : SCIF_TDFE)
8 #define SCxSR_FER(port) (((port)->type == PORT_SCI) ? SCI_FER : SCIF_FER)
9 #define SCxSR_PER(port) (((port)->type == PORT_SCI) ? SCI_PER : SCIF_PER)
10 #define SCxSR_BRK(port) (((port)->type == PORT_SCI) ? 0x00 : SCIF_BRK)
26 # define SCxSR_RDxF_CLEAR(port) (((port)->type == PORT_SCI) ? 0xbc : 0x00fc)
27 # define SCxSR_ERROR_CLEAR(port) (((port)->type == PORT_SCI) ? 0xc4 : 0x0073)
28 # define SCxSR_TDxE_CLEAR(port) (((port)->type == PORT_SCI) ? 0x78 : 0x00df)
29 # define SCxSR_BREAK_CLEAR(port) (((port)->type == PORT_SCI) ? 0xc4 : 0x00e3)
/linux-4.1.27/drivers/staging/fsl-mc/bus/
H A Ddprc.c134 int *type, dprc_get_irq()
157 *type = mc_dec(cmd.params[2], 32, 32); dprc_get_irq()
338 char *type, dprc_set_res_quota()
348 cmd.params[1] |= mc_enc(0, 8, type[0]); dprc_set_res_quota()
349 cmd.params[1] |= mc_enc(8, 8, type[1]); dprc_set_res_quota()
350 cmd.params[1] |= mc_enc(16, 8, type[2]); dprc_set_res_quota()
351 cmd.params[1] |= mc_enc(24, 8, type[3]); dprc_set_res_quota()
352 cmd.params[1] |= mc_enc(32, 8, type[4]); dprc_set_res_quota()
353 cmd.params[1] |= mc_enc(40, 8, type[5]); dprc_set_res_quota()
354 cmd.params[1] |= mc_enc(48, 8, type[6]); dprc_set_res_quota()
355 cmd.params[1] |= mc_enc(56, 8, type[7]); dprc_set_res_quota()
356 cmd.params[2] |= mc_enc(0, 8, type[8]); dprc_set_res_quota()
357 cmd.params[2] |= mc_enc(8, 8, type[9]); dprc_set_res_quota()
358 cmd.params[2] |= mc_enc(16, 8, type[10]); dprc_set_res_quota()
359 cmd.params[2] |= mc_enc(24, 8, type[11]); dprc_set_res_quota()
360 cmd.params[2] |= mc_enc(32, 8, type[12]); dprc_set_res_quota()
361 cmd.params[2] |= mc_enc(40, 8, type[13]); dprc_set_res_quota()
362 cmd.params[2] |= mc_enc(48, 8, type[14]); dprc_set_res_quota()
372 char *type, dprc_get_res_quota()
382 cmd.params[1] |= mc_enc(0, 8, type[0]); dprc_get_res_quota()
383 cmd.params[1] |= mc_enc(8, 8, type[1]); dprc_get_res_quota()
384 cmd.params[1] |= mc_enc(16, 8, type[2]); dprc_get_res_quota()
385 cmd.params[1] |= mc_enc(24, 8, type[3]); dprc_get_res_quota()
386 cmd.params[1] |= mc_enc(32, 8, type[4]); dprc_get_res_quota()
387 cmd.params[1] |= mc_enc(40, 8, type[5]); dprc_get_res_quota()
388 cmd.params[1] |= mc_enc(48, 8, type[6]); dprc_get_res_quota()
389 cmd.params[1] |= mc_enc(56, 8, type[7]); dprc_get_res_quota()
390 cmd.params[2] |= mc_enc(0, 8, type[8]); dprc_get_res_quota()
391 cmd.params[2] |= mc_enc(8, 8, type[9]); dprc_get_res_quota()
392 cmd.params[2] |= mc_enc(16, 8, type[10]); dprc_get_res_quota()
393 cmd.params[2] |= mc_enc(24, 8, type[11]); dprc_get_res_quota()
394 cmd.params[2] |= mc_enc(32, 8, type[12]); dprc_get_res_quota()
395 cmd.params[2] |= mc_enc(40, 8, type[13]); dprc_get_res_quota()
396 cmd.params[2] |= mc_enc(48, 8, type[14]); dprc_get_res_quota()
424 cmd.params[2] |= mc_enc(0, 8, res_req->type[0]); dprc_assign()
425 cmd.params[2] |= mc_enc(8, 8, res_req->type[1]); dprc_assign()
426 cmd.params[2] |= mc_enc(16, 8, res_req->type[2]); dprc_assign()
427 cmd.params[2] |= mc_enc(24, 8, res_req->type[3]); dprc_assign()
428 cmd.params[2] |= mc_enc(32, 8, res_req->type[4]); dprc_assign()
429 cmd.params[2] |= mc_enc(40, 8, res_req->type[5]); dprc_assign()
430 cmd.params[2] |= mc_enc(48, 8, res_req->type[6]); dprc_assign()
431 cmd.params[2] |= mc_enc(56, 8, res_req->type[7]); dprc_assign()
432 cmd.params[3] |= mc_enc(0, 8, res_req->type[8]); dprc_assign()
433 cmd.params[3] |= mc_enc(8, 8, res_req->type[9]); dprc_assign()
434 cmd.params[3] |= mc_enc(16, 8, res_req->type[10]); dprc_assign()
435 cmd.params[3] |= mc_enc(24, 8, res_req->type[11]); dprc_assign()
436 cmd.params[3] |= mc_enc(32, 8, res_req->type[12]); dprc_assign()
437 cmd.params[3] |= mc_enc(40, 8, res_req->type[13]); dprc_assign()
438 cmd.params[3] |= mc_enc(48, 8, res_req->type[14]); dprc_assign()
439 cmd.params[3] |= mc_enc(56, 8, res_req->type[15]); dprc_assign()
460 cmd.params[2] |= mc_enc(0, 8, res_req->type[0]); dprc_unassign()
461 cmd.params[2] |= mc_enc(8, 8, res_req->type[1]); dprc_unassign()
462 cmd.params[2] |= mc_enc(16, 8, res_req->type[2]); dprc_unassign()
463 cmd.params[2] |= mc_enc(24, 8, res_req->type[3]); dprc_unassign()
464 cmd.params[2] |= mc_enc(32, 8, res_req->type[4]); dprc_unassign()
465 cmd.params[2] |= mc_enc(40, 8, res_req->type[5]); dprc_unassign()
466 cmd.params[2] |= mc_enc(48, 8, res_req->type[6]); dprc_unassign()
467 cmd.params[2] |= mc_enc(56, 8, res_req->type[7]); dprc_unassign()
468 cmd.params[3] |= mc_enc(0, 8, res_req->type[8]); dprc_unassign()
469 cmd.params[3] |= mc_enc(8, 8, res_req->type[9]); dprc_unassign()
470 cmd.params[3] |= mc_enc(16, 8, res_req->type[10]); dprc_unassign()
471 cmd.params[3] |= mc_enc(24, 8, res_req->type[11]); dprc_unassign()
472 cmd.params[3] |= mc_enc(32, 8, res_req->type[12]); dprc_unassign()
473 cmd.params[3] |= mc_enc(40, 8, res_req->type[13]); dprc_unassign()
474 cmd.params[3] |= mc_enc(48, 8, res_req->type[14]); dprc_unassign()
475 cmd.params[3] |= mc_enc(56, 8, res_req->type[15]); dprc_unassign()
506 char *type) dprc_get_pool()
523 type[0] = mc_dec(cmd.params[1], 0, 8); dprc_get_pool()
524 type[1] = mc_dec(cmd.params[1], 8, 8); dprc_get_pool()
525 type[2] = mc_dec(cmd.params[1], 16, 8); dprc_get_pool()
526 type[3] = mc_dec(cmd.params[1], 24, 8); dprc_get_pool()
527 type[4] = mc_dec(cmd.params[1], 32, 8); dprc_get_pool()
528 type[5] = mc_dec(cmd.params[1], 40, 8); dprc_get_pool()
529 type[6] = mc_dec(cmd.params[1], 48, 8); dprc_get_pool()
530 type[7] = mc_dec(cmd.params[1], 56, 8); dprc_get_pool()
531 type[8] = mc_dec(cmd.params[2], 0, 8); dprc_get_pool()
532 type[9] = mc_dec(cmd.params[2], 8, 8); dprc_get_pool()
533 type[10] = mc_dec(cmd.params[2], 16, 8); dprc_get_pool()
534 type[11] = mc_dec(cmd.params[2], 24, 8); dprc_get_pool()
535 type[12] = mc_dec(cmd.params[2], 32, 8); dprc_get_pool()
536 type[13] = mc_dec(cmd.params[2], 40, 8); dprc_get_pool()
537 type[14] = mc_dec(cmd.params[2], 48, 8); dprc_get_pool()
538 type[15] = '\0'; dprc_get_pool()
591 obj_desc->type[0] = mc_dec(cmd.params[3], 0, 8); dprc_get_obj()
592 obj_desc->type[1] = mc_dec(cmd.params[3], 8, 8); dprc_get_obj()
593 obj_desc->type[2] = mc_dec(cmd.params[3], 16, 8); dprc_get_obj()
594 obj_desc->type[3] = mc_dec(cmd.params[3], 24, 8); dprc_get_obj()
595 obj_desc->type[4] = mc_dec(cmd.params[3], 32, 8); dprc_get_obj()
596 obj_desc->type[5] = mc_dec(cmd.params[3], 40, 8); dprc_get_obj()
597 obj_desc->type[6] = mc_dec(cmd.params[3], 48, 8); dprc_get_obj()
598 obj_desc->type[7] = mc_dec(cmd.params[3], 56, 8); dprc_get_obj()
599 obj_desc->type[8] = mc_dec(cmd.params[4], 0, 8); dprc_get_obj()
600 obj_desc->type[9] = mc_dec(cmd.params[4], 8, 8); dprc_get_obj()
601 obj_desc->type[10] = mc_dec(cmd.params[4], 16, 8); dprc_get_obj()
602 obj_desc->type[11] = mc_dec(cmd.params[4], 24, 8); dprc_get_obj()
603 obj_desc->type[12] = mc_dec(cmd.params[4], 32, 8); dprc_get_obj()
604 obj_desc->type[13] = mc_dec(cmd.params[4], 40, 8); dprc_get_obj()
605 obj_desc->type[14] = mc_dec(cmd.params[4], 48, 8); dprc_get_obj()
606 obj_desc->type[15] = '\0'; dprc_get_obj()
614 char *type, dprc_get_res_count()
625 cmd.params[1] |= mc_enc(0, 8, type[0]); dprc_get_res_count()
626 cmd.params[1] |= mc_enc(8, 8, type[1]); dprc_get_res_count()
627 cmd.params[1] |= mc_enc(16, 8, type[2]); dprc_get_res_count()
628 cmd.params[1] |= mc_enc(24, 8, type[3]); dprc_get_res_count()
629 cmd.params[1] |= mc_enc(32, 8, type[4]); dprc_get_res_count()
630 cmd.params[1] |= mc_enc(40, 8, type[5]); dprc_get_res_count()
631 cmd.params[1] |= mc_enc(48, 8, type[6]); dprc_get_res_count()
632 cmd.params[1] |= mc_enc(56, 8, type[7]); dprc_get_res_count()
633 cmd.params[2] |= mc_enc(0, 8, type[8]); dprc_get_res_count()
634 cmd.params[2] |= mc_enc(8, 8, type[9]); dprc_get_res_count()
635 cmd.params[2] |= mc_enc(16, 8, type[10]); dprc_get_res_count()
636 cmd.params[2] |= mc_enc(24, 8, type[11]); dprc_get_res_count()
637 cmd.params[2] |= mc_enc(32, 8, type[12]); dprc_get_res_count()
638 cmd.params[2] |= mc_enc(40, 8, type[13]); dprc_get_res_count()
639 cmd.params[2] |= mc_enc(48, 8, type[14]); dprc_get_res_count()
656 char *type, dprc_get_res_ids()
668 cmd.params[2] |= mc_enc(0, 8, type[0]); dprc_get_res_ids()
669 cmd.params[2] |= mc_enc(8, 8, type[1]); dprc_get_res_ids()
670 cmd.params[2] |= mc_enc(16, 8, type[2]); dprc_get_res_ids()
671 cmd.params[2] |= mc_enc(24, 8, type[3]); dprc_get_res_ids()
672 cmd.params[2] |= mc_enc(32, 8, type[4]); dprc_get_res_ids()
673 cmd.params[2] |= mc_enc(40, 8, type[5]); dprc_get_res_ids()
674 cmd.params[2] |= mc_enc(48, 8, type[6]); dprc_get_res_ids()
675 cmd.params[2] |= mc_enc(56, 8, type[7]); dprc_get_res_ids()
676 cmd.params[3] |= mc_enc(0, 8, type[8]); dprc_get_res_ids()
677 cmd.params[3] |= mc_enc(8, 8, type[9]); dprc_get_res_ids()
678 cmd.params[3] |= mc_enc(16, 8, type[10]); dprc_get_res_ids()
679 cmd.params[3] |= mc_enc(24, 8, type[11]); dprc_get_res_ids()
680 cmd.params[3] |= mc_enc(32, 8, type[12]); dprc_get_res_ids()
681 cmd.params[3] |= mc_enc(40, 8, type[13]); dprc_get_res_ids()
682 cmd.params[3] |= mc_enc(48, 8, type[14]); dprc_get_res_ids()
784 cmd.params[2] |= mc_enc(0, 8, endpoint1->type[0]); dprc_connect()
785 cmd.params[2] |= mc_enc(8, 8, endpoint1->type[1]); dprc_connect()
786 cmd.params[2] |= mc_enc(16, 8, endpoint1->type[2]); dprc_connect()
787 cmd.params[2] |= mc_enc(24, 8, endpoint1->type[3]); dprc_connect()
788 cmd.params[2] |= mc_enc(32, 8, endpoint1->type[4]); dprc_connect()
789 cmd.params[2] |= mc_enc(40, 8, endpoint1->type[5]); dprc_connect()
790 cmd.params[2] |= mc_enc(48, 8, endpoint1->type[6]); dprc_connect()
791 cmd.params[2] |= mc_enc(56, 8, endpoint1->type[7]); dprc_connect()
792 cmd.params[3] |= mc_enc(0, 8, endpoint1->type[8]); dprc_connect()
793 cmd.params[3] |= mc_enc(8, 8, endpoint1->type[9]); dprc_connect()
794 cmd.params[3] |= mc_enc(16, 8, endpoint1->type[10]); dprc_connect()
795 cmd.params[3] |= mc_enc(24, 8, endpoint1->type[11]); dprc_connect()
796 cmd.params[3] |= mc_enc(32, 8, endpoint1->type[12]); dprc_connect()
797 cmd.params[3] |= mc_enc(40, 8, endpoint1->type[13]); dprc_connect()
798 cmd.params[3] |= mc_enc(48, 8, endpoint1->type[14]); dprc_connect()
799 cmd.params[3] |= mc_enc(56, 8, endpoint1->type[15]); dprc_connect()
800 cmd.params[5] |= mc_enc(0, 8, endpoint2->type[0]); dprc_connect()
801 cmd.params[5] |= mc_enc(8, 8, endpoint2->type[1]); dprc_connect()
802 cmd.params[5] |= mc_enc(16, 8, endpoint2->type[2]); dprc_connect()
803 cmd.params[5] |= mc_enc(24, 8, endpoint2->type[3]); dprc_connect()
804 cmd.params[5] |= mc_enc(32, 8, endpoint2->type[4]); dprc_connect()
805 cmd.params[5] |= mc_enc(40, 8, endpoint2->type[5]); dprc_connect()
806 cmd.params[5] |= mc_enc(48, 8, endpoint2->type[6]); dprc_connect()
807 cmd.params[5] |= mc_enc(56, 8, endpoint2->type[7]); dprc_connect()
808 cmd.params[6] |= mc_enc(0, 8, endpoint2->type[8]); dprc_connect()
809 cmd.params[6] |= mc_enc(8, 8, endpoint2->type[9]); dprc_connect()
810 cmd.params[6] |= mc_enc(16, 8, endpoint2->type[10]); dprc_connect()
811 cmd.params[6] |= mc_enc(24, 8, endpoint2->type[11]); dprc_connect()
812 cmd.params[6] |= mc_enc(32, 8, endpoint2->type[12]); dprc_connect()
813 cmd.params[6] |= mc_enc(40, 8, endpoint2->type[13]); dprc_connect()
814 cmd.params[6] |= mc_enc(48, 8, endpoint2->type[14]); dprc_connect()
815 cmd.params[6] |= mc_enc(56, 8, endpoint2->type[15]); dprc_connect()
833 cmd.params[1] |= mc_enc(0, 8, endpoint->type[0]); dprc_disconnect()
834 cmd.params[1] |= mc_enc(8, 8, endpoint->type[1]); dprc_disconnect()
835 cmd.params[1] |= mc_enc(16, 8, endpoint->type[2]); dprc_disconnect()
836 cmd.params[1] |= mc_enc(24, 8, endpoint->type[3]); dprc_disconnect()
837 cmd.params[1] |= mc_enc(32, 8, endpoint->type[4]); dprc_disconnect()
838 cmd.params[1] |= mc_enc(40, 8, endpoint->type[5]); dprc_disconnect()
839 cmd.params[1] |= mc_enc(48, 8, endpoint->type[6]); dprc_disconnect()
840 cmd.params[1] |= mc_enc(56, 8, endpoint->type[7]); dprc_disconnect()
841 cmd.params[2] |= mc_enc(0, 8, endpoint->type[8]); dprc_disconnect()
842 cmd.params[2] |= mc_enc(8, 8, endpoint->type[9]); dprc_disconnect()
843 cmd.params[2] |= mc_enc(16, 8, endpoint->type[10]); dprc_disconnect()
844 cmd.params[2] |= mc_enc(24, 8, endpoint->type[11]); dprc_disconnect()
845 cmd.params[2] |= mc_enc(32, 8, endpoint->type[12]); dprc_disconnect()
846 cmd.params[2] |= mc_enc(40, 8, endpoint->type[13]); dprc_disconnect()
847 cmd.params[2] |= mc_enc(48, 8, endpoint->type[14]); dprc_disconnect()
848 cmd.params[2] |= mc_enc(56, 8, endpoint->type[15]); dprc_disconnect()
869 cmd.params[1] |= mc_enc(0, 8, endpoint1->type[0]); dprc_get_connection()
870 cmd.params[1] |= mc_enc(8, 8, endpoint1->type[1]); dprc_get_connection()
871 cmd.params[1] |= mc_enc(16, 8, endpoint1->type[2]); dprc_get_connection()
872 cmd.params[1] |= mc_enc(24, 8, endpoint1->type[3]); dprc_get_connection()
873 cmd.params[1] |= mc_enc(32, 8, endpoint1->type[4]); dprc_get_connection()
874 cmd.params[1] |= mc_enc(40, 8, endpoint1->type[5]); dprc_get_connection()
875 cmd.params[1] |= mc_enc(48, 8, endpoint1->type[6]); dprc_get_connection()
876 cmd.params[1] |= mc_enc(56, 8, endpoint1->type[7]); dprc_get_connection()
877 cmd.params[2] |= mc_enc(0, 8, endpoint1->type[8]); dprc_get_connection()
878 cmd.params[2] |= mc_enc(8, 8, endpoint1->type[9]); dprc_get_connection()
879 cmd.params[2] |= mc_enc(16, 8, endpoint1->type[10]); dprc_get_connection()
880 cmd.params[2] |= mc_enc(24, 8, endpoint1->type[11]); dprc_get_connection()
881 cmd.params[2] |= mc_enc(32, 8, endpoint1->type[12]); dprc_get_connection()
882 cmd.params[2] |= mc_enc(40, 8, endpoint1->type[13]); dprc_get_connection()
883 cmd.params[2] |= mc_enc(48, 8, endpoint1->type[14]); dprc_get_connection()
884 cmd.params[2] |= mc_enc(56, 8, endpoint1->type[15]); dprc_get_connection()
894 endpoint2->type[0] = mc_dec(cmd.params[4], 0, 8); dprc_get_connection()
895 endpoint2->type[1] = mc_dec(cmd.params[4], 8, 8); dprc_get_connection()
896 endpoint2->type[2] = mc_dec(cmd.params[4], 16, 8); dprc_get_connection()
897 endpoint2->type[3] = mc_dec(cmd.params[4], 24, 8); dprc_get_connection()
898 endpoint2->type[4] = mc_dec(cmd.params[4], 32, 8); dprc_get_connection()
899 endpoint2->type[5] = mc_dec(cmd.params[4], 40, 8); dprc_get_connection()
900 endpoint2->type[6] = mc_dec(cmd.params[4], 48, 8); dprc_get_connection()
901 endpoint2->type[7] = mc_dec(cmd.params[4], 56, 8); dprc_get_connection()
902 endpoint2->type[8] = mc_dec(cmd.params[5], 0, 8); dprc_get_connection()
903 endpoint2->type[9] = mc_dec(cmd.params[5], 8, 8); dprc_get_connection()
904 endpoint2->type[10] = mc_dec(cmd.params[5], 16, 8); dprc_get_connection()
905 endpoint2->type[11] = mc_dec(cmd.params[5], 24, 8); dprc_get_connection()
906 endpoint2->type[12] = mc_dec(cmd.params[5], 32, 8); dprc_get_connection()
907 endpoint2->type[13] = mc_dec(cmd.params[5], 40, 8); dprc_get_connection()
908 endpoint2->type[14] = mc_dec(cmd.params[5], 48, 8); dprc_get_connection()
909 endpoint2->type[15] = mc_dec(cmd.params[5], 56, 8); dprc_get_connection()
131 dprc_get_irq(struct fsl_mc_io *mc_io, uint16_t token, uint8_t irq_index, int *type, uint64_t *irq_paddr, uint32_t *irq_val, int *user_irq_id) dprc_get_irq() argument
335 dprc_set_res_quota(struct fsl_mc_io *mc_io, uint16_t token, int child_container_id, char *type, uint16_t quota) dprc_set_res_quota() argument
369 dprc_get_res_quota(struct fsl_mc_io *mc_io, uint16_t token, int child_container_id, char *type, uint16_t *quota) dprc_get_res_quota() argument
503 dprc_get_pool(struct fsl_mc_io *mc_io, uint16_t token, int pool_index, char *type) dprc_get_pool() argument
612 dprc_get_res_count(struct fsl_mc_io *mc_io, uint16_t token, char *type, int *res_count) dprc_get_res_count() argument
654 dprc_get_res_ids(struct fsl_mc_io *mc_io, uint16_t token, char *type, struct dprc_res_ids_range_desc *range_desc) dprc_get_res_ids() argument
H A Ddpmcp-cmd.h57 /* cmd, param, offset, width, type, arg_name */
61 /* cmd, param, offset, width, type, arg_name */
70 /* cmd, param, offset, width, type, arg_name */
74 /* cmd, param, offset, width, type, arg_name */
75 #define DPMCP_RSP_GET_IRQ(cmd, type, irq_addr, irq_val, user_irq_id) \
80 MC_RSP_OP(cmd, 2, 32, 32, int, type); \
83 /* cmd, param, offset, width, type, arg_name */
90 /* cmd, param, offset, width, type, arg_name */
94 /* cmd, param, offset, width, type, arg_name */
98 /* cmd, param, offset, width, type, arg_name */
105 /* cmd, param, offset, width, type, arg_name */
109 /* cmd, param, offset, width, type, arg_name */
113 /* cmd, param, offset, width, type, arg_name */
117 /* cmd, param, offset, width, type, arg_name */
121 /* cmd, param, offset, width, type, arg_name */
128 /* cmd, param, offset, width, type, arg_name */
/linux-4.1.27/net/netfilter/
H A Dxt_repldata.h10 * struct type##_replace repl;
11 * struct type##_standard entries[nhooks];
12 * struct type##_error term;
16 #define xt_alloc_initial_table(type, typ2) ({ \
21 struct type##_replace repl; \
22 struct type##_standard entries[]; \
24 struct type##_error *term; \
30 term = (struct type##_error *)&(((char *)tbl)[term_offset]); \
32 *term = (struct type##_error)typ2##_ERROR_INIT; \
35 tbl->repl.size = nhooks * sizeof(struct type##_standard) + \
36 sizeof(struct type##_error); \
42 tbl->entries[i++] = (struct type##_standard) \
44 bytes += sizeof(struct type##_standard); \
H A Dnft_log.c41 [NFTA_LOG_GROUP] = { .type = NLA_U16 },
42 [NFTA_LOG_PREFIX] = { .type = NLA_STRING },
43 [NFTA_LOG_SNAPLEN] = { .type = NLA_U32 },
44 [NFTA_LOG_QTHRESHOLD] = { .type = NLA_U16 },
45 [NFTA_LOG_LEVEL] = { .type = NLA_U32 },
46 [NFTA_LOG_FLAGS] = { .type = NLA_U32 },
68 li->type = NF_LOG_TYPE_LOG; nft_log_init()
73 li->type = NF_LOG_TYPE_ULOG; nft_log_init()
75 switch (li->type) { nft_log_init()
102 ret = nf_logger_find_get(NFPROTO_IPV4, li->type); nft_log_init()
106 ret = nf_logger_find_get(NFPROTO_IPV6, li->type); nft_log_init()
108 nf_logger_put(NFPROTO_IPV4, li->type); nft_log_init()
114 return nf_logger_find_get(ctx->afi->family, li->type); nft_log_init()
127 nf_logger_put(NFPROTO_IPV4, li->type); nft_log_destroy()
128 nf_logger_put(NFPROTO_IPV6, li->type); nft_log_destroy()
130 nf_logger_put(ctx->afi->family, li->type); nft_log_destroy()
142 switch (li->type) { nft_log_dump()
177 .type = &nft_log_type,
H A Dxt_pkttype.c21 MODULE_DESCRIPTION("Xtables: link layer packet type match");
29 u_int8_t type; pkttype_mt() local
32 type = skb->pkt_type; pkttype_mt()
35 type = PACKET_MULTICAST; pkttype_mt()
38 type = PACKET_MULTICAST; pkttype_mt()
40 type = PACKET_BROADCAST; pkttype_mt()
42 return (type == info->pkttype) ^ info->invert; pkttype_mt()
/linux-4.1.27/scripts/kconfig/
H A Dexpr.c18 static void expr_extract_eq(enum expr_type type, struct expr **ep, struct expr **ep1, struct expr **ep2);
23 e->type = E_SYMBOL; expr_alloc_symbol()
28 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) expr_alloc_one() argument
31 e->type = type; expr_alloc_one()
36 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) expr_alloc_two() argument
39 e->type = type; expr_alloc_two()
45 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2) expr_alloc_comp() argument
48 e->type = type; expr_alloc_comp()
77 switch (org->type) { expr_copy()
96 printf("can't copy type %d\n", e->type); expr_copy()
110 switch (e->type) { expr_free()
125 printf("how to free type %d?\n", e->type); expr_free()
136 static void __expr_eliminate_eq(enum expr_type type, struct expr **ep1, struct expr **ep2) __expr_eliminate_eq() argument
138 if (e1->type == type) { __expr_eliminate_eq()
139 __expr_eliminate_eq(type, &e1->left.expr, &e2); __expr_eliminate_eq()
140 __expr_eliminate_eq(type, &e1->right.expr, &e2); __expr_eliminate_eq()
143 if (e2->type == type) { __expr_eliminate_eq()
144 __expr_eliminate_eq(type, &e1, &e2->left.expr); __expr_eliminate_eq()
145 __expr_eliminate_eq(type, &e1, &e2->right.expr); __expr_eliminate_eq()
148 if (e1->type == E_SYMBOL && e2->type == E_SYMBOL && __expr_eliminate_eq()
156 switch (type) { __expr_eliminate_eq()
174 switch (e1->type) { expr_eliminate_eq()
177 __expr_eliminate_eq(e1->type, ep1, ep2); expr_eliminate_eq()
181 if (e1->type != e2->type) switch (e2->type) { expr_eliminate_eq()
184 __expr_eliminate_eq(e2->type, ep1, ep2); expr_eliminate_eq()
199 if (e1->type != e2->type) expr_eq()
201 switch (e1->type) { expr_eq()
215 res = (e1->type == E_SYMBOL && e2->type == E_SYMBOL && expr_eq()
241 if (e) switch (e->type) { expr_eliminate_yn()
245 if (e->left.expr->type == E_SYMBOL) { expr_eliminate_yn()
249 e->type = E_SYMBOL; expr_eliminate_yn()
261 if (e->right.expr->type == E_SYMBOL) { expr_eliminate_yn()
265 e->type = E_SYMBOL; expr_eliminate_yn()
281 if (e->left.expr->type == E_SYMBOL) { expr_eliminate_yn()
291 e->type = E_SYMBOL; expr_eliminate_yn()
297 if (e->right.expr->type == E_SYMBOL) { expr_eliminate_yn()
307 e->type = E_SYMBOL; expr_eliminate_yn()
327 switch (e->type) { expr_trans_bool()
336 if (e->left.sym->type == S_TRISTATE) { expr_trans_bool()
338 e->type = E_SYMBOL; expr_trans_bool()
359 if (e1->type != E_EQUAL && e1->type != E_UNEQUAL && e1->type != E_SYMBOL && e1->type != E_NOT) expr_join_or()
361 if (e2->type != E_EQUAL && e2->type != E_UNEQUAL && e2->type != E_SYMBOL && e2->type != E_NOT) expr_join_or()
363 if (e1->type == E_NOT) { expr_join_or()
365 if (tmp->type != E_EQUAL && tmp->type != E_UNEQUAL && tmp->type != E_SYMBOL) expr_join_or()
370 if (e2->type == E_NOT) { expr_join_or()
371 if (e2->left.expr->type != E_SYMBOL) expr_join_or()
378 if (sym1->type != S_BOOLEAN && sym1->type != S_TRISTATE) expr_join_or()
380 if (sym1->type == S_TRISTATE) { expr_join_or()
381 if (e1->type == E_EQUAL && e2->type == E_EQUAL && expr_join_or()
387 if (e1->type == E_EQUAL && e2->type == E_EQUAL && expr_join_or()
393 if (e1->type == E_EQUAL && e2->type == E_EQUAL && expr_join_or()
400 if (sym1->type == S_BOOLEAN && sym1 == sym2) { expr_join_or()
401 if ((e1->type == E_NOT && e1->left.expr->type == E_SYMBOL && e2->type == E_SYMBOL) || expr_join_or()
402 (e2->type == E_NOT && e2->left.expr->type == E_SYMBOL && e1->type == E_SYMBOL)) expr_join_or()
423 if (e1->type != E_EQUAL && e1->type != E_UNEQUAL && e1->type != E_SYMBOL && e1->type != E_NOT) expr_join_and()
425 if (e2->type != E_EQUAL && e2->type != E_UNEQUAL && e2->type != E_SYMBOL && e2->type != E_NOT) expr_join_and()
427 if (e1->type == E_NOT) { expr_join_and()
429 if (tmp->type != E_EQUAL && tmp->type != E_UNEQUAL && tmp->type != E_SYMBOL) expr_join_and()
434 if (e2->type == E_NOT) { expr_join_and()
435 if (e2->left.expr->type != E_SYMBOL) expr_join_and()
442 if (sym1->type != S_BOOLEAN && sym1->type != S_TRISTATE) expr_join_and()
445 if ((e1->type == E_SYMBOL && e2->type == E_EQUAL && e2->right.sym == &symbol_yes) || expr_join_and()
446 (e2->type == E_SYMBOL && e1->type == E_EQUAL && e1->right.sym == &symbol_yes)) expr_join_and()
450 if ((e1->type == E_SYMBOL && e2->type == E_UNEQUAL && e2->right.sym == &symbol_no) || expr_join_and()
451 (e2->type == E_SYMBOL && e1->type == E_UNEQUAL && e1->right.sym == &symbol_no)) expr_join_and()
455 if ((e1->type == E_SYMBOL && e2->type == E_UNEQUAL && e2->right.sym == &symbol_mod) || expr_join_and()
456 (e2->type == E_SYMBOL && e1->type == E_UNEQUAL && e1->right.sym == &symbol_mod)) expr_join_and()
460 if (sym1->type == S_TRISTATE) { expr_join_and()
461 if (e1->type == E_EQUAL && e2->type == E_UNEQUAL) { expr_join_and()
468 if (e1->type == E_UNEQUAL && e2->type == E_EQUAL) { expr_join_and()
475 if (e1->type == E_UNEQUAL && e2->type == E_UNEQUAL && expr_join_and()
481 if (e1->type == E_UNEQUAL && e2->type == E_UNEQUAL && expr_join_and()
487 if (e1->type == E_UNEQUAL && e2->type == E_UNEQUAL && expr_join_and()
493 if ((e1->type == E_SYMBOL && e2->type == E_EQUAL && e2->right.sym == &symbol_mod) || expr_join_and()
494 (e2->type == E_SYMBOL && e1->type == E_EQUAL && e1->right.sym == &symbol_mod) || expr_join_and()
495 (e1->type == E_SYMBOL && e2->type == E_UNEQUAL && e2->right.sym == &symbol_yes) || expr_join_and()
496 (e2->type == E_SYMBOL && e1->type == E_UNEQUAL && e1->right.sym == &symbol_yes)) expr_join_and()
510 static void expr_eliminate_dups1(enum expr_type type, struct expr **ep1, struct expr **ep2) expr_eliminate_dups1() argument
516 if (e1->type == type) { expr_eliminate_dups1()
517 expr_eliminate_dups1(type, &e1->left.expr, &e2); expr_eliminate_dups1()
518 expr_eliminate_dups1(type, &e1->right.expr, &e2); expr_eliminate_dups1()
521 if (e2->type == type) { expr_eliminate_dups1()
522 expr_eliminate_dups1(type, &e1, &e2->left.expr); expr_eliminate_dups1()
523 expr_eliminate_dups1(type, &e1, &e2->right.expr); expr_eliminate_dups1()
529 switch (e1->type) { expr_eliminate_dups1()
531 expr_eliminate_dups1(e1->type, &e1, &e1); expr_eliminate_dups1()
536 switch (type) { expr_eliminate_dups1()
562 static void expr_eliminate_dups2(enum expr_type type, struct expr **ep1, struct expr **ep2) expr_eliminate_dups2() argument
568 if (e1->type == type) { expr_eliminate_dups2()
569 expr_eliminate_dups2(type, &e1->left.expr, &e2); expr_eliminate_dups2()
570 expr_eliminate_dups2(type, &e1->right.expr, &e2); expr_eliminate_dups2()
573 if (e2->type == type) { expr_eliminate_dups2()
574 expr_eliminate_dups2(type, &e1, &e2->left.expr); expr_eliminate_dups2()
575 expr_eliminate_dups2(type, &e1, &e2->right.expr); expr_eliminate_dups2()
580 switch (e1->type) { expr_eliminate_dups2()
582 expr_eliminate_dups2(e1->type, &e1, &e1); expr_eliminate_dups2()
597 expr_eliminate_dups2(e1->type, &e1, &e1); expr_eliminate_dups2()
627 switch (e->type) { expr_eliminate_dups()
629 expr_eliminate_dups1(e->type, &e, &e); expr_eliminate_dups()
630 expr_eliminate_dups2(e->type, &e, &e); expr_eliminate_dups()
648 switch (e->type) { expr_transform()
659 switch (e->type) { expr_transform()
661 if (e->left.sym->type != S_BOOLEAN) expr_transform()
664 e->type = E_NOT; expr_transform()
671 e->type = E_SYMBOL; expr_transform()
677 e->type = E_SYMBOL; expr_transform()
683 if (e->left.sym->type != S_BOOLEAN) expr_transform()
686 e->type = E_SYMBOL; expr_transform()
692 e->type = E_SYMBOL; expr_transform()
698 e->type = E_NOT; expr_transform()
705 switch (e->left.expr->type) { expr_transform()
720 e->type = e->type == E_EQUAL ? E_UNEQUAL : E_EQUAL; expr_transform()
725 e->type = E_AND; expr_transform()
727 tmp->type = E_NOT; expr_transform()
734 e->type = E_OR; expr_transform()
736 tmp->type = E_NOT; expr_transform()
746 e->type = E_SYMBOL; expr_transform()
755 e->type = E_SYMBOL; expr_transform()
764 e->type = E_SYMBOL; expr_transform()
784 switch (dep->type) { expr_contains_symbol()
808 switch (dep->type) { expr_depends_symbol()
854 static void expr_extract_eq(enum expr_type type, struct expr **ep, struct expr **ep1, struct expr **ep2) expr_extract_eq() argument
858 if (e1->type == type) { expr_extract_eq()
859 expr_extract_eq(type, ep, &e1->left.expr, &e2); expr_extract_eq()
860 expr_extract_eq(type, ep, &e1->right.expr, &e2); expr_extract_eq()
863 if (e2->type == type) { expr_extract_eq()
864 expr_extract_eq(type, ep, ep1, &e2->left.expr); expr_extract_eq()
865 expr_extract_eq(type, ep, ep1, &e2->right.expr); expr_extract_eq()
869 *ep = *ep ? expr_alloc_two(type, *ep, e1) : e1; expr_extract_eq()
871 if (type == E_AND) { expr_extract_eq()
874 } else if (type == E_OR) { expr_extract_eq()
883 struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym) expr_trans_compare() argument
889 if (type == E_UNEQUAL) expr_trans_compare()
893 switch (e->type) { expr_trans_compare()
901 if (type == E_UNEQUAL) expr_trans_compare()
911 if (type == E_UNEQUAL) expr_trans_compare()
915 return expr_trans_compare(e->left.expr, type == E_EQUAL ? E_UNEQUAL : E_EQUAL, sym); expr_trans_compare()
918 if (type == E_EQUAL) { expr_trans_compare()
935 return expr_alloc_comp(type, e->left.sym, sym); expr_trans_compare()
952 switch (e->type) { expr_calc_value()
980 printf("expr_calc_value: %d?\n", e->type); expr_calc_value()
1020 while (e->type != E_SYMBOL) expr_get_leftmost_symbol()
1034 switch (e1->type) { expr_simplify_unmet_dep()
1062 if (expr_compare_type(prevtoken, e->type) > 0) expr_print()
1064 switch (e->type) { expr_print()
1118 sprintf(buf, "<unknown type %d>", e->type); expr_print()
1123 if (expr_compare_type(prevtoken, e->type) > 0) expr_print()
1163 if (sym && sym->type != S_UNKNOWN) expr_print_gstr_helper()
/linux-4.1.27/tools/perf/tests/
H A Devsel-roundtrip-name.c10 int type, op, err = 0, ret = 0, i, idx; perf_evsel__roundtrip_cache_name_test() local
17 for (type = 0; type < PERF_COUNT_HW_CACHE_MAX; type++) { perf_evsel__roundtrip_cache_name_test()
19 /* skip invalid cache type */ perf_evsel__roundtrip_cache_name_test()
20 if (!perf_evsel__is_cache_op_valid(type, op)) perf_evsel__roundtrip_cache_name_test()
24 __perf_evsel__hw_cache_type_op_res_name(type, op, i, perf_evsel__roundtrip_cache_name_test()
36 for (type = 0; type < PERF_COUNT_HW_CACHE_MAX; type++) { perf_evsel__roundtrip_cache_name_test()
38 /* skip invalid cache type */ perf_evsel__roundtrip_cache_name_test()
39 if (!perf_evsel__is_cache_op_valid(type, op)) perf_evsel__roundtrip_cache_name_test()
43 __perf_evsel__hw_cache_type_op_res_name(type, op, i, perf_evsel__roundtrip_cache_name_test()
/linux-4.1.27/include/sound/
H A Dasequencer.h33 * type check macros
36 #define snd_seq_ev_is_result_type(ev) ((ev)->type < 5)
38 #define snd_seq_ev_is_channel_type(ev) ((ev)->type >= 5 && (ev)->type < 20)
40 #define snd_seq_ev_is_note_type(ev) ((ev)->type >= 5 && (ev)->type < 10)
42 #define snd_seq_ev_is_control_type(ev) ((ev)->type >= 10 && (ev)->type < 20)
44 #define snd_seq_ev_is_queue_type(ev) ((ev)->type >= 30 && (ev)->type < 40)
46 #define snd_seq_ev_is_message_type(ev) ((ev)->type >= 60 && (ev)->type < 69)
48 #define snd_seq_ev_is_sample_type(ev) ((ev)->type >= 70 && (ev)->type < 79)
50 #define snd_seq_ev_is_user_type(ev) ((ev)->type >= 90 && (ev)->type < 99)
52 #define snd_seq_ev_is_fixed_type(ev) ((ev)->type < 100)
54 #define snd_seq_ev_is_variable_type(ev) ((ev)->type >= 130 && (ev)->type < 140)
56 #define snd_seq_ev_is_reserved(ev) ((ev)->type >= 150)
67 /* event length type */
73 /* time-stamp type */
78 /* time-mode type */
/linux-4.1.27/arch/sparc/lib/
H A DU3copy_from_user.S15 #define LOAD(type,addr,dest) type##a [addr] %asi, dest
H A Dcsum_copy_from_user.S19 #define LOAD(type,addr,dest) type##a [addr] %asi, dest
H A Dcsum_copy_to_user.S19 #define STORE(type,src,addr) type##a src, [addr] %asi
H A DGENcopy_from_user.S19 #define LOAD(type,addr,dest) type##a [addr] ASI_AIUS, dest
H A DNG4copy_from_user.S19 #define LOAD(type,addr,dest) type##a [addr] %asi, dest
H A DGENcopy_to_user.S19 #define STORE(type,src,addr) type##a src, [addr] ASI_AIUS
H A DNG2copy_from_user.S23 #define LOAD(type,addr,dest) type##a [addr] %asi, dest
H A DNGcopy_from_user.S19 #define LOAD(type,addr,dest) type##a [addr] ASI_AIUS, dest
H A DNGcopy_to_user.S19 #define STORE(type,src,addr) type##a src, [addr] ASI_AIUS
H A DU1copy_from_user.S15 #define LOAD(type,addr,dest) type##a [addr] %asi, dest
H A DU1copy_to_user.S15 #define STORE(type,src,addr) type##a src, [addr] ASI_AIUS
H A DU3copy_to_user.S15 #define STORE(type,src,addr) type##a src, [addr] ASI_AIUS
/linux-4.1.27/include/uapi/linux/netfilter/ipset/
H A Dip_set_bitmap.h4 /* Bitmap type specific error codes */
8 /* The range exceeds the size limit of the set type */
H A Dip_set_list.h4 /* List type specific error codes */
8 /* list:set type is not permitted to add */
H A Dip_set_hash.h4 /* Hash type specific error codes */
/linux-4.1.27/arch/alpha/include/asm/
H A Dcmpxchg.h9 #define ____xchg(type, args...) __xchg ## type ## _local(args)
10 #define ____cmpxchg(type, args...) __cmpxchg ## type ## _local(args)
41 #define ____xchg(type, args...) __xchg ##type(args)
42 #define ____cmpxchg(type, args...) __cmpxchg ##type(args)
H A Derr_ev7.h5 * Data for el packet class PAL (14), type LOGOUT_FRAME (1)
20 * Data for el packet class PAL (14), type EV7_PROCESSOR (4)
51 * Data for el packet class PAL (14), type EV7_ZBOX (5)
84 * Data for el packet class PAL (14), type EV7_RBOX (6)
107 * Data for el packet class PAL (14), type EV7_IO (7)
142 * class PAL (14), type AMBIENT_TEMPERATURE (10)
143 * class PAL (14), type AIRMOVER_FAN (11)
144 * class PAL (14), type VOLTAGE (12)
145 * class PAL (14), type INTRUSION (13)
146 * class PAL (14), type POWER_SUPPLY (14)
147 * class PAL (14), type LAN (15)
148 * class PAL (14), type HOT_PLUG (16)
161 * Convert environmental type to index
163 static inline int ev7_lf_env_index(int type) ev7_lf_env_index() argument
165 BUG_ON((type < EL_TYPE__PAL__ENV__AMBIENT_TEMPERATURE) ev7_lf_env_index()
166 || (type > EL_TYPE__PAL__ENV__HOT_PLUG)); ev7_lf_env_index()
168 return type - EL_TYPE__PAL__ENV__AMBIENT_TEMPERATURE; ev7_lf_env_index()
/linux-4.1.27/kernel/trace/
H A Dtrace_export.c31 #define __field_struct(type, item)
34 #define __field(type, item) type item;
37 #define __field_desc(type, container, item) type item;
40 #define __array(type, item, size) type item[size];
43 #define __array_desc(type, container, item, size) type item[size];
46 #define __dynamic_array(type, item) type item[];
75 #define __field(type, item) \
76 ret = trace_define_field(event_call, #type, #item, \
79 is_signed_type(type), filter_type); \
84 #define __field_desc(type, container, item) \
85 ret = trace_define_field(event_call, #type, #item, \
89 is_signed_type(type), filter_type); \
94 #define __array(type, item, len) \
96 char *type_str = #type"["__stringify(len)"]"; \
101 is_signed_type(type), filter_type); \
107 #define __array_desc(type, container, item, len) \
109 ret = trace_define_field(event_call, #type "[" #len "]", #item, \
113 is_signed_type(type), filter_type); \
118 #define __dynamic_array(type, item) \
119 ret = trace_define_field(event_call, #type, #item, \
121 0, is_signed_type(type), filter_type);\
145 #define __field(type, item)
148 #define __field_desc(type, container, item)
151 #define __array(type, item, len)
154 #define __array_desc(type, container, item, len)
157 #define __dynamic_array(type, item)
178 .event.type = etype, \
/linux-4.1.27/include/uapi/linux/netfilter/
H A Dxt_addrtype.h31 __u16 source; /* source-type mask */
32 __u16 dest; /* dest-type mask */
38 __u16 source; /* source-type mask */
39 __u16 dest; /* dest-type mask */
H A Dxt_l2tp.h16 __u8 type; /* L2TP packet type */ member in struct:xt_l2tp_info
24 XT_L2TP_TYPE = (1 << 3), /* match L2TP packet type */
H A Dxt_sctp.h38 #define bytes(type) (sizeof(type) * 8)
40 #define SCTP_CHUNKMAP_SET(chunkmap, type) \
42 (chunkmap)[type / bytes(__u32)] |= \
43 1 << (type % bytes(__u32)); \
46 #define SCTP_CHUNKMAP_CLEAR(chunkmap, type) \
48 (chunkmap)[type / bytes(__u32)] &= \
49 ~(1 << (type % bytes(__u32))); \
52 #define SCTP_CHUNKMAP_IS_SET(chunkmap, type) \
54 ((chunkmap)[type / bytes (__u32)] & \
55 (1 << (type % bytes (__u32)))) ? 1: 0; \
/linux-4.1.27/arch/arm/include/asm/
H A Dlinkage.h8 .type name, %function; \
/linux-4.1.27/net/atm/
H A Daddr.h12 void atm_reset_addr(struct atm_dev *dev, enum atm_addr_type_t type);
14 enum atm_addr_type_t type);
16 enum atm_addr_type_t type);
18 size_t size, enum atm_addr_type_t type);
/linux-4.1.27/tools/perf/util/include/asm/
H A Duaccess.h12 #define access_ok(type, addr, size) 1
/linux-4.1.27/net/ceph/crush/
H A Dhash.c91 __u32 crush_hash32(int type, __u32 a) crush_hash32() argument
93 switch (type) { crush_hash32()
101 __u32 crush_hash32_2(int type, __u32 a, __u32 b) crush_hash32_2() argument
103 switch (type) { crush_hash32_2()
111 __u32 crush_hash32_3(int type, __u32 a, __u32 b, __u32 c) crush_hash32_3() argument
113 switch (type) { crush_hash32_3()
121 __u32 crush_hash32_4(int type, __u32 a, __u32 b, __u32 c, __u32 d) crush_hash32_4() argument
123 switch (type) { crush_hash32_4()
131 __u32 crush_hash32_5(int type, __u32 a, __u32 b, __u32 c, __u32 d, __u32 e) crush_hash32_5() argument
133 switch (type) { crush_hash32_5()
141 const char *crush_hash_name(int type) crush_hash_name() argument
143 switch (type) { crush_hash_name()
/linux-4.1.27/arch/m68k/include/asm/
H A Dbootstd.h37 #define __bsc_return(type, res) \
45 return (type)(res); \
48 #define _bsc0(type,name) \
49 type name(void) \
56 __bsc_return(type,__res); \
59 #define _bsc1(type,name,atype,a) \
60 type name(atype a) \
68 __bsc_return(type,__res); \
71 #define _bsc2(type,name,atype,a,btype,b) \
72 type name(atype a, btype b) \
81 __bsc_return(type,__res); \
84 #define _bsc3(type,name,atype,a,btype,b,ctype,c) \
85 type name(atype a, btype b, ctype c) \
96 __bsc_return(type,__res); \
99 #define _bsc4(type,name,atype,a,btype,b,ctype,c,dtype,d) \
100 type name(atype a, btype b, ctype c, dtype d) \
112 __bsc_return(type,__res); \
115 #define _bsc5(type,name,atype,a,btype,b,ctype,c,dtype,d,etype,e) \
116 type name(atype a, btype b, ctype c, dtype d, etype e) \
129 __bsc_return(type,__res); \
H A Dmodule.h12 enum m68k_fixup_type type; member in struct:m68k_fixup_info
28 #define m68k_fixup(type, addr) \
30 " .long " #type "," #addr "\n" \
/linux-4.1.27/arch/powerpc/math-emu/
H A Dmath.c233 int type = 0; do_mathemu() local
240 case LFS: func = lfs; type = D; break; do_mathemu()
241 case LFSU: func = lfs; type = DU; break; do_mathemu()
242 case LFD: func = lfd; type = D; break; do_mathemu()
243 case LFDU: func = lfd; type = DU; break; do_mathemu()
244 case STFS: func = stfs; type = D; break; do_mathemu()
245 case STFSU: func = stfs; type = DU; break; do_mathemu()
246 case STFD: func = stfd; type = D; break; do_mathemu()
247 case STFDU: func = stfd; type = DU; break; do_mathemu()
251 case LFSX: func = lfs; type = XE; break; do_mathemu()
252 case LFSUX: func = lfs; type = XEU; break; do_mathemu()
253 case LFDX: func = lfd; type = XE; break; do_mathemu()
254 case LFDUX: func = lfd; type = XEU; break; do_mathemu()
255 case STFSX: func = stfs; type = XE; break; do_mathemu()
256 case STFSUX: func = stfs; type = XEU; break; do_mathemu()
257 case STFDX: func = stfd; type = XE; break; do_mathemu()
258 case STFDUX: func = stfd; type = XEU; break; do_mathemu()
259 case STFIWX: func = stfiwx; type = XE; break; do_mathemu()
267 case FDIVS: func = fdivs; type = AB; break; do_mathemu()
268 case FSUBS: func = fsubs; type = AB; break; do_mathemu()
269 case FADDS: func = fadds; type = AB; break; do_mathemu()
270 case FSQRTS: func = fsqrts; type = XB; break; do_mathemu()
271 case FRES: func = fres; type = XB; break; do_mathemu()
272 case FMULS: func = fmuls; type = AC; break; do_mathemu()
273 case FRSQRTES: func = frsqrtes;type = XB; break; do_mathemu()
274 case FMSUBS: func = fmsubs; type = ABC; break; do_mathemu()
275 case FMADDS: func = fmadds; type = ABC; break; do_mathemu()
276 case FNMSUBS: func = fnmsubs; type = ABC; break; do_mathemu()
277 case FNMADDS: func = fnmadds; type = ABC; break; do_mathemu()
286 case FDIV: func = fdiv; type = AB; break; do_mathemu()
287 case FSUB: func = fsub; type = AB; break; do_mathemu()
288 case FADD: func = fadd; type = AB; break; do_mathemu()
289 case FSQRT: func = fsqrt; type = XB; break; do_mathemu()
290 case FRE: func = fre; type = XB; break; do_mathemu()
291 case FSEL: func = fsel; type = ABC; break; do_mathemu()
292 case FMUL: func = fmul; type = AC; break; do_mathemu()
293 case FRSQRTE: func = frsqrte; type = XB; break; do_mathemu()
294 case FMSUB: func = fmsub; type = ABC; break; do_mathemu()
295 case FMADD: func = fmadd; type = ABC; break; do_mathemu()
296 case FNMSUB: func = fnmsub; type = ABC; break; do_mathemu()
297 case FNMADD: func = fnmadd; type = ABC; break; do_mathemu()
305 case FCMPU: func = fcmpu; type = XCR; break; do_mathemu()
306 case FRSP: func = frsp; type = XB; break; do_mathemu()
307 case FCTIW: func = fctiw; type = XB; break; do_mathemu()
308 case FCTIWZ: func = fctiwz; type = XB; break; do_mathemu()
309 case FCMPO: func = fcmpo; type = XCR; break; do_mathemu()
310 case MTFSB1: func = mtfsb1; type = XCRB; break; do_mathemu()
311 case FNEG: func = fneg; type = XB; break; do_mathemu()
312 case MCRFS: func = mcrfs; type = XCRL; break; do_mathemu()
313 case MTFSB0: func = mtfsb0; type = XCRB; break; do_mathemu()
314 case FMR: func = fmr; type = XB; break; do_mathemu()
315 case MTFSFI: func = mtfsfi; type = XCRI; break; do_mathemu()
316 case FNABS: func = fnabs; type = XB; break; do_mathemu()
317 case FABS: func = fabs; type = XB; break; do_mathemu()
318 case MFFS: func = mffs; type = X; break; do_mathemu()
319 case MTFSF: func = mtfsf; type = XFLB; break; do_mathemu()
329 switch (type) { do_mathemu()
445 switch (type) { do_mathemu()
/linux-4.1.27/arch/arm/mach-gemini/
H A Dmm.c25 .type = MT_DEVICE,
30 .type = MT_DEVICE,
35 .type = MT_DEVICE,
40 .type = MT_DEVICE,
45 .type = MT_DEVICE,
50 .type = MT_DEVICE,
55 .type = MT_DEVICE,
60 .type = MT_DEVICE,
65 .type = MT_DEVICE,
70 .type = MT_DEVICE,
75 .type = MT_DEVICE,
/linux-4.1.27/arch/cris/include/arch-v10/arch/
H A Dunistd.h9 #define _syscall0(type,name) \
10 type name(void) \
21 return (type) __a; \
23 return (type) -1; \
26 #define _syscall1(type,name,type1,arg1) \
27 type name(type1 arg1) \
38 return (type) __a; \
40 return (type) -1; \
43 #define _syscall2(type,name,type1,arg1,type2,arg2) \
44 type name(type1 arg1,type2 arg2) \
56 return (type) __a; \
58 return (type) -1; \
61 #define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \
62 type name(type1 arg1,type2 arg2,type3 arg3) \
75 return (type) __a; \
77 return (type) -1; \
80 #define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \
81 type name (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \
96 return (type) __a; \
98 return (type) -1; \
101 #define _syscall5(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \
103 type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \
119 return (type) __a; \
121 return (type) -1; \
124 #define _syscall6(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \
126 type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5,type6 arg6) \
143 return (type) __a; \
145 return (type) -1; \
/linux-4.1.27/arch/cris/include/arch-v32/arch/
H A Dunistd.h9 #define _syscall0(type,name) \
10 type name(void) \
22 return (type) __a; \
24 return (type) -1; \
27 #define _syscall1(type,name,type1,arg1) \
28 type name(type1 arg1) \
40 return (type) __a; \
42 return (type) -1; \
45 #define _syscall2(type,name,type1,arg1,type2,arg2) \
46 type name(type1 arg1,type2 arg2) \
59 return (type) __a; \
61 return (type) -1; \
64 #define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \
65 type name(type1 arg1,type2 arg2,type3 arg3) \
79 return (type) __a; \
81 return (type) -1; \
84 #define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \
85 type name (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \
101 return (type) __a; \
103 return (type) -1; \
106 #define _syscall5(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \
108 type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \
125 return (type) __a; \
127 return (type) -1; \
130 #define _syscall6(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \
132 type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5,type6 arg6) \
150 return (type) __a; \
152 return (type) -1; \
/linux-4.1.27/security/tomoyo/
H A Dmount.c33 r->param.mount.type->name, tomoyo_audit_mount_log()
52 tomoyo_compare_name_union(r->param.mount.type, tomoyo_check_mount_acl()
67 * @type: Name of filesystem type.
76 struct path *dir, const char *type, tomoyo_mount_acl()
93 requested_type = tomoyo_encode(type); tomoyo_mount_acl()
110 if (type == tomoyo_mounts[TOMOYO_MOUNT_REMOUNT]) { tomoyo_mount_acl()
112 } else if (type == tomoyo_mounts[TOMOYO_MOUNT_MAKE_UNBINDABLE] || tomoyo_mount_acl()
113 type == tomoyo_mounts[TOMOYO_MOUNT_MAKE_PRIVATE] || tomoyo_mount_acl()
114 type == tomoyo_mounts[TOMOYO_MOUNT_MAKE_SLAVE] || tomoyo_mount_acl()
115 type == tomoyo_mounts[TOMOYO_MOUNT_MAKE_SHARED]) { tomoyo_mount_acl()
117 } else if (type == tomoyo_mounts[TOMOYO_MOUNT_BIND] || tomoyo_mount_acl()
118 type == tomoyo_mounts[TOMOYO_MOUNT_MOVE]) { tomoyo_mount_acl()
121 fstype = get_fs_type(type); tomoyo_mount_acl()
158 r->param.mount.type = &rtype; tomoyo_mount_acl()
181 * @type: Name of filesystem type. Maybe NULL.
188 const char *type, unsigned long flags, tomoyo_mount_permission()
201 type = tomoyo_mounts[TOMOYO_MOUNT_REMOUNT]; tomoyo_mount_permission()
204 type = tomoyo_mounts[TOMOYO_MOUNT_BIND]; tomoyo_mount_permission()
209 type = tomoyo_mounts[TOMOYO_MOUNT_MAKE_SHARED]; tomoyo_mount_permission()
214 type = tomoyo_mounts[TOMOYO_MOUNT_MAKE_PRIVATE]; tomoyo_mount_permission()
219 type = tomoyo_mounts[TOMOYO_MOUNT_MAKE_SLAVE]; tomoyo_mount_permission()
224 type = tomoyo_mounts[TOMOYO_MOUNT_MAKE_UNBINDABLE]; tomoyo_mount_permission()
227 type = tomoyo_mounts[TOMOYO_MOUNT_MOVE]; tomoyo_mount_permission()
230 if (!type) tomoyo_mount_permission()
231 type = "<NULL>"; tomoyo_mount_permission()
233 error = tomoyo_mount_acl(&r, dev_name, path, type, flags); tomoyo_mount_permission()
74 tomoyo_mount_acl(struct tomoyo_request_info *r, const char *dev_name, struct path *dir, const char *type, unsigned long flags) tomoyo_mount_acl() argument
187 tomoyo_mount_permission(const char *dev_name, struct path *path, const char *type, unsigned long flags, void *data_page) tomoyo_mount_permission() argument
/linux-4.1.27/tools/firewire/
H A Dlist.h46 #define list_entry(link, type, member) \
47 ((type *)((char *)(link)-(unsigned long)(&((type *)0)->member)))
49 #define list_head(list, type, member) \
50 list_entry((list)->next, type, member)
52 #define list_tail(list, type, member) \
53 list_entry((list)->prev, type, member)
/linux-4.1.27/crypto/
H A Daf_alg.c27 const struct af_alg_type *type; member in struct:alg_type_list
45 const struct af_alg_type *type = ERR_PTR(-ENOENT); alg_get_type() local
50 if (strcmp(node->type->name, name)) alg_get_type()
53 if (try_module_get(node->type->owner)) alg_get_type()
54 type = node->type; alg_get_type()
59 return type; alg_get_type()
62 int af_alg_register_type(const struct af_alg_type *type) af_alg_register_type() argument
69 if (!strcmp(node->type->name, type->name)) af_alg_register_type()
78 type->ops->owner = THIS_MODULE; af_alg_register_type()
79 if (type->ops_nokey) af_alg_register_type()
80 type->ops_nokey->owner = THIS_MODULE; af_alg_register_type()
81 node->type = type; af_alg_register_type()
92 int af_alg_unregister_type(const struct af_alg_type *type) af_alg_unregister_type() argument
99 if (strcmp(node->type->name, type->name)) af_alg_unregister_type()
113 static void alg_do_release(const struct af_alg_type *type, void *private) alg_do_release() argument
115 if (!type) alg_do_release()
118 type->release(private); alg_do_release()
119 module_put(type->owner); alg_do_release()
155 const struct af_alg_type *type; alg_bind() local
168 type = alg_get_type(sa->salg_type); alg_bind()
169 if (IS_ERR(type) && PTR_ERR(type) == -ENOENT) { alg_bind()
171 type = alg_get_type(sa->salg_type); alg_bind()
174 if (IS_ERR(type)) alg_bind()
175 return PTR_ERR(type); alg_bind()
177 private = type->bind(sa->salg_name, sa->salg_feat, sa->salg_mask); alg_bind()
179 module_put(type->owner); alg_bind()
188 swap(ask->type, type); alg_bind()
196 alg_do_release(type, private); alg_bind()
205 const struct af_alg_type *type = ask->type; alg_setkey() local
217 err = type->setkey(ask->private, key, keylen); alg_setkey()
230 const struct af_alg_type *type; alg_setsockopt() local
237 type = ask->type; alg_setsockopt()
240 if (level != SOL_ALG || !type) alg_setsockopt()
247 if (!type->setkey) alg_setsockopt()
255 if (!type->setauthsize) alg_setsockopt()
257 err = type->setauthsize(ask->private, optlen); alg_setsockopt()
269 const struct af_alg_type *type; af_alg_accept() local
275 type = ask->type; af_alg_accept()
278 if (!type) af_alg_accept()
290 err = type->accept(ask->private, sk2); af_alg_accept()
293 if (nokey && type->accept_nokey) af_alg_accept()
294 err = type->accept_nokey(ask->private, sk2); af_alg_accept()
305 alg_sk(sk2)->type = type; af_alg_accept()
308 newsock->ops = type->ops; af_alg_accept()
312 newsock->ops = type->ops_nokey; af_alg_accept()
355 alg_do_release(ask->type, ask->private); alg_sock_destruct()
364 if (sock->type != SOCK_SEQPACKET) alg_create()
H A Dapi.c59 static struct crypto_alg *__crypto_alg_lookup(const char *name, u32 type, __crypto_alg_lookup() argument
71 if ((q->cra_flags ^ type) & mask) __crypto_alg_lookup()
109 struct crypto_larval *crypto_larval_alloc(const char *name, u32 type, u32 mask) crypto_larval_alloc() argument
118 larval->alg.cra_flags = CRYPTO_ALG_LARVAL | type; crypto_larval_alloc()
129 static struct crypto_alg *crypto_larval_add(const char *name, u32 type, crypto_larval_add() argument
135 larval = crypto_larval_alloc(name, type, mask); crypto_larval_add()
142 alg = __crypto_alg_lookup(name, type, mask); crypto_larval_add()
195 struct crypto_alg *crypto_alg_lookup(const char *name, u32 type, u32 mask) crypto_alg_lookup() argument
200 alg = __crypto_alg_lookup(name, type, mask); crypto_alg_lookup()
207 struct crypto_alg *crypto_larval_lookup(const char *name, u32 type, u32 mask) crypto_larval_lookup() argument
215 type &= mask; crypto_larval_lookup()
217 alg = crypto_alg_lookup(name, type, mask); crypto_larval_lookup()
221 if (!((type ^ CRYPTO_ALG_NEED_FALLBACK) & mask & crypto_larval_lookup()
225 alg = crypto_alg_lookup(name, type, mask); crypto_larval_lookup()
231 return crypto_larval_add(name, type, mask); crypto_larval_lookup()
249 struct crypto_alg *crypto_alg_mod_lookup(const char *name, u32 type, u32 mask) crypto_alg_mod_lookup() argument
255 if (!((type | mask) & CRYPTO_ALG_TESTED)) { crypto_alg_mod_lookup()
256 type |= CRYPTO_ALG_TESTED; crypto_alg_mod_lookup()
264 * not be an internal cipher, use type | CRYPTO_ALG_INTERNAL and crypto_alg_mod_lookup()
267 if (!((type | mask) & CRYPTO_ALG_INTERNAL)) crypto_alg_mod_lookup()
270 larval = crypto_larval_lookup(name, type, mask); crypto_alg_mod_lookup()
287 static int crypto_init_ops(struct crypto_tfm *tfm, u32 type, u32 mask) crypto_init_ops() argument
292 return type_obj->init(tfm, type, mask); crypto_init_ops()
311 const struct crypto_type *type = tfm->__crt_alg->cra_type; crypto_exit_ops() local
313 if (type) { crypto_exit_ops()
333 static unsigned int crypto_ctxsize(struct crypto_alg *alg, u32 type, u32 mask) crypto_ctxsize() argument
340 return len + type_obj->ctxsize(alg, type, mask); crypto_ctxsize()
366 struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type, __crypto_alloc_tfm() argument
373 tfm_size = sizeof(*tfm) + crypto_ctxsize(alg, type, mask); __crypto_alloc_tfm()
380 err = crypto_init_ops(tfm, type, mask); __crypto_alloc_tfm()
405 * @type: Type of algorithm
406 * @mask: Mask for type comparison
418 * The returned transform is of a non-determinate type. Most people
424 struct crypto_tfm *crypto_alloc_base(const char *alg_name, u32 type, u32 mask) crypto_alloc_base() argument
432 alg = crypto_alg_mod_lookup(alg_name, type, mask); crypto_alloc_base()
438 tfm = __crypto_alloc_tfm(alg, type, mask); crypto_alloc_base()
501 u32 type, u32 mask) crypto_find_alg()
503 struct crypto_alg *(*lookup)(const char *name, u32 type, u32 mask) = crypto_find_alg()
507 type &= frontend->maskclear; crypto_find_alg()
509 type |= frontend->type; crypto_find_alg()
516 return lookup(alg_name, type, mask); crypto_find_alg()
523 * @frontend: Frontend algorithm type
524 * @type: Type of algorithm
525 * @mask: Mask for type comparison
534 * The returned transform is of a non-determinate type. Most people
541 const struct crypto_type *frontend, u32 type, u32 mask) crypto_alloc_tfm()
549 alg = crypto_find_alg(alg_name, frontend, type, mask); crypto_alloc_tfm()
600 int crypto_has_alg(const char *name, u32 type, u32 mask) crypto_has_alg() argument
603 struct crypto_alg *alg = crypto_alg_mod_lookup(name, type, mask); crypto_has_alg()
499 crypto_find_alg(const char *alg_name, const struct crypto_type *frontend, u32 type, u32 mask) crypto_find_alg() argument
540 crypto_alloc_tfm(const char *alg_name, const struct crypto_type *frontend, u32 type, u32 mask) crypto_alloc_tfm() argument
H A Dpcompress.c36 static int crypto_pcomp_init(struct crypto_tfm *tfm, u32 type, u32 mask) crypto_pcomp_init() argument
56 strncpy(rpcomp.type, "pcomp", sizeof(rpcomp.type)); crypto_pcomp_report()
76 seq_printf(m, "type : pcomp\n"); crypto_pcomp_show()
89 .type = CRYPTO_ALG_TYPE_PCOMPRESS,
93 struct crypto_pcomp *crypto_alloc_pcomp(const char *alg_name, u32 type, crypto_alloc_pcomp() argument
96 return crypto_alloc_tfm(alg_name, &crypto_pcomp_type, type, mask); crypto_alloc_pcomp()
119 MODULE_DESCRIPTION("Partial (de)compression type");
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
H A Dosc_quota.c47 int type; osc_quota_chkdq() local
49 for (type = 0; type < MAXQUOTAS; type++) { osc_quota_chkdq()
52 oqi = cfs_hash_lookup(cli->cl_quota_hash[type], &qid[type]); osc_quota_chkdq()
60 type == USRQUOTA ? "user" : "grout", qid[type]); osc_quota_chkdq()
68 #define MD_QUOTA_FLAG(type) ((type == USRQUOTA) ? OBD_MD_FLUSRQUOTA \
70 #define FL_QUOTA_FLAG(type) ((type == USRQUOTA) ? OBD_FL_NO_USRQUOTA \
76 int type; osc_quota_setdq() local
82 for (type = 0; type < MAXQUOTAS; type++) { osc_quota_setdq()
85 if ((valid & MD_QUOTA_FLAG(type)) == 0) osc_quota_setdq()
88 /* lookup the ID in the per-type hash table */ osc_quota_setdq()
89 oqi = cfs_hash_lookup(cli->cl_quota_hash[type], &qid[type]); osc_quota_setdq()
90 if ((flags & FL_QUOTA_FLAG(type)) != 0) { osc_quota_setdq()
96 oqi = osc_oqi_alloc(qid[type]); osc_quota_setdq()
102 rc = cfs_hash_add_unique(cli->cl_quota_hash[type], osc_quota_setdq()
103 &qid[type], &oqi->oqi_hash); osc_quota_setdq()
112 type == USRQUOTA ? "user" : "group", osc_quota_setdq()
113 qid[type], rc); osc_quota_setdq()
120 oqi = cfs_hash_del_key(cli->cl_quota_hash[type], osc_quota_setdq()
121 &qid[type]); osc_quota_setdq()
127 type == USRQUOTA ? "user" : "group", osc_quota_setdq()
128 qid[type], oqi); osc_quota_setdq()
208 int i, type; osc_quota_setup() local
210 for (type = 0; type < MAXQUOTAS; type++) { osc_quota_setup()
211 cli->cl_quota_hash[type] = cfs_hash_create("QUOTA_HASH", osc_quota_setup()
220 if (cli->cl_quota_hash[type] == NULL) osc_quota_setup()
224 if (type == MAXQUOTAS) osc_quota_setup()
227 for (i = 0; i < type; i++) osc_quota_setup()
236 int type; osc_quota_cleanup() local
238 for (type = 0; type < MAXQUOTAS; type++) osc_quota_cleanup()
239 cfs_hash_putref(cli->cl_quota_hash[type]); osc_quota_cleanup()
/linux-4.1.27/sound/synth/emux/
H A Demux_effect.c33 #define xoffsetof(type,tag) ((long)(&((type)NULL)->tag) - (long)(NULL))
52 int type; /* byte or word */ member in struct:emux_parm_defs
100 effect_set_byte(unsigned char *valp, struct snd_midi_channel *chan, int type) effect_set_byte() argument
105 effect = fx->val[type]; effect_set_byte()
106 if (fx->flag[type] == EMUX_FX_FLAG_ADD) { effect_set_byte()
107 if (parm_defs[type].type & PARM_IS_SIGNED) effect_set_byte()
112 if (effect < parm_defs[type].low) effect_set_byte()
113 effect = parm_defs[type].low; effect_set_byte()
114 else if (effect > parm_defs[type].high) effect_set_byte()
115 effect = parm_defs[type].high; effect_set_byte()
121 effect_set_word(unsigned short *valp, struct snd_midi_channel *chan, int type) effect_set_word() argument
126 effect = *(unsigned short*)&fx->val[type]; effect_set_word()
127 if (fx->flag[type] == EMUX_FX_FLAG_ADD) effect_set_word()
129 if (effect < parm_defs[type].low) effect_set_word()
130 effect = parm_defs[type].low; effect_set_word()
131 else if (effect > parm_defs[type].high) effect_set_word()
132 effect = parm_defs[type].high; effect_set_word()
157 struct snd_midi_channel *chan, int type, int val) snd_emux_send_effect_oss()
161 if (type & 0x40) snd_emux_send_effect_oss()
163 else if (type & 0x80) snd_emux_send_effect_oss()
167 type &= 0x3f; snd_emux_send_effect_oss()
169 snd_emux_send_effect(port, chan, type, val, mode); snd_emux_send_effect_oss()
178 int type, int val, int mode) snd_emux_send_effect()
191 if (type < 0 || type >= EMUX_NUM_EFFECTS) snd_emux_send_effect()
194 fx->val[type] = val; snd_emux_send_effect()
195 fx->flag[type] = mode; snd_emux_send_effect()
198 if (! parm_defs[type].update || (offset = parm_defs[type].offset) < 0) snd_emux_send_effect()
202 if (parm_defs[type].type & PARM_IS_ALIGN_HI) snd_emux_send_effect()
205 if (parm_defs[type].type & PARM_IS_ALIGN_LO) snd_emux_send_effect()
216 if (parm_defs[i].type & PARM_IS_BYTE) { snd_emux_send_effect()
218 effect_set_byte(srcp, chan, type); snd_emux_send_effect()
221 effect_set_word((unsigned short*)srcp, chan, type); snd_emux_send_effect()
227 snd_emux_update_channel(port, chan, parm_defs[type].update); snd_emux_send_effect()
249 if (parm_defs[i].type & PARM_IS_ALIGN_HI) snd_emux_setup_effect()
252 if (parm_defs[i].type & PARM_IS_ALIGN_LO) snd_emux_setup_effect()
256 if (parm_defs[i].type & PARM_IS_BYTE) snd_emux_setup_effect()
156 snd_emux_send_effect_oss(struct snd_emux_port *port, struct snd_midi_channel *chan, int type, int val) snd_emux_send_effect_oss() argument
177 snd_emux_send_effect(struct snd_emux_port *port, struct snd_midi_channel *chan, int type, int val, int mode) snd_emux_send_effect() argument
/linux-4.1.27/sound/usb/
H A Dquirks-table.h49 .type = QUIRK_MIDI_FTDI
58 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
133 .type = QUIRK_COMPOSITE,
138 .type = QUIRK_IGNORE_INTERFACE,
143 .type = QUIRK_IGNORE_INTERFACE,
148 .type = QUIRK_IGNORE_INTERFACE,
241 .type = QUIRK_MIDI_YAMAHA \
250 .type = QUIRK_MIDI_YAMAHA \
341 .type = QUIRK_COMPOSITE,
345 .type = QUIRK_AUDIO_STANDARD_INTERFACE
349 .type = QUIRK_AUDIO_STANDARD_INTERFACE
353 .type = QUIRK_MIDI_YAMAHA
367 .type = QUIRK_COMPOSITE,
371 .type = QUIRK_AUDIO_STANDARD_INTERFACE
375 .type = QUIRK_AUDIO_STANDARD_INTERFACE
379 .type = QUIRK_MIDI_YAMAHA
393 .type = QUIRK_COMPOSITE,
397 .type = QUIRK_AUDIO_STANDARD_INTERFACE
401 .type = QUIRK_AUDIO_STANDARD_INTERFACE
405 .type = QUIRK_MIDI_YAMAHA
409 .type = QUIRK_IGNORE_INTERFACE
423 .type = QUIRK_COMPOSITE,
427 .type = QUIRK_AUDIO_STANDARD_INTERFACE
431 .type = QUIRK_AUDIO_STANDARD_INTERFACE
435 .type = QUIRK_MIDI_YAMAHA
449 .type = QUIRK_COMPOSITE,
453 .type = QUIRK_AUDIO_STANDARD_INTERFACE
457 .type = QUIRK_AUDIO_STANDARD_INTERFACE
461 .type = QUIRK_MIDI_YAMAHA
501 .type = QUIRK_AUTODETECT
514 .type = QUIRK_COMPOSITE,
518 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
535 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
552 .type = QUIRK_MIDI_FIXED_ENDPOINT,
570 .type = QUIRK_COMPOSITE,
574 .type = QUIRK_IGNORE_INTERFACE
578 .type = QUIRK_IGNORE_INTERFACE
582 .type = QUIRK_MIDI_FIXED_ENDPOINT,
600 .type = QUIRK_COMPOSITE,
604 .type = QUIRK_IGNORE_INTERFACE
608 .type = QUIRK_IGNORE_INTERFACE
612 .type = QUIRK_MIDI_FIXED_ENDPOINT,
630 .type = QUIRK_COMPOSITE,
634 .type = QUIRK_IGNORE_INTERFACE
638 .type = QUIRK_IGNORE_INTERFACE
642 .type = QUIRK_MIDI_FIXED_ENDPOINT,
662 .type = QUIRK_COMPOSITE,
666 .type = QUIRK_IGNORE_INTERFACE
670 .type = QUIRK_IGNORE_INTERFACE
674 .type = QUIRK_MIDI_FIXED_ENDPOINT,
692 .type = QUIRK_COMPOSITE,
696 .type = QUIRK_IGNORE_INTERFACE
700 .type = QUIRK_IGNORE_INTERFACE
704 .type = QUIRK_MIDI_FIXED_ENDPOINT,
722 .type = QUIRK_COMPOSITE,
726 .type = QUIRK_IGNORE_INTERFACE
730 .type = QUIRK_IGNORE_INTERFACE
734 .type = QUIRK_MIDI_FIXED_ENDPOINT,
753 .type = QUIRK_COMPOSITE,
757 .type = QUIRK_IGNORE_INTERFACE
761 .type = QUIRK_IGNORE_INTERFACE
765 .type = QUIRK_MIDI_FIXED_ENDPOINT,
783 .type = QUIRK_COMPOSITE,
787 .type = QUIRK_IGNORE_INTERFACE
791 .type = QUIRK_IGNORE_INTERFACE
795 .type = QUIRK_MIDI_FIXED_ENDPOINT,
815 .type = QUIRK_COMPOSITE,
819 .type = QUIRK_AUDIO_STANDARD_INTERFACE
823 .type = QUIRK_AUDIO_STANDARD_INTERFACE
827 .type = QUIRK_MIDI_FIXED_ENDPOINT,
853 .type = QUIRK_COMPOSITE,
857 .type = QUIRK_AUDIO_STANDARD_INTERFACE
861 .type = QUIRK_AUDIO_STANDARD_INTERFACE
876 .type = QUIRK_MIDI_FIXED_ENDPOINT,
890 .type = QUIRK_MIDI_FIXED_ENDPOINT,
904 .type = QUIRK_COMPOSITE,
908 .type = QUIRK_AUDIO_STANDARD_INTERFACE
912 .type = QUIRK_AUDIO_STANDARD_INTERFACE
916 .type = QUIRK_MIDI_FIXED_ENDPOINT,
935 .type = QUIRK_COMPOSITE,
939 .type = QUIRK_IGNORE_INTERFACE
943 .type = QUIRK_IGNORE_INTERFACE
947 .type = QUIRK_MIDI_FIXED_ENDPOINT,
966 .type = QUIRK_MIDI_FIXED_ENDPOINT,
980 .type = QUIRK_MIDI_FIXED_ENDPOINT,
998 .type = QUIRK_COMPOSITE,
1002 .type = QUIRK_IGNORE_INTERFACE
1006 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1023 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1040 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1059 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1073 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1091 .type = QUIRK_COMPOSITE,
1095 .type = QUIRK_AUDIO_EDIROL_UAXX
1099 .type = QUIRK_AUDIO_EDIROL_UAXX
1103 .type = QUIRK_AUDIO_EDIROL_UAXX
1118 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1132 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1146 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1163 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1181 .type = QUIRK_COMPOSITE,
1185 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1189 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1193 .type = QUIRK_MIDI_STANDARD_INTERFACE
1208 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1222 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1236 .type = QUIRK_COMPOSITE,
1241 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1245 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1260 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1274 .type = QUIRK_COMPOSITE,
1278 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1282 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1297 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1314 .type = QUIRK_COMPOSITE,
1318 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1322 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1336 .type = QUIRK_MIDI_STANDARD_INTERFACE
1345 .type = QUIRK_MIDI_STANDARD_INTERFACE
1355 .type = QUIRK_COMPOSITE,
1359 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1363 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1378 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1392 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1410 .type = QUIRK_COMPOSITE,
1414 .type = QUIRK_AUDIO_EDIROL_UAXX
1418 .type = QUIRK_AUDIO_EDIROL_UAXX
1422 .type = QUIRK_AUDIO_EDIROL_UAXX
1437 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1451 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1465 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1479 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1496 .type = QUIRK_COMPOSITE,
1500 .type = QUIRK_AUDIO_EDIROL_UAXX
1504 .type = QUIRK_AUDIO_EDIROL_UAXX
1508 .type = QUIRK_AUDIO_EDIROL_UAXX
1521 .type = QUIRK_COMPOSITE,
1525 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1529 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1533 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1555 .type = QUIRK_COMPOSITE,
1559 .type = QUIRK_AUDIO_EDIROL_UAXX
1563 .type = QUIRK_AUDIO_EDIROL_UAXX
1567 .type = QUIRK_AUDIO_EDIROL_UAXX
1580 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1592 .type = QUIRK_COMPOSITE,
1596 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1600 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1604 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1623 .type = QUIRK_COMPOSITE,
1627 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1645 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1663 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1671 .type = QUIRK_IGNORE_INTERFACE
1675 .type = QUIRK_IGNORE_INTERFACE
1690 .type = QUIRK_COMPOSITE,
1694 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1712 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
1730 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1738 .type = QUIRK_IGNORE_INTERFACE
1742 .type = QUIRK_IGNORE_INTERFACE
1756 .type = QUIRK_COMPOSITE,
1760 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1764 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1768 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1788 .type = QUIRK_AUTODETECT
1805 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1820 .type = QUIRK_MIDI_MIDIMAN,
1833 .type = QUIRK_MIDI_MIDIMAN,
1846 .type = QUIRK_MIDI_MIDIMAN,
1859 .type = QUIRK_MIDI_MIDIMAN,
1877 .type = QUIRK_MIDI_MIDIMAN,
1890 .type = QUIRK_MIDI_MIDIMAN,
1903 .type = QUIRK_MIDI_MIDIMAN,
1916 .type = QUIRK_COMPOSITE,
1926 .type = QUIRK_IGNORE_INTERFACE
1930 .type = QUIRK_IGNORE_INTERFACE
1934 .type = QUIRK_IGNORE_INTERFACE
1938 .type = QUIRK_IGNORE_INTERFACE
1942 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1946 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1950 .type = QUIRK_IGNORE_INTERFACE
1954 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1958 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1962 .type = QUIRK_MIDI_MIDIMAN,
1980 .type = QUIRK_MIDI_MIDIMAN,
1993 .type = QUIRK_MIDI_MIDIMAN,
2006 .type = QUIRK_COMPOSITE,
2010 .type = QUIRK_IGNORE_INTERFACE
2014 .type = QUIRK_IGNORE_INTERFACE
2018 .type = QUIRK_IGNORE_INTERFACE
2022 .type = QUIRK_IGNORE_INTERFACE
2026 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2030 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2034 .type = QUIRK_IGNORE_INTERFACE
2038 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2042 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2046 .type = QUIRK_MIDI_MIDIMAN,
2064 .type = QUIRK_COMPOSITE,
2068 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2072 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2076 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2080 .type = QUIRK_MIDI_MIDIMAN,
2098 .type = QUIRK_COMPOSITE,
2102 .type = QUIRK_AUDIO_STANDARD_MIXER,
2107 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2133 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2169 .type = QUIRK_COMPOSITE,
2173 .type = QUIRK_AUDIO_STANDARD_MIXER,
2178 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2204 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2240 .type = QUIRK_COMPOSITE,
2244 .type = QUIRK_AUDIO_STANDARD_MIXER,
2248 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2272 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2307 .type = QUIRK_COMPOSITE,
2311 .type = QUIRK_AUDIO_STANDARD_MIXER,
2315 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2339 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2376 .type = QUIRK_MIDI_YAMAHA
2386 .type = QUIRK_MIDI_YAMAHA
2403 .type = QUIRK_COMPOSITE,
2407 .type = QUIRK_MIDI_RAW_BYTES
2411 .type = QUIRK_IGNORE_INTERFACE
2427 .type = QUIRK_MIDI_EMAGIC,
2440 .type = QUIRK_MIDI_EMAGIC,
2453 .type = QUIRK_MIDI_EMAGIC,
2468 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2478 .type = QUIRK_MIDI_STANDARD_INTERFACE,
2489 .type = QUIRK_MIDI_AKAI,
2498 .type = QUIRK_COMPOSITE,
2502 .type = QUIRK_IGNORE_INTERFACE
2506 .type = QUIRK_MIDI_STANDARD_INTERFACE
2521 .type = QUIRK_COMPOSITE,
2525 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2529 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2533 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2537 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2554 .type = QUIRK_COMPOSITE,
2558 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2562 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2566 .type = QUIRK_AUDIO_STANDARD_INTERFACE
2570 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2590 .type = QUIRK_MIDI_STANDARD_INTERFACE
2599 .type = QUIRK_MIDI_STANDARD_INTERFACE
2608 .type = QUIRK_MIDI_STANDARD_INTERFACE
2625 .type = QUIRK_MIDI_CME
2654 .type = QUIRK_MIDI_NOVATION
2663 .type = QUIRK_MIDI_NOVATION
2672 .type = QUIRK_MIDI_RAW_BYTES
2681 .type = QUIRK_COMPOSITE,
2685 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2707 .type = QUIRK_MIDI_RAW_BYTES
2721 .type = QUIRK_COMPOSITE,
2725 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2747 .type = QUIRK_MIDI_RAW_BYTES
2761 .type = QUIRK_MIDI_NOVATION
2771 .type = QUIRK_COMPOSITE,
2775 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2783 .type = QUIRK_IGNORE_INTERFACE
2830 .type = QUIRK_MIDI_CH345
2847 .type = QUIRK_MIDI_CME
2857 .type = QUIRK_MIDI_CME
2879 .type = QUIRK_AUDIO_ALIGN_TRANSFER, \
2909 .type = QUIRK_COMPOSITE,
2913 .type = QUIRK_AUDIO_STANDARD_MIXER,
2917 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2940 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2975 .type = QUIRK_COMPOSITE,
2979 .type = QUIRK_IGNORE_INTERFACE
2983 .type = QUIRK_IGNORE_INTERFACE
2987 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3008 .type = QUIRK_IGNORE_INTERFACE
3012 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3033 .type = QUIRK_IGNORE_INTERFACE
3037 .type = QUIRK_MIDI_MIDIMAN,
3062 .type = QUIRK_COMPOSITE,
3066 .type = QUIRK_IGNORE_INTERFACE
3070 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3107 .type = QUIRK_COMPOSITE,
3112 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3130 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3158 .type = QUIRK_COMPOSITE,
3162 .type = QUIRK_AUDIO_STANDARD_MIXER,
3166 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3204 .type = QUIRK_COMPOSITE,
3209 .type = QUIRK_IGNORE_INTERFACE,
3214 .type = QUIRK_IGNORE_INTERFACE,
3219 .type = QUIRK_AUDIO_STANDARD_INTERFACE,
3224 .type = QUIRK_MIDI_STANDARD_INTERFACE
3244 .type = QUIRK_MIDI_STANDARD_INTERFACE
/linux-4.1.27/include/uapi/asm-generic/
H A Dioctl.h17 * a type field. De facto, however, the top 8 bits of the lower 16
18 * bits are indeed used as a type field, so we might just as well make
65 #define _IOC(dir,type,nr,size) \
67 ((type) << _IOC_TYPESHIFT) | \
76 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0)
77 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
78 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size)))
79 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size)))
80 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size))
81 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size))
82 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
/linux-4.1.27/arch/sparc/include/uapi/asm/
H A Dioctl.h38 #define _IOC(dir,type,nr,size) \
40 ((type) << _IOC_TYPESHIFT) | \
44 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0)
45 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size))
46 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size))
47 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
/linux-4.1.27/include/trace/events/
H A Dthermal.h17 __string(thermal_zone, tz->type)
24 __assign_str(thermal_zone, tz->type);
42 __string(type, cdev->type)
47 __assign_str(type, cdev->type);
51 TP_printk("type=%s target=%lu", __get_str(type), __entry->target)
62 __string(thermal_zone, tz->type)
69 __assign_str(thermal_zone, tz->type);
H A D9p.h96 #define show_9p_op(type) \
97 __print_symbolic(type, P9_MSG_T)
100 TP_PROTO(struct p9_client *clnt, int8_t type, int tag),
102 TP_ARGS(clnt, type, tag),
106 __field( __u8, type )
112 __entry->type = type;
117 (long)__entry->clnt, show_9p_op(__entry->type),
122 TP_PROTO(struct p9_client *clnt, int8_t type, int tag, int err),
124 TP_ARGS(clnt, type, tag, err),
128 __field( __u8, type )
135 __entry->type = type;
141 (long)__entry->clnt, show_9p_op(__entry->type),
154 __field( __u8, type )
161 __entry->type = pdu->id;
166 (unsigned long)__entry->clnt, show_9p_op(__entry->type),
H A Dv4l2.h15 #define show_type(type) \
16 __print_symbolic(type, SHOW_TYPE)
62 #define show_timecode_type(type) \
63 __print_symbolic(type, \
104 __field(u32, type) \
125 __entry->type = buf->type; \
131 __entry->timecode_type = buf->timecode.type; \
151 TP_printk("minor = %d, index = %u, type = %s, " \
154 "type = %s, flags = %s, frames = %u, " \
158 __entry->index, show_type(__entry->type), \
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/asm/
H A Ddma_defs_asm.h56 /* Register rw_data, scope dma, type rw */
59 /* Register rw_data_next, scope dma, type rw */
62 /* Register rw_data_buf, scope dma, type rw */
65 /* Register rw_data_ctrl, scope dma, type rw */
80 /* Register rw_data_stat, scope dma, type rw */
86 /* Register rw_data_md, scope dma, type rw */
91 /* Register rw_data_md_s, scope dma, type rw */
96 /* Register rw_data_after, scope dma, type rw */
99 /* Register rw_ctxt, scope dma, type rw */
102 /* Register rw_ctxt_next, scope dma, type rw */
105 /* Register rw_ctxt_ctrl, scope dma, type rw */
120 /* Register rw_ctxt_stat, scope dma, type rw */
126 /* Register rw_ctxt_md0, scope dma, type rw */
131 /* Register rw_ctxt_md0_s, scope dma, type rw */
136 /* Register rw_ctxt_md1, scope dma, type rw */
139 /* Register rw_ctxt_md1_s, scope dma, type rw */
142 /* Register rw_ctxt_md2, scope dma, type rw */
145 /* Register rw_ctxt_md2_s, scope dma, type rw */
148 /* Register rw_ctxt_md3, scope dma, type rw */
151 /* Register rw_ctxt_md3_s, scope dma, type rw */
154 /* Register rw_ctxt_md4, scope dma, type rw */
157 /* Register rw_ctxt_md4_s, scope dma, type rw */
160 /* Register rw_saved_data, scope dma, type rw */
163 /* Register rw_saved_data_buf, scope dma, type rw */
166 /* Register rw_group, scope dma, type rw */
169 /* Register rw_group_next, scope dma, type rw */
172 /* Register rw_group_ctrl, scope dma, type rw */
190 /* Register rw_group_stat, scope dma, type rw */
196 /* Register rw_group_md, scope dma, type rw */
201 /* Register rw_group_md_s, scope dma, type rw */
206 /* Register rw_group_up, scope dma, type rw */
209 /* Register rw_group_down, scope dma, type rw */
212 /* Register rw_cmd, scope dma, type rw */
218 /* Register rw_cfg, scope dma, type rw */
227 /* Register rw_stat, scope dma, type rw */
238 /* Register rw_intr_mask, scope dma, type rw */
256 /* Register rw_ack_intr, scope dma, type rw */
274 /* Register r_intr, scope dma, type r */
292 /* Register r_masked_intr, scope dma, type r */
310 /* Register rw_stream_cmd, scope dma, type rw */
H A Dtimer_defs_asm.h56 /* Register rw_tmr0_div, scope timer, type rw */
59 /* Register r_tmr0_data, scope timer, type r */
62 /* Register rw_tmr0_ctrl, scope timer, type rw */
69 /* Register rw_tmr1_div, scope timer, type rw */
72 /* Register r_tmr1_data, scope timer, type r */
75 /* Register rw_tmr1_ctrl, scope timer, type rw */
82 /* Register rs_cnt_data, scope timer, type rs */
89 /* Register r_cnt_data, scope timer, type r */
96 /* Register rw_cnt_cfg, scope timer, type rw */
101 /* Register rw_trig, scope timer, type rw */
104 /* Register rw_trig_cfg, scope timer, type rw */
109 /* Register r_time, scope timer, type r */
112 /* Register rw_out, scope timer, type rw */
117 /* Register rw_wd_ctrl, scope timer, type rw */
127 /* Register r_wd_stat, scope timer, type r */
135 /* Register rw_intr_mask, scope timer, type rw */
150 /* Register rw_ack_intr, scope timer, type rw */
165 /* Register r_intr, scope timer, type r */
180 /* Register r_masked_intr, scope timer, type r */
195 /* Register rw_test, scope timer, type rw */
H A Dbif_dma_defs_asm.h56 /* Register rw_ch0_ctrl, scope bif_dma, type rw */
89 /* Register rw_ch0_addr, scope bif_dma, type rw */
94 /* Register rw_ch0_start, scope bif_dma, type rw */
100 /* Register rw_ch0_cnt, scope bif_dma, type rw */
105 /* Register r_ch0_stat, scope bif_dma, type r */
113 /* Register rw_ch1_ctrl, scope bif_dma, type rw */
143 /* Register rw_ch1_addr, scope bif_dma, type rw */
148 /* Register rw_ch1_start, scope bif_dma, type rw */
154 /* Register rw_ch1_cnt, scope bif_dma, type rw */
159 /* Register r_ch1_stat, scope bif_dma, type r */
167 /* Register rw_ch2_ctrl, scope bif_dma, type rw */
200 /* Register rw_ch2_addr, scope bif_dma, type rw */
205 /* Register rw_ch2_start, scope bif_dma, type rw */
211 /* Register rw_ch2_cnt, scope bif_dma, type rw */
216 /* Register r_ch2_stat, scope bif_dma, type r */
224 /* Register rw_ch3_ctrl, scope bif_dma, type rw */
254 /* Register rw_ch3_addr, scope bif_dma, type rw */
259 /* Register rw_ch3_start, scope bif_dma, type rw */
265 /* Register rw_ch3_cnt, scope bif_dma, type rw */
270 /* Register r_ch3_stat, scope bif_dma, type r */
278 /* Register rw_intr_mask, scope bif_dma, type rw */
293 /* Register rw_ack_intr, scope bif_dma, type rw */
308 /* Register r_intr, scope bif_dma, type r */
323 /* Register r_masked_intr, scope bif_dma, type r */
338 /* Register rw_pin0_cfg, scope bif_dma, type rw */
349 /* Register rw_pin1_cfg, scope bif_dma, type rw */
360 /* Register rw_pin2_cfg, scope bif_dma, type rw */
371 /* Register rw_pin3_cfg, scope bif_dma, type rw */
382 /* Register rw_pin4_cfg, scope bif_dma, type rw */
393 /* Register rw_pin5_cfg, scope bif_dma, type rw */
404 /* Register rw_pin6_cfg, scope bif_dma, type rw */
415 /* Register rw_pin7_cfg, scope bif_dma, type rw */
426 /* Register r_pin_stat, scope bif_dma, type r */
/linux-4.1.27/arch/avr32/kernel/
H A Dsyscall-stubs.S18 .type __sys_rt_sigsuspend,@function
24 .type __sys_rt_sigreturn,@function
30 .type __sys_mmap2,@function
39 .type __sys_sendto,@function
48 .type __sys_recvfrom,@function
57 .type __sys_pselect6,@function
66 .type __sys_splice,@function
75 .type __sys_epoll_pwait,@function
84 .type __sys_sync_file_range,@function
93 .type __sys_fallocate,@function
102 .type __sys_fanotify_mark,@function
111 .type __sys_process_vm_readv,@function
120 .type __sys_process_vm_writev,@function
/linux-4.1.27/drivers/hwmon/
H A Dibmpowernv.c75 enum sensors type; member in struct:sensor_data
99 if (sdata->type == TEMP) show_sensor()
102 else if (sdata->type == POWER_INPUT) show_sensor()
196 static const char *convert_opal_attr_name(enum sensors type, convert_opal_attr_name() argument
206 if (type == TEMP) convert_opal_attr_name()
208 else if (type == FAN) convert_opal_attr_name()
222 enum sensors type, u32 *index) parse_opal_node_name()
232 attr_name = convert_opal_attr_name(type, attr_suffix); parse_opal_node_name()
241 enum sensors type; get_sensor_type() local
244 for (type = 0; type < MAX_SENSOR_TYPE; type++) { get_sensor_type()
245 if (of_device_is_compatible(np, sensor_groups[type].compatible)) get_sensor_type()
246 return type; get_sensor_type()
255 if (of_property_read_string(np, "sensor-type", &str)) get_sensor_type()
258 for (type = 0; type < MAX_SENSOR_TYPE; type++) get_sensor_type()
259 if (!strcmp(str, sensor_groups[type].name)) get_sensor_type()
260 return type; get_sensor_type()
276 sdata_table[i].type == sdata->type) get_sensor_hwmon_index()
279 return ++sensor_groups[sdata->type].hwmon_index; get_sensor_hwmon_index()
287 enum sensors type; populate_attr_groups() local
296 type = get_sensor_type(np); for_each_child_of_node()
297 if (type == MAX_SENSOR_TYPE) for_each_child_of_node()
300 sensor_groups[type].attr_count++; for_each_child_of_node()
306 sensor_groups[type].attr_count++; for_each_child_of_node()
311 for (type = 0; type < MAX_SENSOR_TYPE; type++) {
312 sensor_groups[type].group.attrs = devm_kzalloc(&pdev->dev,
314 (sensor_groups[type].attr_count + 1),
316 if (!sensor_groups[type].group.attrs)
319 pgroups[type] = &sensor_groups[type].group;
320 pdata->sensors_count += sensor_groups[type].attr_count;
321 sensor_groups[type].attr_count = 0;
333 sensor_groups[sdata->type].name, sdata->hwmon_index, create_hwmon_attr()
355 enum sensors type; create_device_attrs() local
375 type = get_sensor_type(np); for_each_child_of_node()
376 if (type == MAX_SENSOR_TYPE) for_each_child_of_node()
392 sdata[count].type = type; for_each_child_of_node()
400 attr_name = parse_opal_node_name(np->name, type, &opal_index); for_each_child_of_node()
412 pgroups[type]->attrs[sensor_groups[type].attr_count++] = for_each_child_of_node()
422 sdata[count].type = type; for_each_child_of_node()
430 pgroups[type]->attrs[sensor_groups[type].attr_count++] = for_each_child_of_node()
221 parse_opal_node_name(const char *node_name, enum sensors type, u32 *index) parse_opal_node_name() argument
/linux-4.1.27/arch/avr32/include/asm/
H A Dio.h79 #define __BUILD_MEMORY_SINGLE(pfx, bwl, type) \
81 pfx##write##bwl(type val, volatile void __iomem *addr) \
83 volatile type *__addr; \
84 type __val; \
89 BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); \
94 static inline type pfx##read##bwl(const volatile void __iomem *addr) \
96 volatile type *__addr; \
97 type __val; \
101 BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); \
107 #define __BUILD_IOPORT_SINGLE(pfx, bwl, type, p, slow) \
108 static inline void pfx##out##bwl##p(type val, unsigned long port) \
110 volatile type *__addr; \
111 type __val; \
116 BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); \
122 static inline type pfx##in##bwl##p(unsigned long port) \
124 volatile type *__addr; \
125 type __val; \
129 BUILD_BUG_ON(sizeof(type) > sizeof(unsigned long)); \
137 #define __BUILD_MEMORY_PFX(bus, bwl, type) \
138 __BUILD_MEMORY_SINGLE(bus, bwl, type)
140 #define BUILDIO_MEM(bwl, type) \
141 __BUILD_MEMORY_PFX(, bwl, type) \
142 __BUILD_MEMORY_PFX(__mem_, bwl, type)
144 #define __BUILD_IOPORT_PFX(bus, bwl, type) \
145 __BUILD_IOPORT_SINGLE(bus, bwl, type, ,) \
146 __BUILD_IOPORT_SINGLE(bus, bwl, type, _p, SLOW_DOWN_IO)
148 #define BUILDIO_IOPORT(bwl, type) \
149 __BUILD_IOPORT_PFX(, bwl, type) \
150 __BUILD_IOPORT_PFX(__mem_, bwl, type)
176 #define __BUILD_MEMORY_STRING(bwl, type) \
180 const type *__data = data; \
189 type *__data = data; \
195 #define __BUILD_IOPORT_STRING(bwl, type) \
199 const type *__data = data; \
208 type *__data = data; \
214 #define BUILDSTRING(bwl, type) \
215 __BUILD_MEMORY_STRING(bwl, type) \
216 __BUILD_IOPORT_STRING(bwl, type)
/linux-4.1.27/drivers/usb/gadget/
H A Du_f.h23 #define vla_item(groupname, type, name, n) \
25 size_t align_mask = __alignof__(type) - 1; \
27 size_t size = (n) * sizeof(type); \
32 #define vla_item_with_sz(groupname, type, name, n) \
33 size_t groupname##_##name##__sz = (n) * sizeof(type); \
35 size_t align_mask = __alignof__(type) - 1; \
/linux-4.1.27/arch/sh/kernel/vsyscall/
H A Dvsyscall-note.S9 #define ASM_ELF_NOTE_BEGIN(name, flags, vendor, type) \
14 .long type; /* note type */ \
/linux-4.1.27/drivers/tty/serial/8250/
H A D8250_acorn.c31 unsigned int type; member in struct:serial_card_type
45 struct serial_card_type *type = id->data; serial_card_probe() local
54 info->num_ports = type->num_ports; serial_card_probe()
56 bus_addr = ecard_resource_start(ec, type->type); serial_card_probe()
57 info->vaddr = ecardm_iomap(ec, type->type, 0, 0); serial_card_probe()
68 uart.port.uartclk = type->uartclk; serial_card_probe()
74 uart.port.membase = info->vaddr + type->offset[i]; serial_card_probe()
75 uart.port.mapbase = bus_addr + type->offset[i]; serial_card_probe()
100 .type = ECARD_RES_IOCSLOW,
107 .type = ECARD_RES_IOCSLOW,
/linux-4.1.27/arch/powerpc/kernel/vdso32/
H A Dnote.S9 #define ASM_ELF_NOTE_BEGIN(name, flags, vendor, type) \
14 .long type; /* note type */ \
/linux-4.1.27/security/selinux/ss/
H A Dsymtab.h3 * strings and datum values. The type of the datum values
4 * is arbitrary. The symbol table type is implemented
5 * using the hash table type (hashtab).
/linux-4.1.27/include/linux/ceph/
H A Dmsgpool.h14 int type; /* preallocated message type */ member in struct:ceph_msgpool
18 extern int ceph_msgpool_init(struct ceph_msgpool *pool, int type,
H A Dceph_hash.h10 extern unsigned ceph_str_hash(int type, const char *s, unsigned len);
11 extern const char *ceph_str_hash_name(int type);
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Dimage.h6 u8 type; member in struct:nvbios_image
H A Di2c.h4 /* matches bios type field prior to ccb 4.1 */
15 enum dcb_i2c_type type; member in struct:dcb_i2c_entry
/linux-4.1.27/include/uapi/linux/netfilter_ipv4/
H A Dipt_REJECT.h17 enum ipt_reject_with with; /* reject type */
/linux-4.1.27/include/uapi/linux/netfilter_ipv6/
H A Dip6t_REJECT.h17 __u32 with; /* reject type */
H A Dip6t_mh.h8 __u8 types[2]; /* MH type range */
13 #define IP6T_MH_INV_TYPE 0x01 /* Invert the sense of type. */
/linux-4.1.27/arch/mips/lantiq/xway/
H A Dprom.c46 i->type = SOC_TYPE_DANUBE; ltq_soc_detect()
52 i->type = SOC_TYPE_DANUBE; ltq_soc_detect()
61 i->type = SOC_TYPE_AR9; ltq_soc_detect()
68 i->type = SOC_TYPE_AR9; ltq_soc_detect()
78 i->type = SOC_TYPE_AMAZON_SE; ltq_soc_detect()
86 i->type = SOC_TYPE_VR9; ltq_soc_detect()
93 i->type = SOC_TYPE_VR9; ltq_soc_detect()
100 i->type = SOC_TYPE_VR9_2; ltq_soc_detect()
107 i->type = SOC_TYPE_VR9_2; ltq_soc_detect()
/linux-4.1.27/arch/powerpc/include/asm/
H A Demulated_ops.h63 extern void ppc_warn_emulated_print(const char *type);
65 #define __PPC_WARN_EMULATED(type) \
67 atomic_inc(&ppc_emulated.type.val); \
69 ppc_warn_emulated_print(ppc_emulated.type.name); \
74 #define __PPC_WARN_EMULATED(type) do { } while (0)
78 #define PPC_WARN_EMULATED(type, regs) \
82 __PPC_WARN_EMULATED(type); \
85 #define PPC_WARN_ALIGNMENT(type, regs) \
89 __PPC_WARN_EMULATED(type); \
/linux-4.1.27/arch/ia64/include/uapi/asm/
H A Ducontext.h8 #define uc_link uc_mcontext.sc_gr[0] /* wrong type; nobody cares */
/linux-4.1.27/arch/m68k/coldfire/
H A Dintc-525x.c24 u32 type = irqd_get_trigger_type(d); intc2_irq_gpio_mask() local
27 if (type & IRQ_TYPE_EDGE_RISING) intc2_irq_gpio_mask()
29 if (type & IRQ_TYPE_EDGE_FALLING) intc2_irq_gpio_mask()
37 u32 type = irqd_get_trigger_type(d); intc2_irq_gpio_unmask() local
40 if (type & IRQ_TYPE_EDGE_RISING) intc2_irq_gpio_unmask()
42 if (type & IRQ_TYPE_EDGE_FALLING) intc2_irq_gpio_unmask()
50 u32 type = irqd_get_trigger_type(d); intc2_irq_gpio_ack() local
53 if (type & IRQ_TYPE_EDGE_RISING) intc2_irq_gpio_ack()
55 if (type & IRQ_TYPE_EDGE_FALLING) intc2_irq_gpio_ack()
/linux-4.1.27/arch/sh/kernel/cpu/sh4/
H A Dprobe.c91 boot_cpu_data.type = CPU_SH7750; cpu_probe()
96 boot_cpu_data.type = CPU_SH7750S; cpu_probe()
101 boot_cpu_data.type = CPU_SH7751; cpu_probe()
105 boot_cpu_data.type = CPU_SH7770; cpu_probe()
110 boot_cpu_data.type = CPU_SH7781; cpu_probe()
112 boot_cpu_data.type = CPU_SH7763; cpu_probe()
114 boot_cpu_data.type = CPU_SH7780; cpu_probe()
120 boot_cpu_data.type = CPU_SH7343; cpu_probe()
124 boot_cpu_data.type = CPU_SH7785; cpu_probe()
128 boot_cpu_data.type = CPU_SH7786; cpu_probe()
135 boot_cpu_data.type = CPU_SH7723; cpu_probe()
139 boot_cpu_data.type = CPU_SH7366; cpu_probe()
143 boot_cpu_data.type = CPU_SH7722; cpu_probe()
150 boot_cpu_data.type = CPU_SH7724; cpu_probe()
155 boot_cpu_data.type = CPU_SH7757; cpu_probe()
159 boot_cpu_data.type = CPU_SH7372; cpu_probe()
162 boot_cpu_data.type = CPU_SH7734; /* SH7733/SH7734 */ cpu_probe()
169 boot_cpu_data.type = CPU_SHX3; cpu_probe()
172 boot_cpu_data.type = CPU_SH4_501; cpu_probe()
178 boot_cpu_data.type = CPU_SH4_202; cpu_probe()
185 boot_cpu_data.type = CPU_SH7750R; cpu_probe()
188 boot_cpu_data.type = CPU_SH7751R; cpu_probe()
191 boot_cpu_data.type = CPU_SH7760; cpu_probe()
/linux-4.1.27/tools/perf/util/
H A Dparse-events.y51 %type <num> PE_VALUE
52 %type <num> PE_VALUE_SYM_HW
53 %type <num> PE_VALUE_SYM_SW
54 %type <num> PE_RAW
55 %type <num> PE_TERM
56 %type <str> PE_NAME
57 %type <str> PE_NAME_CACHE_TYPE
58 %type <str> PE_NAME_CACHE_OP_RESULT
59 %type <str> PE_MODIFIER_EVENT
60 %type <str> PE_MODIFIER_BP
61 %type <str> PE_EVENT_NAME
62 %type <str> PE_PMU_EVENT_PRE PE_PMU_EVENT_SUF PE_KERNEL_PMU_EVENT
63 %type <num> value_sym
64 %type <head> event_config
65 %type <term> event_term
66 %type <head> event_pmu
67 %type <head> event_legacy_symbol
68 %type <head> event_legacy_cache
69 %type <head> event_legacy_mem
70 %type <head> event_legacy_tracepoint
71 %type <head> event_legacy_numeric
72 %type <head> event_legacy_raw
73 %type <head> event_def
74 %type <head> event_mod
75 %type <head> event_name
76 %type <head> event
77 %type <head> events
78 %type <head> group_def
79 %type <head> group
80 %type <head> groups
274 int type = $1 >> 16;
279 type, config, $3));
288 int type = $1 >> 16;
293 type, config, NULL));
H A Dpmu.y25 %type <num> PP_VALUE
26 %type <bits> bit_term
27 %type <bits> bits
H A Dparse-options.h50 * `type`::
51 * holds the type of the option, you must have an OPTION_END last in your
93 enum parse_opt_type type; member in struct:option
107 #define check_vtype(v, type) ( BUILD_BUG_ON_ZERO(!__builtin_types_compatible_p(typeof(v), type)) + v )
109 #define OPT_END() { .type = OPTION_END }
110 #define OPT_ARGUMENT(l, h) { .type = OPTION_ARGUMENT, .long_name = (l), .help = (h) }
111 #define OPT_GROUP(h) { .type = OPTION_GROUP, .help = (h) }
112 #define OPT_BIT(s, l, v, h, b) { .type = OPTION_BIT, .short_name = (s), .long_name = (l), .value = check_vtype(v, int *), .help = (h), .defval = (b) }
113 #define OPT_BOOLEAN(s, l, v, h) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), .value = check_vtype(v, bool *), .help = (h) }
115 { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), \
118 #define OPT_INCR(s, l, v, h) { .type = OPTION_INCR, .short_name = (s), .long_name = (l), .value = check_vtype(v, int *), .help = (h) }
119 #define OPT_SET_UINT(s, l, v, h, i) { .type = OPTION_SET_UINT, .short_name = (s), .long_name = (l), .value = check_vtype(v, unsigned int *), .help = (h), .defval = (i) }
120 #define OPT_SET_PTR(s, l, v, h, p) { .type = OPTION_SET_PTR, .short_name = (s), .long_name = (l), .value = (v), .help = (h), .defval = (p) }
121 #define OPT_INTEGER(s, l, v, h) { .type = OPTION_INTEGER, .short_name = (s), .long_name = (l), .value = check_vtype(v, int *), .help = (h) }
122 #define OPT_UINTEGER(s, l, v, h) { .type = OPTION_UINTEGER, .short_name = (s), .long_name = (l), .value = check_vtype(v, unsigned int *), .help = (h) }
123 #define OPT_LONG(s, l, v, h) { .type = OPTION_LONG, .short_name = (s), .long_name = (l), .value = check_vtype(v, long *), .help = (h) }
124 #define OPT_U64(s, l, v, h) { .type = OPTION_U64, .short_name = (s), .long_name = (l), .value = check_vtype(v, u64 *), .help = (h) }
125 #define OPT_STRING(s, l, v, a, h) { .type = OPTION_STRING, .short_name = (s), .long_name = (l), .value = check_vtype(v, const char **), (a), .help = (h) }
126 #define OPT_STRING_NOEMPTY(s, l, v, a, h) { .type = OPTION_STRING, .short_name = (s), .long_name = (l), .value = check_vtype(v, const char **), (a), .help = (h), .flags = PARSE_OPT_NOEMPTY}
128 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = "time", .help = (h), .callback = parse_opt_approxidate_cb }
130 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), (a), .help = (h), .callback = (f) }
132 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), (a), .help = (h), .callback = (f), .flags = PARSE_OPT_NOARG }
134 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), (a), .help = (h), .callback = (f), .defval = (intptr_t)d, .flags = PARSE_OPT_LASTARG_DEFAULT }
136 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l),\
140 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), \
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-parport.h37 /* type 0: Philips adapter */
44 /* type 1: home brew teletext adapter */
50 /* type 2: Velleman K8000 adapter */
56 /* type 3: ELV adapter */
63 /* type 4: ADM1032 evaluation board */
71 /* type 5: ADM1025, ADM1030 and ADM1031 evaluation boards */
77 /* type 6: Barco LPT->DVI (K5800236) adapter */
85 /* type 7: One For All JP1 parallel port adapter */
94 static int type = -1; variable
95 module_param(type, int, 0);
96 MODULE_PARM_DESC(type,
H A Di2c-scmi.c103 mt_params[3].type = ACPI_TYPE_INTEGER; acpi_smbus_cmi_access()
105 mt_params[4].type = ACPI_TYPE_INTEGER; acpi_smbus_cmi_access()
113 mt_params[3].type = ACPI_TYPE_INTEGER; acpi_smbus_cmi_access()
115 mt_params[4].type = ACPI_TYPE_INTEGER; acpi_smbus_cmi_access()
125 mt_params[3].type = ACPI_TYPE_INTEGER; acpi_smbus_cmi_access()
127 mt_params[4].type = ACPI_TYPE_INTEGER; acpi_smbus_cmi_access()
135 mt_params[3].type = ACPI_TYPE_INTEGER; acpi_smbus_cmi_access()
137 mt_params[4].type = ACPI_TYPE_INTEGER; acpi_smbus_cmi_access()
148 mt_params[3].type = ACPI_TYPE_INTEGER; acpi_smbus_cmi_access()
150 mt_params[4].type = ACPI_TYPE_BUFFER; acpi_smbus_cmi_access()
171 mt_params[0].type = ACPI_TYPE_INTEGER; acpi_smbus_cmi_access()
173 mt_params[1].type = ACPI_TYPE_INTEGER; acpi_smbus_cmi_access()
175 mt_params[2].type = ACPI_TYPE_INTEGER; acpi_smbus_cmi_access()
186 if (pkg && pkg->type == ACPI_TYPE_PACKAGE) acpi_smbus_cmi_access()
189 ACPI_ERROR((AE_INFO, "Invalid argument type")); acpi_smbus_cmi_access()
193 if (obj == NULL || obj->type != ACPI_TYPE_INTEGER) { acpi_smbus_cmi_access()
194 ACPI_ERROR((AE_INFO, "Invalid argument type")); acpi_smbus_cmi_access()
225 if (obj->type != ACPI_TYPE_INTEGER) { acpi_smbus_cmi_access()
226 ACPI_ERROR((AE_INFO, "Invalid argument type")); acpi_smbus_cmi_access()
237 if (obj->type != ACPI_TYPE_INTEGER) { acpi_smbus_cmi_access()
238 ACPI_ERROR((AE_INFO, "Invalid argument type")); acpi_smbus_cmi_access()
248 if (obj->type != ACPI_TYPE_BUFFER) { acpi_smbus_cmi_access()
249 ACPI_ERROR((AE_INFO, "Invalid argument type")); acpi_smbus_cmi_access()
313 if (obj && obj->type == ACPI_TYPE_PACKAGE) acpi_smbus_cmi_add_cap()
316 ACPI_ERROR((AE_INFO, "Invalid argument type")); acpi_smbus_cmi_add_cap()
321 if (obj->type != ACPI_TYPE_INTEGER) { acpi_smbus_cmi_add_cap()
322 ACPI_ERROR((AE_INFO, "Invalid argument type")); acpi_smbus_cmi_add_cap()
/linux-4.1.27/drivers/media/tuners/
H A Dtuner-xc2028.c80 unsigned int type; member in struct:firmware_description
88 unsigned int type; member in struct:firmware_properties
179 static void dump_firm_type_and_int_freq(unsigned int type, u16 int_freq) dump_firm_type_and_int_freq() argument
181 if (type & BASE) dump_firm_type_and_int_freq()
183 if (type & INIT1) dump_firm_type_and_int_freq()
185 if (type & F8MHZ) dump_firm_type_and_int_freq()
187 if (type & MTS) dump_firm_type_and_int_freq()
189 if (type & D2620) dump_firm_type_and_int_freq()
191 if (type & D2633) dump_firm_type_and_int_freq()
193 if (type & DTV6) dump_firm_type_and_int_freq()
195 if (type & QAM) dump_firm_type_and_int_freq()
197 if (type & DTV7) dump_firm_type_and_int_freq()
199 if (type & DTV78) dump_firm_type_and_int_freq()
201 if (type & DTV8) dump_firm_type_and_int_freq()
203 if (type & FM) dump_firm_type_and_int_freq()
205 if (type & INPUT1) dump_firm_type_and_int_freq()
207 if (type & LCD) dump_firm_type_and_int_freq()
209 if (type & NOGD) dump_firm_type_and_int_freq()
211 if (type & MONO) dump_firm_type_and_int_freq()
213 if (type & ATSC) dump_firm_type_and_int_freq()
215 if (type & IF) dump_firm_type_and_int_freq()
217 if (type & LG60) dump_firm_type_and_int_freq()
219 if (type & ATI638) dump_firm_type_and_int_freq()
221 if (type & OREN538) dump_firm_type_and_int_freq()
223 if (type & OREN36) dump_firm_type_and_int_freq()
225 if (type & TOYOTA388) dump_firm_type_and_int_freq()
227 if (type & TOYOTA794) dump_firm_type_and_int_freq()
229 if (type & DIBCOM52) dump_firm_type_and_int_freq()
231 if (type & ZARLINK456) dump_firm_type_and_int_freq()
233 if (type & CHINA) dump_firm_type_and_int_freq()
235 if (type & F6MHZ) dump_firm_type_and_int_freq()
237 if (type & INPUT2) dump_firm_type_and_int_freq()
239 if (type & SCODE) dump_firm_type_and_int_freq()
241 if (type & HAS_IF) dump_firm_type_and_int_freq()
329 tuner_info("Loading %d firmware images from %s, type: %s, ver %d.%d\n", load_all_firmwares()
343 __u32 type, size; load_all_firmwares() local
355 if (endp - p < sizeof(type) + sizeof(id) + sizeof(size)) load_all_firmwares()
358 type = get_unaligned_le32(p); load_all_firmwares()
359 p += sizeof(type); load_all_firmwares()
364 if (type & HAS_IF) { load_all_firmwares()
375 tuner_err("Firmware type "); load_all_firmwares()
376 dump_firm_type(type); load_all_firmwares()
379 type, (unsigned long long)id, load_all_firmwares()
390 tuner_dbg("Reading firmware type "); load_all_firmwares()
392 dump_firm_type_and_int_freq(type, int_freq); load_all_firmwares()
394 type, (unsigned long long)id, size); load_all_firmwares()
398 priv->firm[n].type = type; load_all_firmwares()
432 static int seek_firmware(struct dvb_frontend *fe, unsigned int type, seek_firmware() argument
439 tuner_dbg("%s called, want type=", __func__); seek_firmware()
441 dump_firm_type(type); seek_firmware()
442 printk("(%x), id %016llx.\n", type, (unsigned long long)*id); seek_firmware()
450 if (((type & ~SCODE) == 0) && (*id == 0)) seek_firmware()
453 if (type & BASE) seek_firmware()
455 else if (type & SCODE) { seek_firmware()
456 type &= SCODE_TYPES; seek_firmware()
458 } else if (type & DTV_TYPES) seek_firmware()
460 else if (type & STD_SPECIFIC_TYPES) seek_firmware()
463 type &= type_mask; seek_firmware()
465 if (!(type & SCODE)) seek_firmware()
470 if ((type == (priv->firm[i].type & type_mask)) && seek_firmware()
480 if (type != (priv->firm[i].type & type_mask)) seek_firmware()
499 "type=", best_nr_matches); seek_firmware()
500 dump_firm_type(type); seek_firmware()
501 printk("(%x), id %016llx:\n", type, (unsigned long long)*id); seek_firmware()
506 /*FIXME: Would make sense to seek for type "hint" match ? */ seek_firmware()
515 tuner_dbg("%s firmware for type=", (i < 0) ? "Can't find" : "Found"); seek_firmware()
517 dump_firm_type(type); seek_firmware()
518 printk("(%x), id %016llx.\n", type, (unsigned long long)*id); seek_firmware()
540 static int load_firmware(struct dvb_frontend *fe, unsigned int type, load_firmware() argument
552 pos = seek_firmware(fe, type, id); load_firmware()
556 tuner_info("Loading firmware for type="); load_firmware()
557 dump_firm_type(priv->firm[pos].type); load_firmware()
558 printk("(%x), id %016llx.\n", priv->firm[pos].type, load_firmware()
651 static int load_scode(struct dvb_frontend *fe, unsigned int type, load_scode() argument
661 pos = seek_firmware(fe, type, id); load_scode()
667 (priv->firm[pos].type & HAS_IF)) load_scode()
676 if (priv->firm[pos].type & HAS_IF) { load_scode()
689 tuner_info("Loading SCODE for type="); load_scode()
690 dump_firm_type_and_int_freq(priv->firm[pos].type, load_scode()
692 printk("(%x), id %016llx.\n", priv->firm[pos].type, load_scode()
715 static int check_firmware(struct dvb_frontend *fe, unsigned int type, check_firmware() argument
730 if (priv->ctrl.mts && !(type & FM)) check_firmware()
731 type |= MTS; check_firmware()
734 new_fw.type = type; check_firmware()
741 tuner_dbg("checking firmware, user requested type="); check_firmware()
743 dump_firm_type(new_fw.type); check_firmware()
744 printk("(%x), id %016llx, ", new_fw.type, check_firmware()
760 (((BASE | new_fw.type) & BASE_TYPES) == check_firmware()
761 (priv->cur_fw.type & BASE_TYPES))) { check_firmware()
776 rc = load_firmware(fe, BASE | new_fw.type, &std0); check_firmware()
786 rc = load_firmware(fe, BASE | INIT1 | new_fw.type, &std0); check_firmware()
788 rc = load_firmware(fe, (BASE | INIT1 | new_fw.type) & ~F8MHZ, check_firmware()
801 if (priv->cur_fw.type == (BASE | new_fw.type) && check_firmware()
810 rc = load_firmware(fe, new_fw.type, &new_fw.id); check_firmware()
812 rc = load_firmware(fe, new_fw.type & ~F8MHZ, &new_fw.id); check_firmware()
824 if (new_fw.type & FM) check_firmware()
830 rc = load_scode(fe, new_fw.type | new_fw.scode_table, &new_fw.id, check_firmware()
876 * By setting BASE in cur_fw.type only after successfully loading all check_firmware()
878 * 1. Identify that BASE firmware with type=0 has been loaded; check_firmware()
881 priv->cur_fw.type |= BASE; check_firmware()
1012 unsigned int type, generic_set_freq()
1027 if (check_firmware(fe, type, std, int_freq) < 0) generic_set_freq()
1073 if (priv->cur_fw.type & DTV6) generic_set_freq()
1101 if (priv->cur_fw.type & DTV7) generic_set_freq()
1104 if (priv->cur_fw.type & DTV7) generic_set_freq()
1106 else if (type != ATSC) /* DVB @6MHz, DTV 8 and DTV 7/8 */ generic_set_freq()
1112 tuner_err("Unsupported tuner type %d.\n", new_type); generic_set_freq()
1163 unsigned int type=0; xc2028_set_analog_freq() local
1168 type |= FM; xc2028_set_analog_freq()
1170 type |= INPUT1; xc2028_set_analog_freq()
1172 V4L2_TUNER_RADIO, type, 0, 0); xc2028_set_analog_freq()
1181 type |= F8MHZ; xc2028_set_analog_freq()
1187 V4L2_TUNER_ANALOG_TV, type, p->std, 0); xc2028_set_analog_freq()
1197 unsigned int type = 0; xc2028_set_params() local
1215 type |= QAM; xc2028_set_params()
1217 switch (priv->ctrl.type) { xc2028_set_params()
1219 type |= D2633; xc2028_set_params()
1222 type |= D2620; xc2028_set_params()
1228 type |= D2633; xc2028_set_params()
1230 type |= D2620; xc2028_set_params()
1235 type |= ATSC | D2633; xc2028_set_params()
1243 type |= DTV6; xc2028_set_params()
1251 type |= (priv->ctrl.vhfbw7 && priv->ctrl.uhfbw8) ? DTV78 : DTV7; xc2028_set_params()
1252 type |= F8MHZ; xc2028_set_params()
1258 type |= (priv->ctrl.vhfbw7 && priv->ctrl.uhfbw8) ? DTV78 : DTV8; xc2028_set_params()
1259 type |= F8MHZ; xc2028_set_params()
1269 if (type == ATSC || priv->firm_version < 0x0302) xc2028_set_params()
1285 V4L2_TUNER_DIGITAL_TV, type, 0, demod); xc2028_set_params()
1509 tuner_info("type set to %s\n", "XCeive xc2028/xc3028 tuner"); xc2028_attach()
1010 generic_set_freq(struct dvb_frontend *fe, u32 freq , enum v4l2_tuner_type new_type, unsigned int type, v4l2_std_id std, u16 int_freq) generic_set_freq() argument
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/
H A Dmm.c38 node->offset, node->length, node->type); nvkm_mm_dump()
43 node->offset, node->length, node->type); nvkm_mm_dump()
56 if (prev && prev->type == NVKM_MM_TYPE_NONE) { nvkm_mm_free()
62 if (next && next->type == NVKM_MM_TYPE_NONE) { nvkm_mm_free()
65 if (this->type == NVKM_MM_TYPE_NONE) nvkm_mm_free()
71 if (this && this->type != NVKM_MM_TYPE_NONE) { nvkm_mm_free()
78 this->type = NVKM_MM_TYPE_NONE; nvkm_mm_free()
100 b->type = a->type; region_head()
104 if (b->type == NVKM_MM_TYPE_NONE) region_head()
111 nvkm_mm_head(struct nvkm_mm *mm, u8 heap, u8 type, u32 size_max, u32 size_min, nvkm_mm_head() argument
119 BUG_ON(type == NVKM_MM_TYPE_NONE || type == NVKM_MM_TYPE_HOLE); nvkm_mm_head()
130 if (prev && prev->type != type) nvkm_mm_head()
134 if (next && next->type != type) nvkm_mm_head()
150 this->type = type; nvkm_mm_head()
175 b->type = a->type; region_tail()
178 if (b->type == NVKM_MM_TYPE_NONE) region_tail()
185 nvkm_mm_tail(struct nvkm_mm *mm, u8 heap, u8 type, u32 size_max, u32 size_min, nvkm_mm_tail() argument
191 BUG_ON(type == NVKM_MM_TYPE_NONE || type == NVKM_MM_TYPE_HOLE); nvkm_mm_tail()
203 if (prev && prev->type != type) nvkm_mm_tail()
207 if (next && next->type != type) { nvkm_mm_tail()
228 this->type = type; nvkm_mm_tail()
250 node->type = NVKM_MM_TYPE_HOLE; nvkm_mm_init()
289 if (node->type != NVKM_MM_TYPE_HOLE) { nvkm_mm_fini()
/linux-4.1.27/fs/ocfs2/
H A Dsysfile.c43 int type,
50 static inline int is_global_system_inode(int type) is_global_system_inode() argument
52 return type >= OCFS2_FIRST_ONLINE_SYSTEM_INODE && is_global_system_inode()
53 type <= OCFS2_LAST_GLOBAL_SYSTEM_INODE; is_global_system_inode()
57 int type, get_local_system_inode()
64 BUG_ON(type < OCFS2_FIRST_LOCAL_SYSTEM_INODE || get_local_system_inode()
65 type > OCFS2_LAST_LOCAL_SYSTEM_INODE); get_local_system_inode()
98 (type - OCFS2_FIRST_LOCAL_SYSTEM_INODE); get_local_system_inode()
104 int type, ocfs2_get_system_file_inode()
111 if (is_global_system_inode(type)) { ocfs2_get_system_file_inode()
112 arr = &(osb->global_system_inodes[type]); ocfs2_get_system_file_inode()
114 arr = get_local_system_inode(osb, type, slot); ocfs2_get_system_file_inode()
127 inode = _ocfs2_get_system_file_inode(osb, type, slot); ocfs2_get_system_file_inode()
139 int type, _ocfs2_get_system_file_inode()
149 type, slot); _ocfs2_get_system_file_inode()
157 inode = ocfs2_iget(osb, blkno, OCFS2_FI_FLAG_SYSFILE, type); _ocfs2_get_system_file_inode()
164 if (type == LOCAL_USER_QUOTA_SYSTEM_INODE || _ocfs2_get_system_file_inode()
165 type == LOCAL_GROUP_QUOTA_SYSTEM_INODE || _ocfs2_get_system_file_inode()
166 type == JOURNAL_SYSTEM_INODE) { _ocfs2_get_system_file_inode()
174 ocfs2_system_inodes[type].si_name, _ocfs2_get_system_file_inode()
175 &ocfs2_sysfile_cluster_lock_key[type], 0); _ocfs2_get_system_file_inode()
56 get_local_system_inode(struct ocfs2_super *osb, int type, u32 slot) get_local_system_inode() argument
103 ocfs2_get_system_file_inode(struct ocfs2_super *osb, int type, u32 slot) ocfs2_get_system_file_inode() argument
138 _ocfs2_get_system_file_inode(struct ocfs2_super *osb, int type, u32 slot) _ocfs2_get_system_file_inode() argument
H A Dquota_local.c161 static int ocfs2_local_check_quota_file(struct super_block *sb, int type) ocfs2_local_check_quota_file() argument
170 struct inode *linode = sb_dqopt(sb)->files[type]; ocfs2_local_check_quota_file()
179 mlog(ML_ERROR, "failed to read quota file header (type=%d)\n", ocfs2_local_check_quota_file()
180 type); ocfs2_local_check_quota_file()
184 if (le32_to_cpu(dqhead->dqh_magic) != lmagics[type]) { ocfs2_local_check_quota_file()
186 " type=%d\n", le32_to_cpu(dqhead->dqh_magic), ocfs2_local_check_quota_file()
187 lmagics[type], type); ocfs2_local_check_quota_file()
190 if (le32_to_cpu(dqhead->dqh_version) != lversions[type]) { ocfs2_local_check_quota_file()
192 " type=%d\n", le32_to_cpu(dqhead->dqh_version), ocfs2_local_check_quota_file()
193 lversions[type], type); ocfs2_local_check_quota_file()
200 ginode = ocfs2_get_system_file_inode(OCFS2_SB(sb), ino[type], ocfs2_local_check_quota_file()
204 "(type=%d)\n", type); ocfs2_local_check_quota_file()
212 "(type=%d)\n", type); ocfs2_local_check_quota_file()
216 if (le32_to_cpu(dqhead->dqh_magic) != gmagics[type]) { ocfs2_local_check_quota_file()
218 "(%u != %u), type=%d\n", ocfs2_local_check_quota_file()
219 le32_to_cpu(dqhead->dqh_magic), gmagics[type], type); ocfs2_local_check_quota_file()
222 if (le32_to_cpu(dqhead->dqh_version) != gversions[type]) { ocfs2_local_check_quota_file()
224 "(%u != %u), type=%d\n", ocfs2_local_check_quota_file()
225 le32_to_cpu(dqhead->dqh_version), gversions[type], ocfs2_local_check_quota_file()
226 type); ocfs2_local_check_quota_file()
331 int type; ocfs2_free_quota_recovery() local
333 for (type = 0; type < OCFS2_MAXQUOTAS; type++) ocfs2_free_quota_recovery()
334 free_recovery_list(&(rec->r_list[type])); ocfs2_free_quota_recovery()
341 int type, ocfs2_recovery_load_quota()
373 int type; ocfs2_alloc_quota_recovery() local
379 for (type = 0; type < OCFS2_MAXQUOTAS; type++) ocfs2_alloc_quota_recovery()
380 INIT_LIST_HEAD(&(rec->r_list[type])); ocfs2_alloc_quota_recovery()
398 int type; ocfs2_begin_quota_recovery() local
410 for (type = 0; type < OCFS2_MAXQUOTAS; type++) { ocfs2_begin_quota_recovery()
411 if (!OCFS2_HAS_RO_COMPAT_FEATURE(sb, feature[type])) ocfs2_begin_quota_recovery()
415 lqinode = ocfs2_get_system_file_inode(osb, ino[type], slot_num); ocfs2_begin_quota_recovery()
432 "(slot=%d type=%d)\n", slot_num, type); ocfs2_begin_quota_recovery()
437 status = ocfs2_recovery_load_quota(lqinode, ldinfo, type, ocfs2_begin_quota_recovery()
438 &rec->r_list[type]); ocfs2_begin_quota_recovery()
460 int type, ocfs2_recover_local_quota_file()
464 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; ocfs2_recover_local_quota_file()
475 trace_ocfs2_recover_local_quota_file((unsigned long)lqinode->i_ino, type); ocfs2_recover_local_quota_file()
477 list_for_each_entry_safe(rchunk, next, &(rec->r_list[type]), rc_list) { ocfs2_recover_local_quota_file()
500 make_kqid(&init_user_ns, type, ocfs2_recover_local_quota_file()
505 "for id %u, type %d. Cannot finish quota " ocfs2_recover_local_quota_file()
508 type); ocfs2_recover_local_quota_file()
576 free_recovery_list(&(rec->r_list[type])); ocfs2_recover_local_quota_file()
593 int type; ocfs2_finish_quota_recovery() local
602 for (type = 0; type < OCFS2_MAXQUOTAS; type++) { ocfs2_finish_quota_recovery()
603 if (list_empty(&(rec->r_list[type]))) ocfs2_finish_quota_recovery()
606 lqinode = ocfs2_get_system_file_inode(osb, ino[type], slot_num); ocfs2_finish_quota_recovery()
631 "(slot=%d type=%d)\n", slot_num, type); ocfs2_finish_quota_recovery()
640 type, ocfs2_finish_quota_recovery()
684 static int ocfs2_local_read_info(struct super_block *sb, int type) ocfs2_local_read_info() argument
687 struct mem_dqinfo *info = sb_dqinfo(sb, type); ocfs2_local_read_info()
689 struct inode *lqinode = sb_dqopt(sb)->files[type]; ocfs2_local_read_info()
707 oinfo->dqi_type = type; ocfs2_local_read_info()
713 status = ocfs2_global_read_info(sb, type); ocfs2_local_read_info()
729 "(type=%d)\n", type); ocfs2_local_read_info()
752 status = ocfs2_recovery_load_quota(lqinode, ldinfo, type, ocfs2_local_read_info()
753 &rec->r_list[type]); ocfs2_local_read_info()
795 static int ocfs2_local_write_info(struct super_block *sb, int type) ocfs2_local_write_info() argument
797 struct mem_dqinfo *info = sb_dqinfo(sb, type); ocfs2_local_write_info()
802 status = ocfs2_modify_bh(sb_dqopt(sb)->files[type], bh, olq_update_info, ocfs2_local_write_info()
813 static int ocfs2_local_free_info(struct super_block *sb, int type) ocfs2_local_free_info() argument
815 struct mem_dqinfo *info = sb_dqinfo(sb, type); ocfs2_local_free_info()
838 "entries (type=%d)\n", type); ocfs2_local_free_info()
855 status = ocfs2_modify_bh(sb_dqopt(sb)->files[type], ocfs2_local_free_info()
865 ocfs2_inode_unlock(sb_dqopt(sb)->files[type], 1); ocfs2_local_free_info()
901 struct inode *lqinode = sb_dqopt(sb)->files[dquot->dq_id.type]; ocfs2_local_write_dquot()
922 int type, ocfs2_find_free_entry()
925 struct mem_dqinfo *info = sb_dqinfo(sb, type); ocfs2_find_free_entry()
954 " entries free (type=%d)\n", chunk->qc_num, ocfs2_find_free_entry()
955 le32_to_cpu(dchunk->dqc_free), type); ocfs2_find_free_entry()
965 int type, ocfs2_local_quota_add_chunk()
968 struct mem_dqinfo *info = sb_dqinfo(sb, type); ocfs2_local_quota_add_chunk()
970 struct inode *lqinode = sb_dqopt(sb)->files[type]; ocfs2_local_quota_add_chunk()
1066 status = ocfs2_local_write_info(sb, type); ocfs2_local_quota_add_chunk()
1096 int type, ocfs2_extend_local_quota_file()
1099 struct mem_dqinfo *info = sb_dqinfo(sb, type); ocfs2_extend_local_quota_file()
1102 struct inode *lqinode = sb_dqopt(sb)->files[type]; ocfs2_extend_local_quota_file()
1112 return ocfs2_local_quota_add_chunk(sb, type, offset); ocfs2_extend_local_quota_file()
1119 return ocfs2_local_quota_add_chunk(sb, type, offset); ocfs2_extend_local_quota_file()
1189 status = ocfs2_local_write_info(sb, type); ocfs2_extend_local_quota_file()
1222 int type = dquot->dq_id.type; ocfs2_create_local_dquot() local
1223 struct inode *lqinode = sb_dqopt(sb)->files[type]; ocfs2_create_local_dquot()
1231 chunk = ocfs2_find_free_entry(sb, type, &offset); ocfs2_create_local_dquot()
1233 chunk = ocfs2_extend_local_quota_file(sb, type, &offset); ocfs2_create_local_dquot()
1276 int type = dquot->dq_id.type; ocfs2_local_release_dquot() local
1283 INODE_CACHE(sb_dqopt(sb)->files[type]), ocfs2_local_release_dquot()
339 ocfs2_recovery_load_quota(struct inode *lqinode, struct ocfs2_local_disk_dqinfo *ldinfo, int type, struct list_head *head) ocfs2_recovery_load_quota() argument
459 ocfs2_recover_local_quota_file(struct inode *lqinode, int type, struct ocfs2_quota_recovery *rec) ocfs2_recover_local_quota_file() argument
921 ocfs2_find_free_entry(struct super_block *sb, int type, int *offset) ocfs2_find_free_entry() argument
963 ocfs2_local_quota_add_chunk( struct super_block *sb, int type, int *offset) ocfs2_local_quota_add_chunk() argument
1094 ocfs2_extend_local_quota_file( struct super_block *sb, int type, int *offset) ocfs2_extend_local_quota_file() argument
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
H A Drs.h167 enum iwl_table_type type; member in struct:rs_rate
177 #define is_type_legacy(type) (((type) == LQ_LEGACY_G) || \
178 ((type) == LQ_LEGACY_A))
179 #define is_type_ht_siso(type) ((type) == LQ_HT_SISO)
180 #define is_type_ht_mimo2(type) ((type) == LQ_HT_MIMO2)
181 #define is_type_vht_siso(type) ((type) == LQ_VHT_SISO)
182 #define is_type_vht_mimo2(type) ((type) == LQ_VHT_MIMO2)
183 #define is_type_siso(type) (is_type_ht_siso(type) || is_type_vht_siso(type))
184 #define is_type_mimo2(type) (is_type_ht_mimo2(type) || is_type_vht_mimo2(type))
185 #define is_type_mimo(type) (is_type_mimo2(type))
186 #define is_type_ht(type) (is_type_ht_siso(type) || is_type_ht_mimo2(type))
187 #define is_type_vht(type) (is_type_vht_siso(type) || is_type_vht_mimo2(type))
188 #define is_type_a_band(type) ((type) == LQ_LEGACY_A)
189 #define is_type_g_band(type) ((type) == LQ_LEGACY_G)
191 #define is_legacy(rate) is_type_legacy((rate)->type)
192 #define is_ht_siso(rate) is_type_ht_siso((rate)->type)
193 #define is_ht_mimo2(rate) is_type_ht_mimo2((rate)->type)
194 #define is_vht_siso(rate) is_type_vht_siso((rate)->type)
195 #define is_vht_mimo2(rate) is_type_vht_mimo2((rate)->type)
196 #define is_siso(rate) is_type_siso((rate)->type)
197 #define is_mimo2(rate) is_type_mimo2((rate)->type)
198 #define is_mimo(rate) is_type_mimo((rate)->type)
199 #define is_ht(rate) is_type_ht((rate)->type)
200 #define is_vht(rate) is_type_vht((rate)->type)
201 #define is_a_band(rate) is_type_a_band((rate)->type)
202 #define is_g_band(rate) is_type_g_band((rate)->type)
/linux-4.1.27/arch/x86/kernel/cpu/
H A Dperf_event_intel_uncore.h16 #define UNCORE_PCI_DEV_DATA(type, idx) ((type << 8) | idx)
80 struct intel_uncore_type *type; member in struct:intel_uncore_pmu
142 return box->pmu->type->box_ctl; uncore_pci_box_ctl()
147 return box->pmu->type->fixed_ctl; uncore_pci_fixed_ctl()
152 return box->pmu->type->fixed_ctr; uncore_pci_fixed_ctr()
158 return idx * 4 + box->pmu->type->event_ctl; uncore_pci_event_ctl()
164 return idx * 8 + box->pmu->type->perf_ctr; uncore_pci_perf_ctr()
170 return pmu->type->msr_offsets ? uncore_msr_box_offset()
171 pmu->type->msr_offsets[pmu->pmu_idx] : uncore_msr_box_offset()
172 pmu->type->msr_offset * pmu->pmu_idx; uncore_msr_box_offset()
177 if (!box->pmu->type->box_ctl) uncore_msr_box_ctl()
179 return box->pmu->type->box_ctl + uncore_msr_box_offset(box); uncore_msr_box_ctl()
184 if (!box->pmu->type->fixed_ctl) uncore_msr_fixed_ctl()
186 return box->pmu->type->fixed_ctl + uncore_msr_box_offset(box); uncore_msr_fixed_ctl()
191 return box->pmu->type->fixed_ctr + uncore_msr_box_offset(box); uncore_msr_fixed_ctr()
197 return box->pmu->type->event_ctl + uncore_msr_event_ctl()
198 (box->pmu->type->pair_ctr_ctl ? 2 * idx : idx) + uncore_msr_event_ctl()
205 return box->pmu->type->perf_ctr + uncore_msr_perf_ctr()
206 (box->pmu->type->pair_ctr_ctl ? 2 * idx : idx) + uncore_msr_perf_ctr()
248 return box->pmu->type->perf_ctr_bits; uncore_perf_ctr_bits()
253 return box->pmu->type->fixed_ctr_bits; uncore_fixed_ctr_bits()
258 return box->pmu->type->num_counters; uncore_num_counters()
263 if (box->pmu->type->ops->disable_box) uncore_disable_box()
264 box->pmu->type->ops->disable_box(box); uncore_disable_box()
269 if (box->pmu->type->ops->enable_box) uncore_enable_box()
270 box->pmu->type->ops->enable_box(box); uncore_enable_box()
276 box->pmu->type->ops->disable_event(box, event); uncore_disable_event()
282 box->pmu->type->ops->enable_event(box, event); uncore_enable_event()
288 return box->pmu->type->ops->read_counter(box, event); uncore_read_counter()
294 if (box->pmu->type->ops->init_box) uncore_box_init()
295 box->pmu->type->ops->init_box(box); uncore_box_init()
/linux-4.1.27/arch/s390/include/uapi/asm/
H A Dqeth.h43 struct qeth_arp_entrytype type; member in struct:qeth_arp_qi_entry7
50 struct qeth_arp_entrytype type; member in struct:qeth_arp_qi_entry7_ipv6
56 struct qeth_arp_entrytype type; member in struct:qeth_arp_qi_entry7_short
62 struct qeth_arp_entrytype type; member in struct:qeth_arp_qi_entry7_short_ipv6
69 struct qeth_arp_entrytype type; member in struct:qeth_arp_qi_entry5
75 struct qeth_arp_entrytype type; member in struct:qeth_arp_qi_entry5_ipv6
80 struct qeth_arp_entrytype type; member in struct:qeth_arp_qi_entry5_short
85 struct qeth_arp_entrytype type; member in struct:qeth_arp_qi_entry5_short_ipv6
/linux-4.1.27/sound/hda/
H A Dlocal.h11 /* get the widget type from widget capability bits */ get_wcaps_type()
15 return -1; /* invalid type */ get_wcaps_type()
/linux-4.1.27/include/linux/iio/common/
H A Dssp_sensors.h28 * enum ssp_sensor_type - SSP sensor type
60 * @type: Used sensor type.
66 enum ssp_sensor_type type; member in struct:ssp_sensor_data
71 enum ssp_sensor_type type);
73 int ssp_enable_sensor(struct ssp_data *data, enum ssp_sensor_type type,
76 int ssp_disable_sensor(struct ssp_data *data, enum ssp_sensor_type type);
80 int ssp_change_delay(struct ssp_data *data, enum ssp_sensor_type type,
/linux-4.1.27/fs/quota/
H A Dquota.c21 static int check_quotactl_permission(struct super_block *sb, int type, int cmd, check_quotactl_permission() argument
36 if ((type == USRQUOTA && uid_eq(current_euid(), make_kuid(current_user_ns(), id))) || check_quotactl_permission()
37 (type == GRPQUOTA && in_egroup_p(make_kgid(current_user_ns(), id)))) check_quotactl_permission()
45 return security_quotactl(cmd, type, id, sb); check_quotactl_permission()
50 int type = *(int *)arg; quota_sync_one() local
53 (sb->s_quota_types & (1 << type))) quota_sync_one()
54 sb->s_qcop->quota_sync(sb, type); quota_sync_one()
57 static int quota_sync_all(int type) quota_sync_all() argument
61 if (type >= MAXQUOTAS) quota_sync_all()
63 ret = security_quotactl(Q_SYNC, type, 0, NULL); quota_sync_all()
65 iterate_supers(quota_sync_one, &type); quota_sync_all()
69 unsigned int qtype_enforce_flag(int type) qtype_enforce_flag() argument
71 switch (type) { qtype_enforce_flag()
82 static int quota_quotaon(struct super_block *sb, int type, int cmd, qid_t id, quota_quotaon() argument
88 return sb->s_qcop->quota_enable(sb, qtype_enforce_flag(type)); quota_quotaon()
91 return sb->s_qcop->quota_on(sb, type, id, path); quota_quotaon()
94 static int quota_quotaoff(struct super_block *sb, int type) quota_quotaoff() argument
99 return sb->s_qcop->quota_disable(sb, qtype_enforce_flag(type)); quota_quotaoff()
100 return sb->s_qcop->quota_off(sb, type); quota_quotaoff()
103 static int quota_getfmt(struct super_block *sb, int type, void __user *addr) quota_getfmt() argument
108 if (!sb_has_quota_active(sb, type)) { quota_getfmt()
112 fmt = sb_dqopt(sb)->info[type].dqi_format->qf_fmt_id; quota_getfmt()
119 static int quota_getinfo(struct super_block *sb, int type, void __user *addr) quota_getinfo() argument
133 tstate = state.s_state + type; quota_getinfo()
149 static int quota_setinfo(struct super_block *sb, int type, void __user *addr) quota_setinfo() argument
176 return sb->s_qcop->set_info(sb, type, &qinfo); quota_setinfo()
203 static int quota_getquota(struct super_block *sb, int type, qid_t id, quota_getquota() argument
213 qid = make_kqid(current_user_ns(), type, id); quota_getquota()
251 static int quota_setquota(struct super_block *sb, int type, qid_t id, quota_setquota() argument
262 qid = make_kqid(current_user_ns(), type, id); quota_setquota()
312 int type; quota_getstate() local
329 * report them for the first enabled quota type quota_getstate()
331 for (type = 0; type < XQM_MAXQUOTAS; type++) quota_getstate()
332 if (state.s_state[type].flags & QCI_ACCT_ENABLED) quota_getstate()
334 BUG_ON(type == XQM_MAXQUOTAS); quota_getstate()
335 fqs->qs_btimelimit = state.s_state[type].spc_timelimit; quota_getstate()
336 fqs->qs_itimelimit = state.s_state[type].ino_timelimit; quota_getstate()
337 fqs->qs_rtbtimelimit = state.s_state[type].rt_spc_timelimit; quota_getstate()
338 fqs->qs_bwarnlimit = state.s_state[type].spc_warnlimit; quota_getstate()
339 fqs->qs_iwarnlimit = state.s_state[type].ino_warnlimit; quota_getstate()
382 int type; quota_getstatev() local
399 * report them for the first enabled quota type quota_getstatev()
401 for (type = 0; type < XQM_MAXQUOTAS; type++) quota_getstatev()
402 if (state.s_state[type].flags & QCI_ACCT_ENABLED) quota_getstatev()
404 BUG_ON(type == XQM_MAXQUOTAS); quota_getstatev()
405 fqs->qs_btimelimit = state.s_state[type].spc_timelimit; quota_getstatev()
406 fqs->qs_itimelimit = state.s_state[type].ino_timelimit; quota_getstatev()
407 fqs->qs_rtbtimelimit = state.s_state[type].rt_spc_timelimit; quota_getstatev()
408 fqs->qs_bwarnlimit = state.s_state[type].spc_warnlimit; quota_getstatev()
409 fqs->qs_iwarnlimit = state.s_state[type].ino_warnlimit; quota_getstatev()
544 static int quota_setxquota(struct super_block *sb, int type, qid_t id, quota_setxquota() argument
555 qid = make_kqid(current_user_ns(), type, id); quota_setxquota()
567 ret = sb->s_qcop->set_info(sb, type, &qinfo); quota_setxquota()
578 int type, qid_t id) copy_to_xfs_dqblk()
583 if (type == USRQUOTA) copy_to_xfs_dqblk()
585 else if (type == PRJQUOTA) copy_to_xfs_dqblk()
606 static int quota_getxquota(struct super_block *sb, int type, qid_t id, quota_getxquota() argument
616 qid = make_kqid(current_user_ns(), type, id); quota_getxquota()
622 copy_to_xfs_dqblk(&fdq, &qdq, type, id); quota_getxquota()
640 static int do_quotactl(struct super_block *sb, int type, int cmd, qid_t id, do_quotactl() argument
645 if (type >= (XQM_COMMAND(cmd) ? XQM_MAXQUOTAS : MAXQUOTAS)) do_quotactl()
653 if (!(sb->s_quota_types & (1 << type))) do_quotactl()
656 ret = check_quotactl_permission(sb, type, cmd, id); do_quotactl()
662 return quota_quotaon(sb, type, cmd, id, path); do_quotactl()
664 return quota_quotaoff(sb, type); do_quotactl()
666 return quota_getfmt(sb, type, addr); do_quotactl()
668 return quota_getinfo(sb, type, addr); do_quotactl()
670 return quota_setinfo(sb, type, addr); do_quotactl()
672 return quota_getquota(sb, type, id, addr); do_quotactl()
674 return quota_setquota(sb, type, id, addr); do_quotactl()
678 return sb->s_qcop->quota_sync(sb, type); do_quotactl()
690 return quota_setxquota(sb, type, id, addr); do_quotactl()
692 return quota_getxquota(sb, type, id, addr); do_quotactl()
763 uint cmds, type; SYSCALL_DEFINE4() local
769 type = cmd & SUBCMDMASK; SYSCALL_DEFINE4()
778 return quota_sync_all(type); SYSCALL_DEFINE4()
801 ret = do_quotactl(sb, type, cmds, id, addr, pathp); SYSCALL_DEFINE4()
577 copy_to_xfs_dqblk(struct fs_disk_quota *dst, struct qc_dqblk *src, int type, qid_t id) copy_to_xfs_dqblk() argument
H A Dquota_v1.c57 int type = dquot->dq_id.type; v1_read_dqblk() local
60 if (!sb_dqopt(dquot->dq_sb)->files[type]) v1_read_dqblk()
65 dquot->dq_sb->s_op->quota_read(dquot->dq_sb, type, (char *)&dqblk, v1_read_dqblk()
82 short type = dquot->dq_id.type; v1_commit_dqblk() local
87 if (((type == USRQUOTA) && uid_eq(dquot->dq_id.uid, GLOBAL_ROOT_UID)) || v1_commit_dqblk()
88 ((type == GRPQUOTA) && gid_eq(dquot->dq_id.gid, GLOBAL_ROOT_GID))) { v1_commit_dqblk()
90 sb_dqopt(dquot->dq_sb)->info[type].dqi_bgrace; v1_commit_dqblk()
92 sb_dqopt(dquot->dq_sb)->info[type].dqi_igrace; v1_commit_dqblk()
95 if (sb_dqopt(dquot->dq_sb)->files[type]) v1_commit_dqblk()
96 ret = dquot->dq_sb->s_op->quota_write(dquot->dq_sb, type, v1_commit_dqblk()
125 static int v1_check_quota_file(struct super_block *sb, int type) v1_check_quota_file() argument
127 struct inode *inode = sb_dqopt(sb)->files[type]; v1_check_quota_file()
145 size = sb->s_op->quota_read(sb, type, (char *)&dqhead, v1_check_quota_file()
149 if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type]) v1_check_quota_file()
157 static int v1_read_file_info(struct super_block *sb, int type) v1_read_file_info() argument
163 ret = sb->s_op->quota_read(sb, type, (char *)&dqblk, v1_read_file_info()
172 dqopt->info[type].dqi_max_spc_limit = 0xffffffffULL << QUOTABLOCK_BITS; v1_read_file_info()
173 dqopt->info[type].dqi_max_ino_limit = 0xffffffff; v1_read_file_info()
174 dqopt->info[type].dqi_igrace = v1_read_file_info()
176 dqopt->info[type].dqi_bgrace = v1_read_file_info()
182 static int v1_write_file_info(struct super_block *sb, int type) v1_write_file_info() argument
188 dqopt->info[type].dqi_flags &= ~DQF_INFO_DIRTY; v1_write_file_info()
189 ret = sb->s_op->quota_read(sb, type, (char *)&dqblk, v1_write_file_info()
196 dqblk.dqb_itime = dqopt->info[type].dqi_igrace; v1_write_file_info()
197 dqblk.dqb_btime = dqopt->info[type].dqi_bgrace; v1_write_file_info()
198 ret = sb->s_op->quota_write(sb, type, (char *)&dqblk, v1_write_file_info()
H A Dkqid.c14 if (left.type != right.type) qid_eq()
16 switch(left.type) { qid_eq()
38 if (left.type < right.type) qid_lt()
40 if (left.type > right.type) qid_lt()
42 switch (left.type) { qid_lt()
69 switch (kqid.type) { from_kqid()
97 * If @kqid has no mapping in @targ the kqid.type specific
102 switch (kqid.type) { from_kqid_munged()
121 switch (qid.type) { qid_valid()
H A Dquota_v2.c58 static int v2_read_header(struct super_block *sb, int type, v2_read_header() argument
63 size = sb->s_op->quota_read(sb, type, (char *)dqhead, v2_read_header()
74 static int v2_check_quota_file(struct super_block *sb, int type) v2_check_quota_file() argument
80 if (!v2_read_header(sb, type, &dqhead)) v2_check_quota_file()
82 if (le32_to_cpu(dqhead.dqh_magic) != quota_magics[type] || v2_check_quota_file()
83 le32_to_cpu(dqhead.dqh_version) > quota_versions[type]) v2_check_quota_file()
89 static int v2_read_file_info(struct super_block *sb, int type) v2_read_file_info() argument
93 struct mem_dqinfo *info = sb_dqinfo(sb, type); v2_read_file_info()
98 if (!v2_read_header(sb, type, &dqhead)) v2_read_file_info()
105 size = sb->s_op->quota_read(sb, type, (char *)&dinfo, v2_read_file_info()
136 qinfo->dqi_type = type; v2_read_file_info()
154 static int v2_write_file_info(struct super_block *sb, int type) v2_write_file_info() argument
157 struct mem_dqinfo *info = sb_dqinfo(sb, type); v2_write_file_info()
171 size = sb->s_op->quota_write(sb, type, (char *)&dinfo, v2_write_file_info()
205 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; v2r0_mem2diskdqb()
224 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; v2r0_is_id()
228 return qid_eq(make_kqid(&init_user_ns, dquot->dq_id.type, v2r0_is_id()
258 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; v2r1_mem2diskdqb()
277 sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv; v2r1_is_id()
281 return qid_eq(make_kqid(&init_user_ns, dquot->dq_id.type, v2r1_is_id()
288 return qtree_read_dquot(sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv, dquot); v2_read_dquot()
293 return qtree_write_dquot(sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv, dquot); v2_write_dquot()
298 return qtree_release_dquot(sb_dqinfo(dquot->dq_sb, dquot->dq_id.type)->dqi_priv, dquot); v2_release_dquot()
301 static int v2_free_file_info(struct super_block *sb, int type) v2_free_file_info() argument
303 kfree(sb_dqinfo(sb, type)->dqi_priv); v2_free_file_info()
/linux-4.1.27/arch/mips/fw/arc/
H A Dmemory.c66 static inline int memtype_classify_arcs(union linux_memtypes type) memtype_classify_arcs() argument
68 switch (type.arcs) { memtype_classify_arcs()
86 static inline int memtype_classify_arc(union linux_memtypes type) memtype_classify_arc() argument
88 switch (type.arc) { memtype_classify_arc()
106 static int __init prom_memtype_classify(union linux_memtypes type) prom_memtype_classify() argument
109 return memtype_classify_arcs(type); prom_memtype_classify()
111 return memtype_classify_arc(type); prom_memtype_classify()
124 printk("[%d,%p]: base<%08lx> pages<%08lx> type<%s>\n", prom_meminit()
125 i, p, p->base, p->pages, mtypes(p->type)); prom_meminit()
134 long type; prom_meminit() local
138 type = prom_memtype_classify(p->type); prom_meminit()
140 add_memory_region(base, size, type); prom_meminit()
153 if (boot_mem_map.map[i].type != BOOT_MEM_ROM_DATA) prom_free_prom_memory()
/linux-4.1.27/arch/arm/mach-imx/
H A Dmach-pcm037_eet.c69 .type = EV_KEY,
75 .type = EV_KEY,
81 .type = EV_KEY,
87 .type = EV_KEY,
93 .type = EV_KEY,
99 .type = EV_KEY,
105 .type = EV_KEY,
111 .type = EV_KEY,
117 .type = EV_KEY,
123 .type = EV_KEY,
129 .type = EV_KEY,
135 .type = EV_KEY,
141 .type = EV_KEY,
147 .type = EV_KEY,
/linux-4.1.27/arch/powerpc/platforms/powernv/
H A Dopal-power.c26 uint64_t type; opal_power_control_event() local
28 type = be64_to_cpu(power_msg->params[0]); opal_power_control_event()
30 switch (type) { opal_power_control_event()
40 pr_err("OPAL: power control type unexpected %016llx\n", type); opal_power_control_event()
/linux-4.1.27/arch/s390/mm/
H A Dmem_detect.c32 int type; detect_memory_memblock() local
45 type = tprot(addr); detect_memory_memblock()
50 } while (type == tprot(addr + size)); detect_memory_memblock()
51 if (type == CHUNK_READ_WRITE || type == CHUNK_READ_ONLY) { detect_memory_memblock()
/linux-4.1.27/arch/cris/include/arch-v32/mach-a3/mach/hwregs/asm/
H A Dtimer_defs_asm.h53 /* Register rw_tmr0_div, scope timer, type rw */
56 /* Register r_tmr0_data, scope timer, type r */
59 /* Register rw_tmr0_ctrl, scope timer, type rw */
66 /* Register rw_tmr1_div, scope timer, type rw */
69 /* Register r_tmr1_data, scope timer, type r */
72 /* Register rw_tmr1_ctrl, scope timer, type rw */
79 /* Register rs_cnt_data, scope timer, type rs */
86 /* Register r_cnt_data, scope timer, type r */
93 /* Register rw_cnt_cfg, scope timer, type rw */
98 /* Register rw_trig, scope timer, type rw */
101 /* Register rw_trig_cfg, scope timer, type rw */
106 /* Register r_time, scope timer, type r */
109 /* Register rw_out, scope timer, type rw */
114 /* Register rw_wd_ctrl, scope timer, type rw */
124 /* Register r_wd_stat, scope timer, type r */
132 /* Register rw_intr_mask, scope timer, type rw */
147 /* Register rw_ack_intr, scope timer, type rw */
162 /* Register r_intr, scope timer, type r */
177 /* Register r_masked_intr, scope timer, type r */
192 /* Register rw_test, scope timer, type rw */
H A Dpio_defs_asm.h53 /* Register rw_data, scope pio, type rw */
56 /* Register rw_io_access0, scope pio, type rw */
61 /* Register rw_io_access1, scope pio, type rw */
66 /* Register rw_io_access2, scope pio, type rw */
71 /* Register rw_io_access3, scope pio, type rw */
76 /* Register rw_io_access4, scope pio, type rw */
81 /* Register rw_io_access5, scope pio, type rw */
86 /* Register rw_io_access6, scope pio, type rw */
91 /* Register rw_io_access7, scope pio, type rw */
96 /* Register rw_io_access8, scope pio, type rw */
101 /* Register rw_io_access9, scope pio, type rw */
106 /* Register rw_io_access10, scope pio, type rw */
111 /* Register rw_io_access11, scope pio, type rw */
116 /* Register rw_io_access12, scope pio, type rw */
121 /* Register rw_io_access13, scope pio, type rw */
126 /* Register rw_io_access14, scope pio, type rw */
131 /* Register rw_io_access15, scope pio, type rw */
136 /* Register rw_ce0_cfg, scope pio, type rw */
149 /* Register rw_ce1_cfg, scope pio, type rw */
162 /* Register rw_ce2_cfg, scope pio, type rw */
175 /* Register rw_dout, scope pio, type rw */
204 /* Register rw_oe, scope pio, type rw */
233 /* Register rw_man_ctrl, scope pio, type rw */
262 /* Register r_din, scope pio, type r */
291 /* Register r_stat, scope pio, type r */
297 /* Register rw_intr_mask, scope pio, type rw */
303 /* Register rw_ack_intr, scope pio, type rw */
309 /* Register r_intr, scope pio, type r */
315 /* Register r_masked_intr, scope pio, type r */
/linux-4.1.27/arch/cris/include/arch-v32/mach-fs/mach/hwregs/asm/
H A Dtimer_defs_asm.h56 /* Register rw_tmr0_div, scope timer, type rw */
59 /* Register r_tmr0_data, scope timer, type r */
62 /* Register rw_tmr0_ctrl, scope timer, type rw */
69 /* Register rw_tmr1_div, scope timer, type rw */
72 /* Register r_tmr1_data, scope timer, type r */
75 /* Register rw_tmr1_ctrl, scope timer, type rw */
82 /* Register rs_cnt_data, scope timer, type rs */
89 /* Register r_cnt_data, scope timer, type r */
96 /* Register rw_cnt_cfg, scope timer, type rw */
101 /* Register rw_trig, scope timer, type rw */
104 /* Register rw_trig_cfg, scope timer, type rw */
109 /* Register r_time, scope timer, type r */
112 /* Register rw_out, scope timer, type rw */
117 /* Register rw_wd_ctrl, scope timer, type rw */
127 /* Register r_wd_stat, scope timer, type r */
135 /* Register rw_intr_mask, scope timer, type rw */
150 /* Register rw_ack_intr, scope timer, type rw */
165 /* Register r_intr, scope timer, type r */
180 /* Register r_masked_intr, scope timer, type r */
195 /* Register rw_test, scope timer, type rw */
/linux-4.1.27/tools/lib/api/fs/
H A Dfindfs.c10 /* verify that a mountpoint is actually the type we want */
31 char type[100]; find_mountpoint() local
53 while (fscanf(fp, format, mountpoint, type) == 2) { find_mountpoint()
54 if (strcmp(type, fstype) == 0) find_mountpoint()
59 if (strcmp(type, fstype) != 0) find_mountpoint()
/linux-4.1.27/arch/cris/include/arch-v32/mach-a3/mach/hwregs/
H A Dpio_defs.h63 #define REG_TYPE_CONV( type, orgtype, val ) \
64 ( { union { orgtype o; type n; } r; r.o = val; r.n; } )
84 /* Register rw_data, scope pio, type rw */
89 /* Register rw_io_access0, scope pio, type rw */
97 /* Register rw_io_access1, scope pio, type rw */
105 /* Register rw_io_access2, scope pio, type rw */
113 /* Register rw_io_access3, scope pio, type rw */
121 /* Register rw_io_access4, scope pio, type rw */
129 /* Register rw_io_access5, scope pio, type rw */
137 /* Register rw_io_access6, scope pio, type rw */
145 /* Register rw_io_access7, scope pio, type rw */
153 /* Register rw_io_access8, scope pio, type rw */
161 /* Register rw_io_access9, scope pio, type rw */
169 /* Register rw_io_access10, scope pio, type rw */
177 /* Register rw_io_access11, scope pio, type rw */
185 /* Register rw_io_access12, scope pio, type rw */
193 /* Register rw_io_access13, scope pio, type rw */
201 /* Register rw_io_access14, scope pio, type rw */
209 /* Register rw_io_access15, scope pio, type rw */
217 /* Register rw_ce0_cfg, scope pio, type rw */
229 /* Register rw_ce1_cfg, scope pio, type rw */
241 /* Register rw_ce2_cfg, scope pio, type rw */
253 /* Register rw_dout, scope pio, type rw */
269 /* Register rw_oe, scope pio, type rw */
285 /* Register rw_man_ctrl, scope pio, type rw */
301 /* Register r_din, scope pio, type r */
316 /* Register r_stat, scope pio, type r */
323 /* Register rw_intr_mask, scope pio, type rw */
331 /* Register rw_ack_intr, scope pio, type rw */
339 /* Register r_intr, scope pio, type r */
346 /* Register r_masked_intr, scope pio, type r */
H A Dgio_defs.h63 #define REG_TYPE_CONV( type, orgtype, val ) \
64 ( { union { orgtype o; type n; } r; r.o = val; r.n; } )
84 /* Register r_pa_din, scope gio, type r */
90 /* Register rw_pa_dout, scope gio, type rw */
97 /* Register rw_pa_oe, scope gio, type rw */
104 /* Register rw_pa_byte0_dout, scope gio, type rw */
112 /* Register rw_pa_byte0_oe, scope gio, type rw */
120 /* Register rw_pa_byte1_dout, scope gio, type rw */
128 /* Register rw_pa_byte1_oe, scope gio, type rw */
136 /* Register rw_pa_byte2_dout, scope gio, type rw */
144 /* Register rw_pa_byte2_oe, scope gio, type rw */
152 /* Register rw_pa_byte3_dout, scope gio, type rw */
160 /* Register rw_pa_byte3_oe, scope gio, type rw */
168 /* Register r_pb_din, scope gio, type r */
174 /* Register rw_pb_dout, scope gio, type rw */
181 /* Register rw_pb_oe, scope gio, type rw */
188 /* Register rw_pb_byte0_dout, scope gio, type rw */
196 /* Register rw_pb_byte0_oe, scope gio, type rw */
204 /* Register rw_pb_byte1_dout, scope gio, type rw */
212 /* Register rw_pb_byte1_oe, scope gio, type rw */
220 /* Register rw_pb_byte2_dout, scope gio, type rw */
228 /* Register rw_pb_byte2_oe, scope gio, type rw */
236 /* Register rw_pb_byte3_dout, scope gio, type rw */
244 /* Register rw_pb_byte3_oe, scope gio, type rw */
252 /* Register r_pc_din, scope gio, type r */
259 /* Register rw_pc_dout, scope gio, type rw */
267 /* Register rw_pc_oe, scope gio, type rw */
275 /* Register rw_pc_byte0_dout, scope gio, type rw */
283 /* Register rw_pc_byte0_oe, scope gio, type rw */
291 /* Register rw_pc_byte1_dout, scope gio, type rw */
299 /* Register rw_pc_byte1_oe, scope gio, type rw */
307 /* Register r_pd_din, scope gio, type r */
313 /* Register rw_intr_cfg, scope gio, type rw */
328 /* Register rw_intr_pins, scope gio, type rw */
342 /* Register rw_intr_mask, scope gio, type rw */
359 /* Register rw_ack_intr, scope gio, type rw */
376 /* Register r_intr, scope gio, type r */
392 /* Register r_masked_intr, scope gio, type r */
408 /* Register rw_i2c0_start, scope gio, type rw */
416 /* Register rw_i2c0_cfg, scope gio, type rw */
429 /* Register rw_i2c0_ctrl, scope gio, type rw */
450 /* Register rw_i2c0_data, scope gio, type rw */
460 /* Register rw_i2c0_data2, scope gio, type rw */
471 /* Register rw_i2c1_start, scope gio, type rw */
479 /* Register rw_i2c1_cfg, scope gio, type rw */
502 /* Register rw_i2c1_ctrl, scope gio, type rw */
523 /* Register rw_i2c1_data, scope gio, type rw */
533 /* Register rw_i2c1_data2, scope gio, type rw */
544 /* Register r_ppwm_stat, scope gio, type r */
551 /* Register rw_ppwm_data, scope gio, type rw */
559 /* Register rw_pwm0_ctrl, scope gio, type rw */
569 /* Register rw_pwm0_var, scope gio, type rw */
578 /* Register rw_pwm0_data, scope gio, type rw */
586 /* Register rw_pwm1_ctrl, scope gio, type rw */
596 /* Register rw_pwm1_var, scope gio, type rw */
605 /* Register rw_pwm1_data, scope gio, type rw */
613 /* Register rw_pwm2_ctrl, scope gio, type rw */
623 /* Register rw_pwm2_var, scope gio, type rw */
632 /* Register rw_pwm2_data, scope gio, type rw */
640 /* Register rw_pwm_in_cfg, scope gio, type rw */
648 /* Register r_pwm_in_lo, scope gio, type r */
654 /* Register r_pwm_in_hi, scope gio, type r */
660 /* Register r_pwm_in_cnt, scope gio, type r */
H A Dmarb_bar_defs.h63 #define REG_TYPE_CONV( type, orgtype, val ) \
64 ( { union { orgtype o; type n; } r; r.o = val; r.n; } )
85 /* Register rw_ddr2_slots, scope marb_bar, type rw */
93 /* Register rw_h264_rd_burst, scope marb_bar, type rw */
101 /* Register rw_h264_wr_burst, scope marb_bar, type rw */
109 /* Register rw_ccd_burst, scope marb_bar, type rw */
117 /* Register rw_vin_wr_burst, scope marb_bar, type rw */
125 /* Register rw_vin_rd_burst, scope marb_bar, type rw */
133 /* Register rw_sclr_rd_burst, scope marb_bar, type rw */
141 /* Register rw_vout_burst, scope marb_bar, type rw */
149 /* Register rw_sclr_fifo_burst, scope marb_bar, type rw */
157 /* Register rw_l2cache_burst, scope marb_bar, type rw */
165 /* Register rw_intr_mask, scope marb_bar, type rw */
176 /* Register rw_ack_intr, scope marb_bar, type rw */
187 /* Register r_intr, scope marb_bar, type r */
197 /* Register r_masked_intr, scope marb_bar, type r */
207 /* Register rw_stop_mask, scope marb_bar, type rw */
223 /* Register r_stopped, scope marb_bar, type r */
238 /* Register rw_no_snoop, scope marb_bar, type rw */
347 #define REG_TYPE_CONV( type, orgtype, val ) \
348 ( { union { orgtype o; type n; } r; r.o = val; r.n; } )
368 /* Register rw_first_addr, scope marb_bar_bp, type rw */
373 /* Register rw_last_addr, scope marb_bar_bp, type rw */
378 /* Register rw_op, scope marb_bar_bp, type rw */
393 /* Register rw_clients, scope marb_bar_bp, type rw */
409 /* Register rw_options, scope marb_bar_bp, type rw */
417 /* Register r_brk_addr, scope marb_bar_bp, type r */
421 /* Register r_brk_op, scope marb_bar_bp, type r */
435 /* Register r_brk_clients, scope marb_bar_bp, type r */
450 /* Register r_brk_first_client, scope marb_bar_bp, type r */
465 /* Register r_brk_size, scope marb_bar_bp, type r */
469 /* Register rw_ack, scope marb_bar_bp, type rw */
/linux-4.1.27/drivers/media/pci/saa7164/
H A Dsaa7164-cards.c65 .type = SAA7164_UNIT_EEPROM,
72 .type = SAA7164_UNIT_TUNER,
79 .type = SAA7164_UNIT_TUNER,
86 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
93 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
111 .type = SAA7164_UNIT_EEPROM,
118 .type = SAA7164_UNIT_TUNER,
125 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
132 .type = SAA7164_UNIT_TUNER,
139 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
157 .type = SAA7164_UNIT_EEPROM,
164 .type = SAA7164_UNIT_TUNER,
171 .type = SAA7164_UNIT_ANALOG_DEMODULATOR,
178 .type = SAA7164_UNIT_TUNER,
185 .type = SAA7164_UNIT_ANALOG_DEMODULATOR,
192 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
199 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
217 .type = SAA7164_UNIT_EEPROM,
224 .type = SAA7164_UNIT_TUNER,
231 .type = SAA7164_UNIT_ANALOG_DEMODULATOR,
238 .type = SAA7164_UNIT_TUNER,
245 .type = SAA7164_UNIT_ANALOG_DEMODULATOR,
252 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
259 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
277 .type = SAA7164_UNIT_EEPROM,
284 .type = SAA7164_UNIT_TUNER,
291 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
298 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
305 .type = SAA7164_UNIT_TUNER,
312 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
319 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
337 .type = SAA7164_UNIT_EEPROM,
344 .type = SAA7164_UNIT_TUNER,
351 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
358 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
365 .type = SAA7164_UNIT_TUNER,
372 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
379 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
397 .type = SAA7164_UNIT_EEPROM,
404 .type = SAA7164_UNIT_TUNER,
411 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
418 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
425 .type = SAA7164_UNIT_TUNER,
432 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
439 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
453 .type = SAA7164_UNIT_EEPROM,
460 .type = SAA7164_UNIT_TUNER,
467 .type = SAA7164_UNIT_ANALOG_DEMODULATOR,
474 .type = SAA7164_UNIT_TUNER,
481 .type = SAA7164_UNIT_ANALOG_DEMODULATOR,
488 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
495 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
709 if (unit->type == SAA7164_UNIT_UNDEFINED) saa7164_i2caddr_to_unitid()
736 if (unit->type == SAA7164_UNIT_UNDEFINED) saa7164_i2caddr_to_reglen()
764 if (unit->type == SAA7164_UNIT_UNDEFINED) saa7164_unitid_name()
/linux-4.1.27/drivers/infiniband/hw/usnic/
H A Dusnic_ib_qp_grp.h76 {.type = USNIC_VNIC_RES_TYPE_EOL, .cnt = 0,},
81 {.type = USNIC_VNIC_RES_TYPE_WQ, .cnt = 1,},
82 {.type = USNIC_VNIC_RES_TYPE_RQ, .cnt = 1,},
83 {.type = USNIC_VNIC_RES_TYPE_CQ, .cnt = 1,},
84 {.type = USNIC_VNIC_RES_TYPE_EOL, .cnt = 0,},
89 {.type = USNIC_VNIC_RES_TYPE_WQ, .cnt = 1,},
90 {.type = USNIC_VNIC_RES_TYPE_RQ, .cnt = 1,},
91 {.type = USNIC_VNIC_RES_TYPE_CQ, .cnt = 1,},
92 {.type = USNIC_VNIC_RES_TYPE_EOL, .cnt = 0,},
111 enum usnic_vnic_res_type type);
/linux-4.1.27/arch/x86/kernel/cpu/mtrr/
H A Dcentaur.c58 unsigned long *size, mtrr_type * type) centaur_get_mcr()
62 *type = MTRR_TYPE_WRCOMB; /* write-combining */ centaur_get_mcr()
65 *type = MTRR_TYPE_UNCACHABLE; centaur_get_mcr()
67 *type = MTRR_TYPE_WRBACK; centaur_get_mcr()
69 *type = MTRR_TYPE_WRBACK; centaur_get_mcr()
74 unsigned long size, mtrr_type type) centaur_set_mcr()
87 if (type == MTRR_TYPE_UNCACHABLE) centaur_set_mcr()
99 centaur_validate_add_page(unsigned long base, unsigned long size, unsigned int type) centaur_validate_add_page() argument
104 if (type != MTRR_TYPE_WRCOMB && centaur_validate_add_page()
105 (centaur_mcr_type == 0 || type != MTRR_TYPE_UNCACHABLE)) { centaur_validate_add_page()
57 centaur_get_mcr(unsigned int reg, unsigned long *base, unsigned long *size, mtrr_type * type) centaur_get_mcr() argument
73 centaur_set_mcr(unsigned int reg, unsigned long base, unsigned long size, mtrr_type type) centaur_set_mcr() argument
H A Damd.c10 unsigned long *size, mtrr_type *type) amd_get_mtrr()
20 *type = 0; amd_get_mtrr()
22 *type = MTRR_TYPE_UNCACHABLE; amd_get_mtrr()
24 *type = MTRR_TYPE_WRCOMB; amd_get_mtrr()
54 * @type The type of the region.
59 amd_set_mtrr(unsigned int reg, unsigned long base, unsigned long size, mtrr_type type) amd_set_mtrr() argument
74 * Set the register to the base, the type (off by one) and an amd_set_mtrr()
83 | (base << PAGE_SHIFT) | (type + 1); amd_set_mtrr()
95 amd_validate_add_page(unsigned long base, unsigned long size, unsigned int type) amd_validate_add_page() argument
105 if (type > MTRR_TYPE_WRCOMB || size < (1 << (17 - PAGE_SHIFT)) amd_validate_add_page()
9 amd_get_mtrr(unsigned int reg, unsigned long *base, unsigned long *size, mtrr_type *type) amd_get_mtrr() argument
/linux-4.1.27/Documentation/video4linux/
H A Dextract_xc3028.pl163 # Firmware 0, type: BASE FW F8MHZ (0x00000003), id: (0000000000000000), size: 6635
172 # Firmware 1, type: BASE FW F8MHZ MTS (0x00000007), id: (0000000000000000), size: 6635
181 # Firmware 2, type: BASE FW FM (0x00000401), id: (0000000000000000), size: 6525
190 # Firmware 3, type: BASE FW FM INPUT1 (0x00000c01), id: (0000000000000000), size: 6539
199 # Firmware 4, type: BASE FW (0x00000001), id: (0000000000000000), size: 6633
208 # Firmware 5, type: BASE FW MTS (0x00000005), id: (0000000000000000), size: 6617
217 # Firmware 6, type: STD FW (0x00000000), id: PAL/BG A2/A (0000000100000007), size: 161
226 # Firmware 7, type: STD FW MTS (0x00000004), id: PAL/BG A2/A (0000000100000007), size: 169
235 # Firmware 8, type: STD FW (0x00000000), id: PAL/BG A2/B (0000000200000007), size: 161
244 # Firmware 9, type: STD FW MTS (0x00000004), id: PAL/BG A2/B (0000000200000007), size: 169
253 # Firmware 10, type: STD FW (0x00000000), id: PAL/BG NICAM/A (0000000400000007), size: 161
262 # Firmware 11, type: STD FW MTS (0x00000004), id: PAL/BG NICAM/A (0000000400000007), size: 169
271 # Firmware 12, type: STD FW (0x00000000), id: PAL/BG NICAM/B (0000000800000007), size: 161
280 # Firmware 13, type: STD FW MTS (0x00000004), id: PAL/BG NICAM/B (0000000800000007), size: 169
289 # Firmware 14, type: STD FW (0x00000000), id: PAL/DK A2 (00000003000000e0), size: 161
298 # Firmware 15, type: STD FW MTS (0x00000004), id: PAL/DK A2 (00000003000000e0), size: 169
307 # Firmware 16, type: STD FW (0x00000000), id: PAL/DK NICAM (0000000c000000e0), size: 161
316 # Firmware 17, type: STD FW MTS (0x00000004), id: PAL/DK NICAM (0000000c000000e0), size: 169
325 # Firmware 18, type: STD FW (0x00000000), id: SECAM/K1 (0000000000200000), size: 161
334 # Firmware 19, type: STD FW MTS (0x00000004), id: SECAM/K1 (0000000000200000), size: 169
343 # Firmware 20, type: STD FW (0x00000000), id: SECAM/K3 (0000000004000000), size: 161
352 # Firmware 21, type: STD FW MTS (0x00000004), id: SECAM/K3 (0000000004000000), size: 169
361 # Firmware 22, type: STD FW D2633 DTV6 ATSC (0x00010030), id: (0000000000000000), size: 149
370 # Firmware 23, type: STD FW D2620 DTV6 QAM (0x00000068), id: (0000000000000000), size: 149
379 # Firmware 24, type: STD FW D2633 DTV6 QAM (0x00000070), id: (0000000000000000), size: 149
388 # Firmware 25, type: STD FW D2620 DTV7 (0x00000088), id: (0000000000000000), size: 149
397 # Firmware 26, type: STD FW D2633 DTV7 (0x00000090), id: (0000000000000000), size: 149
406 # Firmware 27, type: STD FW D2620 DTV78 (0x00000108), id: (0000000000000000), size: 149
415 # Firmware 28, type: STD FW D2633 DTV78 (0x00000110), id: (0000000000000000), size: 149
424 # Firmware 29, type: STD FW D2620 DTV8 (0x00000208), id: (0000000000000000), size: 149
433 # Firmware 30, type: STD FW D2633 DTV8 (0x00000210), id: (0000000000000000), size: 149
442 # Firmware 31, type: STD FW FM (0x00000400), id: (0000000000000000), size: 135
451 # Firmware 32, type: STD FW (0x00000000), id: PAL/I (0000000000000010), size: 161
460 # Firmware 33, type: STD FW MTS (0x00000004), id: PAL/I (0000000000000010), size: 169
469 # Firmware 34, type: STD FW (0x00000000), id: SECAM/L AM (0000001000400000), size: 169
473 # Firmware 35, type: STD FW (0x00000000), id: SECAM/L NICAM (0000000c00400000), size: 161
482 # Firmware 36, type: STD FW (0x00000000), id: SECAM/Lc (0000000000800000), size: 161
491 # Firmware 37, type: STD FW (0x00000000), id: NTSC/M Kr (0000000000008000), size: 161
500 # Firmware 38, type: STD FW LCD (0x00001000), id: NTSC/M Kr (0000000000008000), size: 161
509 # Firmware 39, type: STD FW LCD NOGD (0x00003000), id: NTSC/M Kr (0000000000008000), size: 161
518 # Firmware 40, type: STD FW MTS (0x00000004), id: NTSC/M Kr (0000000000008000), size: 169
527 # Firmware 41, type: STD FW (0x00000000), id: NTSC PAL/M PAL/N (000000000000b700), size: 161
536 # Firmware 42, type: STD FW LCD (0x00001000), id: NTSC PAL/M PAL/N (000000000000b700), size: 161
545 # Firmware 43, type: STD FW LCD NOGD (0x00003000), id: NTSC PAL/M PAL/N (000000000000b700), size: 161
554 # Firmware 44, type: STD FW (0x00000000), id: NTSC/M Jp (0000000000002000), size: 161
563 # Firmware 45, type: STD FW MTS (0x00000004), id: NTSC PAL/M PAL/N (000000000000b700), size: 169
572 # Firmware 46, type: STD FW MTS LCD (0x00001004), id: NTSC PAL/M PAL/N (000000000000b700), size: 169
581 # Firmware 47, type: STD FW MTS LCD NOGD (0x00003004), id: NTSC PAL/M PAL/N (000000000000b700), size: 169
590 # Firmware 48, type: SCODE FW HAS IF (0x60000000), IF = 3.28 MHz id: (0000000000000000), size: 192
600 # Firmware 49, type: SCODE FW HAS IF (0x60000000), IF = 3.30 MHz id: (0000000000000000), size: 192
610 # Firmware 50, type: SCODE FW HAS IF (0x60000000), IF = 3.44 MHz id: (0000000000000000), size: 192
620 # Firmware 51, type: SCODE FW HAS IF (0x60000000), IF = 3.46 MHz id: (0000000000000000), size: 192
630 # Firmware 52, type: SCODE FW DTV6 ATSC OREN36 HAS IF (0x60210020), IF = 3.80 MHz id: (0000000000000000), size: 192
640 # Firmware 53, type: SCODE FW HAS IF (0x60000000), IF = 4.00 MHz id: (0000000000000000), size: 192
650 # Firmware 54, type: SCODE FW DTV6 ATSC TOYOTA388 HAS IF (0x60410020), IF = 4.08 MHz id: (0000000000000000), size: 192
660 # Firmware 55, type: SCODE FW HAS IF (0x60000000), IF = 4.20 MHz id: (0000000000000000), size: 192
670 # Firmware 56, type: SCODE FW MONO HAS IF (0x60008000), IF = 4.32 MHz id: NTSC/M Kr (0000000000008000), size: 192
680 # Firmware 57, type: SCODE FW HAS IF (0x60000000), IF = 4.45 MHz id: (0000000000000000), size: 192
690 # Firmware 58, type: SCODE FW MTS LCD NOGD MONO IF HAS IF (0x6002b004), IF = 4.50 MHz id: NTSC PAL/M PAL/N (000000000000b700), size: 192
700 # Firmware 59, type: SCODE FW LCD NOGD IF HAS IF (0x60023000), IF = 4.60 MHz id: NTSC/M Kr (0000000000008000), size: 192
710 # Firmware 60, type: SCODE FW DTV6 QAM DTV7 DTV78 DTV8 ZARLINK456 HAS IF (0x620003e0), IF = 4.76 MHz id: (0000000000000000), size: 192
720 # Firmware 61, type: SCODE FW HAS IF (0x60000000), IF = 4.94 MHz id: (0000000000000000), size: 192
730 # Firmware 62, type: SCODE FW HAS IF (0x60000000), IF = 5.26 MHz id: (0000000000000000), size: 192
740 # Firmware 63, type: SCODE FW MONO HAS IF (0x60008000), IF = 5.32 MHz id: PAL/BG A2 NICAM (0000000f00000007), size: 192
750 # Firmware 64, type: SCODE FW DTV7 DTV78 DTV8 DIBCOM52 CHINA HAS IF (0x65000380), IF = 5.40 MHz id: (0000000000000000), size: 192
760 # Firmware 65, type: SCODE FW DTV6 ATSC OREN538 HAS IF (0x60110020), IF = 5.58 MHz id: (0000000000000000), size: 192
770 # Firmware 66, type: SCODE FW HAS IF (0x60000000), IF = 5.64 MHz id: PAL/BG A2 (0000000300000007), size: 192
780 # Firmware 67, type: SCODE FW HAS IF (0x60000000), IF = 5.74 MHz id: PAL/BG NICAM (0000000c00000007), size: 192
790 # Firmware 68, type: SCODE FW HAS IF (0x60000000), IF = 5.90 MHz id: (0000000000000000), size: 192
800 # Firmware 69, type: SCODE FW MONO HAS IF (0x60008000), IF = 6.00 MHz id: PAL/DK PAL/I SECAM/K3 SECAM/L SECAM/Lc NICAM (0000000c04c000f0), size: 192
810 # Firmware 70, type: SCODE FW DTV6 QAM ATSC LG60 F6MHZ HAS IF (0x68050060), IF = 6.20 MHz id: (0000000000000000), size: 192
820 # Firmware 71, type: SCODE FW HAS IF (0x60000000), IF = 6.24 MHz id: PAL/I (0000000000000010), size: 192
830 # Firmware 72, type: SCODE FW MONO HAS IF (0x60008000), IF = 6.32 MHz id: SECAM/K1 (0000000000200000), size: 192
840 # Firmware 73, type: SCODE FW HAS IF (0x60000000), IF = 6.34 MHz id: SECAM/K1 (0000000000200000), size: 192
850 # Firmware 74, type: SCODE FW MONO HAS IF (0x60008000), IF = 6.50 MHz id: PAL/DK SECAM/K3 SECAM/L NICAM (0000000c044000e0), size: 192
860 # Firmware 75, type: SCODE FW DTV6 ATSC ATI638 HAS IF (0x60090020), IF = 6.58 MHz id: (0000000000000000), size: 192
870 # Firmware 76, type: SCODE FW HAS IF (0x60000000), IF = 6.60 MHz id: PAL/DK A2 (00000003000000e0), size: 192
880 # Firmware 77, type: SCODE FW MONO HAS IF (0x60008000), IF = 6.68 MHz id: PAL/DK A2 (00000003000000e0), size: 192
890 # Firmware 78, type: SCODE FW DTV6 ATSC TOYOTA794 HAS IF (0x60810020), IF = 8.14 MHz id: (0000000000000000), size: 192
900 # Firmware 79, type: SCODE FW HAS IF (0x60000000), IF = 8.20 MHz id: (0000000000000000), size: 192
929 # Firmware 0, type: BASE FW F8MHZ (0x00000003), id: (0000000000000000), size: 8718
938 # Firmware 1, type: BASE FW F8MHZ MTS (0x00000007), id: (0000000000000000), size: 8712
947 # Firmware 2, type: BASE FW FM (0x00000401), id: (0000000000000000), size: 8562
956 # Firmware 3, type: BASE FW FM INPUT1 (0x00000c01), id: (0000000000000000), size: 8576
965 # Firmware 4, type: BASE FW (0x00000001), id: (0000000000000000), size: 8706
974 # Firmware 5, type: BASE FW MTS (0x00000005), id: (0000000000000000), size: 8682
983 # Firmware 6, type: STD FW (0x00000000), id: PAL/BG A2/A (0000000100000007), size: 161
992 # Firmware 7, type: STD FW MTS (0x00000004), id: PAL/BG A2/A (0000000100000007), size: 169
1001 # Firmware 8, type: STD FW (0x00000000), id: PAL/BG A2/B (0000000200000007), size: 161
1010 # Firmware 9, type: STD FW MTS (0x00000004), id: PAL/BG A2/B (0000000200000007), size: 169
1019 # Firmware 10, type: STD FW (0x00000000), id: PAL/BG NICAM/A (0000000400000007), size: 161
1028 # Firmware 11, type: STD FW MTS (0x00000004), id: PAL/BG NICAM/A (0000000400000007), size: 169
1037 # Firmware 12, type: STD FW (0x00000000), id: PAL/BG NICAM/B (0000000800000007), size: 161
1046 # Firmware 13, type: STD FW MTS (0x00000004), id: PAL/BG NICAM/B (0000000800000007), size: 169
1055 # Firmware 14, type: STD FW (0x00000000), id: PAL/DK A2 (00000003000000e0), size: 161
1064 # Firmware 15, type: STD FW MTS (0x00000004), id: PAL/DK A2 (00000003000000e0), size: 169
1073 # Firmware 16, type: STD FW (0x00000000), id: PAL/DK NICAM (0000000c000000e0), size: 161
1082 # Firmware 17, type: STD FW MTS (0x00000004), id: PAL/DK NICAM (0000000c000000e0), size: 169
1091 # Firmware 18, type: STD FW (0x00000000), id: SECAM/K1 (0000000000200000), size: 161
1100 # Firmware 19, type: STD FW MTS (0x00000004), id: SECAM/K1 (0000000000200000), size: 169
1109 # Firmware 20, type: STD FW (0x00000000), id: SECAM/K3 (0000000004000000), size: 161
1118 # Firmware 21, type: STD FW MTS (0x00000004), id: SECAM/K3 (0000000004000000), size: 169
1127 # Firmware 22, type: STD FW D2633 DTV6 ATSC (0x00010030), id: (0000000000000000), size: 149
1136 # Firmware 23, type: STD FW D2620 DTV6 QAM (0x00000068), id: (0000000000000000), size: 149
1145 # Firmware 24, type: STD FW D2633 DTV6 QAM (0x00000070), id: (0000000000000000), size: 149
1154 # Firmware 25, type: STD FW D2620 DTV7 (0x00000088), id: (0000000000000000), size: 149
1163 # Firmware 26, type: STD FW D2633 DTV7 (0x00000090), id: (0000000000000000), size: 149
1172 # Firmware 27, type: STD FW D2620 DTV78 (0x00000108), id: (0000000000000000), size: 149
1181 # Firmware 28, type: STD FW D2633 DTV78 (0x00000110), id: (0000000000000000), size: 149
1190 # Firmware 29, type: STD FW D2620 DTV8 (0x00000208), id: (0000000000000000), size: 149
1199 # Firmware 30, type: STD FW D2633 DTV8 (0x00000210), id: (0000000000000000), size: 149
1208 # Firmware 31, type: STD FW FM (0x00000400), id: (0000000000000000), size: 135
1217 # Firmware 32, type: STD FW (0x00000000), id: PAL/I (0000000000000010), size: 161
1226 # Firmware 33, type: STD FW MTS (0x00000004), id: PAL/I (0000000000000010), size: 169
1235 # Firmware 34, type: STD FW (0x00000000), id: SECAM/L AM (0000001000400000), size: 169
1244 # Firmware 35, type: STD FW (0x00000000), id: SECAM/L NICAM (0000000c00400000), size: 161
1253 # Firmware 36, type: STD FW (0x00000000), id: SECAM/Lc (0000000000800000), size: 161
1262 # Firmware 37, type: STD FW (0x00000000), id: NTSC/M Kr (0000000000008000), size: 161
1271 # Firmware 38, type: STD FW LCD (0x00001000), id: NTSC/M Kr (0000000000008000), size: 161
1280 # Firmware 39, type: STD FW LCD NOGD (0x00003000), id: NTSC/M Kr (0000000000008000), size: 161
1289 # Firmware 40, type: STD FW MTS (0x00000004), id: NTSC/M Kr (0000000000008000), size: 169
1298 # Firmware 41, type: STD FW (0x00000000), id: NTSC PAL/M PAL/N (000000000000b700), size: 161
1307 # Firmware 42, type: STD FW LCD (0x00001000), id: NTSC PAL/M PAL/N (000000000000b700), size: 161
1316 # Firmware 43, type: STD FW LCD NOGD (0x00003000), id: NTSC PAL/M PAL/N (000000000000b700), size: 161
1325 # Firmware 44, type: STD FW (0x00000000), id: NTSC/M Jp (0000000000002000), size: 161
1334 # Firmware 45, type: STD FW MTS (0x00000004), id: NTSC PAL/M PAL/N (000000000000b700), size: 169
1343 # Firmware 46, type: STD FW MTS LCD (0x00001004), id: NTSC PAL/M PAL/N (000000000000b700), size: 169
1352 # Firmware 47, type: STD FW MTS LCD NOGD (0x00003004), id: NTSC PAL/M PAL/N (000000000000b700), size: 169
1361 # Firmware 48, type: SCODE FW HAS IF (0x60000000), IF = 3.28 MHz id: (0000000000000000), size: 192
1371 # Firmware 49, type: SCODE FW HAS IF (0x60000000), IF = 3.30 MHz id: (0000000000000000), size: 192
1381 # Firmware 50, type: SCODE FW HAS IF (0x60000000), IF = 3.44 MHz id: (0000000000000000), size: 192
1391 # Firmware 51, type: SCODE FW HAS IF (0x60000000), IF = 3.46 MHz id: (0000000000000000), size: 192
1401 # Firmware 52, type: SCODE FW DTV6 ATSC OREN36 HAS IF (0x60210020), IF = 3.80 MHz id: (0000000000000000), size: 192
1411 # Firmware 53, type: SCODE FW HAS IF (0x60000000), IF = 4.00 MHz id: (0000000000000000), size: 192
1421 # Firmware 54, type: SCODE FW DTV6 ATSC TOYOTA388 HAS IF (0x60410020), IF = 4.08 MHz id: (0000000000000000), size: 192
1431 # Firmware 55, type: SCODE FW HAS IF (0x60000000), IF = 4.20 MHz id: (0000000000000000), size: 192
1441 # Firmware 56, type: SCODE FW MONO HAS IF (0x60008000), IF = 4.32 MHz id: NTSC/M Kr (0000000000008000), size: 192
1451 # Firmware 57, type: SCODE FW HAS IF (0x60000000), IF = 4.45 MHz id: (0000000000000000), size: 192
1461 # Firmware 58, type: SCODE FW MTS LCD NOGD MONO IF HAS IF (0x6002b004), IF = 4.50 MHz id: NTSC PAL/M PAL/N (000000000000b700), size: 192
1471 # Firmware 59, type: SCODE FW LCD NOGD IF HAS IF (0x60023000), IF = 4.60 MHz id: NTSC/M Kr (0000000000008000), size: 192
1481 # Firmware 60, type: SCODE FW DTV6 QAM DTV7 DTV78 DTV8 ZARLINK456 HAS IF (0x620003e0), IF = 4.76 MHz id: (0000000000000000), size: 192
1491 # Firmware 61, type: SCODE FW HAS IF (0x60000000), IF = 4.94 MHz id: (0000000000000000), size: 192
1501 # Firmware 62, type: SCODE FW HAS IF (0x60000000), IF = 5.26 MHz id: (0000000000000000), size: 192
1511 # Firmware 63, type: SCODE FW MONO HAS IF (0x60008000), IF = 5.32 MHz id: PAL/BG A2 NICAM (0000000f00000007), size: 192
1521 # Firmware 64, type: SCODE FW DTV7 DTV78 DTV8 DIBCOM52 CHINA HAS IF (0x65000380), IF = 5.40 MHz id: (0000000000000000), size: 192
1531 # Firmware 65, type: SCODE FW DTV6 ATSC OREN538 HAS IF (0x60110020), IF = 5.58 MHz id: (0000000000000000), size: 192
1541 # Firmware 66, type: SCODE FW HAS IF (0x60000000), IF = 5.64 MHz id: PAL/BG A2 (0000000300000007), size: 192
1551 # Firmware 67, type: SCODE FW HAS IF (0x60000000), IF = 5.74 MHz id: PAL/BG NICAM (0000000c00000007), size: 192
1561 # Firmware 68, type: SCODE FW HAS IF (0x60000000), IF = 5.90 MHz id: (0000000000000000), size: 192
1571 # Firmware 69, type: SCODE FW MONO HAS IF (0x60008000), IF = 6.00 MHz id: PAL/DK PAL/I SECAM/K3 SECAM/L SECAM/Lc NICAM (0000000c04c000f0), size: 192
1581 # Firmware 70, type: SCODE FW DTV6 QAM ATSC LG60 F6MHZ HAS IF (0x68050060), IF = 6.20 MHz id: (0000000000000000), size: 192
1591 # Firmware 71, type: SCODE FW HAS IF (0x60000000), IF = 6.24 MHz id: PAL/I (0000000000000010), size: 192
1601 # Firmware 72, type: SCODE FW MONO HAS IF (0x60008000), IF = 6.32 MHz id: SECAM/K1 (0000000000200000), size: 192
1611 # Firmware 73, type: SCODE FW HAS IF (0x60000000), IF = 6.34 MHz id: SECAM/K1 (0000000000200000), size: 192
1621 # Firmware 74, type: SCODE FW MONO HAS IF (0x60008000), IF = 6.50 MHz id: PAL/DK SECAM/K3 SECAM/L NICAM (0000000c044000e0), size: 192
1631 # Firmware 75, type: SCODE FW DTV6 ATSC ATI638 HAS IF (0x60090020), IF = 6.58 MHz id: (0000000000000000), size: 192
1641 # Firmware 76, type: SCODE FW HAS IF (0x60000000), IF = 6.60 MHz id: PAL/DK A2 (00000003000000e0), size: 192
1651 # Firmware 77, type: SCODE FW MONO HAS IF (0x60008000), IF = 6.68 MHz id: PAL/DK A2 (00000003000000e0), size: 192
1661 # Firmware 78, type: SCODE FW DTV6 ATSC TOYOTA794 HAS IF (0x60810020), IF = 8.14 MHz id: (0000000000000000), size: 192
1671 # Firmware 79, type: SCODE FW HAS IF (0x60000000), IF = 8.20 MHz id: (0000000000000000), size: 192
/linux-4.1.27/arch/alpha/include/uapi/asm/
H A Dioctl.h39 #define _IOC(dir,type,nr,size) \
42 ((type) << _IOC_TYPESHIFT) | \
47 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0)
48 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size))
49 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size))
50 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/iop/
H A Diop_crc_par_defs.h66 #define REG_TYPE_CONV( type, orgtype, val ) \
67 ( { union { orgtype o; type n; } r; r.o = val; r.n; } )
87 /* Register rw_cfg, scope iop_crc_par, type rw */
100 /* Register rw_init_crc, scope iop_crc_par, type rw */
105 /* Register rw_correct_crc, scope iop_crc_par, type rw */
110 /* Register rw_ctrl, scope iop_crc_par, type rw */
118 /* Register rw_set_last, scope iop_crc_par, type rw */
126 /* Register rw_wr1byte, scope iop_crc_par, type rw */
134 /* Register rw_wr2byte, scope iop_crc_par, type rw */
142 /* Register rw_wr3byte, scope iop_crc_par, type rw */
150 /* Register rw_wr4byte, scope iop_crc_par, type rw */
157 /* Register rw_wr1byte_last, scope iop_crc_par, type rw */
165 /* Register rw_wr2byte_last, scope iop_crc_par, type rw */
173 /* Register rw_wr3byte_last, scope iop_crc_par, type rw */
181 /* Register rw_wr4byte_last, scope iop_crc_par, type rw */
188 /* Register r_stat, scope iop_crc_par, type r */
196 /* Register r_sh_reg, scope iop_crc_par, type r */
200 /* Register r_crc, scope iop_crc_par, type r */
204 /* Register rw_strb_rec_dif_in, scope iop_crc_par, type rw */
H A Diop_fifo_in_defs.h66 #define REG_TYPE_CONV( type, orgtype, val ) \
67 ( { union { orgtype o; type n; } r; r.o = val; r.n; } )
87 /* Register rw_cfg, scope iop_fifo_in, type rw */
99 /* Register rw_ctrl, scope iop_fifo_in, type rw */
108 /* Register r_stat, scope iop_fifo_in, type r */
118 /* Register rs_rd1byte, scope iop_fifo_in, type rs */
125 /* Register r_rd1byte, scope iop_fifo_in, type r */
132 /* Register rs_rd2byte, scope iop_fifo_in, type rs */
139 /* Register r_rd2byte, scope iop_fifo_in, type r */
146 /* Register rs_rd3byte, scope iop_fifo_in, type rs */
153 /* Register r_rd3byte, scope iop_fifo_in, type r */
160 /* Register rs_rd4byte, scope iop_fifo_in, type rs */
166 /* Register r_rd4byte, scope iop_fifo_in, type r */
172 /* Register rw_set_last, scope iop_fifo_in, type rw */
177 /* Register rw_strb_dif_in, scope iop_fifo_in, type rw */
185 /* Register rw_intr_mask, scope iop_fifo_in, type rw */
197 /* Register rw_ack_intr, scope iop_fifo_in, type rw */
209 /* Register r_intr, scope iop_fifo_in, type r */
220 /* Register r_masked_intr, scope iop_fifo_in, type r */
H A Diop_scrc_in_defs.h66 #define REG_TYPE_CONV( type, orgtype, val ) \
67 ( { union { orgtype o; type n; } r; r.o = val; r.n; } )
87 /* Register rw_cfg, scope iop_scrc_in, type rw */
95 /* Register rw_ctrl, scope iop_scrc_in, type rw */
103 /* Register r_stat, scope iop_scrc_in, type r */
110 /* Register rw_init_crc, scope iop_scrc_in, type rw */
115 /* Register rs_computed_crc, scope iop_scrc_in, type rs */
119 /* Register r_computed_crc, scope iop_scrc_in, type r */
123 /* Register rw_crc, scope iop_scrc_in, type rw */
128 /* Register rw_correct_crc, scope iop_scrc_in, type rw */
133 /* Register rw_wr1bit, scope iop_scrc_in, type rw */
H A Diop_sw_spu_defs.h66 #define REG_TYPE_CONV( type, orgtype, val ) \
67 ( { union { orgtype o; type n; } r; r.o = val; r.n; } )
87 /* Register rw_mc_ctrl, scope iop_sw_spu, type rw */
99 /* Register rw_mc_data, scope iop_sw_spu, type rw */
106 /* Register rw_mc_addr, scope iop_sw_spu, type rw */
111 /* Register rs_mc_data, scope iop_sw_spu, type rs */
115 /* Register r_mc_data, scope iop_sw_spu, type r */
119 /* Register r_mc_stat, scope iop_sw_spu, type r */
133 /* Register rw_bus0_clr_mask, scope iop_sw_spu, type rw */
143 /* Register rw_bus0_set_mask, scope iop_sw_spu, type rw */
153 /* Register rw_bus0_oe_clr_mask, scope iop_sw_spu, type rw */
164 /* Register rw_bus0_oe_set_mask, scope iop_sw_spu, type rw */
175 /* Register r_bus0_in, scope iop_sw_spu, type r */
179 /* Register rw_bus1_clr_mask, scope iop_sw_spu, type rw */
189 /* Register rw_bus1_set_mask, scope iop_sw_spu, type rw */
199 /* Register rw_bus1_oe_clr_mask, scope iop_sw_spu, type rw */
210 /* Register rw_bus1_oe_set_mask, scope iop_sw_spu, type rw */
221 /* Register r_bus1_in, scope iop_sw_spu, type r */
225 /* Register rw_gio_clr_mask, scope iop_sw_spu, type rw */
232 /* Register rw_gio_set_mask, scope iop_sw_spu, type rw */
239 /* Register rw_gio_oe_clr_mask, scope iop_sw_spu, type rw */
246 /* Register rw_gio_oe_set_mask, scope iop_sw_spu, type rw */
253 /* Register r_gio_in, scope iop_sw_spu, type r */
257 /* Register rw_bus0_clr_mask_lo, scope iop_sw_spu, type rw */
266 /* Register rw_bus0_clr_mask_hi, scope iop_sw_spu, type rw */
275 /* Register rw_bus0_set_mask_lo, scope iop_sw_spu, type rw */
284 /* Register rw_bus0_set_mask_hi, scope iop_sw_spu, type rw */
293 /* Register rw_bus1_clr_mask_lo, scope iop_sw_spu, type rw */
302 /* Register rw_bus1_clr_mask_hi, scope iop_sw_spu, type rw */
311 /* Register rw_bus1_set_mask_lo, scope iop_sw_spu, type rw */
320 /* Register rw_bus1_set_mask_hi, scope iop_sw_spu, type rw */
329 /* Register rw_gio_clr_mask_lo, scope iop_sw_spu, type rw */
337 /* Register rw_gio_clr_mask_hi, scope iop_sw_spu, type rw */
345 /* Register rw_gio_set_mask_lo, scope iop_sw_spu, type rw */
353 /* Register rw_gio_set_mask_hi, scope iop_sw_spu, type rw */
361 /* Register rw_gio_oe_clr_mask_lo, scope iop_sw_spu, type rw */
369 /* Register rw_gio_oe_clr_mask_hi, scope iop_sw_spu, type rw */
377 /* Register rw_gio_oe_set_mask_lo, scope iop_sw_spu, type rw */
385 /* Register rw_gio_oe_set_mask_hi, scope iop_sw_spu, type rw */
393 /* Register rw_cpu_intr, scope iop_sw_spu, type rw */
416 /* Register r_cpu_intr, scope iop_sw_spu, type r */
438 /* Register r_hw_intr, scope iop_sw_spu, type r */
468 /* Register rw_mpu_intr, scope iop_sw_spu, type rw */
491 /* Register r_mpu_intr, scope iop_sw_spu, type r */
/linux-4.1.27/security/apparmor/
H A Daudit.c117 audit_log_string(ab, aa_audit_type[sa->aad->type]); audit_pre()
151 * @cb: optional callback fn for type specific fields (MAYBE NULL)
153 void aa_audit_msg(int type, struct common_audit_data *sa, aa_audit_msg() argument
156 sa->aad->type = type; aa_audit_msg()
162 * @type: audit type for the message
166 * @cb: optional callback fn for type specific fields (MAYBE NULL)
172 int aa_audit(int type, struct aa_profile *profile, gfp_t gfp, aa_audit() argument
178 if (type == AUDIT_APPARMOR_AUTO) { aa_audit()
182 type = AUDIT_APPARMOR_AUDIT; aa_audit()
184 type = AUDIT_APPARMOR_ALLOWED; aa_audit()
186 type = AUDIT_APPARMOR_DENIED; aa_audit()
189 (type == AUDIT_APPARMOR_DENIED && aa_audit()
193 if (KILL_MODE(profile) && type == AUDIT_APPARMOR_DENIED) aa_audit()
194 type = AUDIT_APPARMOR_KILL; aa_audit()
199 aa_audit_msg(type, sa, cb); aa_audit()
201 if (sa->aad->type == AUDIT_APPARMOR_KILL) aa_audit()
205 if (sa->aad->type == AUDIT_APPARMOR_ALLOWED) aa_audit()
/linux-4.1.27/drivers/acpi/acpica/
H A Dexresolv.c131 * DESCRIPTION: Retrieve the value from an internal object. The Reference type
149 /* This is an object of type union acpi_operand_object */ acpi_ex_resolve_object_to_value()
151 switch (stack_desc->common.type) { acpi_ex_resolve_object_to_value()
252 if ((stack_desc->reference.node->type == acpi_ex_resolve_object_to_value()
254 || (stack_desc->reference.node->type == acpi_ex_resolve_object_to_value()
274 "Unknown Reference type 0x%X in %p", acpi_ex_resolve_object_to_value()
298 stack_desc, stack_desc->common.type)); acpi_ex_resolve_object_to_value()
324 * return_type - Where the object type is returned
329 * DESCRIPTION: Return the base object and type. Traverse a reference list if
342 acpi_object_type type; acpi_ex_resolve_multiple() local
352 type = obj_desc->common.type; acpi_ex_resolve_multiple()
357 type = ((struct acpi_namespace_node *)obj_desc)->type; acpi_ex_resolve_multiple()
362 /* If we had an Alias node, use the attached object for type info */ acpi_ex_resolve_multiple()
364 if (type == ACPI_TYPE_LOCAL_ALIAS) { acpi_ex_resolve_multiple()
365 type = ((struct acpi_namespace_node *)obj_desc)->type; acpi_ex_resolve_multiple()
377 /* If type is anything other than a reference, we are done */ acpi_ex_resolve_multiple()
379 if (type != ACPI_TYPE_LOCAL_REFERENCE) { acpi_ex_resolve_multiple()
389 while (obj_desc->common.type == ACPI_TYPE_LOCAL_REFERENCE) { acpi_ex_resolve_multiple()
419 /* No object, use the NS node type */ acpi_ex_resolve_multiple()
421 type = acpi_ns_get_type(node); acpi_ex_resolve_multiple()
434 /* Get the type of this reference (index into another object) */ acpi_ex_resolve_multiple()
436 type = obj_desc->reference.target_type; acpi_ex_resolve_multiple()
437 if (type != ACPI_TYPE_PACKAGE) { acpi_ex_resolve_multiple()
442 * The main object is a package, we want to get the type acpi_ex_resolve_multiple()
453 type = 0; /* Uninitialized */ acpi_ex_resolve_multiple()
460 type = ACPI_TYPE_DDB_HANDLE; acpi_ex_resolve_multiple()
496 type = ACPI_TYPE_ANY; acpi_ex_resolve_multiple()
504 /* The Debug Object is of type "DebugObject" */ acpi_ex_resolve_multiple()
506 type = ACPI_TYPE_DEBUG_OBJECT; acpi_ex_resolve_multiple()
522 type = obj_desc->common.type; acpi_ex_resolve_multiple()
527 switch (type) { acpi_ex_resolve_multiple()
532 type = ACPI_TYPE_FIELD_UNIT; acpi_ex_resolve_multiple()
539 type = ACPI_TYPE_ANY; acpi_ex_resolve_multiple()
549 *return_type = type; acpi_ex_resolve_multiple()
/linux-4.1.27/drivers/rapidio/
H A Drio-access.c36 * @type: C type of value argument
42 #define RIO_LOP_READ(size,type,len) \
44 (struct rio_mport *mport, u32 offset, type *value) \
52 *value = (type)data; \
60 * @type: C type of value argument
66 #define RIO_LOP_WRITE(size,type,len) \
68 (struct rio_mport *mport, u32 offset, type value) \
96 * @type: C type of value argument
102 #define RIO_OP_READ(size,type,len) \
104 (struct rio_mport *mport, u16 destid, u8 hopcount, u32 offset, type *value) \
112 *value = (type)data; \
120 * @type: C type of value argument
126 #define RIO_OP_WRITE(size,type,len) \
128 (struct rio_mport *mport, u16 destid, u8 hopcount, u32 offset, type value) \
/linux-4.1.27/arch/s390/kvm/
H A Dtrace-s390.h23 TP_PROTO(unsigned long type),
24 TP_ARGS(type),
27 __field(unsigned long, type)
31 __entry->type = type;
35 __entry->type & KVM_VM_S390_UCONTROL ? " (UCONTROL)" : "")
114 TP_PROTO(__u64 type, __u32 parm, __u64 parm64, int who),
115 TP_ARGS(type, parm, parm64, who),
125 __entry->inttype = type & 0x00000000ffffffff;
131 TP_printk("inject%s: type:%x (%s) parm:%x parm64:%llx",
140 TP_PROTO(unsigned int id, __u64 type, __u32 parm, __u64 parm64, \
142 TP_ARGS(id, type, parm, parm64, who),
154 __entry->inttype = type & 0x00000000ffffffff;
160 TP_printk("inject%s (vcpu %d): type:%x (%s) parm:%x parm64:%llx",
172 TP_PROTO(unsigned int id, __u64 type, __u64 data0, __u64 data1),
173 TP_ARGS(id, type, data0, data1),
184 __entry->inttype = type & 0x00000000ffffffff;
189 TP_printk("deliver interrupt (vcpu %d): type:%x (%s) " \
/linux-4.1.27/arch/sh/kernel/cpu/sh2a/
H A Dprobe.c24 boot_cpu_data.type = CPU_SH7201; cpu_probe()
27 boot_cpu_data.type = CPU_SH7203; cpu_probe()
30 boot_cpu_data.type = CPU_SH7263; cpu_probe()
33 boot_cpu_data.type = CPU_SH7264; cpu_probe()
36 boot_cpu_data.type = CPU_SH7269; cpu_probe()
39 boot_cpu_data.type = CPU_SH7206; cpu_probe()
42 boot_cpu_data.type = CPU_MXG; cpu_probe()
/linux-4.1.27/arch/frv/mm/
H A Dhighmem.c43 int type; kmap_atomic() local
46 type = kmap_atomic_idx_push(); kmap_atomic()
49 switch (type) { kmap_atomic()
60 return __kmap_atomic_secondary(type - 5, paddr); kmap_atomic()
71 int type = kmap_atomic_idx(); __kunmap_atomic() local
72 switch (type) { __kunmap_atomic()
80 __kunmap_atomic_secondary(type - 5, kvaddr); __kunmap_atomic()
/linux-4.1.27/include/net/
H A Dfib_rules.h83 [FRA_IIFNAME] = { .type = NLA_STRING, .len = IFNAMSIZ - 1 }, \
84 [FRA_OIFNAME] = { .type = NLA_STRING, .len = IFNAMSIZ - 1 }, \
85 [FRA_PRIORITY] = { .type = NLA_U32 }, \
86 [FRA_FWMARK] = { .type = NLA_U32 }, \
87 [FRA_FWMASK] = { .type = NLA_U32 }, \
88 [FRA_TABLE] = { .type = NLA_U32 }, \
89 [FRA_SUPPRESS_PREFIXLEN] = { .type = NLA_U32 }, \
90 [FRA_SUPPRESS_IFGROUP] = { .type = NLA_U32 }, \
91 [FRA_GOTO] = { .type = NLA_U32 }
H A Dp8022.h4 register_8022_client(unsigned char type,
/linux-4.1.27/arch/s390/kernel/
H A Djump_label.c22 enum jump_label_type type; member in struct:insn_args
62 enum jump_label_type type, __jump_label_transform()
67 if (type == JUMP_LABEL_ENABLE) { __jump_label_transform()
88 __jump_label_transform(args->entry, args->type, 0); __sm_arch_jump_label_transform()
93 enum jump_label_type type) arch_jump_label_transform()
98 args.type = type; arch_jump_label_transform()
104 enum jump_label_type type) arch_jump_label_transform_static()
106 __jump_label_transform(entry, type, 1); arch_jump_label_transform_static()
61 __jump_label_transform(struct jump_entry *entry, enum jump_label_type type, int init) __jump_label_transform() argument
92 arch_jump_label_transform(struct jump_entry *entry, enum jump_label_type type) arch_jump_label_transform() argument
103 arch_jump_label_transform_static(struct jump_entry *entry, enum jump_label_type type) arch_jump_label_transform_static() argument
/linux-4.1.27/arch/cris/include/arch-v32/mach-a3/mach/hwregs/iop/
H A Diop_sw_spu_defs.h63 #define REG_TYPE_CONV( type, orgtype, val ) \
64 ( { union { orgtype o; type n; } r; r.o = val; r.n; } )
84 /* Register r_mpu_trace, scope iop_sw_spu, type r */
88 /* Register rw_mc_ctrl, scope iop_sw_spu, type rw */
99 /* Register rw_mc_data, scope iop_sw_spu, type rw */
106 /* Register rw_mc_addr, scope iop_sw_spu, type rw */
111 /* Register rs_mc_data, scope iop_sw_spu, type rs */
115 /* Register r_mc_data, scope iop_sw_spu, type r */
119 /* Register r_mc_stat, scope iop_sw_spu, type r */
131 /* Register rw_bus_clr_mask, scope iop_sw_spu, type rw */
141 /* Register rw_bus_set_mask, scope iop_sw_spu, type rw */
151 /* Register rw_bus_oe_clr_mask, scope iop_sw_spu, type rw */
162 /* Register rw_bus_oe_set_mask, scope iop_sw_spu, type rw */
173 /* Register r_bus_in, scope iop_sw_spu, type r */
177 /* Register rw_gio_clr_mask, scope iop_sw_spu, type rw */
184 /* Register rw_gio_set_mask, scope iop_sw_spu, type rw */
191 /* Register rw_gio_oe_clr_mask, scope iop_sw_spu, type rw */
198 /* Register rw_gio_oe_set_mask, scope iop_sw_spu, type rw */
205 /* Register r_gio_in, scope iop_sw_spu, type r */
209 /* Register rw_bus_clr_mask_lo, scope iop_sw_spu, type rw */
218 /* Register rw_bus_clr_mask_hi, scope iop_sw_spu, type rw */
227 /* Register rw_bus_set_mask_lo, scope iop_sw_spu, type rw */
236 /* Register rw_bus_set_mask_hi, scope iop_sw_spu, type rw */
245 /* Register rw_gio_clr_mask_lo, scope iop_sw_spu, type rw */
253 /* Register rw_gio_clr_mask_hi, scope iop_sw_spu, type rw */
261 /* Register rw_gio_set_mask_lo, scope iop_sw_spu, type rw */
269 /* Register rw_gio_set_mask_hi, scope iop_sw_spu, type rw */
277 /* Register rw_gio_oe_clr_mask_lo, scope iop_sw_spu, type rw */
285 /* Register rw_gio_oe_clr_mask_hi, scope iop_sw_spu, type rw */
293 /* Register rw_gio_oe_set_mask_lo, scope iop_sw_spu, type rw */
301 /* Register rw_gio_oe_set_mask_hi, scope iop_sw_spu, type rw */
309 /* Register rw_cpu_intr, scope iop_sw_spu, type rw */
332 /* Register r_cpu_intr, scope iop_sw_spu, type r */
354 /* Register r_hw_intr, scope iop_sw_spu, type r */
376 /* Register rw_mpu_intr, scope iop_sw_spu, type rw */
399 /* Register r_mpu_intr, scope iop_sw_spu, type r */
H A Diop_sw_cfg_defs.h63 #define REG_TYPE_CONV( type, orgtype, val ) \
64 ( { union { orgtype o; type n; } r; r.o = val; r.n; } )
84 /* Register rw_crc_par_owner, scope iop_sw_cfg, type rw */
92 /* Register rw_dmc_in_owner, scope iop_sw_cfg, type rw */
100 /* Register rw_dmc_out_owner, scope iop_sw_cfg, type rw */
108 /* Register rw_fifo_in_owner, scope iop_sw_cfg, type rw */
116 /* Register rw_fifo_in_extra_owner, scope iop_sw_cfg, type rw */
124 /* Register rw_fifo_out_owner, scope iop_sw_cfg, type rw */
132 /* Register rw_fifo_out_extra_owner, scope iop_sw_cfg, type rw */
140 /* Register rw_sap_in_owner, scope iop_sw_cfg, type rw */
148 /* Register rw_sap_out_owner, scope iop_sw_cfg, type rw */
156 /* Register rw_scrc_in_owner, scope iop_sw_cfg, type rw */
164 /* Register rw_scrc_out_owner, scope iop_sw_cfg, type rw */
172 /* Register rw_spu_owner, scope iop_sw_cfg, type rw */
180 /* Register rw_timer_grp0_owner, scope iop_sw_cfg, type rw */
188 /* Register rw_timer_grp1_owner, scope iop_sw_cfg, type rw */
196 /* Register rw_trigger_grp0_owner, scope iop_sw_cfg, type rw */
204 /* Register rw_trigger_grp1_owner, scope iop_sw_cfg, type rw */
212 /* Register rw_trigger_grp2_owner, scope iop_sw_cfg, type rw */
220 /* Register rw_trigger_grp3_owner, scope iop_sw_cfg, type rw */
228 /* Register rw_trigger_grp4_owner, scope iop_sw_cfg, type rw */
236 /* Register rw_trigger_grp5_owner, scope iop_sw_cfg, type rw */
244 /* Register rw_trigger_grp6_owner, scope iop_sw_cfg, type rw */
252 /* Register rw_trigger_grp7_owner, scope iop_sw_cfg, type rw */
260 /* Register rw_bus_mask, scope iop_sw_cfg, type rw */
270 /* Register rw_bus_oe_mask, scope iop_sw_cfg, type rw */
281 /* Register rw_gio_mask, scope iop_sw_cfg, type rw */
288 /* Register rw_gio_oe_mask, scope iop_sw_cfg, type rw */
295 /* Register rw_pinmapping, scope iop_sw_cfg, type rw */
314 /* Register rw_bus_out_cfg, scope iop_sw_cfg, type rw */
325 /* Register rw_gio_out_grp0_cfg, scope iop_sw_cfg, type rw */
340 /* Register rw_gio_out_grp1_cfg, scope iop_sw_cfg, type rw */
355 /* Register rw_gio_out_grp2_cfg, scope iop_sw_cfg, type rw */
370 /* Register rw_gio_out_grp3_cfg, scope iop_sw_cfg, type rw */
385 /* Register rw_gio_out_grp4_cfg, scope iop_sw_cfg, type rw */
400 /* Register rw_gio_out_grp5_cfg, scope iop_sw_cfg, type rw */
415 /* Register rw_gio_out_grp6_cfg, scope iop_sw_cfg, type rw */
430 /* Register rw_gio_out_grp7_cfg, scope iop_sw_cfg, type rw */
445 /* Register rw_spu_cfg, scope iop_sw_cfg, type rw */
454 /* Register rw_timer_grp0_cfg, scope iop_sw_cfg, type rw */
470 /* Register rw_timer_grp1_cfg, scope iop_sw_cfg, type rw */
486 /* Register rw_trigger_grps_cfg, scope iop_sw_cfg, type rw */
509 /* Register rw_pdp_cfg, scope iop_sw_cfg, type rw */
521 /* Register rw_sdp_cfg, scope iop_sw_cfg, type rw */
/linux-4.1.27/include/linux/iio/
H A Devents.h21 * @type: Type of the event. Should be one of enum iio_event_type.
28 type, chan, chan1, chan2) \
29 (((u64)type << 56) | ((u64)diff << 55) | \
40 * @type: Type of the event. Should be one of enum iio_event_type.
45 type, direction) \
46 IIO_EVENT_CODE(chan_type, 0, modifier, direction, type, number, 0, 0)
52 * @type: Type of the event. Should be one of enum iio_event_type.
56 #define IIO_UNMOD_EVENT_CODE(chan_type, number, type, direction) \
57 IIO_EVENT_CODE(chan_type, 0, 0, direction, type, number, 0, 0)
/linux-4.1.27/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_enc.c42 .type = MFC_FMT_RAW,
50 .type = MFC_FMT_RAW,
58 .type = MFC_FMT_RAW,
67 .type = MFC_FMT_RAW,
75 .type = MFC_FMT_ENC,
84 .type = MFC_FMT_ENC,
93 .type = MFC_FMT_ENC,
102 .type = MFC_FMT_ENC,
115 formats[i].type == t) find_format()
124 .type = V4L2_CTRL_TYPE_INTEGER,
132 .type = V4L2_CTRL_TYPE_MENU,
140 .type = V4L2_CTRL_TYPE_INTEGER,
148 .type = V4L2_CTRL_TYPE_INTEGER,
156 .type = V4L2_CTRL_TYPE_INTEGER,
164 .type = V4L2_CTRL_TYPE_BOOLEAN,
173 .type = V4L2_CTRL_TYPE_INTEGER,
182 .type = V4L2_CTRL_TYPE_BOOLEAN,
190 .type = V4L2_CTRL_TYPE_INTEGER,
198 .type = V4L2_CTRL_TYPE_INTEGER,
207 .type = V4L2_CTRL_TYPE_MENU,
208 .name = "Force frame type",
216 .type = V4L2_CTRL_TYPE_INTEGER,
224 .type = V4L2_CTRL_TYPE_INTEGER,
233 .type = V4L2_CTRL_TYPE_INTEGER,
242 .type = V4L2_CTRL_TYPE_INTEGER,
250 .type = V4L2_CTRL_TYPE_MENU,
258 .type = V4L2_CTRL_TYPE_MENU,
267 .type = V4L2_CTRL_TYPE_BOOLEAN,
277 .type = V4L2_CTRL_TYPE_INTEGER,
285 .type = V4L2_CTRL_TYPE_MENU,
297 .type = V4L2_CTRL_TYPE_MENU,
304 .type = V4L2_CTRL_TYPE_MENU,
312 .type = V4L2_CTRL_TYPE_MENU,
320 .type = V4L2_CTRL_TYPE_INTEGER,
328 .type = V4L2_CTRL_TYPE_INTEGER,
336 .type = V4L2_CTRL_TYPE_MENU,
344 .type = V4L2_CTRL_TYPE_INTEGER,
353 .type = V4L2_CTRL_TYPE_BOOLEAN,
361 .type = V4L2_CTRL_TYPE_BOOLEAN,
369 .type = V4L2_CTRL_TYPE_INTEGER,
377 .type = V4L2_CTRL_TYPE_INTEGER,
385 .type = V4L2_CTRL_TYPE_INTEGER,
393 .type = V4L2_CTRL_TYPE_INTEGER,
401 .type = V4L2_CTRL_TYPE_INTEGER,
409 .type = V4L2_CTRL_TYPE_INTEGER,
418 .type = V4L2_CTRL_TYPE_INTEGER,
427 .type = V4L2_CTRL_TYPE_INTEGER,
436 .type = V4L2_CTRL_TYPE_INTEGER,
445 .type = V4L2_CTRL_TYPE_INTEGER,
454 .type = V4L2_CTRL_TYPE_INTEGER,
463 .type = V4L2_CTRL_TYPE_INTEGER,
472 .type = V4L2_CTRL_TYPE_INTEGER,
481 .type = V4L2_CTRL_TYPE_INTEGER,
490 .type = V4L2_CTRL_TYPE_INTEGER,
499 .type = V4L2_CTRL_TYPE_BOOLEAN,
508 .type = V4L2_CTRL_TYPE_BOOLEAN,
517 .type = V4L2_CTRL_TYPE_BOOLEAN,
526 .type = V4L2_CTRL_TYPE_BOOLEAN,
535 .type = V4L2_CTRL_TYPE_BOOLEAN,
543 .type = V4L2_CTRL_TYPE_MENU,
551 .type = V4L2_CTRL_TYPE_INTEGER,
559 .type = V4L2_CTRL_TYPE_INTEGER,
567 .type = V4L2_CTRL_TYPE_BOOLEAN,
575 .type = V4L2_CTRL_TYPE_INTEGER,
583 .type = V4L2_CTRL_TYPE_MENU,
591 .type = V4L2_CTRL_TYPE_BOOLEAN,
599 .type = V4L2_CTRL_TYPE_INTEGER_MENU,
606 .type = V4L2_CTRL_TYPE_BOOLEAN,
614 .type = V4L2_CTRL_TYPE_INTEGER_MENU,
621 .type = V4L2_CTRL_TYPE_INTEGER,
629 .type = V4L2_CTRL_TYPE_INTEGER,
637 .type = V4L2_CTRL_TYPE_INTEGER,
645 .type = V4L2_CTRL_TYPE_MENU,
653 .type = V4L2_CTRL_TYPE_INTEGER,
661 .type = V4L2_CTRL_TYPE_INTEGER,
669 .type = V4L2_CTRL_TYPE_INTEGER,
677 .type = V4L2_CTRL_TYPE_INTEGER,
685 .type = V4L2_CTRL_TYPE_INTEGER,
693 .type = V4L2_CTRL_TYPE_INTEGER,
863 mfc_debug(2, "Encoded slice type: %d\n", slice_type); enc_post_frame_start()
967 if (out && formats[i].type != MFC_FMT_RAW) vidioc_enum_fmt()
969 else if (!out && formats[i].type != MFC_FMT_ENC) vidioc_enum_fmt()
1003 mfc_debug(2, "f->type = %d ctx->state = %d\n", f->type, ctx->state); vidioc_g_fmt()
1004 if (f->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { vidioc_g_fmt()
1014 } else if (f->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { vidioc_g_fmt()
1028 mfc_err("invalid buf type\n"); vidioc_g_fmt()
1040 if (f->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { vidioc_try_fmt()
1057 } else if (f->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { vidioc_try_fmt()
1076 mfc_err("invalid buf type\n"); vidioc_try_fmt()
1097 if (f->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { vidioc_s_fmt()
1107 } else if (f->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { vidioc_s_fmt()
1126 mfc_err("invalid buf type\n"); vidioc_s_fmt()
1145 if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { vidioc_reqbufs()
1171 } else if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { vidioc_reqbufs()
1205 mfc_err("invalid buf type\n"); vidioc_reqbufs()
1221 if (buf->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { vidioc_querybuf()
1232 } else if (buf->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { vidioc_querybuf()
1239 mfc_err("invalid buf type\n"); vidioc_querybuf()
1254 if (buf->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { vidioc_qbuf()
1260 } else if (buf->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { vidioc_qbuf()
1270 .type = V4L2_EVENT_EOS vidioc_dqbuf()
1279 if (buf->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { vidioc_dqbuf()
1281 } else if (buf->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { vidioc_dqbuf()
1299 if (eb->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) vidioc_expbuf()
1301 if (eb->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) vidioc_expbuf()
1308 enum v4l2_buf_type type) vidioc_streamon()
1312 if (type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) vidioc_streamon()
1313 return vb2_streamon(&ctx->vq_src, type); vidioc_streamon()
1314 else if (type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) vidioc_streamon()
1315 return vb2_streamon(&ctx->vq_dst, type); vidioc_streamon()
1321 enum v4l2_buf_type type) vidioc_streamoff()
1325 if (type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) vidioc_streamoff()
1326 return vb2_streamoff(&ctx->vq_src, type); vidioc_streamoff()
1327 else if (type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) vidioc_streamoff()
1328 return vb2_streamoff(&ctx->vq_dst, type); vidioc_streamoff()
1686 if (a->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { vidioc_s_parm()
1703 if (a->type == V4L2_BUF_TYPE_VIDEO_OUTPUT) { vidioc_g_parm()
1760 switch (sub->type) { vidioc_subscribe_event()
1826 if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { s5p_mfc_queue_setup()
1837 } else if (vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { s5p_mfc_queue_setup()
1863 mfc_err("inavlid queue type: %d\n", vq->type); s5p_mfc_queue_setup()
1876 if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { s5p_mfc_buf_init()
1885 } else if (vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { s5p_mfc_buf_init()
1897 mfc_err("inavlid queue type: %d\n", vq->type); s5p_mfc_buf_init()
1909 if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { s5p_mfc_buf_prepare()
1919 } else if (vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { s5p_mfc_buf_prepare()
1933 mfc_err("inavlid queue type: %d\n", vq->type); s5p_mfc_buf_prepare()
1945 (q->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE)) { s5p_mfc_start_streaming()
1984 if (q->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { s5p_mfc_stop_streaming()
1990 if (q->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { s5p_mfc_stop_streaming()
2013 if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { s5p_mfc_buf_queue()
2021 } else if (vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { s5p_mfc_buf_queue()
2029 mfc_err("unsupported buffer type (%d)\n", vq->type); s5p_mfc_buf_queue()
2084 cfg.type = controls[i].type; s5p_mfc_enc_ctrls_setup()
2087 if (cfg.type == V4L2_CTRL_TYPE_MENU) { s5p_mfc_enc_ctrls_setup()
2098 if ((controls[i].type == V4L2_CTRL_TYPE_MENU) || s5p_mfc_enc_ctrls_setup()
2099 (controls[i].type == s5p_mfc_enc_ctrls_setup()
1307 vidioc_streamon(struct file *file, void *priv, enum v4l2_buf_type type) vidioc_streamon() argument
1320 vidioc_streamoff(struct file *file, void *priv, enum v4l2_buf_type type) vidioc_streamoff() argument
/linux-4.1.27/drivers/net/wireless/zd1211rw/
H A Dzd_rf.c47 const char *zd_rf_name(u8 type) zd_rf_name() argument
49 if (type & 0xf0) zd_rf_name()
50 type = 0; zd_rf_name()
51 return rfs[type]; zd_rf_name()
70 int zd_rf_init_hw(struct zd_rf *rf, u8 type) zd_rf_init_hw() argument
77 switch (type) { zd_rf_init_hw()
94 "RF %s %#x is not supported\n", zd_rf_name(type), type); zd_rf_init_hw() local
95 rf->type = 0; zd_rf_init_hw()
102 rf->type = type; zd_rf_init_hw()
116 return scnprintf(buffer, size, "%s", zd_rf_name(rf->type)); zd_rf_scnprint_id()
/linux-4.1.27/arch/x86/pci/
H A Dinit.c11 int type = 0; pci_arch_init() local
13 type = pci_direct_probe(); pci_arch_init()
32 pci_direct_init(type); pci_arch_init()
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dmm.h14 u8 type; member in struct:nvkm_mm_node
35 int nvkm_mm_head(struct nvkm_mm *, u8 heap, u8 type, u32 size_max,
37 int nvkm_mm_tail(struct nvkm_mm *, u8 heap, u8 type, u32 size_max,
/linux-4.1.27/include/uapi/linux/caif/
H A Dif_caif.h16 * The type of attribute is NLA_U32.
18 * The type of attribute is NLA_U32.
20 * The type of attribute is NLA_U8.
/linux-4.1.27/arch/powerpc/kernel/
H A Dmsi.c16 int arch_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) arch_setup_msi_irqs() argument
24 if (type == PCI_CAP_ID_MSI && nvec > 1) arch_setup_msi_irqs()
27 return ppc_md.setup_msi_irqs(dev, nvec, type); arch_setup_msi_irqs()
/linux-4.1.27/arch/arm/mach-omap1/
H A Did.c34 u16 jtag_id; /* Used to determine OMAP type */
37 u32 type; /* Cpu id bits [31:08], cpu class bits [07:00] */ member in struct:omap_id
44 { .jtag_id = 0xb574, .die_rev = 0x2, .omap_id = 0x03310315, .type = 0x03100000},
45 { .jtag_id = 0x355f, .die_rev = 0x0, .omap_id = 0x03320000, .type = 0x07300100},
46 { .jtag_id = 0xb55f, .die_rev = 0x0, .omap_id = 0x03320000, .type = 0x07300300},
47 { .jtag_id = 0xb62c, .die_rev = 0x1, .omap_id = 0x03320500, .type = 0x08500000},
48 { .jtag_id = 0xb470, .die_rev = 0x0, .omap_id = 0x03310100, .type = 0x15100000},
49 { .jtag_id = 0xb576, .die_rev = 0x0, .omap_id = 0x03320000, .type = 0x16100000},
50 { .jtag_id = 0xb576, .die_rev = 0x2, .omap_id = 0x03320100, .type = 0x16110000},
51 { .jtag_id = 0xb576, .die_rev = 0x3, .omap_id = 0x03320100, .type = 0x16100c00},
52 { .jtag_id = 0xb576, .die_rev = 0x0, .omap_id = 0x03320200, .type = 0x16100d00},
53 { .jtag_id = 0xb613, .die_rev = 0x0, .omap_id = 0x03320300, .type = 0x1610ef00},
54 { .jtag_id = 0xb613, .die_rev = 0x0, .omap_id = 0x03320300, .type = 0x1610ef00},
55 { .jtag_id = 0xb576, .die_rev = 0x1, .omap_id = 0x03320100, .type = 0x16110000},
56 { .jtag_id = 0xb58c, .die_rev = 0x2, .omap_id = 0x03320200, .type = 0x16110b00},
57 { .jtag_id = 0xb58c, .die_rev = 0x3, .omap_id = 0x03320200, .type = 0x16110c00},
58 { .jtag_id = 0xb65f, .die_rev = 0x0, .omap_id = 0x03320400, .type = 0x16212300},
59 { .jtag_id = 0xb65f, .die_rev = 0x1, .omap_id = 0x03320400, .type = 0x16212300},
60 { .jtag_id = 0xb65f, .die_rev = 0x1, .omap_id = 0x03320500, .type = 0x16212300},
61 { .jtag_id = 0xb5f7, .die_rev = 0x0, .omap_id = 0x03330000, .type = 0x17100000},
62 { .jtag_id = 0xb5f7, .die_rev = 0x1, .omap_id = 0x03330100, .type = 0x17100000},
63 { .jtag_id = 0xb5f7, .die_rev = 0x2, .omap_id = 0x03330100, .type = 0x17100000},
73 * Get OMAP type from PROD_ID.
160 omap_revision = omap_ids[i].type; omap_check_revision()
168 omap_revision = omap_ids[i].type; omap_check_revision()
178 omap_revision = omap_ids[i].type; omap_check_revision()
200 printk(KERN_INFO "Unknown OMAP cpu type: 0x%02x\n", cpu_type); omap_check_revision()
/linux-4.1.27/sound/aoa/soundbus/
H A Dsysfs.c28 of->dev.of_node->name, of->dev.of_node->type); modalias_show()
35 soundbus_config_of_attr (type, "%s\n");
39 __ATTR_RO(type),
/linux-4.1.27/drivers/media/pci/cx88/
H A Dcx88-cards.c41 MODULE_PARM_DESC(tuner,"tuner type");
42 MODULE_PARM_DESC(radio,"radio tuner type");
43 MODULE_PARM_DESC(card,"card type");
82 .type = CX88_VMUX_COMPOSITE1,
85 .type = CX88_VMUX_COMPOSITE2,
88 .type = CX88_VMUX_COMPOSITE3,
91 .type = CX88_VMUX_COMPOSITE4,
103 .type = CX88_VMUX_TELEVISION,
107 .type = CX88_VMUX_DEBUG,
111 .type = CX88_VMUX_COMPOSITE1,
115 .type = CX88_VMUX_SVIDEO,
120 .type = CX88_RADIO,
131 .type = CX88_VMUX_TELEVISION,
134 .type = CX88_VMUX_SVIDEO,
145 .type = CX88_VMUX_TELEVISION,
149 .type = CX88_VMUX_COMPOSITE1,
152 .type = CX88_VMUX_SVIDEO,
156 .type = CX88_RADIO,
168 .type = CX88_VMUX_TELEVISION,
172 .type = CX88_VMUX_COMPOSITE1,
176 .type = CX88_VMUX_SVIDEO,
189 .type = CX88_VMUX_TELEVISION,
196 .type = CX88_VMUX_COMPOSITE1,
203 .type = CX88_VMUX_SVIDEO,
211 .type = CX88_RADIO,
226 .type = CX88_VMUX_TELEVISION,
230 .type = CX88_VMUX_COMPOSITE1,
234 .type = CX88_VMUX_SVIDEO,
240 .type = CX88_RADIO,
253 .type = CX88_VMUX_TELEVISION,
259 .type = CX88_VMUX_COMPOSITE1,
265 .type = CX88_VMUX_SVIDEO,
272 .type = CX88_RADIO,
287 .type = CX88_VMUX_TELEVISION,
295 .type = CX88_VMUX_COMPOSITE1,
302 .type = CX88_VMUX_SVIDEO,
310 .type = CX88_RADIO,
326 .type = CX88_VMUX_TELEVISION,
331 .type = CX88_VMUX_COMPOSITE1,
336 .type = CX88_VMUX_SVIDEO,
342 .type = CX88_RADIO,
355 .type = CX88_VMUX_COMPOSITE1,
358 .type = CX88_VMUX_COMPOSITE2,
361 .type = CX88_VMUX_SVIDEO,
373 .type = CX88_VMUX_TELEVISION,
377 .type = CX88_VMUX_COMPOSITE1,
381 .type = CX88_VMUX_SVIDEO,
386 .type = CX88_RADIO,
398 .type = CX88_VMUX_TELEVISION,
402 .type = CX88_VMUX_SVIDEO,
408 .type = CX88_RADIO,
421 .type = CX88_VMUX_TELEVISION,
426 .type = CX88_VMUX_COMPOSITE1,
431 .type = CX88_VMUX_SVIDEO,
444 .type = CX88_VMUX_COMPOSITE1,
449 .type = CX88_VMUX_SVIDEO,
463 .type = CX88_VMUX_COMPOSITE1,
467 .type = CX88_VMUX_SVIDEO,
480 .type = CX88_VMUX_TELEVISION,
484 .type = CX88_VMUX_DEBUG,
488 .type = CX88_VMUX_COMPOSITE1,
492 .type = CX88_VMUX_SVIDEO,
497 .type = CX88_RADIO,
525 .type = CX88_VMUX_TELEVISION,
529 .type = CX88_VMUX_CABLE,
533 .type = CX88_VMUX_COMPOSITE1,
537 .type = CX88_VMUX_SVIDEO,
550 .type = CX88_VMUX_DVB,
562 .type = CX88_VMUX_DVB,
574 .type = CX88_VMUX_TELEVISION,
587 .type = CX88_VMUX_COMPOSITE1,
591 .type = CX88_VMUX_SVIDEO,
604 .type = CX88_VMUX_COMPOSITE1,
609 .type = CX88_VMUX_SVIDEO,
636 .type = CX88_VMUX_TELEVISION,
640 .type = CX88_VMUX_COMPOSITE1,
644 .type = CX88_VMUX_SVIDEO,
649 .type = CX88_RADIO,
663 .type = CX88_VMUX_TELEVISION,
668 .type = CX88_VMUX_DEBUG,
672 .type = CX88_VMUX_COMPOSITE1,
676 .type = CX88_VMUX_SVIDEO,
682 .type = CX88_RADIO,
696 .type = CX88_VMUX_TELEVISION,
701 .type = CX88_VMUX_COMPOSITE1,
706 .type = CX88_VMUX_SVIDEO,
712 .type = CX88_RADIO,
726 .type = CX88_VMUX_TELEVISION,
730 .type = CX88_VMUX_COMPOSITE1,
734 .type = CX88_VMUX_SVIDEO,
749 .type = CX88_VMUX_TELEVISION,
753 .type = CX88_VMUX_COMPOSITE1,
757 .type = CX88_VMUX_SVIDEO,
762 .type = CX88_RADIO,
774 .type = CX88_VMUX_TELEVISION,
778 .type = CX88_VMUX_COMPOSITE1,
782 .type = CX88_VMUX_SVIDEO,
795 .type = CX88_VMUX_COMPOSITE1,
800 .type = CX88_VMUX_SVIDEO,
811 .type = CX88_VMUX_DVB,
814 .type = CX88_VMUX_COMPOSITE1,
817 .type = CX88_VMUX_SVIDEO,
830 .type = CX88_VMUX_TELEVISION,
834 .type = CX88_VMUX_COMPOSITE1,
838 .type = CX88_VMUX_SVIDEO,
852 .type = CX88_VMUX_COMPOSITE1,
857 .type = CX88_VMUX_SVIDEO,
862 .type = CX88_VMUX_TELEVISION,
868 .type = CX88_RADIO,
880 .type = CX88_VMUX_COMPOSITE1,
887 .type = CX88_VMUX_SVIDEO,
902 .type = CX88_VMUX_TELEVISION,
909 .type = CX88_VMUX_COMPOSITE1,
916 .type = CX88_VMUX_SVIDEO,
932 .type = CX88_VMUX_DVB,
935 .type = CX88_VMUX_COMPOSITE1,
938 .type = CX88_VMUX_SVIDEO,
951 .type = CX88_VMUX_TELEVISION,
958 .type = CX88_VMUX_COMPOSITE1,
965 .type = CX88_VMUX_SVIDEO,
982 .type = CX88_VMUX_DVB,
987 .type = CX88_VMUX_COMPOSITE1,
992 .type = CX88_VMUX_SVIDEO,
1006 .type = CX88_VMUX_DVB,
1019 .type = CX88_VMUX_DVB,
1024 .type = CX88_VMUX_COMPOSITE1,
1029 .type = CX88_VMUX_SVIDEO,
1044 .type = CX88_VMUX_TELEVISION,
1047 .type = CX88_VMUX_COMPOSITE1,
1050 .type = CX88_VMUX_SVIDEO,
1064 .type = CX88_VMUX_TELEVISION,
1067 .type = CX88_VMUX_COMPOSITE1,
1082 .type = CX88_VMUX_TELEVISION,
1086 .type = CX88_VMUX_COMPOSITE1,
1090 .type = CX88_VMUX_SVIDEO,
1095 .type = CX88_RADIO,
1110 .type = CX88_VMUX_COMPOSITE1,
1115 .type = CX88_VMUX_SVIDEO,
1129 .type = CX88_VMUX_COMPOSITE1,
1133 .type = CX88_VMUX_SVIDEO,
1146 .type = CX88_VMUX_TELEVISION,
1151 .type = CX88_VMUX_COMPOSITE1,
1156 .type = CX88_VMUX_SVIDEO,
1162 .type = CX88_RADIO,
1175 .type = CX88_VMUX_TELEVISION,
1179 .type = CX88_VMUX_COMPOSITE1,
1183 .type = CX88_VMUX_SVIDEO,
1197 .type = CX88_VMUX_TELEVISION,
1201 .type = CX88_VMUX_COMPOSITE1,
1205 .type = CX88_VMUX_SVIDEO,
1221 .type = CX88_VMUX_TELEVISION,
1237 .type = CX88_VMUX_TELEVISION,
1250 .type = CX88_VMUX_TELEVISION,
1254 .type = CX88_VMUX_COMPOSITE1,
1258 .type = CX88_VMUX_SVIDEO,
1263 .type = CX88_RADIO,
1275 .type = CX88_VMUX_TELEVISION,
1282 .type = CX88_VMUX_COMPOSITE1,
1289 .type = CX88_VMUX_COMPOSITE2,
1296 .type = CX88_VMUX_SVIDEO,
1304 .type = CX88_RADIO,
1320 .type = CX88_VMUX_TELEVISION,
1327 .type = CX88_VMUX_TELEVISION,
1334 .type = CX88_VMUX_COMPOSITE1,
1341 .type = CX88_VMUX_SVIDEO,
1349 .type = CX88_RADIO,
1364 .type = CX88_VMUX_DVB,
1367 .type = CX88_VMUX_COMPOSITE1,
1381 .type = CX88_VMUX_TELEVISION,
1387 .type = CX88_VMUX_COMPOSITE1,
1393 .type = CX88_VMUX_SVIDEO,
1400 .type = CX88_RADIO,
1415 .type = CX88_VMUX_TELEVISION,
1419 .type = CX88_VMUX_COMPOSITE1,
1423 .type = CX88_VMUX_SVIDEO,
1435 .type = CX88_VMUX_TELEVISION,
1442 .type = CX88_VMUX_COMPOSITE1,
1449 .type = CX88_VMUX_SVIDEO,
1469 .type = CX88_VMUX_TELEVISION,
1475 .type = CX88_VMUX_COMPOSITE1,
1481 .type = CX88_VMUX_SVIDEO,
1489 .type = CX88_RADIO,
1502 .type = CX88_VMUX_DVB,
1514 .type = CX88_VMUX_DEBUG,
1518 .type = CX88_VMUX_COMPOSITE1,
1522 .type = CX88_VMUX_SVIDEO,
1534 .type = CX88_VMUX_TELEVISION,
1539 .type = CX88_VMUX_COMPOSITE1,
1545 .type = CX88_VMUX_SVIDEO,
1561 .type = CX88_VMUX_TELEVISION,
1565 .type = CX88_VMUX_COMPOSITE1,
1570 .type = CX88_VMUX_SVIDEO,
1584 .type = CX88_VMUX_TELEVISION,
1590 .type = CX88_VMUX_COMPOSITE1,
1596 .type = CX88_VMUX_SVIDEO,
1603 .type = CX88_RADIO,
1622 .type = CX88_VMUX_TELEVISION,
1629 .type = CX88_VMUX_COMPOSITE1,
1636 .type = CX88_VMUX_SVIDEO,
1644 .type = CX88_RADIO,
1658 .type = CX88_VMUX_TELEVISION,
1665 .type = CX88_VMUX_COMPOSITE1,
1672 .type = CX88_VMUX_SVIDEO,
1680 .type = CX88_RADIO,
1694 .type = CX88_VMUX_TELEVISION,
1701 .type = CX88_VMUX_COMPOSITE1,
1708 .type = CX88_VMUX_SVIDEO,
1716 .type = CX88_RADIO,
1728 .type = CX88_VMUX_DEBUG,
1734 .type = CX88_VMUX_TELEVISION,
1740 .type = CX88_VMUX_COMPOSITE1,
1746 .type = CX88_VMUX_SVIDEO,
1753 .type = CX88_RADIO,
1765 .type = CX88_VMUX_TELEVISION,
1772 .type = CX88_VMUX_COMPOSITE1,
1779 .type = CX88_VMUX_SVIDEO,
1787 .type = CX88_RADIO,
1802 .type = CX88_VMUX_COMPOSITE1,
1806 .type = CX88_VMUX_SVIDEO,
1819 .type = CX88_VMUX_TELEVISION,
1823 .type = CX88_VMUX_COMPOSITE1,
1827 .type = CX88_VMUX_SVIDEO,
1838 .type = CX88_VMUX_TELEVISION,
1843 .type = CX88_VMUX_COMPOSITE1,
1847 .type = CX88_VMUX_SVIDEO,
1852 .type = CX88_RADIO,
1861 .type = CX88_VMUX_TELEVISION,
1867 .type = CX88_VMUX_COMPOSITE1,
1873 .type = CX88_VMUX_SVIDEO,
1880 .type = CX88_RADIO,
1899 .type = CX88_VMUX_TELEVISION,
1905 .type = CX88_VMUX_COMPOSITE1,
1911 .type = CX88_VMUX_SVIDEO,
1918 .type = CX88_RADIO,
1971 .type = CX88_VMUX_TELEVISION,
1977 .type = CX88_VMUX_COMPOSITE1,
1983 .type = CX88_VMUX_SVIDEO,
1990 .type = CX88_RADIO,
2005 .type = CX88_VMUX_DVB,
2017 .type = CX88_VMUX_DVB,
2029 .type = CX88_VMUX_DVB,
2041 .type = CX88_VMUX_DVB,
2053 .type = CX88_VMUX_DVB,
2065 .type = CX88_VMUX_DVB,
2077 .type = CX88_VMUX_DVB,
2090 .type = CX88_VMUX_DVB,
2102 .type = CX88_VMUX_DVB,
2114 .type = CX88_VMUX_DVB,
2126 .type = CX88_VMUX_TELEVISION,
2132 .type = CX88_VMUX_COMPOSITE1,
2138 .type = CX88_VMUX_SVIDEO,
2145 .type = CX88_RADIO,
2174 .type = CX88_VMUX_TELEVISION,
2180 .type = CX88_VMUX_COMPOSITE1,
2186 .type = CX88_VMUX_SVIDEO,
2193 .type = CX88_RADIO,
2215 .type = CX88_VMUX_TELEVISION,
2221 .type = CX88_VMUX_COMPOSITE1,
2227 .type = CX88_VMUX_SVIDEO,
2234 .type = CX88_RADIO,
2256 .type = CX88_VMUX_TELEVISION,
2263 .type = CX88_VMUX_CABLE,
2270 .type = CX88_VMUX_COMPOSITE1,
2277 .type = CX88_VMUX_SVIDEO,
2285 .type = CX88_RADIO,
2300 .type = CX88_VMUX_DVB,
2312 .type = CX88_VMUX_DVB,
2862 core->board.radio.type = tv.has_radio ? CX88_RADIO : 0; hauppauge_eeprom()
2963 core->board.radio.type = gdi_tuner[eeprom_data[0x0d]].fm ? gdi_eeprom()
3006 switch (INPUT(core->input).type) { cx88_xc3028_geniatech_tuner_callback()
3140 switch (INPUT(core->input).type) { cx88_xc2028_tuner_callback()
3560 tun_setup.type = core->board.radio_type; cx88_card_setup()
3569 tun_setup.type = core->board.tuner_type; cx88_card_setup()
3771 dprintk(1, "TV tuner type %d, Radio tuner type %d\n", cx88_core_create()
/linux-4.1.27/arch/cris/include/arch-v32/mach-fs/mach/hwregs/
H A Dbif_dma_defs.h66 #define REG_TYPE_CONV( type, orgtype, val ) \
67 ( { union { orgtype o; type n; } r; r.o = val; r.n; } )
87 /* Register rw_ch0_ctrl, scope bif_dma, type rw */
106 /* Register rw_ch0_addr, scope bif_dma, type rw */
113 /* Register rw_ch0_start, scope bif_dma, type rw */
121 /* Register rw_ch0_cnt, scope bif_dma, type rw */
129 /* Register r_ch0_stat, scope bif_dma, type r */
137 /* Register rw_ch1_ctrl, scope bif_dma, type rw */
155 /* Register rw_ch1_addr, scope bif_dma, type rw */
162 /* Register rw_ch1_start, scope bif_dma, type rw */
170 /* Register rw_ch1_cnt, scope bif_dma, type rw */
178 /* Register r_ch1_stat, scope bif_dma, type r */
186 /* Register rw_ch2_ctrl, scope bif_dma, type rw */
205 /* Register rw_ch2_addr, scope bif_dma, type rw */
212 /* Register rw_ch2_start, scope bif_dma, type rw */
220 /* Register rw_ch2_cnt, scope bif_dma, type rw */
228 /* Register r_ch2_stat, scope bif_dma, type r */
236 /* Register rw_ch3_ctrl, scope bif_dma, type rw */
254 /* Register rw_ch3_addr, scope bif_dma, type rw */
261 /* Register rw_ch3_start, scope bif_dma, type rw */
269 /* Register rw_ch3_cnt, scope bif_dma, type rw */
277 /* Register r_ch3_stat, scope bif_dma, type r */
285 /* Register rw_intr_mask, scope bif_dma, type rw */
296 /* Register rw_ack_intr, scope bif_dma, type rw */
307 /* Register r_intr, scope bif_dma, type r */
317 /* Register r_masked_intr, scope bif_dma, type r */
327 /* Register rw_pin0_cfg, scope bif_dma, type rw */
338 /* Register rw_pin1_cfg, scope bif_dma, type rw */
349 /* Register rw_pin2_cfg, scope bif_dma, type rw */
360 /* Register rw_pin3_cfg, scope bif_dma, type rw */
371 /* Register rw_pin4_cfg, scope bif_dma, type rw */
382 /* Register rw_pin5_cfg, scope bif_dma, type rw */
393 /* Register rw_pin6_cfg, scope bif_dma, type rw */
404 /* Register rw_pin7_cfg, scope bif_dma, type rw */
415 /* Register r_pin_stat, scope bif_dma, type r */
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/iop/asm/
H A Diop_crc_par_defs_asm.h56 /* Register rw_cfg, scope iop_crc_par, type rw */
75 /* Register rw_init_crc, scope iop_crc_par, type rw */
78 /* Register rw_correct_crc, scope iop_crc_par, type rw */
81 /* Register rw_ctrl, scope iop_crc_par, type rw */
87 /* Register rw_set_last, scope iop_crc_par, type rw */
93 /* Register rw_wr1byte, scope iop_crc_par, type rw */
98 /* Register rw_wr2byte, scope iop_crc_par, type rw */
103 /* Register rw_wr3byte, scope iop_crc_par, type rw */
108 /* Register rw_wr4byte, scope iop_crc_par, type rw */
113 /* Register rw_wr1byte_last, scope iop_crc_par, type rw */
118 /* Register rw_wr2byte_last, scope iop_crc_par, type rw */
123 /* Register rw_wr3byte_last, scope iop_crc_par, type rw */
128 /* Register rw_wr4byte_last, scope iop_crc_par, type rw */
133 /* Register r_stat, scope iop_crc_par, type r */
142 /* Register r_sh_reg, scope iop_crc_par, type r */
145 /* Register r_crc, scope iop_crc_par, type r */
148 /* Register rw_strb_rec_dif_in, scope iop_crc_par, type rw */
H A Diop_fifo_in_defs_asm.h56 /* Register rw_cfg, scope iop_fifo_in, type rw */
70 /* Register rw_ctrl, scope iop_fifo_in, type rw */
79 /* Register r_stat, scope iop_fifo_in, type r */
92 /* Register rs_rd1byte, scope iop_fifo_in, type rs */
97 /* Register r_rd1byte, scope iop_fifo_in, type r */
102 /* Register rs_rd2byte, scope iop_fifo_in, type rs */
107 /* Register r_rd2byte, scope iop_fifo_in, type r */
112 /* Register rs_rd3byte, scope iop_fifo_in, type rs */
117 /* Register r_rd3byte, scope iop_fifo_in, type r */
122 /* Register rs_rd4byte, scope iop_fifo_in, type rs */
127 /* Register r_rd4byte, scope iop_fifo_in, type r */
132 /* Register rw_set_last, scope iop_fifo_in, type rw */
135 /* Register rw_strb_dif_in, scope iop_fifo_in, type rw */
140 /* Register rw_intr_mask, scope iop_fifo_in, type rw */
158 /* Register rw_ack_intr, scope iop_fifo_in, type rw */
176 /* Register r_intr, scope iop_fifo_in, type r */
194 /* Register r_masked_intr, scope iop_fifo_in, type r */
/linux-4.1.27/net/netfilter/ipset/
H A Dip_set_hash_mac.c8 /* Kernel module implementing an IP set type: the hash:mac type */
138 [IPSET_ATTR_HASHSIZE] = { .type = NLA_U32 },
139 [IPSET_ATTR_MAXELEM] = { .type = NLA_U32 },
140 [IPSET_ATTR_PROBES] = { .type = NLA_U8 },
141 [IPSET_ATTR_RESIZE] = { .type = NLA_U8 },
142 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 },
143 [IPSET_ATTR_CADT_FLAGS] = { .type = NLA_U32 },
146 [IPSET_ATTR_ETHER] = { .type = NLA_BINARY,
148 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 },
149 [IPSET_ATTR_LINENO] = { .type = NLA_U32 },
150 [IPSET_ATTR_BYTES] = { .type = NLA_U64 },
151 [IPSET_ATTR_PACKETS] = { .type = NLA_U64 },
152 [IPSET_ATTR_COMMENT] = { .type = NLA_NUL_STRING },
153 [IPSET_ATTR_SKBMARK] = { .type = NLA_U64 },
154 [IPSET_ATTR_SKBPRIO] = { .type = NLA_U32 },
155 [IPSET_ATTR_SKBQUEUE] = { .type = NLA_U16 },
/linux-4.1.27/arch/cris/include/arch-v32/mach-a3/mach/hwregs/iop/asm/
H A Diop_sw_spu_defs_asm.h53 /* Register r_mpu_trace, scope iop_sw_spu, type r */
56 /* Register rw_mc_ctrl, scope iop_sw_spu, type rw */
69 /* Register rw_mc_data, scope iop_sw_spu, type rw */
74 /* Register rw_mc_addr, scope iop_sw_spu, type rw */
77 /* Register rs_mc_data, scope iop_sw_spu, type rs */
80 /* Register r_mc_data, scope iop_sw_spu, type r */
83 /* Register r_mc_stat, scope iop_sw_spu, type r */
104 /* Register rw_bus_clr_mask, scope iop_sw_spu, type rw */
115 /* Register rw_bus_set_mask, scope iop_sw_spu, type rw */
126 /* Register rw_bus_oe_clr_mask, scope iop_sw_spu, type rw */
141 /* Register rw_bus_oe_set_mask, scope iop_sw_spu, type rw */
156 /* Register r_bus_in, scope iop_sw_spu, type r */
159 /* Register rw_gio_clr_mask, scope iop_sw_spu, type rw */
164 /* Register rw_gio_set_mask, scope iop_sw_spu, type rw */
169 /* Register rw_gio_oe_clr_mask, scope iop_sw_spu, type rw */
174 /* Register rw_gio_oe_set_mask, scope iop_sw_spu, type rw */
179 /* Register r_gio_in, scope iop_sw_spu, type r */
182 /* Register rw_bus_clr_mask_lo, scope iop_sw_spu, type rw */
189 /* Register rw_bus_clr_mask_hi, scope iop_sw_spu, type rw */
196 /* Register rw_bus_set_mask_lo, scope iop_sw_spu, type rw */
203 /* Register rw_bus_set_mask_hi, scope iop_sw_spu, type rw */
210 /* Register rw_gio_clr_mask_lo, scope iop_sw_spu, type rw */
215 /* Register rw_gio_clr_mask_hi, scope iop_sw_spu, type rw */
220 /* Register rw_gio_set_mask_lo, scope iop_sw_spu, type rw */
225 /* Register rw_gio_set_mask_hi, scope iop_sw_spu, type rw */
230 /* Register rw_gio_oe_clr_mask_lo, scope iop_sw_spu, type rw */
235 /* Register rw_gio_oe_clr_mask_hi, scope iop_sw_spu, type rw */
240 /* Register rw_gio_oe_set_mask_lo, scope iop_sw_spu, type rw */
245 /* Register rw_gio_oe_set_mask_hi, scope iop_sw_spu, type rw */
250 /* Register rw_cpu_intr, scope iop_sw_spu, type rw */
301 /* Register r_cpu_intr, scope iop_sw_spu, type r */
352 /* Register r_hw_intr, scope iop_sw_spu, type r */
403 /* Register rw_mpu_intr, scope iop_sw_spu, type rw */
454 /* Register r_mpu_intr, scope iop_sw_spu, type r */
/linux-4.1.27/drivers/mmc/core/
H A Dbus.c36 switch (card->type) { type_show()
49 static DEVICE_ATTR_RO(type);
71 const char *type; mmc_bus_uevent() local
74 switch (card->type) { mmc_bus_uevent()
76 type = "MMC"; mmc_bus_uevent()
79 type = "SD"; mmc_bus_uevent()
82 type = "SDIO"; mmc_bus_uevent()
85 type = "SDcombo"; mmc_bus_uevent()
88 type = NULL; mmc_bus_uevent()
91 if (type) { mmc_bus_uevent()
92 retval = add_uevent_var(env, "MMC_TYPE=%s", type); mmc_bus_uevent()
259 struct mmc_card *mmc_alloc_card(struct mmc_host *host, struct device_type *type) mmc_alloc_card() argument
274 card->dev.type = type; mmc_alloc_card()
285 const char *type; mmc_add_card() local
298 switch (card->type) { mmc_add_card()
300 type = "MMC"; mmc_add_card()
303 type = "SD"; mmc_add_card()
306 type = "SDXC"; mmc_add_card()
308 type = "SDHC"; mmc_add_card()
312 type = "SDIO"; mmc_add_card()
315 type = "SD-combo"; mmc_add_card()
317 type = "SDHC-combo"; mmc_add_card()
320 type = "?"; mmc_add_card()
333 type); mmc_add_card()
342 uhs_bus_speed_mode, type, card->rca); mmc_add_card()
/linux-4.1.27/scripts/dtc/
H A Ddtc-parser.y77 %type <data> propdata
78 %type <data> propdataprefix
79 %type <re> memreserve
80 %type <re> memreserves
81 %type <array> arrayprefix
82 %type <data> bytestring
83 %type <prop> propdef
84 %type <proplist> proplist
86 %type <node> devicetree
87 %type <node> nodedef
88 %type <node> subnode
89 %type <nodelist> subnodes
91 %type <integer> integer_prim
92 %type <integer> integer_unary
93 %type <integer> integer_mul
94 %type <integer> integer_add
95 %type <integer> integer_shift
96 %type <integer> integer_rela
97 %type <integer> integer_eq
98 %type <integer> integer_bitand
99 %type <integer> integer_bitxor
100 %type <integer> integer_bitor
101 %type <integer> integer_and
102 %type <integer> integer_or
103 %type <integer> integer_trinary
104 %type <integer> integer_expr
/linux-4.1.27/drivers/clk/ti/
H A Dclk-3xxx-legacy.c29 .type = TI_CLK_FIXED,
39 .type = TI_CLK_FIXED,
49 .type = TI_CLK_FIXED,
59 .type = TI_CLK_FIXED,
69 .type = TI_CLK_FIXED,
79 .type = TI_CLK_FIXED,
101 .type = TI_CLK_MUX,
116 .type = TI_CLK_DIVIDER,
151 .type = TI_CLK_DPLL,
166 .type = TI_CLK_DIVIDER,
178 .type = TI_CLK_FIXED_FACTOR,
192 .type = TI_CLK_DIVIDER,
204 .type = TI_CLK_FIXED_FACTOR,
216 .type = TI_CLK_FIXED_FACTOR,
231 .type = TI_CLK_GATE,
245 .type = TI_CLK_GATE,
260 .type = TI_CLK_DIVIDER,
272 .type = TI_CLK_FIXED_FACTOR,
287 .type = TI_CLK_GATE,
323 .type = TI_CLK_DPLL,
337 .type = TI_CLK_DIVIDER,
349 .type = TI_CLK_FIXED_FACTOR,
363 .type = TI_CLK_GATE,
375 .type = TI_CLK_FIXED_FACTOR,
387 .type = TI_CLK_FIXED_FACTOR,
406 .type = TI_CLK_MUX,
418 .type = TI_CLK_FIXED_FACTOR,
433 .type = TI_CLK_GATE,
448 .type = TI_CLK_GATE,
463 .type = TI_CLK_GATE,
475 .type = TI_CLK_FIXED_FACTOR,
489 .type = TI_CLK_GATE,
524 .type = TI_CLK_DPLL,
538 .type = TI_CLK_DIVIDER,
552 .type = TI_CLK_GATE,
564 .type = TI_CLK_FIXED_FACTOR,
574 .type = TI_CLK_FIXED,
593 .type = TI_CLK_MUX,
605 .type = TI_CLK_FIXED_FACTOR,
615 .type = TI_CLK_FIXED,
634 .type = TI_CLK_FIXED_FACTOR,
658 .type = TI_CLK_COMPOSITE,
670 .type = TI_CLK_FIXED_FACTOR,
682 .type = TI_CLK_FIXED_FACTOR,
722 .type = TI_CLK_COMPOSITE,
734 .type = TI_CLK_FIXED_FACTOR,
744 .type = TI_CLK_FIXED,
756 .type = TI_CLK_FIXED_FACTOR,
770 .type = TI_CLK_GATE,
785 .type = TI_CLK_GATE,
800 .type = TI_CLK_GATE,
830 .type = TI_CLK_COMPOSITE,
845 .type = TI_CLK_GATE,
860 .type = TI_CLK_GATE,
872 .type = TI_CLK_FIXED_FACTOR,
884 .type = TI_CLK_FIXED_FACTOR,
898 .type = TI_CLK_DIVIDER,
911 .type = TI_CLK_FIXED_FACTOR,
925 .type = TI_CLK_GATE,
939 .type = TI_CLK_GATE,
969 .type = TI_CLK_COMPOSITE,
983 .type = TI_CLK_GATE,
1014 .type = TI_CLK_COMPOSITE,
1029 .type = TI_CLK_DIVIDER,
1041 .type = TI_CLK_FIXED_FACTOR,
1056 .type = TI_CLK_GATE,
1066 .type = TI_CLK_FIXED,
1081 .type = TI_CLK_GATE,
1093 .type = TI_CLK_FIXED_FACTOR,
1108 .type = TI_CLK_GATE,
1120 .type = TI_CLK_FIXED_FACTOR,
1135 .type = TI_CLK_GATE,
1147 .type = TI_CLK_FIXED_FACTOR,
1166 .type = TI_CLK_FIXED_FACTOR,
1181 .type = TI_CLK_GATE,
1196 .type = TI_CLK_GATE,
1209 .type = TI_CLK_FIXED_FACTOR,
1224 .type = TI_CLK_GATE,
1239 .type = TI_CLK_GATE,
1254 .type = TI_CLK_DIVIDER,
1289 .type = TI_CLK_DPLL,
1299 .type = TI_CLK_FIXED,
1314 .type = TI_CLK_GATE,
1328 .type = TI_CLK_DIVIDER,
1341 .type = TI_CLK_FIXED_FACTOR,
1355 .type = TI_CLK_GATE,
1370 .type = TI_CLK_GATE,
1385 .type = TI_CLK_GATE,
1400 .type = TI_CLK_DIVIDER,
1415 .type = TI_CLK_GATE,
1429 .type = TI_CLK_GATE,
1444 .type = TI_CLK_GATE,
1464 .type = TI_CLK_FIXED_FACTOR,
1478 .type = TI_CLK_GATE,
1497 .type = TI_CLK_MUX,
1522 .type = TI_CLK_COMPOSITE,
1537 .type = TI_CLK_GATE,
1552 .type = TI_CLK_GATE,
1583 .type = TI_CLK_COMPOSITE,
1611 .type = TI_CLK_COMPOSITE,
1626 .type = TI_CLK_GATE,
1636 .type = TI_CLK_FIXED,
1664 .type = TI_CLK_GATE,
1686 .type = TI_CLK_GATE,
1701 .type = TI_CLK_GATE,
1716 .type = TI_CLK_DIVIDER,
1731 .type = TI_CLK_GATE,
1746 .type = TI_CLK_GATE,
1761 .type = TI_CLK_GATE,
1776 .type = TI_CLK_GATE,
1791 .type = TI_CLK_GATE,
1806 .type = TI_CLK_GATE,
1821 .type = TI_CLK_GATE,
1846 .type = TI_CLK_FIXED_FACTOR,
1860 .type = TI_CLK_DIVIDER,
1872 .type = TI_CLK_FIXED_FACTOR,
1885 .type = TI_CLK_DIVIDER,
1897 .type = TI_CLK_FIXED_FACTOR,
1928 .type = TI_CLK_COMPOSITE,
1940 .type = TI_CLK_FIXED_FACTOR,
1955 .type = TI_CLK_GATE,
1969 .type = TI_CLK_GATE,
1981 .type = TI_CLK_FIXED_FACTOR,
1996 .type = TI_CLK_DIVIDER,
2008 .type = TI_CLK_FIXED_FACTOR,
2022 .type = TI_CLK_GATE,
2034 .type = TI_CLK_FIXED_FACTOR,
2046 .type = TI_CLK_FIXED_FACTOR,
2066 .type = TI_CLK_MUX,
2078 .type = TI_CLK_GATE,
2093 .type = TI_CLK_DIVIDER,
2108 .type = TI_CLK_GATE,
2123 .type = TI_CLK_GATE,
2138 .type = TI_CLK_GATE,
2173 .type = TI_CLK_DPLL,
2187 .type = TI_CLK_DIVIDER,
2235 .type = TI_CLK_GATE,
2263 .type = TI_CLK_GATE,
2278 .type = TI_CLK_GATE,
2299 .type = TI_CLK_MUX,
2314 .type = TI_CLK_DIVIDER,
2336 .type = TI_CLK_GATE,
2363 .type = TI_CLK_GATE,
2381 .type = TI_CLK_COMPOSITE,
2395 .type = TI_CLK_GATE,
2410 .type = TI_CLK_DIVIDER,
2425 .type = TI_CLK_GATE,
2440 .type = TI_CLK_GATE,
2454 .type = TI_CLK_GATE,
2469 .type = TI_CLK_GATE,
2484 .type = TI_CLK_GATE,
2499 .type = TI_CLK_DIVIDER,
2535 .type = TI_CLK_DPLL,
2551 .type = TI_CLK_GATE,
2563 .type = TI_CLK_FIXED_FACTOR,
2576 .type = TI_CLK_GATE,
2588 .type = TI_CLK_FIXED_FACTOR,
2600 .type = TI_CLK_FIXED_FACTOR,
2614 .type = TI_CLK_GATE,
2638 .type = TI_CLK_GATE,
2653 .type = TI_CLK_GATE,
2667 .type = TI_CLK_GATE,
2682 .type = TI_CLK_GATE,
2706 .type = TI_CLK_COMPOSITE,
2721 .type = TI_CLK_GATE,
2735 .type = TI_CLK_GATE,
2754 .type = TI_CLK_FIXED_FACTOR,
2766 .type = TI_CLK_FIXED_FACTOR,
2778 .type = TI_CLK_FIXED_FACTOR,
2790 .type = TI_CLK_FIXED_FACTOR,
2802 .type = TI_CLK_FIXED_FACTOR,
2831 .type = TI_CLK_COMPOSITE,
2846 .type = TI_CLK_GATE,
2861 .type = TI_CLK_GATE,
2876 .type = TI_CLK_GATE,
2889 .type = TI_CLK_GATE,
2934 .type = TI_CLK_COMPOSITE,
2948 .type = TI_CLK_GATE,
2960 .type = TI_CLK_FIXED_FACTOR,
2974 .type = TI_CLK_GATE,
3003 .type = TI_CLK_GATE,
3018 .type = TI_CLK_GATE,
3033 .type = TI_CLK_GATE,
3045 .type = TI_CLK_FIXED_FACTOR,
3060 .type = TI_CLK_GATE,
3074 .type = TI_CLK_GATE,
3090 .type = TI_CLK_GATE,
3105 .type = TI_CLK_GATE,
3120 .type = TI_CLK_GATE,
3131 .type = TI_CLK_COMPOSITE,
3148 .type = TI_CLK_FIXED,
3166 .type = TI_CLK_COMPOSITE,
3178 .type = TI_CLK_FIXED_FACTOR,
3190 .type = TI_CLK_FIXED_FACTOR,
3202 .type = TI_CLK_FIXED_FACTOR,
3214 .type = TI_CLK_FIXED_FACTOR,
3226 .type = TI_CLK_FIXED_FACTOR,
3259 .type = TI_CLK_COMPOSITE,
3291 .type = TI_CLK_COMPOSITE,
3306 .type = TI_CLK_GATE,
3321 .type = TI_CLK_GATE,
3333 .type = TI_CLK_FIXED_FACTOR,
3345 .type = TI_CLK_FIXED_FACTOR,
3360 .type = TI_CLK_GATE,
3375 .type = TI_CLK_GATE,
3389 .type = TI_CLK_GATE,
3404 .type = TI_CLK_GATE,
3419 .type = TI_CLK_GATE,
3431 .type = TI_CLK_FIXED_FACTOR,
3446 .type = TI_CLK_GATE,
3458 .type = TI_CLK_FIXED_FACTOR,
3473 .type = TI_CLK_GATE,
3488 .type = TI_CLK_GATE,
3502 .type = TI_CLK_GATE,
3517 .type = TI_CLK_GATE,
3528 .type = TI_CLK_COMPOSITE,
3543 .type = TI_CLK_GATE,
3558 .type = TI_CLK_GATE,
3573 .type = TI_CLK_GATE,
3597 .type = TI_CLK_COMPOSITE,
3615 .type = TI_CLK_COMPOSITE,
3629 .type = TI_CLK_GATE,
3644 .type = TI_CLK_GATE,
3659 .type = TI_CLK_GATE,
3673 .type = TI_CLK_GATE,
3688 .type = TI_CLK_DIVIDER,
3703 .type = TI_CLK_GATE,
3715 .type = TI_CLK_FIXED_FACTOR,
3730 .type = TI_CLK_GATE,
3745 .type = TI_CLK_GATE,
3760 .type = TI_CLK_GATE,
3775 .type = TI_CLK_GATE,
3790 .type = TI_CLK_GATE,
3801 .type = TI_CLK_COMPOSITE,
3815 .type = TI_CLK_GATE,
3830 .type = TI_CLK_GATE,
3845 .type = TI_CLK_GATE,
3857 .type = TI_CLK_FIXED_FACTOR,
3871 .type = TI_CLK_GATE,
3886 .type = TI_CLK_GATE,
3901 .type = TI_CLK_GATE,
3916 .type = TI_CLK_GATE,
3926 .type = TI_CLK_FIXED,
3940 .type = TI_CLK_GATE,
3955 .type = TI_CLK_GATE,
3967 .type = TI_CLK_FIXED_FACTOR,
3982 .type = TI_CLK_GATE,
3996 .type = TI_CLK_GATE,
4011 .type = TI_CLK_GATE,
4026 .type = TI_CLK_GATE,
4041 .type = TI_CLK_GATE,
4056 .type = TI_CLK_GATE,
4071 .type = TI_CLK_DIVIDER,
4086 .type = TI_CLK_GATE,
4099 .type = TI_CLK_GATE,
4110 .type = TI_CLK_COMPOSITE,
4125 .type = TI_CLK_GATE,
4140 .type = TI_CLK_GATE,
4155 .type = TI_CLK_GATE,
4170 .type = TI_CLK_GATE,
4185 .type = TI_CLK_GATE,
4199 .type = TI_CLK_GATE,
4214 .type = TI_CLK_GATE,
4229 .type = TI_CLK_GATE,
4244 .type = TI_CLK_DIVIDER,
/linux-4.1.27/mm/
H A Dmemblock.c63 memblock_type_name(struct memblock_type *type) memblock_type_name() argument
65 if (type == &memblock.memory) memblock_type_name()
67 else if (type == &memblock.reserved) memblock_type_name()
88 static long __init_memblock memblock_overlaps_region(struct memblock_type *type, memblock_overlaps_region() argument
93 for (i = 0; i < type->cnt; i++) { memblock_overlaps_region()
94 phys_addr_t rgnbase = type->regions[i].base; memblock_overlaps_region()
95 phys_addr_t rgnsize = type->regions[i].size; memblock_overlaps_region()
100 return (i < type->cnt) ? i : -1; memblock_overlaps_region()
259 static void __init_memblock memblock_remove_region(struct memblock_type *type, unsigned long r) memblock_remove_region() argument
261 type->total_size -= type->regions[r].size; memblock_remove_region()
262 memmove(&type->regions[r], &type->regions[r + 1], memblock_remove_region()
263 (type->cnt - (r + 1)) * sizeof(type->regions[r])); memblock_remove_region()
264 type->cnt--; memblock_remove_region()
267 if (type->cnt == 0) { memblock_remove_region()
268 WARN_ON(type->total_size != 0); memblock_remove_region()
269 type->cnt = 1; memblock_remove_region()
270 type->regions[0].base = 0; memblock_remove_region()
271 type->regions[0].size = 0; memblock_remove_region()
272 type->regions[0].flags = 0; memblock_remove_region()
273 memblock_set_region_node(&type->regions[0], MAX_NUMNODES); memblock_remove_region()
307 * @type: memblock type of the regions array being doubled
311 * Double the size of the @type regions array. If memblock is being used to
320 static int __init_memblock memblock_double_array(struct memblock_type *type, memblock_double_array() argument
337 old_size = type->max * sizeof(struct memblock_region); memblock_double_array()
347 if (type == &memblock.memory) memblock_double_array()
368 if (type != &memblock.reserved) memblock_double_array()
383 memblock_type_name(type), type->max, type->max * 2); memblock_double_array()
388 memblock_type_name(type), type->max * 2, (u64)addr, memblock_double_array()
396 memcpy(new_array, type->regions, old_size); memblock_double_array()
397 memset(new_array + type->max, 0, old_size); memblock_double_array()
398 old_array = type->regions; memblock_double_array()
399 type->regions = new_array; memblock_double_array()
400 type->max <<= 1; memblock_double_array()
424 * @type: memblock type to scan
426 * Scan @type and merge neighboring compatible regions.
428 static void __init_memblock memblock_merge_regions(struct memblock_type *type) memblock_merge_regions() argument
433 while (i < type->cnt - 1) { memblock_merge_regions()
434 struct memblock_region *this = &type->regions[i]; memblock_merge_regions()
435 struct memblock_region *next = &type->regions[i + 1]; memblock_merge_regions()
448 memmove(next, next + 1, (type->cnt - (i + 2)) * sizeof(*next)); memblock_merge_regions()
449 type->cnt--; memblock_merge_regions()
455 * @type: memblock type to insert into
462 * Insert new memblock region [@base,@base+@size) into @type at @idx.
463 * @type must already have extra room to accomodate the new region.
465 static void __init_memblock memblock_insert_region(struct memblock_type *type, memblock_insert_region() argument
470 struct memblock_region *rgn = &type->regions[idx]; memblock_insert_region()
472 BUG_ON(type->cnt >= type->max); memblock_insert_region()
473 memmove(rgn + 1, rgn, (type->cnt - idx) * sizeof(*rgn)); memblock_insert_region()
478 type->cnt++; memblock_insert_region()
479 type->total_size += size; memblock_insert_region()
484 * @type: memblock type to add new region into
490 * Add new memblock region [@base,@base+@size) into @type. The new region
492 * existing regions. @type is guaranteed to be minimal (all neighbouring
498 int __init_memblock memblock_add_range(struct memblock_type *type, memblock_add_range() argument
511 if (type->regions[0].size == 0) { memblock_add_range()
512 WARN_ON(type->cnt != 1 || type->total_size); memblock_add_range()
513 type->regions[0].base = base; memblock_add_range()
514 type->regions[0].size = size; memblock_add_range()
515 type->regions[0].flags = flags; memblock_add_range()
516 memblock_set_region_node(&type->regions[0], nid); memblock_add_range()
517 type->total_size = size; memblock_add_range()
529 for (i = 0; i < type->cnt; i++) { memblock_add_range()
530 struct memblock_region *rgn = &type->regions[i]; memblock_add_range()
545 memblock_insert_region(type, i++, base, memblock_add_range()
557 memblock_insert_region(type, i, base, end - base, memblock_add_range()
566 while (type->cnt + nr_new > type->max) memblock_add_range()
567 if (memblock_double_array(type, obase, size) < 0) memblock_add_range()
572 memblock_merge_regions(type); memblock_add_range()
605 * @type: memblock type to isolate range for
611 * Walk @type and ensure that regions don't cross the boundaries defined by
619 static int __init_memblock memblock_isolate_range(struct memblock_type *type, memblock_isolate_range() argument
632 while (type->cnt + 2 > type->max) memblock_isolate_range()
633 if (memblock_double_array(type, base, size) < 0) memblock_isolate_range()
636 for (i = 0; i < type->cnt; i++) { memblock_isolate_range()
637 struct memblock_region *rgn = &type->regions[i]; memblock_isolate_range()
653 type->total_size -= base - rbase; memblock_isolate_range()
654 memblock_insert_region(type, i, rbase, base - rbase, memblock_isolate_range()
664 type->total_size -= end - rbase; memblock_isolate_range()
665 memblock_insert_region(type, i--, rbase, end - rbase, memblock_isolate_range()
679 int __init_memblock memblock_remove_range(struct memblock_type *type, memblock_remove_range() argument
685 ret = memblock_isolate_range(type, base, size, &start_rgn, &end_rgn); memblock_remove_range()
690 memblock_remove_region(type, i); memblock_remove_range()
716 struct memblock_type *type = &memblock.reserved; memblock_reserve_region() local
723 return memblock_add_range(type, base, size, nid, flags); memblock_reserve_region()
740 struct memblock_type *type = &memblock.memory; memblock_setclr_flag() local
743 ret = memblock_isolate_range(type, base, size, &start_rgn, &end_rgn); memblock_setclr_flag()
749 memblock_set_region_flags(&type->regions[i], flag); memblock_setclr_flag()
751 memblock_clear_region_flags(&type->regions[i], flag); memblock_setclr_flag()
753 memblock_merge_regions(type); memblock_setclr_flag()
996 struct memblock_type *type = &memblock.memory; __next_mem_pfn_range() local
999 while (++*idx < type->cnt) { __next_mem_pfn_range()
1000 r = &type->regions[*idx]; __next_mem_pfn_range()
1007 if (*idx >= type->cnt) { __next_mem_pfn_range()
1024 * @type: memblock type to set node ID for
1027 * Set the nid of memblock @type regions in [@base,@base+@size) to @nid.
1034 struct memblock_type *type, int nid) memblock_set_node()
1039 ret = memblock_isolate_range(type, base, size, &start_rgn, &end_rgn); memblock_set_node()
1044 memblock_set_region_node(&type->regions[i], nid); memblock_set_node()
1046 memblock_merge_regions(type); memblock_set_node()
1387 static int __init_memblock memblock_search(struct memblock_type *type, phys_addr_t addr) memblock_search() argument
1389 unsigned int left = 0, right = type->cnt; memblock_search()
1394 if (addr < type->regions[mid].base) memblock_search()
1396 else if (addr >= (type->regions[mid].base + memblock_search()
1397 type->regions[mid].size)) memblock_search()
1419 struct memblock_type *type = &memblock.memory; memblock_search_pfn_nid() local
1420 int mid = memblock_search(type, PFN_PHYS(pfn)); memblock_search_pfn_nid()
1425 *start_pfn = PFN_DOWN(type->regions[mid].base); memblock_search_pfn_nid()
1426 *end_pfn = PFN_DOWN(type->regions[mid].base + type->regions[mid].size); memblock_search_pfn_nid()
1428 return type->regions[mid].nid; memblock_search_pfn_nid()
1505 static void __init_memblock memblock_dump(struct memblock_type *type, char *name) memblock_dump() argument
1511 pr_info(" %s.cnt = 0x%lx\n", name, type->cnt); memblock_dump()
1513 for (i = 0; i < type->cnt; i++) { memblock_dump()
1514 struct memblock_region *rgn = &type->regions[i]; memblock_dump()
1558 struct memblock_type *type = m->private; memblock_debug_show() local
1562 for (i = 0; i < type->cnt; i++) { memblock_debug_show()
1563 reg = &type->regions[i]; memblock_debug_show()
1033 memblock_set_node(phys_addr_t base, phys_addr_t size, struct memblock_type *type, int nid) memblock_set_node() argument
/linux-4.1.27/net/ipv6/netfilter/
H A Dnf_conntrack_proto_icmpv6.c47 tuple->dst.u.icmp.type = hp->icmp6_type; icmpv6_pkt_to_tuple()
76 int type = orig->dst.u.icmp.type - 128; icmpv6_invert_tuple() local
77 if (type < 0 || type >= sizeof(invmap) || !invmap[type]) icmpv6_invert_tuple()
81 tuple->dst.u.icmp.type = invmap[type] - 1; icmpv6_invert_tuple()
90 seq_printf(s, "type=%u code=%u id=%u ", icmpv6_print_tuple()
91 tuple->dst.u.icmp.type, icmpv6_print_tuple()
126 int type = ct->tuplehash[0].tuple.dst.u.icmp.type - 128; icmpv6_new() local
128 if (type < 0 || type >= sizeof(valid_new) || !valid_new[type]) { icmpv6_new()
130 pr_debug("icmpv6: can't create new conn with type %u\n", icmpv6_new()
131 type + 128); icmpv6_new()
136 "nf_ct_icmpv6: invalid new with type %d ", icmpv6_new()
137 type + 128); icmpv6_new() local
202 int type; icmpv6_error() local
220 type = icmp6h->icmp6_type - 130; icmpv6_error()
221 if (type >= 0 && type < sizeof(noct_valid_new) && icmpv6_error()
222 noct_valid_new[type]) { icmpv6_error()
244 nla_put_u8(skb, CTA_PROTO_ICMPV6_TYPE, t->dst.u.icmp.type) || icmpv6_tuple_to_nlattr()
254 [CTA_PROTO_ICMPV6_TYPE] = { .type = NLA_U8 },
255 [CTA_PROTO_ICMPV6_CODE] = { .type = NLA_U8 },
256 [CTA_PROTO_ICMPV6_ID] = { .type = NLA_U16 },
267 tuple->dst.u.icmp.type = nla_get_u8(tb[CTA_PROTO_ICMPV6_TYPE]); icmpv6_nlattr_to_tuple()
271 if (tuple->dst.u.icmp.type < 128 || icmpv6_nlattr_to_tuple()
272 tuple->dst.u.icmp.type - 128 >= sizeof(invmap) || icmpv6_nlattr_to_tuple()
273 !invmap[tuple->dst.u.icmp.type - 128]) icmpv6_nlattr_to_tuple()
321 [CTA_TIMEOUT_ICMPV6_TIMEOUT] = { .type = NLA_U32 },
/linux-4.1.27/drivers/media/platform/exynos4-is/
H A Dfimc-isp-video.h20 enum v4l2_buf_type type);
23 enum v4l2_buf_type type);
33 enum v4l2_buf_type type) fimc_isp_video_device_register()
39 enum v4l2_buf_type type) fimc_isp_video_device_unregister()
31 fimc_isp_video_device_register(struct fimc_isp *isp, struct v4l2_device *v4l2_dev, enum v4l2_buf_type type) fimc_isp_video_device_register() argument
38 fimc_isp_video_device_unregister(struct fimc_isp *isp, enum v4l2_buf_type type) fimc_isp_video_device_unregister() argument
/linux-4.1.27/drivers/s390/char/
H A Dsclp_cpi_sys.h12 const char *type, u64 level);
/linux-4.1.27/arch/sparc/kernel/
H A Dhelpers.S3 .type __flushw_user,#function
25 .type stack_trace_flush,#function
51 .type hard_smp_processor_id,#function
55 .type real_hard_smp_processor_id,#function
H A Dgetsetcc.S2 .type getcc,#function
12 .type setcc,#function
H A Djump_label.c14 enum jump_label_type type) arch_jump_label_transform()
19 if (type == JUMP_LABEL_ENABLE) { arch_jump_label_transform()
13 arch_jump_label_transform(struct jump_entry *entry, enum jump_label_type type) arch_jump_label_transform() argument
/linux-4.1.27/arch/metag/lib/
H A Dclear_page.S7 .type _clear_page,function
/linux-4.1.27/drivers/acpi/
H A Dprocessor_core.c111 static phys_cpuid_t map_madt_entry(int type, u32 acpi_id) map_madt_entry() argument
130 if (header->type == ACPI_MADT_TYPE_LOCAL_APIC) { map_madt_entry()
133 } else if (header->type == ACPI_MADT_TYPE_LOCAL_X2APIC) { map_madt_entry()
134 if (!map_x2apic_id(header, type, acpi_id, &phys_id)) map_madt_entry()
136 } else if (header->type == ACPI_MADT_TYPE_LOCAL_SAPIC) { map_madt_entry()
137 if (!map_lsapic_id(header, type, acpi_id, &phys_id)) map_madt_entry()
139 } else if (header->type == ACPI_MADT_TYPE_GENERIC_INTERRUPT) { map_madt_entry()
140 if (!map_gicc_mpidr(header, type, acpi_id, &phys_id)) map_madt_entry()
148 static phys_cpuid_t map_mat_entry(acpi_handle handle, int type, u32 acpi_id) map_mat_entry() argument
162 if (obj->type != ACPI_TYPE_BUFFER || map_mat_entry()
168 if (header->type == ACPI_MADT_TYPE_LOCAL_APIC) map_mat_entry()
170 else if (header->type == ACPI_MADT_TYPE_LOCAL_SAPIC) map_mat_entry()
171 map_lsapic_id(header, type, acpi_id, &phys_id); map_mat_entry()
172 else if (header->type == ACPI_MADT_TYPE_LOCAL_X2APIC) map_mat_entry()
173 map_x2apic_id(header, type, acpi_id, &phys_id); map_mat_entry()
174 else if (header->type == ACPI_MADT_TYPE_GENERIC_INTERRUPT) map_mat_entry()
175 map_gicc_mpidr(header, type, acpi_id, &phys_id); map_mat_entry()
182 phys_cpuid_t acpi_get_phys_id(acpi_handle handle, int type, u32 acpi_id) acpi_get_phys_id() argument
186 phys_id = map_mat_entry(handle, type, acpi_id); acpi_get_phys_id()
188 phys_id = map_madt_entry(type, acpi_id); acpi_get_phys_id()
239 int acpi_get_cpuid(acpi_handle handle, int type, u32 acpi_id) acpi_get_cpuid() argument
243 phys_id = acpi_get_phys_id(handle, type, acpi_id); acpi_get_cpuid()
281 if (hdr->type == ACPI_MADT_TYPE_IO_APIC && parse_madt_ioapic_entry()
306 if (obj->type != ACPI_TYPE_BUFFER || parse_mat_ioapic_entry()
311 if (header->type == ACPI_MADT_TYPE_IO_APIC) parse_mat_ioapic_entry()
/linux-4.1.27/include/uapi/linux/netfilter_bridge/
H A Debt_802_3.h13 * If frame has DSAP/SSAP value 0xaa you must check the SNAP type
34 __be16 type; member in struct:hdr_ui
42 __be16 type; member in struct:hdr_ni
58 __be16 type; member in struct:ebt_802_3_info
/linux-4.1.27/include/uapi/rdma/
H A Drdma_netlink.h19 #define RDMA_NL_GET_CLIENT(type) ((type & (((1 << 6) - 1) << 10)) >> 10)
20 #define RDMA_NL_GET_OP(type) (type & ((1 << 10) - 1))
/linux-4.1.27/fs/cachefiles/
H A Dxattr.c26 * check the type label on an object
32 char type[3], xtype[3]; cachefiles_check_object_type() local
39 strcpy(type, "C3"); cachefiles_check_object_type()
41 snprintf(type, 3, "%02x", object->fscache.cookie->def->type); cachefiles_check_object_type()
43 _enter("%p{%s}", object, type); cachefiles_check_object_type()
45 /* attempt to install a type label directly */ cachefiles_check_object_type()
46 ret = vfs_setxattr(dentry, cachefiles_xattr_cache, type, 2, cachefiles_check_object_type()
60 /* read the current type label */ cachefiles_check_object_type()
72 /* check the type is what we're expecting */ cachefiles_check_object_type()
76 if (xtype[0] != type[0] || xtype[1] != type[1]) cachefiles_check_object_type()
86 pr_err("Cache object %lu type xattr length incorrect\n", cachefiles_check_object_type()
93 pr_err("Cache object %pd [%lu] type %s not %s\n", cachefiles_check_object_type()
95 xtype, type); cachefiles_check_object_type()
117 &auxdata->type, auxdata->len, cachefiles_set_object_xattr()
145 &auxdata->type, auxdata->len, cachefiles_update_object_xattr()
176 &auxbuf->type, 512 + 1); cachefiles_check_auxdata()
179 auxbuf->type != object->fscache.cookie->def->type) cachefiles_check_auxdata()
215 /* read the current type label */ cachefiles_check_object_xattr()
217 &auxbuf->type, 512 + 1); cachefiles_check_object_xattr()
236 if (auxbuf->type != auxdata->type) cachefiles_check_object_xattr()
273 &auxdata->type, auxdata->len, cachefiles_check_object_xattr()
/linux-4.1.27/net/irda/
H A Dparameters.c39 PV_TYPE type, PI_HANDLER func);
41 PV_TYPE type, PI_HANDLER func);
43 PV_TYPE type, PI_HANDLER func);
45 PV_TYPE type, PI_HANDLER func);
48 PV_TYPE type, PI_HANDLER func);
50 PV_TYPE type, PI_HANDLER func);
76 * Function irda_insert_no_value (self, buf, len, pi, type, func)
79 PV_TYPE type, PI_HANDLER func) irda_insert_no_value()
100 * Function irda_extract_no_value (self, buf, len, type, func)
106 PV_TYPE type, PI_HANDLER func) irda_extract_no_value()
124 * Function irda_insert_integer (self, buf, len, pi, type, func)
127 PV_TYPE type, PI_HANDLER func) irda_insert_integer()
134 p.pl = type & PV_MASK; /* The integer type codes the length as well */ irda_insert_integer()
172 if (type & PV_BIG_ENDIAN) irda_insert_integer()
179 if (type & PV_BIG_ENDIAN) irda_insert_integer()
197 * Function irda_extract integer (self, buf, len, pi, type, func)
203 PV_TYPE type, PI_HANDLER func) irda_extract_integer()
227 if (((type & PV_MASK) != PV_INTEGER) && ((type & PV_MASK) != p.pl)) { irda_extract_integer()
229 __func__, type & PV_MASK, p.pl); irda_extract_integer()
237 if((p.pl < (type & PV_MASK)) || (type & PV_BIG_ENDIAN)) { irda_extract_integer()
242 extract_len = type & PV_MASK; irda_extract_integer()
253 if (type & PV_BIG_ENDIAN) irda_extract_integer()
260 if (type & PV_BIG_ENDIAN) irda_extract_integer()
284 * Function irda_extract_string (self, buf, len, type, func)
287 PV_TYPE type, PI_HANDLER func) irda_extract_string()
329 * Function irda_extract_octseq (self, buf, len, type, func)
332 PV_TYPE type, PI_HANDLER func) irda_extract_octseq()
455 int type; irda_param_insert() local
479 /* Find expected data type for this parameter identifier (pi)*/ irda_param_insert()
480 type = pi_minor_info->type; irda_param_insert()
491 ret = (*pv_insert_table[type & PV_MASK])(self, buf+n, len, pi, type, irda_param_insert()
510 int type; irda_param_extract() local
534 /* Find expected data type for this parameter identifier (pi)*/ irda_param_extract()
535 type = pi_minor_info->type; irda_param_extract()
537 pr_debug("%s(), pi=[%d,%d], type=%d\n", __func__, irda_param_extract()
538 pi_major, pi_minor, type); irda_param_extract()
549 ret = (*pv_extract_table[type & PV_MASK])(self, buf+n, len, buf[n], irda_param_extract()
550 type, pi_minor_info->func); irda_param_extract()
78 irda_insert_no_value(void *self, __u8 *buf, int len, __u8 pi, PV_TYPE type, PI_HANDLER func) irda_insert_no_value() argument
105 irda_extract_no_value(void *self, __u8 *buf, int len, __u8 pi, PV_TYPE type, PI_HANDLER func) irda_extract_no_value() argument
126 irda_insert_integer(void *self, __u8 *buf, int len, __u8 pi, PV_TYPE type, PI_HANDLER func) irda_insert_integer() argument
202 irda_extract_integer(void *self, __u8 *buf, int len, __u8 pi, PV_TYPE type, PI_HANDLER func) irda_extract_integer() argument
286 irda_extract_string(void *self, __u8 *buf, int len, __u8 pi, PV_TYPE type, PI_HANDLER func) irda_extract_string() argument
331 irda_extract_octseq(void *self, __u8 *buf, int len, __u8 pi, PV_TYPE type, PI_HANDLER func) irda_extract_octseq() argument
/linux-4.1.27/fs/hfsplus/
H A Dacl.h14 struct posix_acl *hfsplus_get_posix_acl(struct inode *inode, int type);
16 int type);
/linux-4.1.27/arch/sh/kernel/cpu/sh3/
H A Dprobe.c66 boot_cpu_data.type = CPU_SH7708; cpu_probe()
73 boot_cpu_data.type = CPU_SH7729; cpu_probe()
76 boot_cpu_data.type = CPU_SH7706; cpu_probe()
79 boot_cpu_data.type = CPU_SH7710; cpu_probe()
82 boot_cpu_data.type = CPU_SH7712; cpu_probe()
85 boot_cpu_data.type = CPU_SH7720; cpu_probe()
88 boot_cpu_data.type = CPU_SH7721; cpu_probe()
91 boot_cpu_data.type = CPU_SH7705; cpu_probe()
/linux-4.1.27/arch/m68k/include/uapi/asm/
H A Dbootinfo-atari.h14 #define BI_ATARI_MCH_TYPE 0x8001 /* special machine type (__be32) */
31 #define ATARI_MACH_NORMAL 0 /* no special machine type */
/linux-4.1.27/arch/arm/plat-samsung/include/plat/
H A Dusb-phy.h16 extern int s5p_usb_phy_init(struct platform_device *pdev, int type);
17 extern int s5p_usb_phy_exit(struct platform_device *pdev, int type);
/linux-4.1.27/arch/arm/mach-nspire/
H A Dclcd.c69 const char *type; nspire_clcd_setup() local
75 err = of_property_read_string(fb->dev->dev.of_node, "lcd-type", &type); nspire_clcd_setup()
77 pr_err("CLCD: Could not find lcd-type property\n"); nspire_clcd_setup()
81 if (!strcmp(type, "cx")) { nspire_clcd_setup()
83 } else if (!strcmp(type, "classic")) { nspire_clcd_setup()
86 pr_err("CLCD: Unknown lcd-type %s\n", type); nspire_clcd_setup()
/linux-4.1.27/fs/gfs2/
H A Dacl.c30 static const char *gfs2_acl_name(int type) gfs2_acl_name() argument
32 switch (type) { gfs2_acl_name()
41 struct posix_acl *gfs2_get_acl(struct inode *inode, int type) gfs2_get_acl() argument
52 name = gfs2_acl_name(type); gfs2_get_acl()
67 int gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type) gfs2_set_acl() argument
72 const char *name = gfs2_acl_name(type); gfs2_set_acl()
79 if (type == ACL_TYPE_ACCESS) { gfs2_set_acl()
113 set_cached_acl(inode, type, acl); gfs2_set_acl()
H A Dacl.h19 extern struct posix_acl *gfs2_get_acl(struct inode *inode, int type);
20 extern int gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type);
/linux-4.1.27/net/core/
H A Dtimestamping.c39 unsigned int type; skb_clone_tx_timestamp() local
44 type = classify(skb); skb_clone_tx_timestamp()
45 if (type == PTP_CLASS_NONE) skb_clone_tx_timestamp()
53 phydev->drv->txtstamp(phydev, clone, type); skb_clone_tx_timestamp()
61 unsigned int type; skb_defer_rx_timestamp() local
67 type = classify(skb); skb_defer_rx_timestamp()
71 if (type == PTP_CLASS_NONE) skb_defer_rx_timestamp()
76 return phydev->drv->rxtstamp(phydev, skb, type); skb_defer_rx_timestamp()
/linux-4.1.27/net/rfkill/
H A Drfkill.h16 void rfkill_switch_all(const enum rfkill_type type, bool blocked);
21 bool rfkill_get_global_sw_state(const enum rfkill_type type);
/linux-4.1.27/include/keys/
H A Ddns_resolver-type.h1 /* DNS resolver key type
15 #include <linux/key-type.h>

Completed in 8937 milliseconds

1234567891011>>