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

1234567891011>>

/linux-4.4.14/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.4.14/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.4.14/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.4.14/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 Dpr.h10 enum pr_type type, u32 flags);
12 enum pr_type type);
14 enum pr_type type, bool abort);
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
254 static inline int dquot_disable(struct super_block *sb, int type, dquot_disable() argument
260 static inline int dquot_suspend(struct super_block *sb, int type) dquot_suspend() argument
265 static inline int dquot_resume(struct super_block *sb, int type) dquot_resume() argument
272 static inline int dquot_writeback_dquots(struct super_block *sb, int type) dquot_writeback_dquots() argument
385 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 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 Dfrontswap.h9 void (*init)(unsigned); /* this swap type was just swapon'ed */
13 void (*invalidate_area)(unsigned); /* swap type just swapoff'ed */
26 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 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
/linux-4.4.14/drivers/irqchip/
H A Dirq-s3c24xx.c50 unsigned int type; member in struct:s3c_irq_data
144 static int s3c_irq_type(struct irq_data *data, unsigned int type) s3c_irq_type() argument
146 switch (type) { s3c_irq_type()
159 pr_err("No such irq type %d", type); s3c_irq_type()
170 unsigned int type) s3c_irqext_type_set()
179 /* Set the external interrupt to pointed trigger type */ s3c_irqext_type_set()
180 switch (type) s3c_irqext_type_set()
207 pr_err("No such irq type %d", type); s3c_irqext_type_set()
218 static int s3c_irqext_type(struct irq_data *data, unsigned int type) s3c_irqext_type() argument
244 extint_offset, type); s3c_irqext_type()
247 static int s3c_irqext0_type(struct irq_data *data, unsigned int type) s3c_irqext0_type() argument
263 extint_offset, type); s3c_irqext0_type()
432 switch (irq_data->type) { s3c24xx_irq_map()
463 pr_err("irq-s3c24xx: unsupported irqtype %d\n", irq_data->type); s3c24xx_irq_map()
469 if (parent_intc && irq_data->type != S3C_IRQTYPE_NONE) { s3c24xx_irq_map()
609 { .type = S3C_IRQTYPE_NONE, }, /* reserved */
610 { .type = S3C_IRQTYPE_NONE, }, /* reserved */
611 { .type = S3C_IRQTYPE_NONE, }, /* reserved */
612 { .type = S3C_IRQTYPE_NONE, }, /* reserved */
613 { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT4 */
614 { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT5 */
615 { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT6 */
616 { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT7 */
617 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT8 */
618 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT9 */
619 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT10 */
620 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT11 */
621 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT12 */
622 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT13 */
623 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT14 */
624 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT15 */
625 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT16 */
626 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT17 */
627 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT18 */
628 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT19 */
629 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT20 */
630 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT21 */
631 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT22 */
632 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT23 */
637 { .type = S3C_IRQTYPE_EINT, }, /* EINT0 */
638 { .type = S3C_IRQTYPE_EINT, }, /* EINT1 */
639 { .type = S3C_IRQTYPE_EINT, }, /* EINT2 */
640 { .type = S3C_IRQTYPE_EINT, }, /* EINT3 */
641 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT4to7 */
642 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT8to23 */
643 { .type = S3C_IRQTYPE_NONE, }, /* reserved */
644 { .type = S3C_IRQTYPE_EDGE, }, /* nBATT_FLT */
645 { .type = S3C_IRQTYPE_EDGE, }, /* TICK */
646 { .type = S3C_IRQTYPE_EDGE, }, /* WDT */
647 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER0 */
648 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER1 */
649 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER2 */
650 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER3 */
651 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER4 */
652 { .type = S3C_IRQTYPE_LEVEL, }, /* UART2 */
653 { .type = S3C_IRQTYPE_EDGE, }, /* LCD */
654 { .type = S3C_IRQTYPE_EDGE, }, /* DMA0 */
655 { .type = S3C_IRQTYPE_EDGE, }, /* DMA1 */
656 { .type = S3C_IRQTYPE_EDGE, }, /* DMA2 */
657 { .type = S3C_IRQTYPE_EDGE, }, /* DMA3 */
658 { .type = S3C_IRQTYPE_EDGE, }, /* SDI */
659 { .type = S3C_IRQTYPE_EDGE, }, /* SPI0 */
660 { .type = S3C_IRQTYPE_LEVEL, }, /* UART1 */
661 { .type = S3C_IRQTYPE_NONE, }, /* reserved */
662 { .type = S3C_IRQTYPE_EDGE, }, /* USBD */
663 { .type = S3C_IRQTYPE_EDGE, }, /* USBH */
664 { .type = S3C_IRQTYPE_EDGE, }, /* IIC */
665 { .type = S3C_IRQTYPE_LEVEL, }, /* UART0 */
666 { .type = S3C_IRQTYPE_EDGE, }, /* SPI1 */
667 { .type = S3C_IRQTYPE_EDGE, }, /* RTC */
668 { .type = S3C_IRQTYPE_LEVEL, }, /* ADCPARENT */
672 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-RX */
673 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-TX */
674 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-ERR */
675 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-RX */
676 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-TX */
677 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-ERR */
678 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-RX */
679 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-TX */
680 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-ERR */
681 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* TC */
682 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* ADC */
706 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT0 */
707 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT1 */
708 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT2 */
709 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT3 */
710 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT4to7 */
711 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT8to23 */
712 { .type = S3C_IRQTYPE_NONE, }, /* reserved */
713 { .type = S3C_IRQTYPE_EDGE, }, /* nBATT_FLT */
714 { .type = S3C_IRQTYPE_EDGE, }, /* TICK */
715 { .type = S3C_IRQTYPE_EDGE, }, /* WDT */
716 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER0 */
717 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER1 */
718 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER2 */
719 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER3 */
720 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER4 */
721 { .type = S3C_IRQTYPE_LEVEL, }, /* UART2 */
722 { .type = S3C_IRQTYPE_EDGE, }, /* LCD */
723 { .type = S3C_IRQTYPE_EDGE, }, /* DMA0 */
724 { .type = S3C_IRQTYPE_EDGE, }, /* DMA1 */
725 { .type = S3C_IRQTYPE_EDGE, }, /* DMA2 */
726 { .type = S3C_IRQTYPE_EDGE, }, /* DMA3 */
727 { .type = S3C_IRQTYPE_LEVEL, }, /* SDI/CF */
728 { .type = S3C_IRQTYPE_EDGE, }, /* SPI0 */
729 { .type = S3C_IRQTYPE_LEVEL, }, /* UART1 */
730 { .type = S3C_IRQTYPE_NONE, }, /* reserved */
731 { .type = S3C_IRQTYPE_EDGE, }, /* USBD */
732 { .type = S3C_IRQTYPE_EDGE, }, /* USBH */
733 { .type = S3C_IRQTYPE_EDGE, }, /* IIC */
734 { .type = S3C_IRQTYPE_LEVEL, }, /* UART0 */
735 { .type = S3C_IRQTYPE_EDGE, }, /* SPI1 */
736 { .type = S3C_IRQTYPE_EDGE, }, /* RTC */
737 { .type = S3C_IRQTYPE_LEVEL, }, /* ADCPARENT */
741 { .type = S3C_IRQTYPE_EINT, .parent_irq = 0 }, /* EINT0 */
742 { .type = S3C_IRQTYPE_EINT, .parent_irq = 1 }, /* EINT1 */
743 { .type = S3C_IRQTYPE_EINT, .parent_irq = 2 }, /* EINT2 */
744 { .type = S3C_IRQTYPE_EINT, .parent_irq = 3 }, /* EINT3 */
745 { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT4 */
746 { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT5 */
747 { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT6 */
748 { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT7 */
749 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT8 */
750 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT9 */
751 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT10 */
752 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT11 */
753 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT12 */
754 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT13 */
755 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT14 */
756 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT15 */
757 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT16 */
758 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT17 */
759 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT18 */
760 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT19 */
761 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT20 */
762 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT21 */
763 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT22 */
764 { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT23 */
768 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-RX */
769 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-TX */
770 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-ERR */
771 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-RX */
772 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-TX */
773 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-ERR */
774 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-RX */
775 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-TX */
776 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-ERR */
777 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* TC */
778 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* ADC */
779 { .type = S3C_IRQTYPE_NONE, },
780 { .type = S3C_IRQTYPE_NONE, },
781 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 21 }, /* SDI */
782 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 21 }, /* CF */
808 { .type = S3C_IRQTYPE_EINT, }, /* EINT0 */
809 { .type = S3C_IRQTYPE_EINT, }, /* EINT1 */
810 { .type = S3C_IRQTYPE_EINT, }, /* EINT2 */
811 { .type = S3C_IRQTYPE_EINT, }, /* EINT3 */
812 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT4to7 */
813 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT8to23 */
814 { .type = S3C_IRQTYPE_NONE, }, /* reserved */
815 { .type = S3C_IRQTYPE_EDGE, }, /* nBATT_FLT */
816 { .type = S3C_IRQTYPE_EDGE, }, /* TICK */
817 { .type = S3C_IRQTYPE_LEVEL, }, /* WDT/AC97 */
818 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER0 */
819 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER1 */
820 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER2 */
821 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER3 */
822 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER4 */
823 { .type = S3C_IRQTYPE_LEVEL, }, /* UART2 */
824 { .type = S3C_IRQTYPE_LEVEL, }, /* LCD */
825 { .type = S3C_IRQTYPE_LEVEL, }, /* DMA */
826 { .type = S3C_IRQTYPE_LEVEL, }, /* UART3 */
827 { .type = S3C_IRQTYPE_NONE, }, /* reserved */
828 { .type = S3C_IRQTYPE_EDGE, }, /* SDI1 */
829 { .type = S3C_IRQTYPE_EDGE, }, /* SDI0 */
830 { .type = S3C_IRQTYPE_EDGE, }, /* SPI0 */
831 { .type = S3C_IRQTYPE_LEVEL, }, /* UART1 */
832 { .type = S3C_IRQTYPE_EDGE, }, /* NAND */
833 { .type = S3C_IRQTYPE_EDGE, }, /* USBD */
834 { .type = S3C_IRQTYPE_EDGE, }, /* USBH */
835 { .type = S3C_IRQTYPE_EDGE, }, /* IIC */
836 { .type = S3C_IRQTYPE_LEVEL, }, /* UART0 */
837 { .type = S3C_IRQTYPE_NONE, },
838 { .type = S3C_IRQTYPE_EDGE, }, /* RTC */
839 { .type = S3C_IRQTYPE_LEVEL, }, /* ADCPARENT */
843 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-RX */
844 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-TX */
845 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-ERR */
846 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-RX */
847 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-TX */
848 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-ERR */
849 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-RX */
850 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-TX */
851 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-ERR */
852 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* TC */
853 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* ADC */
854 { .type = S3C_IRQTYPE_NONE }, /* reserved */
855 { .type = S3C_IRQTYPE_NONE }, /* reserved */
856 { .type = S3C_IRQTYPE_NONE }, /* reserved */
857 { .type = S3C_IRQTYPE_NONE }, /* reserved */
858 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 16 }, /* LCD2 */
859 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 16 }, /* LCD3 */
860 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 16 }, /* LCD4 */
861 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA0 */
862 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA1 */
863 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA2 */
864 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA3 */
865 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA4 */
866 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA5 */
867 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 18 }, /* UART3-RX */
868 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 18 }, /* UART3-TX */
869 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 18 }, /* UART3-ERR */
870 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 9 }, /* WDT */
871 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 9 }, /* AC97 */
875 { .type = S3C_IRQTYPE_EDGE }, /* 2D */
876 { .type = S3C_IRQTYPE_NONE }, /* reserved */
877 { .type = S3C_IRQTYPE_NONE }, /* reserved */
878 { .type = S3C_IRQTYPE_NONE }, /* reserved */
879 { .type = S3C_IRQTYPE_EDGE }, /* PCM0 */
880 { .type = S3C_IRQTYPE_NONE }, /* reserved */
881 { .type = S3C_IRQTYPE_EDGE }, /* I2S0 */
911 { .type = S3C_IRQTYPE_EINT, }, /* EINT0 */
912 { .type = S3C_IRQTYPE_EINT, }, /* EINT1 */
913 { .type = S3C_IRQTYPE_EINT, }, /* EINT2 */
914 { .type = S3C_IRQTYPE_EINT, }, /* EINT3 */
915 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT4to7 */
916 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT8to23 */
917 { .type = S3C_IRQTYPE_LEVEL, }, /* CAM */
918 { .type = S3C_IRQTYPE_EDGE, }, /* nBATT_FLT */
919 { .type = S3C_IRQTYPE_EDGE, }, /* TICK */
920 { .type = S3C_IRQTYPE_LEVEL, }, /* WDT/AC97 */
921 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER0 */
922 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER1 */
923 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER2 */
924 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER3 */
925 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER4 */
926 { .type = S3C_IRQTYPE_LEVEL, }, /* UART2 */
927 { .type = S3C_IRQTYPE_EDGE, }, /* LCD */
928 { .type = S3C_IRQTYPE_EDGE, }, /* DMA0 */
929 { .type = S3C_IRQTYPE_EDGE, }, /* DMA1 */
930 { .type = S3C_IRQTYPE_EDGE, }, /* DMA2 */
931 { .type = S3C_IRQTYPE_EDGE, }, /* DMA3 */
932 { .type = S3C_IRQTYPE_EDGE, }, /* SDI */
933 { .type = S3C_IRQTYPE_EDGE, }, /* SPI0 */
934 { .type = S3C_IRQTYPE_LEVEL, }, /* UART1 */
935 { .type = S3C_IRQTYPE_LEVEL, }, /* NFCON */
936 { .type = S3C_IRQTYPE_EDGE, }, /* USBD */
937 { .type = S3C_IRQTYPE_EDGE, }, /* USBH */
938 { .type = S3C_IRQTYPE_EDGE, }, /* IIC */
939 { .type = S3C_IRQTYPE_LEVEL, }, /* UART0 */
940 { .type = S3C_IRQTYPE_EDGE, }, /* SPI1 */
941 { .type = S3C_IRQTYPE_EDGE, }, /* RTC */
942 { .type = S3C_IRQTYPE_LEVEL, }, /* ADCPARENT */
946 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-RX */
947 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-TX */
948 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-ERR */
949 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-RX */
950 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-TX */
951 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-ERR */
952 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-RX */
953 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-TX */
954 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-ERR */
955 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* TC */
956 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* ADC */
957 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 6 }, /* CAM_C */
958 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 6 }, /* CAM_P */
959 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 9 }, /* WDT */
960 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 9 }, /* AC97 */
986 { .type = S3C_IRQTYPE_EINT, }, /* EINT0 */
987 { .type = S3C_IRQTYPE_EINT, }, /* EINT1 */
988 { .type = S3C_IRQTYPE_EINT, }, /* EINT2 */
989 { .type = S3C_IRQTYPE_EINT, }, /* EINT3 */
990 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT4to7 */
991 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT8to23 */
992 { .type = S3C_IRQTYPE_LEVEL, }, /* CAM */
993 { .type = S3C_IRQTYPE_EDGE, }, /* nBATT_FLT */
994 { .type = S3C_IRQTYPE_EDGE, }, /* TICK */
995 { .type = S3C_IRQTYPE_EDGE, }, /* WDT */
996 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER0 */
997 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER1 */
998 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER2 */
999 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER3 */
1000 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER4 */
1001 { .type = S3C_IRQTYPE_LEVEL, }, /* UART2 */
1002 { .type = S3C_IRQTYPE_EDGE, }, /* LCD */
1003 { .type = S3C_IRQTYPE_EDGE, }, /* DMA0 */
1004 { .type = S3C_IRQTYPE_EDGE, }, /* DMA1 */
1005 { .type = S3C_IRQTYPE_EDGE, }, /* DMA2 */
1006 { .type = S3C_IRQTYPE_EDGE, }, /* DMA3 */
1007 { .type = S3C_IRQTYPE_EDGE, }, /* SDI */
1008 { .type = S3C_IRQTYPE_EDGE, }, /* SPI0 */
1009 { .type = S3C_IRQTYPE_LEVEL, }, /* UART1 */
1010 { .type = S3C_IRQTYPE_LEVEL, }, /* NFCON */
1011 { .type = S3C_IRQTYPE_EDGE, }, /* USBD */
1012 { .type = S3C_IRQTYPE_EDGE, }, /* USBH */
1013 { .type = S3C_IRQTYPE_EDGE, }, /* IIC */
1014 { .type = S3C_IRQTYPE_LEVEL, }, /* UART0 */
1015 { .type = S3C_IRQTYPE_EDGE, }, /* SPI1 */
1016 { .type = S3C_IRQTYPE_EDGE, }, /* RTC */
1017 { .type = S3C_IRQTYPE_LEVEL, }, /* ADCPARENT */
1021 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-RX */
1022 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-TX */
1023 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-ERR */
1024 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-RX */
1025 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-TX */
1026 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-ERR */
1027 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-RX */
1028 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-TX */
1029 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-ERR */
1030 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* TC */
1031 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* ADC */
1032 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 6 }, /* CAM_C */
1033 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 6 }, /* CAM_P */
1059 { .type = S3C_IRQTYPE_EINT, }, /* EINT0 */
1060 { .type = S3C_IRQTYPE_EINT, }, /* EINT1 */
1061 { .type = S3C_IRQTYPE_EINT, }, /* EINT2 */
1062 { .type = S3C_IRQTYPE_EINT, }, /* EINT3 */
1063 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT4to7 */
1064 { .type = S3C_IRQTYPE_LEVEL, }, /* EINT8to23 */
1065 { .type = S3C_IRQTYPE_LEVEL, }, /* CAM */
1066 { .type = S3C_IRQTYPE_EDGE, }, /* nBATT_FLT */
1067 { .type = S3C_IRQTYPE_EDGE, }, /* TICK */
1068 { .type = S3C_IRQTYPE_LEVEL, }, /* WDT/AC97 */
1069 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER0 */
1070 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER1 */
1071 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER2 */
1072 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER3 */
1073 { .type = S3C_IRQTYPE_EDGE, }, /* TIMER4 */
1074 { .type = S3C_IRQTYPE_LEVEL, }, /* UART2 */
1075 { .type = S3C_IRQTYPE_LEVEL, }, /* LCD */
1076 { .type = S3C_IRQTYPE_LEVEL, }, /* DMA */
1077 { .type = S3C_IRQTYPE_LEVEL, }, /* UART3 */
1078 { .type = S3C_IRQTYPE_EDGE, }, /* CFON */
1079 { .type = S3C_IRQTYPE_EDGE, }, /* SDI1 */
1080 { .type = S3C_IRQTYPE_EDGE, }, /* SDI0 */
1081 { .type = S3C_IRQTYPE_EDGE, }, /* SPI0 */
1082 { .type = S3C_IRQTYPE_LEVEL, }, /* UART1 */
1083 { .type = S3C_IRQTYPE_EDGE, }, /* NAND */
1084 { .type = S3C_IRQTYPE_EDGE, }, /* USBD */
1085 { .type = S3C_IRQTYPE_EDGE, }, /* USBH */
1086 { .type = S3C_IRQTYPE_EDGE, }, /* IIC */
1087 { .type = S3C_IRQTYPE_LEVEL, }, /* UART0 */
1088 { .type = S3C_IRQTYPE_EDGE, }, /* SPI1 */
1089 { .type = S3C_IRQTYPE_EDGE, }, /* RTC */
1090 { .type = S3C_IRQTYPE_LEVEL, }, /* ADCPARENT */
1095 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-RX */
1096 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-TX */
1097 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-ERR */
1098 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-RX */
1099 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-TX */
1100 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 23 }, /* UART1-ERR */
1101 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-RX */
1102 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-TX */
1103 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 15 }, /* UART2-ERR */
1104 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* TC */
1105 { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* ADC */
1106 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 6 }, /* CAM_C */
1107 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 6 }, /* CAM_P */
1108 { .type = S3C_IRQTYPE_NONE }, /* reserved */
1109 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 16 }, /* LCD1 */
1110 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 16 }, /* LCD2 */
1111 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 16 }, /* LCD3 */
1112 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 16 }, /* LCD4 */
1113 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA0 */
1114 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA1 */
1115 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA2 */
1116 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA3 */
1117 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA4 */
1118 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 17 }, /* DMA5 */
1119 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 18 }, /* UART3-RX */
1120 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 18 }, /* UART3-TX */
1121 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 18 }, /* UART3-ERR */
1122 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 9 }, /* WDT */
1123 { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 9 }, /* AC97 */
1173 * format: <ctrl_num ctrl_irq parent_irq type>
166 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.4.14/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 Dcryptouser.h64 char type[CRYPTO_MAX_NAME]; member in struct:crypto_report_larval
68 char type[CRYPTO_MAX_NAME]; member in struct:crypto_report_hash
74 char type[CRYPTO_MAX_ALG_NAME]; member in struct:crypto_report_cipher
81 char type[CRYPTO_MAX_NAME]; member in struct:crypto_report_blkcipher
90 char type[CRYPTO_MAX_NAME]; member in struct:crypto_report_aead
98 char type[CRYPTO_MAX_NAME]; member in struct:crypto_report_comp
102 char type[CRYPTO_MAX_NAME]; member in struct:crypto_report_rng
107 char type[CRYPTO_MAX_NAME]; member in struct:crypto_report_akcipher
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.4.14/tools/lib/symbol/
H A Dkallsyms.h12 static inline u8 kallsyms2elf_binding(char type) kallsyms2elf_binding() argument
14 if (type == 'W') kallsyms2elf_binding()
17 return isupper(type) ? STB_GLOBAL : STB_LOCAL; kallsyms2elf_binding()
20 u8 kallsyms2elf_type(char type);
24 char type, u64 start));
H A Dkallsyms.c5 u8 kallsyms2elf_type(char type) kallsyms2elf_type() argument
7 type = tolower(type); kallsyms2elf_type()
8 return (type == 't' || type == 'w') ? STT_FUNC : STT_OBJECT; kallsyms2elf_type()
13 char type, u64 start)) kallsyms__parse()
11 kallsyms__parse(const char *filename, void *arg, int (*process_symbol)(void *arg, const char *name, char type, u64 start)) kallsyms__parse() argument
/linux-4.4.14/include/linux/crush/
H A Dhash.h14 extern const char *crush_hash_name(int type);
16 extern __u32 crush_hash32(int type, __u32 a);
17 extern __u32 crush_hash32_2(int type, __u32 a, __u32 b);
18 extern __u32 crush_hash32_3(int type, __u32 a, __u32 b, __u32 c);
19 extern __u32 crush_hash32_4(int type, __u32 a, __u32 b, __u32 c, __u32 d);
20 extern __u32 crush_hash32_5(int type, __u32 a, __u32 b, __u32 c, __u32 d,
/linux-4.4.14/arch/arm/kernel/
H A Djump_label.c9 enum jump_label_type type, __arch_jump_label_transform()
15 if (type == JUMP_LABEL_JMP) __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.4.14/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()
218 ti->error = "Exception store type is not P or 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, (strlen(argv[0]) > 1 ? &argv[0][1] : 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.4.14/arch/arm/boot/bootp/
H A Dinitrd.S1 .type initrd_start,#object
/linux-4.4.14/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.c40 [NFTA_LOG_GROUP] = { .type = NLA_U16 },
41 [NFTA_LOG_PREFIX] = { .type = NLA_STRING },
42 [NFTA_LOG_SNAPLEN] = { .type = NLA_U32 },
43 [NFTA_LOG_QTHRESHOLD] = { .type = NLA_U16 },
44 [NFTA_LOG_LEVEL] = { .type = NLA_U32 },
45 [NFTA_LOG_FLAGS] = { .type = NLA_U32 },
67 li->type = NF_LOG_TYPE_LOG; nft_log_init()
72 li->type = NF_LOG_TYPE_ULOG; nft_log_init()
74 switch (li->type) { nft_log_init()
101 ret = nf_logger_find_get(NFPROTO_IPV4, li->type); nft_log_init()
105 ret = nf_logger_find_get(NFPROTO_IPV6, li->type); nft_log_init()
107 nf_logger_put(NFPROTO_IPV4, li->type); nft_log_init()
113 return nf_logger_find_get(ctx->afi->family, li->type); nft_log_init()
126 nf_logger_put(NFPROTO_IPV4, li->type); nft_log_destroy()
127 nf_logger_put(NFPROTO_IPV6, li->type); nft_log_destroy()
129 nf_logger_put(ctx->afi->family, li->type); nft_log_destroy()
141 switch (li->type) { nft_log_dump()
176 .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.4.14/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.4.14/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.4.14/arch/sparc/lib/
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 DU3copy_from_user.S23 #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.S31 #define LOAD(type,addr,dest) type##a [addr] %asi, dest
H A DNG4copy_from_user.S27 #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
/linux-4.4.14/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.4.14/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.4.14/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.4.14/scripts/kconfig/
H A Dexpr.c20 e->type = E_SYMBOL; expr_alloc_symbol()
25 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) expr_alloc_one() argument
28 e->type = type; expr_alloc_one()
33 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) expr_alloc_two() argument
36 e->type = type; expr_alloc_two()
42 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2) expr_alloc_comp() argument
45 e->type = type; expr_alloc_comp()
74 switch (org->type) { expr_copy()
97 printf("can't copy type %d\n", e->type); expr_copy()
111 switch (e->type) { expr_free()
130 printf("how to free type %d?\n", e->type); expr_free()
141 static void __expr_eliminate_eq(enum expr_type type, struct expr **ep1, struct expr **ep2) __expr_eliminate_eq() argument
143 if (e1->type == type) { __expr_eliminate_eq()
144 __expr_eliminate_eq(type, &e1->left.expr, &e2); __expr_eliminate_eq()
145 __expr_eliminate_eq(type, &e1->right.expr, &e2); __expr_eliminate_eq()
148 if (e2->type == type) { __expr_eliminate_eq()
149 __expr_eliminate_eq(type, &e1, &e2->left.expr); __expr_eliminate_eq()
150 __expr_eliminate_eq(type, &e1, &e2->right.expr); __expr_eliminate_eq()
153 if (e1->type == E_SYMBOL && e2->type == E_SYMBOL && __expr_eliminate_eq()
161 switch (type) { __expr_eliminate_eq()
179 switch (e1->type) { expr_eliminate_eq()
182 __expr_eliminate_eq(e1->type, ep1, ep2); expr_eliminate_eq()
186 if (e1->type != e2->type) switch (e2->type) { expr_eliminate_eq()
189 __expr_eliminate_eq(e2->type, ep1, ep2); expr_eliminate_eq()
204 if (e1->type != e2->type) expr_eq()
206 switch (e1->type) { expr_eq()
224 res = (e1->type == E_SYMBOL && e2->type == E_SYMBOL && expr_eq()
250 if (e) switch (e->type) { expr_eliminate_yn()
254 if (e->left.expr->type == E_SYMBOL) { expr_eliminate_yn()
258 e->type = E_SYMBOL; expr_eliminate_yn()
270 if (e->right.expr->type == E_SYMBOL) { expr_eliminate_yn()
274 e->type = E_SYMBOL; expr_eliminate_yn()
290 if (e->left.expr->type == E_SYMBOL) { expr_eliminate_yn()
300 e->type = E_SYMBOL; expr_eliminate_yn()
306 if (e->right.expr->type == E_SYMBOL) { expr_eliminate_yn()
316 e->type = E_SYMBOL; expr_eliminate_yn()
336 switch (e->type) { expr_trans_bool()
345 if (e->left.sym->type == S_TRISTATE) { expr_trans_bool()
347 e->type = E_SYMBOL; expr_trans_bool()
368 if (e1->type != E_EQUAL && e1->type != E_UNEQUAL && e1->type != E_SYMBOL && e1->type != E_NOT) expr_join_or()
370 if (e2->type != E_EQUAL && e2->type != E_UNEQUAL && e2->type != E_SYMBOL && e2->type != E_NOT) expr_join_or()
372 if (e1->type == E_NOT) { expr_join_or()
374 if (tmp->type != E_EQUAL && tmp->type != E_UNEQUAL && tmp->type != E_SYMBOL) expr_join_or()
379 if (e2->type == E_NOT) { expr_join_or()
380 if (e2->left.expr->type != E_SYMBOL) expr_join_or()
387 if (sym1->type != S_BOOLEAN && sym1->type != S_TRISTATE) expr_join_or()
389 if (sym1->type == S_TRISTATE) { expr_join_or()
390 if (e1->type == E_EQUAL && e2->type == E_EQUAL && expr_join_or()
396 if (e1->type == E_EQUAL && e2->type == E_EQUAL && expr_join_or()
402 if (e1->type == E_EQUAL && e2->type == E_EQUAL && expr_join_or()
409 if (sym1->type == S_BOOLEAN && sym1 == sym2) { expr_join_or()
410 if ((e1->type == E_NOT && e1->left.expr->type == E_SYMBOL && e2->type == E_SYMBOL) || expr_join_or()
411 (e2->type == E_NOT && e2->left.expr->type == E_SYMBOL && e1->type == E_SYMBOL)) expr_join_or()
432 if (e1->type != E_EQUAL && e1->type != E_UNEQUAL && e1->type != E_SYMBOL && e1->type != E_NOT) expr_join_and()
434 if (e2->type != E_EQUAL && e2->type != E_UNEQUAL && e2->type != E_SYMBOL && e2->type != E_NOT) expr_join_and()
436 if (e1->type == E_NOT) { expr_join_and()
438 if (tmp->type != E_EQUAL && tmp->type != E_UNEQUAL && tmp->type != E_SYMBOL) expr_join_and()
443 if (e2->type == E_NOT) { expr_join_and()
444 if (e2->left.expr->type != E_SYMBOL) expr_join_and()
451 if (sym1->type != S_BOOLEAN && sym1->type != S_TRISTATE) expr_join_and()
454 if ((e1->type == E_SYMBOL && e2->type == E_EQUAL && e2->right.sym == &symbol_yes) || expr_join_and()
455 (e2->type == E_SYMBOL && e1->type == E_EQUAL && e1->right.sym == &symbol_yes)) expr_join_and()
459 if ((e1->type == E_SYMBOL && e2->type == E_UNEQUAL && e2->right.sym == &symbol_no) || expr_join_and()
460 (e2->type == E_SYMBOL && e1->type == E_UNEQUAL && e1->right.sym == &symbol_no)) expr_join_and()
464 if ((e1->type == E_SYMBOL && e2->type == E_UNEQUAL && e2->right.sym == &symbol_mod) || expr_join_and()
465 (e2->type == E_SYMBOL && e1->type == E_UNEQUAL && e1->right.sym == &symbol_mod)) expr_join_and()
469 if (sym1->type == S_TRISTATE) { expr_join_and()
470 if (e1->type == E_EQUAL && e2->type == E_UNEQUAL) { expr_join_and()
477 if (e1->type == E_UNEQUAL && e2->type == E_EQUAL) { expr_join_and()
484 if (e1->type == E_UNEQUAL && e2->type == E_UNEQUAL && expr_join_and()
490 if (e1->type == E_UNEQUAL && e2->type == E_UNEQUAL && expr_join_and()
496 if (e1->type == E_UNEQUAL && e2->type == E_UNEQUAL && expr_join_and()
502 if ((e1->type == E_SYMBOL && e2->type == E_EQUAL && e2->right.sym == &symbol_mod) || expr_join_and()
503 (e2->type == E_SYMBOL && e1->type == E_EQUAL && e1->right.sym == &symbol_mod) || expr_join_and()
504 (e1->type == E_SYMBOL && e2->type == E_UNEQUAL && e2->right.sym == &symbol_yes) || expr_join_and()
505 (e2->type == E_SYMBOL && e1->type == E_UNEQUAL && e1->right.sym == &symbol_yes)) expr_join_and()
519 static void expr_eliminate_dups1(enum expr_type type, struct expr **ep1, struct expr **ep2) expr_eliminate_dups1() argument
525 if (e1->type == type) { expr_eliminate_dups1()
526 expr_eliminate_dups1(type, &e1->left.expr, &e2); expr_eliminate_dups1()
527 expr_eliminate_dups1(type, &e1->right.expr, &e2); expr_eliminate_dups1()
530 if (e2->type == type) { expr_eliminate_dups1()
531 expr_eliminate_dups1(type, &e1, &e2->left.expr); expr_eliminate_dups1()
532 expr_eliminate_dups1(type, &e1, &e2->right.expr); expr_eliminate_dups1()
538 switch (e1->type) { expr_eliminate_dups1()
540 expr_eliminate_dups1(e1->type, &e1, &e1); expr_eliminate_dups1()
545 switch (type) { expr_eliminate_dups1()
580 switch (e->type) { expr_eliminate_dups()
582 expr_eliminate_dups1(e->type, &e, &e); expr_eliminate_dups()
600 switch (e->type) { expr_transform()
615 switch (e->type) { expr_transform()
617 if (e->left.sym->type != S_BOOLEAN) expr_transform()
620 e->type = E_NOT; expr_transform()
627 e->type = E_SYMBOL; expr_transform()
633 e->type = E_SYMBOL; expr_transform()
639 if (e->left.sym->type != S_BOOLEAN) expr_transform()
642 e->type = E_SYMBOL; expr_transform()
648 e->type = E_SYMBOL; expr_transform()
654 e->type = E_NOT; expr_transform()
661 switch (e->left.expr->type) { expr_transform()
676 e->type = e->type == E_EQUAL ? E_UNEQUAL : E_EQUAL; expr_transform()
684 e->type = e->type == E_LEQ ? E_GTH : E_LTH; expr_transform()
692 e->type = e->type == E_LTH ? E_GEQ : E_LEQ; expr_transform()
697 e->type = E_AND; expr_transform()
699 tmp->type = E_NOT; expr_transform()
706 e->type = E_OR; expr_transform()
708 tmp->type = E_NOT; expr_transform()
718 e->type = E_SYMBOL; expr_transform()
727 e->type = E_SYMBOL; expr_transform()
736 e->type = E_SYMBOL; expr_transform()
756 switch (dep->type) { expr_contains_symbol()
784 switch (dep->type) { expr_depends_symbol()
808 struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym) expr_trans_compare() argument
814 if (type == E_UNEQUAL) expr_trans_compare()
818 switch (e->type) { expr_trans_compare()
826 if (type == E_UNEQUAL) expr_trans_compare()
836 if (type == E_UNEQUAL) expr_trans_compare()
840 return expr_trans_compare(e->left.expr, type == E_EQUAL ? E_UNEQUAL : E_EQUAL, sym); expr_trans_compare()
847 if (type == E_EQUAL) { expr_trans_compare()
864 return expr_alloc_comp(type, e->left.sym, sym); expr_trans_compare()
886 enum symbol_type type, expr_parse_string()
893 switch (type) { expr_parse_string()
928 switch (e->type) { expr_calc_value()
951 printf("expr_calc_value: %d?\n", e->type); expr_calc_value()
960 if (e->left.sym->type != S_STRING || e->right.sym->type != S_STRING) { expr_calc_value()
961 k1 = expr_parse_string(str1, e->left.sym->type, &lval); expr_calc_value()
962 k2 = expr_parse_string(str2, e->right.sym->type, &rval); expr_calc_value()
968 if (e->type != E_EQUAL && e->type != E_UNEQUAL) { expr_calc_value()
978 switch(e->type) { expr_calc_value()
992 printf("expr_calc_value: relation %d?\n", e->type); expr_calc_value()
1038 while (e->type != E_SYMBOL) expr_get_leftmost_symbol()
1052 switch (e1->type) { expr_simplify_unmet_dep()
1080 if (expr_compare_type(prevtoken, e->type) > 0) expr_print()
1082 switch (e->type) { expr_print()
1107 fn(data, NULL, e->type == E_LEQ ? "<=" : "<"); expr_print()
1116 fn(data, NULL, e->type == E_GEQ ? ">=" : ">"); expr_print()
1154 sprintf(buf, "<unknown type %d>", e->type); expr_print()
1159 if (expr_compare_type(prevtoken, e->type) > 0) expr_print()
1199 if (sym && sym->type != S_UNKNOWN) expr_print_gstr_helper()
885 expr_parse_string(const char *str, enum symbol_type type, union string_value *val) expr_parse_string() argument
/linux-4.4.14/arch/x86/include/uapi/asm/
H A Dsigcontext32.h4 /* This is a legacy file - all the type definitions are in sigcontext.h: */
/linux-4.4.14/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.4.14/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.4.14/arch/arm/include/asm/
H A Dlinkage.h8 .type name, %function; \
/linux-4.4.14/tools/perf/util/include/asm/
H A Duaccess.h12 #define access_ok(type, addr, size) 1
/linux-4.4.14/drivers/net/ethernet/sfc/
H A Dsriov.c18 if (efx->type->sriov_set_vf_mac) efx_sriov_set_vf_mac()
19 return efx->type->sriov_set_vf_mac(efx, vf_i, mac); efx_sriov_set_vf_mac()
29 if (efx->type->sriov_set_vf_vlan) { efx_sriov_set_vf_vlan()
34 return efx->type->sriov_set_vf_vlan(efx, vf_i, vlan, qos); efx_sriov_set_vf_vlan()
45 if (efx->type->sriov_set_vf_spoofchk) efx_sriov_set_vf_spoofchk()
46 return efx->type->sriov_set_vf_spoofchk(efx, vf_i, spoofchk); efx_sriov_set_vf_spoofchk()
56 if (efx->type->sriov_get_vf_config) efx_sriov_get_vf_config()
57 return efx->type->sriov_get_vf_config(efx, vf_i, ivi); efx_sriov_get_vf_config()
67 if (efx->type->sriov_set_vf_link_state) efx_sriov_set_vf_link_state()
68 return efx->type->sriov_set_vf_link_state(efx, vf_i, efx_sriov_set_vf_link_state()
79 if (efx->type->sriov_get_phys_port_id) efx_sriov_get_phys_port_id()
80 return efx->type->sriov_get_phys_port_id(efx, ppid); efx_sriov_get_phys_port_id()
/linux-4.4.14/net/ceph/crush/
H A Dhash.c93 __u32 crush_hash32(int type, __u32 a) crush_hash32() argument
95 switch (type) { crush_hash32()
103 __u32 crush_hash32_2(int type, __u32 a, __u32 b) crush_hash32_2() argument
105 switch (type) { crush_hash32_2()
113 __u32 crush_hash32_3(int type, __u32 a, __u32 b, __u32 c) crush_hash32_3() argument
115 switch (type) { crush_hash32_3()
123 __u32 crush_hash32_4(int type, __u32 a, __u32 b, __u32 c, __u32 d) crush_hash32_4() argument
125 switch (type) { crush_hash32_4()
133 __u32 crush_hash32_5(int type, __u32 a, __u32 b, __u32 c, __u32 d, __u32 e) crush_hash32_5() argument
135 switch (type) { crush_hash32_5()
143 const char *crush_hash_name(int type) crush_hash_name() argument
145 switch (type) { crush_hash_name()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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()
156 const struct af_alg_type *type; alg_bind() local
169 type = alg_get_type(sa->salg_type); alg_bind()
170 if (IS_ERR(type) && PTR_ERR(type) == -ENOENT) { alg_bind()
172 type = alg_get_type(sa->salg_type); alg_bind()
175 if (IS_ERR(type)) alg_bind()
176 return PTR_ERR(type); alg_bind()
178 private = type->bind(sa->salg_name, alg_bind()
182 module_put(type->owner); alg_bind()
191 swap(ask->type, type); alg_bind()
199 alg_do_release(type, private); alg_bind()
208 const struct af_alg_type *type = ask->type; alg_setkey() local
220 err = type->setkey(ask->private, key, keylen); alg_setkey()
233 const struct af_alg_type *type; alg_setsockopt() local
240 type = ask->type; alg_setsockopt()
243 if (level != SOL_ALG || !type) alg_setsockopt()
250 if (!type->setkey) alg_setsockopt()
258 if (!type->setauthsize) alg_setsockopt()
260 err = type->setauthsize(ask->private, optlen); alg_setsockopt()
272 const struct af_alg_type *type; af_alg_accept() local
278 type = ask->type; af_alg_accept()
281 if (!type) af_alg_accept()
293 err = type->accept(ask->private, sk2); af_alg_accept()
296 if (nokey && type->accept_nokey) af_alg_accept()
297 err = type->accept_nokey(ask->private, sk2); af_alg_accept()
308 alg_sk(sk2)->type = type; af_alg_accept()
311 newsock->ops = type->ops; af_alg_accept()
315 newsock->ops = type->ops_nokey; af_alg_accept()
358 alg_do_release(ask->type, ask->private); alg_sock_destruct()
367 if (sock->type != SOCK_SEQPACKET) alg_create()
H A Dalgboss.c34 } type; member in struct:cryptomgr_param
59 u32 type; member in struct:crypto_test_param
181 param->type.attr.rta_len = sizeof(param->type); cryptomgr_schedule_probe()
182 param->type.attr.rta_type = CRYPTOA_TYPE; cryptomgr_schedule_probe()
183 param->type.data.type = larval->alg.cra_flags & ~CRYPTO_ALG_TESTED; cryptomgr_schedule_probe()
184 param->type.data.mask = larval->mask & ~CRYPTO_ALG_TESTED; cryptomgr_schedule_probe()
185 param->tb[0] = &param->type.attr; cryptomgr_schedule_probe()
214 u32 type = param->type; cryptomgr_test() local
221 if (type & CRYPTO_ALG_TESTED) cryptomgr_test()
224 err = alg_test(param->driver, param->alg, type, CRYPTO_ALG_TESTED); cryptomgr_test()
237 u32 type; cryptomgr_schedule_test() local
248 type = alg->cra_flags; cryptomgr_schedule_test()
250 /* This piece of crap needs to disappear into per-type test hooks. */ cryptomgr_schedule_test()
251 if (!((type ^ CRYPTO_ALG_TYPE_BLKCIPHER) & cryptomgr_schedule_test()
252 CRYPTO_ALG_TYPE_BLKCIPHER_MASK) && !(type & CRYPTO_ALG_GENIV) && cryptomgr_schedule_test()
256 type |= CRYPTO_ALG_TESTED; cryptomgr_schedule_test()
258 param->type = type; cryptomgr_schedule_test()
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
51 strncpy(rpcomp.type, "pcomp", sizeof(rpcomp.type)); crypto_pcomp_report()
71 seq_printf(m, "type : pcomp\n"); crypto_pcomp_show()
84 .type = CRYPTO_ALG_TYPE_PCOMPRESS,
88 struct crypto_pcomp *crypto_alloc_pcomp(const char *alg_name, u32 type, crypto_alloc_pcomp() argument
91 return crypto_alloc_tfm(alg_name, &crypto_pcomp_type, type, mask); crypto_alloc_pcomp()
114 MODULE_DESCRIPTION("Partial (de)compression type");
/linux-4.4.14/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()
209 int i, type; osc_quota_setup() local
211 for (type = 0; type < MAXQUOTAS; type++) { osc_quota_setup()
212 cli->cl_quota_hash[type] = cfs_hash_create("QUOTA_HASH", osc_quota_setup()
221 if (cli->cl_quota_hash[type] == NULL) osc_quota_setup()
225 if (type == MAXQUOTAS) osc_quota_setup()
228 for (i = 0; i < type; i++) osc_quota_setup()
237 int type; osc_quota_cleanup() local
239 for (type = 0; type < MAXQUOTAS; type++) osc_quota_cleanup()
240 cfs_hash_putref(cli->cl_quota_hash[type]); osc_quota_cleanup()
/linux-4.4.14/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.4.14/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_MIDI_RAW_BYTES
2690 .type = QUIRK_COMPOSITE,
2694 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2716 .type = QUIRK_MIDI_RAW_BYTES
2730 .type = QUIRK_COMPOSITE,
2734 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2756 .type = QUIRK_MIDI_RAW_BYTES
2770 .type = QUIRK_MIDI_NOVATION
2780 .type = QUIRK_COMPOSITE,
2784 .type = QUIRK_MIDI_FIXED_ENDPOINT,
2792 .type = QUIRK_IGNORE_INTERFACE
2839 .type = QUIRK_MIDI_CH345
2856 .type = QUIRK_MIDI_CME
2866 .type = QUIRK_MIDI_CME
2888 .type = QUIRK_AUDIO_ALIGN_TRANSFER, \
2918 .type = QUIRK_COMPOSITE,
2922 .type = QUIRK_AUDIO_STANDARD_MIXER,
2926 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2949 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
2984 .type = QUIRK_COMPOSITE,
2988 .type = QUIRK_IGNORE_INTERFACE
2992 .type = QUIRK_IGNORE_INTERFACE
2996 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3017 .type = QUIRK_IGNORE_INTERFACE
3021 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3042 .type = QUIRK_IGNORE_INTERFACE
3046 .type = QUIRK_MIDI_MIDIMAN,
3071 .type = QUIRK_COMPOSITE,
3075 .type = QUIRK_IGNORE_INTERFACE
3079 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3116 .type = QUIRK_COMPOSITE,
3121 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3139 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3167 .type = QUIRK_COMPOSITE,
3171 .type = QUIRK_AUDIO_STANDARD_MIXER,
3175 .type = QUIRK_AUDIO_FIXED_ENDPOINT,
3212 .type = QUIRK_COMPOSITE,
3217 .type = QUIRK_AUDIO_STANDARD_INTERFACE,
3222 .type = QUIRK_AUDIO_STANDARD_INTERFACE,
3227 .type = QUIRK_MIDI_STANDARD_INTERFACE
3247 .type = QUIRK_MIDI_STANDARD_INTERFACE
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/net/netfilter/ipset/
H A Dip_set_hash_mac.c8 /* Kernel module implementing an IP set type: the hash:mac type */
136 [IPSET_ATTR_HASHSIZE] = { .type = NLA_U32 },
137 [IPSET_ATTR_MAXELEM] = { .type = NLA_U32 },
138 [IPSET_ATTR_PROBES] = { .type = NLA_U8 },
139 [IPSET_ATTR_RESIZE] = { .type = NLA_U8 },
140 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 },
141 [IPSET_ATTR_CADT_FLAGS] = { .type = NLA_U32 },
144 [IPSET_ATTR_ETHER] = { .type = NLA_BINARY,
146 [IPSET_ATTR_TIMEOUT] = { .type = NLA_U32 },
147 [IPSET_ATTR_LINENO] = { .type = NLA_U32 },
148 [IPSET_ATTR_BYTES] = { .type = NLA_U64 },
149 [IPSET_ATTR_PACKETS] = { .type = NLA_U64 },
150 [IPSET_ATTR_COMMENT] = { .type = NLA_NUL_STRING,
152 [IPSET_ATTR_SKBMARK] = { .type = NLA_U64 },
153 [IPSET_ATTR_SKBPRIO] = { .type = NLA_U32 },
154 [IPSET_ATTR_SKBQUEUE] = { .type = NLA_U16 },
/linux-4.4.14/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.4.14/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_BPF_OBJECT
58 %type <str> PE_BPF_SOURCE
59 %type <str> PE_NAME_CACHE_TYPE
60 %type <str> PE_NAME_CACHE_OP_RESULT
61 %type <str> PE_MODIFIER_EVENT
62 %type <str> PE_MODIFIER_BP
63 %type <str> PE_EVENT_NAME
64 %type <str> PE_PMU_EVENT_PRE PE_PMU_EVENT_SUF PE_KERNEL_PMU_EVENT
65 %type <num> value_sym
66 %type <head> event_config
67 %type <term> event_term
68 %type <head> event_pmu
69 %type <head> event_legacy_symbol
70 %type <head> event_legacy_cache
71 %type <head> event_legacy_mem
72 %type <head> event_legacy_tracepoint
73 %type <tracepoint_name> tracepoint_name
74 %type <head> event_legacy_numeric
75 %type <head> event_legacy_raw
76 %type <head> event_bpf_file
77 %type <head> event_def
78 %type <head> event_mod
79 %type <head> event_name
80 %type <head> event
81 %type <head> events
82 %type <head> group_def
83 %type <head> group
84 %type <head> groups
283 int type = $1 >> 16;
287 ABORT_ON(parse_events_add_numeric(data, list, type, config, $3));
296 int type = $1 >> 16;
300 ABORT_ON(parse_events_add_numeric(data, list, type, config, NULL));
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) }
114 #define OPT_BOOLEAN_FLAG(s, l, v, h, f) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), .value = check_vtype(v, bool *), .help = (h), .flags = (f) }
116 { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), \
119 #define OPT_INCR(s, l, v, h) { .type = OPTION_INCR, .short_name = (s), .long_name = (l), .value = check_vtype(v, int *), .help = (h) }
120 #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) }
121 #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) }
122 #define OPT_INTEGER(s, l, v, h) { .type = OPTION_INTEGER, .short_name = (s), .long_name = (l), .value = check_vtype(v, int *), .help = (h) }
123 #define OPT_UINTEGER(s, l, v, h) { .type = OPTION_UINTEGER, .short_name = (s), .long_name = (l), .value = check_vtype(v, unsigned int *), .help = (h) }
124 #define OPT_LONG(s, l, v, h) { .type = OPTION_LONG, .short_name = (s), .long_name = (l), .value = check_vtype(v, long *), .help = (h) }
125 #define OPT_U64(s, l, v, h) { .type = OPTION_U64, .short_name = (s), .long_name = (l), .value = check_vtype(v, u64 *), .help = (h) }
126 #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) }
128 { .type = OPTION_STRING, .short_name = (s), .long_name = (l), \
131 #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}
133 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = "time", .help = (h), .callback = parse_opt_approxidate_cb }
135 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), (a), .help = (h), .callback = (f) }
137 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), (a), .help = (h), .callback = (f), .flags = PARSE_OPT_NOARG }
139 { .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 }
141 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l),\
145 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), \
H A Dpmu.y25 %type <num> PP_VALUE
26 %type <bits> bit_term
27 %type <bits> bits
/linux-4.4.14/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.4.14/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.4.14/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 */
92 /* type 8: VCT-jig */
101 static int type = -1; variable
102 module_param(type, int, 0);
103 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.4.14/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.4.14/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.4.14/arch/powerpc/kernel/vdso32/
H A Dnote.S9 #define ASM_ELF_NOTE_BEGIN(name, flags, vendor, type) \
14 .long type; /* note type */ \
/linux-4.4.14/arch/mips/lantiq/xway/
H A Dprom.c52 i->type = SOC_TYPE_DANUBE; ltq_soc_detect()
58 i->type = SOC_TYPE_DANUBE; ltq_soc_detect()
67 i->type = SOC_TYPE_AR9; ltq_soc_detect()
74 i->type = SOC_TYPE_AR9; ltq_soc_detect()
84 i->type = SOC_TYPE_AMAZON_SE; ltq_soc_detect()
92 i->type = SOC_TYPE_VR9; ltq_soc_detect()
99 i->type = SOC_TYPE_VR9; ltq_soc_detect()
106 i->type = SOC_TYPE_VR9_2; ltq_soc_detect()
112 i->type = SOC_TYPE_VRX220; ltq_soc_detect()
119 i->type = SOC_TYPE_VR9_2; ltq_soc_detect()
129 i->type = SOC_TYPE_AR10; ltq_soc_detect()
138 i->type = SOC_TYPE_GRX390; ltq_soc_detect()
/linux-4.4.14/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.4.14/drivers/staging/fsl-mc/bus/
H A Ddprc.c238 * @type: Interrupt type: 0 represents message interrupt
239 * type (both irq_addr and irq_val are valid)
248 int *type, dprc_get_irq()
269 *type = mc_dec(cmd.params[2], 32, 32); dprc_get_irq()
552 * type in a child container
557 * @type: Resource/object type
558 * @quota: Sets the maximum number of resources of the selected type
567 * This function sets allocation policy for a specific resource type.
579 char *type, dprc_set_res_quota()
589 cmd.params[1] |= mc_enc(0, 8, type[0]); dprc_set_res_quota()
590 cmd.params[1] |= mc_enc(8, 8, type[1]); dprc_set_res_quota()
591 cmd.params[1] |= mc_enc(16, 8, type[2]); dprc_set_res_quota()
592 cmd.params[1] |= mc_enc(24, 8, type[3]); dprc_set_res_quota()
593 cmd.params[1] |= mc_enc(32, 8, type[4]); dprc_set_res_quota()
594 cmd.params[1] |= mc_enc(40, 8, type[5]); dprc_set_res_quota()
595 cmd.params[1] |= mc_enc(48, 8, type[6]); dprc_set_res_quota()
596 cmd.params[1] |= mc_enc(56, 8, type[7]); dprc_set_res_quota()
597 cmd.params[2] |= mc_enc(0, 8, type[8]); dprc_set_res_quota()
598 cmd.params[2] |= mc_enc(8, 8, type[9]); dprc_set_res_quota()
599 cmd.params[2] |= mc_enc(16, 8, type[10]); dprc_set_res_quota()
600 cmd.params[2] |= mc_enc(24, 8, type[11]); dprc_set_res_quota()
601 cmd.params[2] |= mc_enc(32, 8, type[12]); dprc_set_res_quota()
602 cmd.params[2] |= mc_enc(40, 8, type[13]); dprc_set_res_quota()
603 cmd.params[2] |= mc_enc(48, 8, type[14]); dprc_set_res_quota()
612 * resource/object type in a child container
617 * @type: resource/object type
618 * @quota: Returnes the maximum number of resources of the selected type
629 char *type, dprc_get_res_quota()
639 cmd.params[1] |= mc_enc(0, 8, type[0]); dprc_get_res_quota()
640 cmd.params[1] |= mc_enc(8, 8, type[1]); dprc_get_res_quota()
641 cmd.params[1] |= mc_enc(16, 8, type[2]); dprc_get_res_quota()
642 cmd.params[1] |= mc_enc(24, 8, type[3]); dprc_get_res_quota()
643 cmd.params[1] |= mc_enc(32, 8, type[4]); dprc_get_res_quota()
644 cmd.params[1] |= mc_enc(40, 8, type[5]); dprc_get_res_quota()
645 cmd.params[1] |= mc_enc(48, 8, type[6]); dprc_get_res_quota()
646 cmd.params[1] |= mc_enc(56, 8, type[7]); dprc_get_res_quota()
647 cmd.params[2] |= mc_enc(0, 8, type[8]); dprc_get_res_quota()
648 cmd.params[2] |= mc_enc(8, 8, type[9]); dprc_get_res_quota()
649 cmd.params[2] |= mc_enc(16, 8, type[10]); dprc_get_res_quota()
650 cmd.params[2] |= mc_enc(24, 8, type[11]); dprc_get_res_quota()
651 cmd.params[2] |= mc_enc(32, 8, type[12]); dprc_get_res_quota()
652 cmd.params[2] |= mc_enc(40, 8, type[13]); dprc_get_res_quota()
653 cmd.params[2] |= mc_enc(48, 8, type[14]); dprc_get_res_quota()
673 * @res_req: Describes the type and amount of resources to
683 * The type of assignment depends on the dprc_res_req options, as follows:
714 cmd.params[2] |= mc_enc(0, 8, res_req->type[0]); dprc_assign()
715 cmd.params[2] |= mc_enc(8, 8, res_req->type[1]); dprc_assign()
716 cmd.params[2] |= mc_enc(16, 8, res_req->type[2]); dprc_assign()
717 cmd.params[2] |= mc_enc(24, 8, res_req->type[3]); dprc_assign()
718 cmd.params[2] |= mc_enc(32, 8, res_req->type[4]); dprc_assign()
719 cmd.params[2] |= mc_enc(40, 8, res_req->type[5]); dprc_assign()
720 cmd.params[2] |= mc_enc(48, 8, res_req->type[6]); dprc_assign()
721 cmd.params[2] |= mc_enc(56, 8, res_req->type[7]); dprc_assign()
722 cmd.params[3] |= mc_enc(0, 8, res_req->type[8]); dprc_assign()
723 cmd.params[3] |= mc_enc(8, 8, res_req->type[9]); dprc_assign()
724 cmd.params[3] |= mc_enc(16, 8, res_req->type[10]); dprc_assign()
725 cmd.params[3] |= mc_enc(24, 8, res_req->type[11]); dprc_assign()
726 cmd.params[3] |= mc_enc(32, 8, res_req->type[12]); dprc_assign()
727 cmd.params[3] |= mc_enc(40, 8, res_req->type[13]); dprc_assign()
728 cmd.params[3] |= mc_enc(48, 8, res_req->type[14]); dprc_assign()
729 cmd.params[3] |= mc_enc(56, 8, res_req->type[15]); dprc_assign()
742 * @res_req: Describes the type and amount of resources to un-assign from
766 cmd.params[2] |= mc_enc(0, 8, res_req->type[0]); dprc_unassign()
767 cmd.params[2] |= mc_enc(8, 8, res_req->type[1]); dprc_unassign()
768 cmd.params[2] |= mc_enc(16, 8, res_req->type[2]); dprc_unassign()
769 cmd.params[2] |= mc_enc(24, 8, res_req->type[3]); dprc_unassign()
770 cmd.params[2] |= mc_enc(32, 8, res_req->type[4]); dprc_unassign()
771 cmd.params[2] |= mc_enc(40, 8, res_req->type[5]); dprc_unassign()
772 cmd.params[2] |= mc_enc(48, 8, res_req->type[6]); dprc_unassign()
773 cmd.params[2] |= mc_enc(56, 8, res_req->type[7]); dprc_unassign()
774 cmd.params[3] |= mc_enc(0, 8, res_req->type[8]); dprc_unassign()
775 cmd.params[3] |= mc_enc(8, 8, res_req->type[9]); dprc_unassign()
776 cmd.params[3] |= mc_enc(16, 8, res_req->type[10]); dprc_unassign()
777 cmd.params[3] |= mc_enc(24, 8, res_req->type[11]); dprc_unassign()
778 cmd.params[3] |= mc_enc(32, 8, res_req->type[12]); dprc_unassign()
779 cmd.params[3] |= mc_enc(40, 8, res_req->type[13]); dprc_unassign()
780 cmd.params[3] |= mc_enc(48, 8, res_req->type[14]); dprc_unassign()
781 cmd.params[3] |= mc_enc(56, 8, res_req->type[15]); dprc_unassign()
820 * dprc_get_pool() - Get the type (string) of a certain dprc's pool
825 * @type: The type of the pool
838 char *type) dprc_get_pool()
855 type[0] = mc_dec(cmd.params[1], 0, 8); dprc_get_pool()
856 type[1] = mc_dec(cmd.params[1], 8, 8); dprc_get_pool()
857 type[2] = mc_dec(cmd.params[1], 16, 8); dprc_get_pool()
858 type[3] = mc_dec(cmd.params[1], 24, 8); dprc_get_pool()
859 type[4] = mc_dec(cmd.params[1], 32, 8); dprc_get_pool()
860 type[5] = mc_dec(cmd.params[1], 40, 8); dprc_get_pool()
861 type[6] = mc_dec(cmd.params[1], 48, 8); dprc_get_pool()
862 type[7] = mc_dec(cmd.params[1], 56, 8); dprc_get_pool()
863 type[8] = mc_dec(cmd.params[2], 0, 8); dprc_get_pool()
864 type[9] = mc_dec(cmd.params[2], 8, 8); dprc_get_pool()
865 type[10] = mc_dec(cmd.params[2], 16, 8); dprc_get_pool()
866 type[11] = mc_dec(cmd.params[2], 24, 8); dprc_get_pool()
867 type[12] = mc_dec(cmd.params[2], 32, 8); dprc_get_pool()
868 type[13] = mc_dec(cmd.params[2], 40, 8); dprc_get_pool()
869 type[14] = mc_dec(cmd.params[2], 48, 8); dprc_get_pool()
870 type[15] = '\0'; dprc_get_pool()
951 obj_desc->type[0] = mc_dec(cmd.params[3], 0, 8); dprc_get_obj()
952 obj_desc->type[1] = mc_dec(cmd.params[3], 8, 8); dprc_get_obj()
953 obj_desc->type[2] = mc_dec(cmd.params[3], 16, 8); dprc_get_obj()
954 obj_desc->type[3] = mc_dec(cmd.params[3], 24, 8); dprc_get_obj()
955 obj_desc->type[4] = mc_dec(cmd.params[3], 32, 8); dprc_get_obj()
956 obj_desc->type[5] = mc_dec(cmd.params[3], 40, 8); dprc_get_obj()
957 obj_desc->type[6] = mc_dec(cmd.params[3], 48, 8); dprc_get_obj()
958 obj_desc->type[7] = mc_dec(cmd.params[3], 56, 8); dprc_get_obj()
959 obj_desc->type[8] = mc_dec(cmd.params[4], 0, 8); dprc_get_obj()
960 obj_desc->type[9] = mc_dec(cmd.params[4], 8, 8); dprc_get_obj()
961 obj_desc->type[10] = mc_dec(cmd.params[4], 16, 8); dprc_get_obj()
962 obj_desc->type[11] = mc_dec(cmd.params[4], 24, 8); dprc_get_obj()
963 obj_desc->type[12] = mc_dec(cmd.params[4], 32, 8); dprc_get_obj()
964 obj_desc->type[13] = mc_dec(cmd.params[4], 40, 8); dprc_get_obj()
965 obj_desc->type[14] = mc_dec(cmd.params[4], 48, 8); dprc_get_obj()
966 obj_desc->type[15] = '\0'; dprc_get_obj()
993 * @obj_type: The type of the object to get its descriptor.
1045 obj_desc->type[0] = (char)mc_dec(cmd.params[3], 0, 8); dprc_get_obj_desc()
1046 obj_desc->type[1] = (char)mc_dec(cmd.params[3], 8, 8); dprc_get_obj_desc()
1047 obj_desc->type[2] = (char)mc_dec(cmd.params[3], 16, 8); dprc_get_obj_desc()
1048 obj_desc->type[3] = (char)mc_dec(cmd.params[3], 24, 8); dprc_get_obj_desc()
1049 obj_desc->type[4] = (char)mc_dec(cmd.params[3], 32, 8); dprc_get_obj_desc()
1050 obj_desc->type[5] = (char)mc_dec(cmd.params[3], 40, 8); dprc_get_obj_desc()
1051 obj_desc->type[6] = (char)mc_dec(cmd.params[3], 48, 8); dprc_get_obj_desc()
1052 obj_desc->type[7] = (char)mc_dec(cmd.params[3], 56, 8); dprc_get_obj_desc()
1053 obj_desc->type[8] = (char)mc_dec(cmd.params[4], 0, 8); dprc_get_obj_desc()
1054 obj_desc->type[9] = (char)mc_dec(cmd.params[4], 8, 8); dprc_get_obj_desc()
1055 obj_desc->type[10] = (char)mc_dec(cmd.params[4], 16, 8); dprc_get_obj_desc()
1056 obj_desc->type[11] = (char)mc_dec(cmd.params[4], 24, 8); dprc_get_obj_desc()
1057 obj_desc->type[12] = (char)mc_dec(cmd.params[4], 32, 8); dprc_get_obj_desc()
1058 obj_desc->type[13] = (char)mc_dec(cmd.params[4], 40, 8); dprc_get_obj_desc()
1059 obj_desc->type[14] = (char)mc_dec(cmd.params[4], 48, 8); dprc_get_obj_desc()
1060 obj_desc->type[15] = (char)mc_dec(cmd.params[4], 56, 8); dprc_get_obj_desc()
1143 * @type: Interrupt type: 0 represents message interrupt
1144 * type (both irq_addr and irq_val are valid)
1155 int *type, dprc_get_obj_irq()
1193 *type = (int)mc_dec(cmd.params[2], 32, 32); dprc_get_obj_irq()
1201 * to this container, by pool type
1205 * @type: pool type
1207 * resource type that are assigned to this DPRC
1214 char *type, dprc_get_res_count()
1225 cmd.params[1] |= mc_enc(0, 8, type[0]); dprc_get_res_count()
1226 cmd.params[1] |= mc_enc(8, 8, type[1]); dprc_get_res_count()
1227 cmd.params[1] |= mc_enc(16, 8, type[2]); dprc_get_res_count()
1228 cmd.params[1] |= mc_enc(24, 8, type[3]); dprc_get_res_count()
1229 cmd.params[1] |= mc_enc(32, 8, type[4]); dprc_get_res_count()
1230 cmd.params[1] |= mc_enc(40, 8, type[5]); dprc_get_res_count()
1231 cmd.params[1] |= mc_enc(48, 8, type[6]); dprc_get_res_count()
1232 cmd.params[1] |= mc_enc(56, 8, type[7]); dprc_get_res_count()
1233 cmd.params[2] |= mc_enc(0, 8, type[8]); dprc_get_res_count()
1234 cmd.params[2] |= mc_enc(8, 8, type[9]); dprc_get_res_count()
1235 cmd.params[2] |= mc_enc(16, 8, type[10]); dprc_get_res_count()
1236 cmd.params[2] |= mc_enc(24, 8, type[11]); dprc_get_res_count()
1237 cmd.params[2] |= mc_enc(32, 8, type[12]); dprc_get_res_count()
1238 cmd.params[2] |= mc_enc(40, 8, type[13]); dprc_get_res_count()
1239 cmd.params[2] |= mc_enc(48, 8, type[14]); dprc_get_res_count()
1259 * @type: pool type
1267 char *type, dprc_get_res_ids()
1279 cmd.params[2] |= mc_enc(0, 8, type[0]); dprc_get_res_ids()
1280 cmd.params[2] |= mc_enc(8, 8, type[1]); dprc_get_res_ids()
1281 cmd.params[2] |= mc_enc(16, 8, type[2]); dprc_get_res_ids()
1282 cmd.params[2] |= mc_enc(24, 8, type[3]); dprc_get_res_ids()
1283 cmd.params[2] |= mc_enc(32, 8, type[4]); dprc_get_res_ids()
1284 cmd.params[2] |= mc_enc(40, 8, type[5]); dprc_get_res_ids()
1285 cmd.params[2] |= mc_enc(48, 8, type[6]); dprc_get_res_ids()
1286 cmd.params[2] |= mc_enc(56, 8, type[7]); dprc_get_res_ids()
1287 cmd.params[3] |= mc_enc(0, 8, type[8]); dprc_get_res_ids()
1288 cmd.params[3] |= mc_enc(8, 8, type[9]); dprc_get_res_ids()
1289 cmd.params[3] |= mc_enc(16, 8, type[10]); dprc_get_res_ids()
1290 cmd.params[3] |= mc_enc(24, 8, type[11]); dprc_get_res_ids()
1291 cmd.params[3] |= mc_enc(32, 8, type[12]); dprc_get_res_ids()
1292 cmd.params[3] |= mc_enc(40, 8, type[13]); dprc_get_res_ids()
1293 cmd.params[3] |= mc_enc(48, 8, type[14]); dprc_get_res_ids()
1315 * @obj_type; Object type as returned in dprc_get_obj()
1373 * @obj_type: Object's type
1468 cmd.params[2] |= mc_enc(0, 8, endpoint1->type[0]); dprc_connect()
1469 cmd.params[2] |= mc_enc(8, 8, endpoint1->type[1]); dprc_connect()
1470 cmd.params[2] |= mc_enc(16, 8, endpoint1->type[2]); dprc_connect()
1471 cmd.params[2] |= mc_enc(24, 8, endpoint1->type[3]); dprc_connect()
1472 cmd.params[2] |= mc_enc(32, 8, endpoint1->type[4]); dprc_connect()
1473 cmd.params[2] |= mc_enc(40, 8, endpoint1->type[5]); dprc_connect()
1474 cmd.params[2] |= mc_enc(48, 8, endpoint1->type[6]); dprc_connect()
1475 cmd.params[2] |= mc_enc(56, 8, endpoint1->type[7]); dprc_connect()
1476 cmd.params[3] |= mc_enc(0, 8, endpoint1->type[8]); dprc_connect()
1477 cmd.params[3] |= mc_enc(8, 8, endpoint1->type[9]); dprc_connect()
1478 cmd.params[3] |= mc_enc(16, 8, endpoint1->type[10]); dprc_connect()
1479 cmd.params[3] |= mc_enc(24, 8, endpoint1->type[11]); dprc_connect()
1480 cmd.params[3] |= mc_enc(32, 8, endpoint1->type[12]); dprc_connect()
1481 cmd.params[3] |= mc_enc(40, 8, endpoint1->type[13]); dprc_connect()
1482 cmd.params[3] |= mc_enc(48, 8, endpoint1->type[14]); dprc_connect()
1483 cmd.params[3] |= mc_enc(56, 8, endpoint1->type[15]); dprc_connect()
1486 cmd.params[5] |= mc_enc(0, 8, endpoint2->type[0]); dprc_connect()
1487 cmd.params[5] |= mc_enc(8, 8, endpoint2->type[1]); dprc_connect()
1488 cmd.params[5] |= mc_enc(16, 8, endpoint2->type[2]); dprc_connect()
1489 cmd.params[5] |= mc_enc(24, 8, endpoint2->type[3]); dprc_connect()
1490 cmd.params[5] |= mc_enc(32, 8, endpoint2->type[4]); dprc_connect()
1491 cmd.params[5] |= mc_enc(40, 8, endpoint2->type[5]); dprc_connect()
1492 cmd.params[5] |= mc_enc(48, 8, endpoint2->type[6]); dprc_connect()
1493 cmd.params[5] |= mc_enc(56, 8, endpoint2->type[7]); dprc_connect()
1494 cmd.params[6] |= mc_enc(0, 8, endpoint2->type[8]); dprc_connect()
1495 cmd.params[6] |= mc_enc(8, 8, endpoint2->type[9]); dprc_connect()
1496 cmd.params[6] |= mc_enc(16, 8, endpoint2->type[10]); dprc_connect()
1497 cmd.params[6] |= mc_enc(24, 8, endpoint2->type[11]); dprc_connect()
1498 cmd.params[6] |= mc_enc(32, 8, endpoint2->type[12]); dprc_connect()
1499 cmd.params[6] |= mc_enc(40, 8, endpoint2->type[13]); dprc_connect()
1500 cmd.params[6] |= mc_enc(48, 8, endpoint2->type[14]); dprc_connect()
1501 cmd.params[6] |= mc_enc(56, 8, endpoint2->type[15]); dprc_connect()
1529 cmd.params[1] |= mc_enc(0, 8, endpoint->type[0]); dprc_disconnect()
1530 cmd.params[1] |= mc_enc(8, 8, endpoint->type[1]); dprc_disconnect()
1531 cmd.params[1] |= mc_enc(16, 8, endpoint->type[2]); dprc_disconnect()
1532 cmd.params[1] |= mc_enc(24, 8, endpoint->type[3]); dprc_disconnect()
1533 cmd.params[1] |= mc_enc(32, 8, endpoint->type[4]); dprc_disconnect()
1534 cmd.params[1] |= mc_enc(40, 8, endpoint->type[5]); dprc_disconnect()
1535 cmd.params[1] |= mc_enc(48, 8, endpoint->type[6]); dprc_disconnect()
1536 cmd.params[1] |= mc_enc(56, 8, endpoint->type[7]); dprc_disconnect()
1537 cmd.params[2] |= mc_enc(0, 8, endpoint->type[8]); dprc_disconnect()
1538 cmd.params[2] |= mc_enc(8, 8, endpoint->type[9]); dprc_disconnect()
1539 cmd.params[2] |= mc_enc(16, 8, endpoint->type[10]); dprc_disconnect()
1540 cmd.params[2] |= mc_enc(24, 8, endpoint->type[11]); dprc_disconnect()
1541 cmd.params[2] |= mc_enc(32, 8, endpoint->type[12]); dprc_disconnect()
1542 cmd.params[2] |= mc_enc(40, 8, endpoint->type[13]); dprc_disconnect()
1543 cmd.params[2] |= mc_enc(48, 8, endpoint->type[14]); dprc_disconnect()
1544 cmd.params[2] |= mc_enc(56, 8, endpoint->type[15]); dprc_disconnect()
1578 cmd.params[1] |= mc_enc(0, 8, endpoint1->type[0]); dprc_get_connection()
1579 cmd.params[1] |= mc_enc(8, 8, endpoint1->type[1]); dprc_get_connection()
1580 cmd.params[1] |= mc_enc(16, 8, endpoint1->type[2]); dprc_get_connection()
1581 cmd.params[1] |= mc_enc(24, 8, endpoint1->type[3]); dprc_get_connection()
1582 cmd.params[1] |= mc_enc(32, 8, endpoint1->type[4]); dprc_get_connection()
1583 cmd.params[1] |= mc_enc(40, 8, endpoint1->type[5]); dprc_get_connection()
1584 cmd.params[1] |= mc_enc(48, 8, endpoint1->type[6]); dprc_get_connection()
1585 cmd.params[1] |= mc_enc(56, 8, endpoint1->type[7]); dprc_get_connection()
1586 cmd.params[2] |= mc_enc(0, 8, endpoint1->type[8]); dprc_get_connection()
1587 cmd.params[2] |= mc_enc(8, 8, endpoint1->type[9]); dprc_get_connection()
1588 cmd.params[2] |= mc_enc(16, 8, endpoint1->type[10]); dprc_get_connection()
1589 cmd.params[2] |= mc_enc(24, 8, endpoint1->type[11]); dprc_get_connection()
1590 cmd.params[2] |= mc_enc(32, 8, endpoint1->type[12]); dprc_get_connection()
1591 cmd.params[2] |= mc_enc(40, 8, endpoint1->type[13]); dprc_get_connection()
1592 cmd.params[2] |= mc_enc(48, 8, endpoint1->type[14]); dprc_get_connection()
1593 cmd.params[2] |= mc_enc(56, 8, endpoint1->type[15]); dprc_get_connection()
1603 endpoint2->type[0] = mc_dec(cmd.params[4], 0, 8); dprc_get_connection()
1604 endpoint2->type[1] = mc_dec(cmd.params[4], 8, 8); dprc_get_connection()
1605 endpoint2->type[2] = mc_dec(cmd.params[4], 16, 8); dprc_get_connection()
1606 endpoint2->type[3] = mc_dec(cmd.params[4], 24, 8); dprc_get_connection()
1607 endpoint2->type[4] = mc_dec(cmd.params[4], 32, 8); dprc_get_connection()
1608 endpoint2->type[5] = mc_dec(cmd.params[4], 40, 8); dprc_get_connection()
1609 endpoint2->type[6] = mc_dec(cmd.params[4], 48, 8); dprc_get_connection()
1610 endpoint2->type[7] = mc_dec(cmd.params[4], 56, 8); dprc_get_connection()
1611 endpoint2->type[8] = mc_dec(cmd.params[5], 0, 8); dprc_get_connection()
1612 endpoint2->type[9] = mc_dec(cmd.params[5], 8, 8); dprc_get_connection()
1613 endpoint2->type[10] = mc_dec(cmd.params[5], 16, 8); dprc_get_connection()
1614 endpoint2->type[11] = mc_dec(cmd.params[5], 24, 8); dprc_get_connection()
1615 endpoint2->type[12] = mc_dec(cmd.params[5], 32, 8); dprc_get_connection()
1616 endpoint2->type[13] = mc_dec(cmd.params[5], 40, 8); dprc_get_connection()
1617 endpoint2->type[14] = mc_dec(cmd.params[5], 48, 8); dprc_get_connection()
1618 endpoint2->type[15] = mc_dec(cmd.params[5], 56, 8); dprc_get_connection()
244 dprc_get_irq(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 irq_index, int *type, struct dprc_irq_cfg *irq_cfg) dprc_get_irq() argument
575 dprc_set_res_quota(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, int child_container_id, char *type, u16 quota) dprc_set_res_quota() argument
625 dprc_get_res_quota(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, int child_container_id, char *type, u16 *quota) dprc_get_res_quota() argument
834 dprc_get_pool(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, int pool_index, char *type) dprc_get_pool() argument
1149 dprc_get_obj_irq(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, char *obj_type, int obj_id, u8 irq_index, int *type, struct dprc_irq_cfg *irq_cfg) dprc_get_obj_irq() argument
1211 dprc_get_res_count(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, char *type, int *res_count) dprc_get_res_count() argument
1264 dprc_get_res_ids(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, char *type, struct dprc_res_ids_range_desc *range_desc) dprc_get_res_ids() argument
/linux-4.4.14/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
H A Dpmu.h9 u8 type; member in struct:nvbios_pmuE
32 bool nvbios_pmuRm(struct nvkm_bios *, u8 type, struct nvbios_pmuR *);
/linux-4.4.14/include/uapi/linux/netfilter_ipv4/
H A Dipt_REJECT.h17 enum ipt_reject_with with; /* reject type */
/linux-4.4.14/include/uapi/linux/netfilter_ipv6/
H A Dip6t_REJECT.h19 __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.4.14/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.4.14/arch/ia64/include/uapi/asm/
H A Ducontext.h8 #define uc_link uc_mcontext.sc_gr[0] /* wrong type; nobody cares */
/linux-4.4.14/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.4.14/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.4.14/include/trace/events/
H A Dthermal.h18 __string(thermal_zone, tz->type)
25 __assign_str(thermal_zone, tz->type);
43 __string(type, cdev->type)
48 __assign_str(type, cdev->type);
52 TP_printk("type=%s target=%lu", __get_str(type), __entry->target)
63 __string(thermal_zone, tz->type)
70 __assign_str(thermal_zone, tz->type);
147 __string(type, cdev->type )
155 __assign_str(type, cdev->type);
162 TP_printk("type=%s freq=%lu load=%u dynamic_power=%u static_power=%u",
163 __get_str(type), __entry->freq,
174 __string(type, cdev->type)
181 __assign_str(type, cdev->type);
187 TP_printk("type=%s freq=%u cdev_state=%lu power=%u",
188 __get_str(type), __entry->freq, __entry->cdev_state,
H A Dvb2.h19 __field(u32, type)
29 __entry->type = vb->type;
34 "type = %u, bytesused = %u", __entry->owner,
37 __entry->index, __entry->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),
/linux-4.4.14/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.4.14/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.4.14/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.c160 static int ocfs2_local_check_quota_file(struct super_block *sb, int type) ocfs2_local_check_quota_file() argument
169 struct inode *linode = sb_dqopt(sb)->files[type]; ocfs2_local_check_quota_file()
178 mlog(ML_ERROR, "failed to read quota file header (type=%d)\n", ocfs2_local_check_quota_file()
179 type); ocfs2_local_check_quota_file()
183 if (le32_to_cpu(dqhead->dqh_magic) != lmagics[type]) { ocfs2_local_check_quota_file()
185 " type=%d\n", le32_to_cpu(dqhead->dqh_magic), ocfs2_local_check_quota_file()
186 lmagics[type], type); ocfs2_local_check_quota_file()
189 if (le32_to_cpu(dqhead->dqh_version) != lversions[type]) { ocfs2_local_check_quota_file()
191 " type=%d\n", le32_to_cpu(dqhead->dqh_version), ocfs2_local_check_quota_file()
192 lversions[type], type); ocfs2_local_check_quota_file()
199 ginode = ocfs2_get_system_file_inode(OCFS2_SB(sb), ino[type], ocfs2_local_check_quota_file()
203 "(type=%d)\n", type); ocfs2_local_check_quota_file()
211 "(type=%d)\n", type); ocfs2_local_check_quota_file()
215 if (le32_to_cpu(dqhead->dqh_magic) != gmagics[type]) { ocfs2_local_check_quota_file()
217 "(%u != %u), type=%d\n", ocfs2_local_check_quota_file()
218 le32_to_cpu(dqhead->dqh_magic), gmagics[type], type); ocfs2_local_check_quota_file()
221 if (le32_to_cpu(dqhead->dqh_version) != gversions[type]) { ocfs2_local_check_quota_file()
223 "(%u != %u), type=%d\n", ocfs2_local_check_quota_file()
224 le32_to_cpu(dqhead->dqh_version), gversions[type], ocfs2_local_check_quota_file()
225 type); ocfs2_local_check_quota_file()
330 int type; ocfs2_free_quota_recovery() local
332 for (type = 0; type < OCFS2_MAXQUOTAS; type++) ocfs2_free_quota_recovery()
333 free_recovery_list(&(rec->r_list[type])); ocfs2_free_quota_recovery()
340 int type, ocfs2_recovery_load_quota()
372 int type; ocfs2_alloc_quota_recovery() local
378 for (type = 0; type < OCFS2_MAXQUOTAS; type++) ocfs2_alloc_quota_recovery()
379 INIT_LIST_HEAD(&(rec->r_list[type])); ocfs2_alloc_quota_recovery()
397 int type; ocfs2_begin_quota_recovery() local
409 for (type = 0; type < OCFS2_MAXQUOTAS; type++) { ocfs2_begin_quota_recovery()
410 if (!OCFS2_HAS_RO_COMPAT_FEATURE(sb, feature[type])) ocfs2_begin_quota_recovery()
414 lqinode = ocfs2_get_system_file_inode(osb, ino[type], slot_num); ocfs2_begin_quota_recovery()
431 "(slot=%d type=%d)\n", slot_num, type); ocfs2_begin_quota_recovery()
436 status = ocfs2_recovery_load_quota(lqinode, ldinfo, type, ocfs2_begin_quota_recovery()
437 &rec->r_list[type]); ocfs2_begin_quota_recovery()
459 int type, ocfs2_recover_local_quota_file()
463 struct ocfs2_mem_dqinfo *oinfo = sb_dqinfo(sb, type)->dqi_priv; ocfs2_recover_local_quota_file()
474 trace_ocfs2_recover_local_quota_file((unsigned long)lqinode->i_ino, type); ocfs2_recover_local_quota_file()
476 list_for_each_entry_safe(rchunk, next, &(rec->r_list[type]), rc_list) { ocfs2_recover_local_quota_file()
499 make_kqid(&init_user_ns, type, ocfs2_recover_local_quota_file()
504 "for id %u, type %d. Cannot finish quota " ocfs2_recover_local_quota_file()
507 type); ocfs2_recover_local_quota_file()
575 free_recovery_list(&(rec->r_list[type])); ocfs2_recover_local_quota_file()
592 int type; ocfs2_finish_quota_recovery() local
601 for (type = 0; type < OCFS2_MAXQUOTAS; type++) { ocfs2_finish_quota_recovery()
602 if (list_empty(&(rec->r_list[type]))) ocfs2_finish_quota_recovery()
605 lqinode = ocfs2_get_system_file_inode(osb, ino[type], slot_num); ocfs2_finish_quota_recovery()
630 "(slot=%d type=%d)\n", slot_num, type); ocfs2_finish_quota_recovery()
639 type, ocfs2_finish_quota_recovery()
683 static int ocfs2_local_read_info(struct super_block *sb, int type) ocfs2_local_read_info() argument
686 struct mem_dqinfo *info = sb_dqinfo(sb, type); ocfs2_local_read_info()
688 struct inode *lqinode = sb_dqopt(sb)->files[type]; ocfs2_local_read_info()
706 oinfo->dqi_type = type; ocfs2_local_read_info()
712 status = ocfs2_global_read_info(sb, type); ocfs2_local_read_info()
728 "(type=%d)\n", type); ocfs2_local_read_info()
751 status = ocfs2_recovery_load_quota(lqinode, ldinfo, type, ocfs2_local_read_info()
752 &rec->r_list[type]); ocfs2_local_read_info()
794 static int ocfs2_local_write_info(struct super_block *sb, int type) ocfs2_local_write_info() argument
796 struct mem_dqinfo *info = sb_dqinfo(sb, type); ocfs2_local_write_info()
801 status = ocfs2_modify_bh(sb_dqopt(sb)->files[type], bh, olq_update_info, ocfs2_local_write_info()
812 static int ocfs2_local_free_info(struct super_block *sb, int type) ocfs2_local_free_info() argument
814 struct mem_dqinfo *info = sb_dqinfo(sb, type); ocfs2_local_free_info()
837 "entries (type=%d)\n", type); ocfs2_local_free_info()
854 status = ocfs2_modify_bh(sb_dqopt(sb)->files[type], ocfs2_local_free_info()
864 ocfs2_inode_unlock(sb_dqopt(sb)->files[type], 1); ocfs2_local_free_info()
900 struct inode *lqinode = sb_dqopt(sb)->files[dquot->dq_id.type]; ocfs2_local_write_dquot()
921 int type, ocfs2_find_free_entry()
924 struct mem_dqinfo *info = sb_dqinfo(sb, type); ocfs2_find_free_entry()
953 " entries free (type=%d)\n", chunk->qc_num, ocfs2_find_free_entry()
954 le32_to_cpu(dchunk->dqc_free), type); ocfs2_find_free_entry()
964 int type, ocfs2_local_quota_add_chunk()
967 struct mem_dqinfo *info = sb_dqinfo(sb, type); ocfs2_local_quota_add_chunk()
969 struct inode *lqinode = sb_dqopt(sb)->files[type]; ocfs2_local_quota_add_chunk()
1065 status = ocfs2_local_write_info(sb, type); ocfs2_local_quota_add_chunk()
1095 int type, ocfs2_extend_local_quota_file()
1098 struct mem_dqinfo *info = sb_dqinfo(sb, type); ocfs2_extend_local_quota_file()
1101 struct inode *lqinode = sb_dqopt(sb)->files[type]; ocfs2_extend_local_quota_file()
1111 return ocfs2_local_quota_add_chunk(sb, type, offset); ocfs2_extend_local_quota_file()
1118 return ocfs2_local_quota_add_chunk(sb, type, offset); ocfs2_extend_local_quota_file()
1188 status = ocfs2_local_write_info(sb, type); ocfs2_extend_local_quota_file()
1221 int type = dquot->dq_id.type; ocfs2_create_local_dquot() local
1222 struct inode *lqinode = sb_dqopt(sb)->files[type]; ocfs2_create_local_dquot()
1230 chunk = ocfs2_find_free_entry(sb, type, &offset); ocfs2_create_local_dquot()
1232 chunk = ocfs2_extend_local_quota_file(sb, type, &offset); ocfs2_create_local_dquot()
1275 int type = dquot->dq_id.type; ocfs2_local_release_dquot() local
1282 INODE_CACHE(sb_dqopt(sb)->files[type]), ocfs2_local_release_dquot()
338 ocfs2_recovery_load_quota(struct inode *lqinode, struct ocfs2_local_disk_dqinfo *ldinfo, int type, struct list_head *head) ocfs2_recovery_load_quota() argument
458 ocfs2_recover_local_quota_file(struct inode *lqinode, int type, struct ocfs2_quota_recovery *rec) ocfs2_recover_local_quota_file() argument
920 ocfs2_find_free_entry(struct super_block *sb, int type, int *offset) ocfs2_find_free_entry() argument
962 ocfs2_local_quota_add_chunk( struct super_block *sb, int type, int *offset) ocfs2_local_quota_add_chunk() argument
1093 ocfs2_extend_local_quota_file( struct super_block *sb, int type, int *offset) ocfs2_extend_local_quota_file() argument
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
H A Drs.h168 enum iwl_table_type type; member in struct:rs_rate
178 #define is_type_legacy(type) (((type) == LQ_LEGACY_G) || \
179 ((type) == LQ_LEGACY_A))
180 #define is_type_ht_siso(type) ((type) == LQ_HT_SISO)
181 #define is_type_ht_mimo2(type) ((type) == LQ_HT_MIMO2)
182 #define is_type_vht_siso(type) ((type) == LQ_VHT_SISO)
183 #define is_type_vht_mimo2(type) ((type) == LQ_VHT_MIMO2)
184 #define is_type_siso(type) (is_type_ht_siso(type) || is_type_vht_siso(type))
185 #define is_type_mimo2(type) (is_type_ht_mimo2(type) || is_type_vht_mimo2(type))
186 #define is_type_mimo(type) (is_type_mimo2(type))
187 #define is_type_ht(type) (is_type_ht_siso(type) || is_type_ht_mimo2(type))
188 #define is_type_vht(type) (is_type_vht_siso(type) || is_type_vht_mimo2(type))
189 #define is_type_a_band(type) ((type) == LQ_LEGACY_A)
190 #define is_type_g_band(type) ((type) == LQ_LEGACY_G)
192 #define is_legacy(rate) is_type_legacy((rate)->type)
193 #define is_ht_siso(rate) is_type_ht_siso((rate)->type)
194 #define is_ht_mimo2(rate) is_type_ht_mimo2((rate)->type)
195 #define is_vht_siso(rate) is_type_vht_siso((rate)->type)
196 #define is_vht_mimo2(rate) is_type_vht_mimo2((rate)->type)
197 #define is_siso(rate) is_type_siso((rate)->type)
198 #define is_mimo2(rate) is_type_mimo2((rate)->type)
199 #define is_mimo(rate) is_type_mimo((rate)->type)
200 #define is_ht(rate) is_type_ht((rate)->type)
201 #define is_vht(rate) is_type_vht((rate)->type)
202 #define is_a_band(rate) is_type_a_band((rate)->type)
203 #define is_g_band(rate) is_type_g_band((rate)->type)
/linux-4.4.14/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
151 return box->pmu->type->box_ctl; uncore_pci_box_ctl()
156 return box->pmu->type->fixed_ctl; uncore_pci_fixed_ctl()
161 return box->pmu->type->fixed_ctr; uncore_pci_fixed_ctr()
167 return idx * 4 + box->pmu->type->event_ctl; uncore_pci_event_ctl()
173 return idx * 8 + box->pmu->type->perf_ctr; uncore_pci_perf_ctr()
179 return pmu->type->msr_offsets ? uncore_msr_box_offset()
180 pmu->type->msr_offsets[pmu->pmu_idx] : uncore_msr_box_offset()
181 pmu->type->msr_offset * pmu->pmu_idx; uncore_msr_box_offset()
186 if (!box->pmu->type->box_ctl) uncore_msr_box_ctl()
188 return box->pmu->type->box_ctl + uncore_msr_box_offset(box); uncore_msr_box_ctl()
193 if (!box->pmu->type->fixed_ctl) uncore_msr_fixed_ctl()
195 return box->pmu->type->fixed_ctl + uncore_msr_box_offset(box); uncore_msr_fixed_ctl()
200 return box->pmu->type->fixed_ctr + uncore_msr_box_offset(box); uncore_msr_fixed_ctr()
206 return box->pmu->type->event_ctl + uncore_msr_event_ctl()
207 (box->pmu->type->pair_ctr_ctl ? 2 * idx : idx) + uncore_msr_event_ctl()
214 return box->pmu->type->perf_ctr + uncore_msr_perf_ctr()
215 (box->pmu->type->pair_ctr_ctl ? 2 * idx : idx) + uncore_msr_perf_ctr()
257 return box->pmu->type->perf_ctr_bits; uncore_perf_ctr_bits()
262 return box->pmu->type->fixed_ctr_bits; uncore_fixed_ctr_bits()
267 return box->pmu->type->num_counters; uncore_num_counters()
272 if (box->pmu->type->ops->disable_box) uncore_disable_box()
273 box->pmu->type->ops->disable_box(box); uncore_disable_box()
278 if (box->pmu->type->ops->enable_box) uncore_enable_box()
279 box->pmu->type->ops->enable_box(box); uncore_enable_box()
285 box->pmu->type->ops->disable_event(box, event); uncore_disable_event()
291 box->pmu->type->ops->enable_event(box, event); uncore_enable_event()
297 return box->pmu->type->ops->read_counter(box, event); uncore_read_counter()
303 if (box->pmu->type->ops->init_box) uncore_box_init()
304 box->pmu->type->ops->init_box(box); uncore_box_init()
/linux-4.4.14/kernel/bpf/
H A Dinode.c30 static void *bpf_any_get(void *raw, enum bpf_type type) bpf_any_get() argument
32 switch (type) { bpf_any_get()
47 static void bpf_any_put(void *raw, enum bpf_type type) bpf_any_put() argument
49 switch (type) { bpf_any_put()
62 static void *bpf_fd_probe_obj(u32 ufd, enum bpf_type *type) bpf_fd_probe_obj() argument
66 *type = BPF_TYPE_MAP; bpf_fd_probe_obj()
69 *type = BPF_TYPE_PROG; bpf_fd_probe_obj()
109 static int bpf_inode_type(const struct inode *inode, enum bpf_type *type) bpf_inode_type() argument
111 *type = BPF_TYPE_UNSPEC; bpf_inode_type()
113 *type = BPF_TYPE_PROG; bpf_inode_type()
115 *type = BPF_TYPE_MAP; bpf_inode_type()
174 enum bpf_type type = MINOR(devt); bpf_mkobj() local
180 switch (type) { bpf_mkobj()
199 enum bpf_type type) bpf_obj_do_pin()
213 devt = MKDEV(UNNAMED_MAJOR, type); bpf_obj_do_pin()
236 enum bpf_type type; bpf_obj_pin_user() local
244 raw = bpf_fd_probe_obj(ufd, &type); bpf_obj_pin_user()
250 ret = bpf_obj_do_pin(pname, raw, type); bpf_obj_pin_user()
252 bpf_any_put(raw, type); bpf_obj_pin_user()
259 enum bpf_type *type) bpf_obj_do_get()
275 ret = bpf_inode_type(inode, type); bpf_obj_do_get()
279 raw = bpf_any_get(inode->i_private, *type); bpf_obj_do_get()
292 enum bpf_type type = BPF_TYPE_UNSPEC; bpf_obj_get_user() local
301 raw = bpf_obj_do_get(pname, &type); bpf_obj_get_user()
307 if (type == BPF_TYPE_PROG) bpf_obj_get_user()
309 else if (type == BPF_TYPE_MAP) bpf_obj_get_user()
315 bpf_any_put(raw, type); bpf_obj_get_user()
323 enum bpf_type type; bpf_evict_inode() local
328 if (!bpf_inode_type(inode, &type)) bpf_evict_inode()
329 bpf_any_put(inode->i_private, type); bpf_evict_inode()
358 static struct dentry *bpf_mount(struct file_system_type *type, int flags, bpf_mount() argument
361 return mount_nodev(type, flags, data, bpf_fill_super); bpf_mount()
198 bpf_obj_do_pin(const struct filename *pathname, void *raw, enum bpf_type type) bpf_obj_do_pin() argument
258 bpf_obj_do_get(const struct filename *pathname, enum bpf_type *type) bpf_obj_do_get() argument
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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 */
/linux-4.4.14/drivers/mfd/
H A Darizona-i2c.c31 unsigned long type; arizona_i2c_probe() local
35 type = arizona_of_get_type(&i2c->dev); arizona_i2c_probe()
37 type = id->driver_data; arizona_i2c_probe()
39 switch (type) { arizona_i2c_probe()
59 dev_err(&i2c->dev, "Unknown device type %ld\n", type); arizona_i2c_probe()
65 "No kernel support for device type %ld\n", type); arizona_i2c_probe()
81 arizona->type = type; arizona_i2c_probe()
H A Darizona-spi.c31 unsigned long type; arizona_spi_probe() local
35 type = arizona_of_get_type(&spi->dev); arizona_spi_probe()
37 type = id->driver_data; arizona_spi_probe()
39 switch (type) { arizona_spi_probe()
50 dev_err(&spi->dev, "Unknown device type %ld\n", type); arizona_spi_probe()
56 "No kernel support for device type %ld\n", type); arizona_spi_probe()
72 arizona->type = type; arizona_spi_probe()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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()
251 if ((stack_desc->reference.node->type == acpi_ex_resolve_object_to_value()
253 || (stack_desc->reference.node->type == acpi_ex_resolve_object_to_value()
273 "Unknown Reference type 0x%X in %p", acpi_ex_resolve_object_to_value()
297 stack_desc, stack_desc->common.type)); acpi_ex_resolve_object_to_value()
323 * return_type - Where the object type is returned
328 * 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()
360 /* If we had an Alias node, use the attached object for type info */ acpi_ex_resolve_multiple()
362 if (type == ACPI_TYPE_LOCAL_ALIAS) { acpi_ex_resolve_multiple()
363 type = ((struct acpi_namespace_node *)obj_desc)->type; acpi_ex_resolve_multiple()
382 /* If type is anything other than a reference, we are done */ acpi_ex_resolve_multiple()
384 if (type != ACPI_TYPE_LOCAL_REFERENCE) { acpi_ex_resolve_multiple()
394 while (obj_desc->common.type == ACPI_TYPE_LOCAL_REFERENCE) { acpi_ex_resolve_multiple()
424 /* No object, use the NS node type */ acpi_ex_resolve_multiple()
426 type = acpi_ns_get_type(node); acpi_ex_resolve_multiple()
439 /* Get the type of this reference (index into another object) */ acpi_ex_resolve_multiple()
441 type = obj_desc->reference.target_type; acpi_ex_resolve_multiple()
442 if (type != ACPI_TYPE_PACKAGE) { acpi_ex_resolve_multiple()
447 * The main object is a package, we want to get the type acpi_ex_resolve_multiple()
458 type = 0; /* Uninitialized */ acpi_ex_resolve_multiple()
465 type = ACPI_TYPE_DDB_HANDLE; acpi_ex_resolve_multiple()
501 type = ACPI_TYPE_ANY; acpi_ex_resolve_multiple()
509 /* The Debug Object is of type "DebugObject" */ acpi_ex_resolve_multiple()
511 type = ACPI_TYPE_DEBUG_OBJECT; acpi_ex_resolve_multiple()
527 type = obj_desc->common.type; acpi_ex_resolve_multiple()
532 switch (type) { acpi_ex_resolve_multiple()
537 type = ACPI_TYPE_FIELD_UNIT; acpi_ex_resolve_multiple()
544 type = ACPI_TYPE_ANY; acpi_ex_resolve_multiple()
554 *return_type = type; acpi_ex_resolve_multiple()
/linux-4.4.14/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.4.14/mm/
H A Dzpool.c74 /* this assumes @type is null-terminated. */ zpool_get_driver()
75 static struct zpool_driver *zpool_get_driver(const char *type) zpool_get_driver() argument
81 if (!strcmp(driver->type, type)) { zpool_get_driver()
103 * @type The type of the zpool to check (e.g. zbud, zsmalloc)
105 * This checks if the @type pool driver is available. This will try to load
110 * returns false, the caller should assume the requested pool type is not
111 * available; either the requested pool type module does not exist, or could
112 * not be loaded, and calling @zpool_create_pool() with the pool type will
115 * The @type string must be null-terminated.
117 * Returns: true if @type pool is available, false if not
119 bool zpool_has_pool(char *type) zpool_has_pool() argument
121 struct zpool_driver *driver = zpool_get_driver(type); zpool_has_pool()
124 request_module("zpool-%s", type); zpool_has_pool()
125 driver = zpool_get_driver(type); zpool_has_pool()
138 * @type The type of the zpool to create (e.g. zbud, zsmalloc)
143 * This creates a new zpool of the specified type. The gfp flags will be
149 * The @type and @name strings must be null-terminated.
153 struct zpool *zpool_create_pool(const char *type, const char *name, gfp_t gfp, zpool_create_pool() argument
159 pr_debug("creating pool type %s\n", type); zpool_create_pool()
161 driver = zpool_get_driver(type); zpool_create_pool()
164 request_module("zpool-%s", type); zpool_create_pool()
165 driver = zpool_get_driver(type); zpool_create_pool()
169 pr_err("no driver for type %s\n", type); zpool_create_pool()
185 pr_err("couldn't create %s pool\n", type); zpool_create_pool()
191 pr_debug("created pool type %s\n", type); zpool_create_pool()
213 pr_debug("destroying pool type %s\n", zpool->driver->type); zpool_destroy_pool()
224 * zpool_get_type() - Get the type of the zpool
227 * This returns the type of the pool.
231 * Returns: The type of zpool.
235 return zpool->driver->type; zpool_get_type()
/linux-4.4.14/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.4.14/net/core/
H A Dlwtunnel.c105 if (lwtstate->type == LWTUNNEL_ENCAP_NONE || lwtunnel_fill_encap()
106 lwtstate->type > LWTUNNEL_ENCAP_MAX) lwtunnel_fill_encap()
112 ops = rcu_dereference(lwtun_encaps[lwtstate->type]); lwtunnel_fill_encap()
120 ret = nla_put_u16(skb, RTA_ENCAP_TYPE, lwtstate->type); lwtunnel_fill_encap()
141 if (lwtstate->type == LWTUNNEL_ENCAP_NONE || lwtunnel_get_encap_size()
142 lwtstate->type > LWTUNNEL_ENCAP_MAX) lwtunnel_get_encap_size()
146 ops = rcu_dereference(lwtun_encaps[lwtstate->type]); lwtunnel_get_encap_size()
166 if (a->type != b->type) lwtunnel_cmp_encap()
169 if (a->type == LWTUNNEL_ENCAP_NONE || lwtunnel_cmp_encap()
170 a->type > LWTUNNEL_ENCAP_MAX) lwtunnel_cmp_encap()
174 ops = rcu_dereference(lwtun_encaps[a->type]); lwtunnel_cmp_encap()
194 if (lwtstate->type == LWTUNNEL_ENCAP_NONE || lwtunnel_output()
195 lwtstate->type > LWTUNNEL_ENCAP_MAX) lwtunnel_output()
200 ops = rcu_dereference(lwtun_encaps[lwtstate->type]); lwtunnel_output()
228 if (lwtstate->type == LWTUNNEL_ENCAP_NONE || lwtunnel_input()
229 lwtstate->type > LWTUNNEL_ENCAP_MAX) lwtunnel_input()
234 ops = rcu_dereference(lwtun_encaps[lwtstate->type]); lwtunnel_input()
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
71 type = ptp_classify_raw(skb); skb_defer_rx_timestamp()
75 if (type == PTP_CLASS_NONE) skb_defer_rx_timestamp()
80 return phydev->drv->rxtstamp(phydev, skb, type); skb_defer_rx_timestamp()
/linux-4.4.14/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)" : "")
125 TP_PROTO(__u64 type, __u32 parm, __u64 parm64, int who),
126 TP_ARGS(type, parm, parm64, who),
136 __entry->inttype = type & 0x00000000ffffffff;
142 TP_printk("inject%s: type:%x (%s) parm:%x parm64:%llx",
150 TP_PROTO(unsigned int id, __u64 type, __u32 parm, __u64 parm64),
151 TP_ARGS(id, type, parm, parm64),
162 __entry->inttype = type & 0x00000000ffffffff;
167 TP_printk("inject (vcpu %d): type:%x (%s) parm:%x parm64:%llx",
177 TP_PROTO(unsigned int id, __u64 type, __u64 data0, __u64 data1),
178 TP_ARGS(id, type, data0, data1),
189 __entry->inttype = type & 0x00000000ffffffff;
194 TP_printk("deliver interrupt (vcpu %d): type:%x (%s) " \
/linux-4.4.14/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.4.14/arch/frv/mm/
H A Dhighmem.c38 int type; kmap_atomic() local
42 type = kmap_atomic_idx_push(); kmap_atomic()
45 switch (type) { kmap_atomic()
56 return __kmap_atomic_secondary(type - 5, paddr); kmap_atomic()
67 int type = kmap_atomic_idx(); __kunmap_atomic() local
68 switch (type) { __kunmap_atomic()
76 __kunmap_atomic_secondary(type - 5, kvaddr); __kunmap_atomic()
/linux-4.4.14/include/net/
H A Dfib_rules.h84 [FRA_IIFNAME] = { .type = NLA_STRING, .len = IFNAMSIZ - 1 }, \
85 [FRA_OIFNAME] = { .type = NLA_STRING, .len = IFNAMSIZ - 1 }, \
86 [FRA_PRIORITY] = { .type = NLA_U32 }, \
87 [FRA_FWMARK] = { .type = NLA_U32 }, \
88 [FRA_FWMASK] = { .type = NLA_U32 }, \
89 [FRA_TABLE] = { .type = NLA_U32 }, \
90 [FRA_SUPPRESS_PREFIXLEN] = { .type = NLA_U32 }, \
91 [FRA_SUPPRESS_IFGROUP] = { .type = NLA_U32 }, \
92 [FRA_GOTO] = { .type = NLA_U32 }
H A Dp8022.h4 register_8022_client(unsigned char type,
/linux-4.4.14/arch/s390/kernel/
H A Djump_label.c22 enum jump_label_type type; member in struct:insn_args
59 enum jump_label_type type, __jump_label_transform()
64 if (type == JUMP_LABEL_JMP) { __jump_label_transform()
85 __jump_label_transform(args->entry, args->type, 0); __sm_arch_jump_label_transform()
90 enum jump_label_type type) arch_jump_label_transform()
95 args.type = type; arch_jump_label_transform()
101 enum jump_label_type type) arch_jump_label_transform_static()
103 __jump_label_transform(entry, type, 1); arch_jump_label_transform_static()
58 __jump_label_transform(struct jump_entry *entry, enum jump_label_type type, int init) __jump_label_transform() argument
89 arch_jump_label_transform(struct jump_entry *entry, enum jump_label_type type) arch_jump_label_transform() argument
100 arch_jump_label_transform_static(struct jump_entry *entry, enum jump_label_type type) arch_jump_label_transform_static() argument
/linux-4.4.14/arch/metag/mm/
H A Dhighmem.c44 int type; kmap_atomic() local
51 type = kmap_atomic_idx_push(); kmap_atomic()
52 idx = type + KM_TYPE_NR * smp_processor_id(); kmap_atomic()
66 int idx, type; __kunmap_atomic() local
69 type = kmap_atomic_idx(); __kunmap_atomic()
70 idx = type + KM_TYPE_NR * smp_processor_id(); __kunmap_atomic()
97 int type; kmap_atomic_pfn() local
102 type = kmap_atomic_idx_push(); kmap_atomic_pfn()
103 idx = type + KM_TYPE_NR * smp_processor_id(); kmap_atomic_pfn()
/linux-4.4.14/arch/mips/mm/
H A Dhighmem.c48 int idx, type; kmap_atomic() local
55 type = kmap_atomic_idx_push(); kmap_atomic()
56 idx = type + KM_TYPE_NR*smp_processor_id(); kmap_atomic()
71 int type __maybe_unused; __kunmap_atomic()
79 type = kmap_atomic_idx(); __kunmap_atomic()
82 int idx = type + KM_TYPE_NR * smp_processor_id(); __kunmap_atomic()
107 int idx, type; kmap_atomic_pfn() local
112 type = kmap_atomic_idx_push(); kmap_atomic_pfn()
113 idx = type + KM_TYPE_NR*smp_processor_id(); kmap_atomic_pfn()
/linux-4.4.14/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.4.14/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.4.14/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,
864 mfc_debug(2, "Encoded slice type: %d\n", slice_type); enc_post_frame_start()
973 if (out && formats[i].type != MFC_FMT_RAW) vidioc_enum_fmt()
975 else if (!out && formats[i].type != MFC_FMT_ENC) vidioc_enum_fmt()
1009 mfc_debug(2, "f->type = %d ctx->state = %d\n", f->type, ctx->state); vidioc_g_fmt()
1010 if (f->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { vidioc_g_fmt()
1020 } else if (f->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { vidioc_g_fmt()
1034 mfc_err("invalid buf type\n"); vidioc_g_fmt()
1046 if (f->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { vidioc_try_fmt()
1063 } else if (f->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { vidioc_try_fmt()
1082 mfc_err("invalid buf type\n"); vidioc_try_fmt()
1103 if (f->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { vidioc_s_fmt()
1113 } else if (f->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { vidioc_s_fmt()
1132 mfc_err("invalid buf type\n"); vidioc_s_fmt()
1151 if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { vidioc_reqbufs()
1177 } else if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { vidioc_reqbufs()
1211 mfc_err("invalid buf type\n"); vidioc_reqbufs()
1227 if (buf->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { vidioc_querybuf()
1238 } else if (buf->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { vidioc_querybuf()
1245 mfc_err("invalid buf type\n"); vidioc_querybuf()
1260 if (buf->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { vidioc_qbuf()
1266 } else if (buf->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { vidioc_qbuf()
1276 .type = V4L2_EVENT_EOS vidioc_dqbuf()
1285 if (buf->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { vidioc_dqbuf()
1287 } else if (buf->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { vidioc_dqbuf()
1305 if (eb->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) vidioc_expbuf()
1307 if (eb->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) vidioc_expbuf()
1314 enum v4l2_buf_type type) vidioc_streamon()
1318 if (type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) vidioc_streamon()
1319 return vb2_streamon(&ctx->vq_src, type); vidioc_streamon()
1320 else if (type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) vidioc_streamon()
1321 return vb2_streamon(&ctx->vq_dst, type); vidioc_streamon()
1327 enum v4l2_buf_type type) vidioc_streamoff()
1331 if (type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) vidioc_streamoff()
1332 return vb2_streamoff(&ctx->vq_src, type); vidioc_streamoff()
1333 else if (type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) vidioc_streamoff()
1334 return vb2_streamoff(&ctx->vq_dst, type); vidioc_streamoff()
1692 if (a->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { vidioc_s_parm()
1709 if (a->type == V4L2_BUF_TYPE_VIDEO_OUTPUT) { vidioc_g_parm()
1766 switch (sub->type) { vidioc_subscribe_event()
1828 if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { s5p_mfc_queue_setup()
1844 } else if (vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { s5p_mfc_queue_setup()
1870 mfc_err("invalid queue type: %d\n", vq->type); s5p_mfc_queue_setup()
1884 if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { s5p_mfc_buf_init()
1893 } else if (vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { s5p_mfc_buf_init()
1905 mfc_err("invalid queue type: %d\n", vq->type); s5p_mfc_buf_init()
1917 if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { s5p_mfc_buf_prepare()
1927 } else if (vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { s5p_mfc_buf_prepare()
1941 mfc_err("invalid queue type: %d\n", vq->type); s5p_mfc_buf_prepare()
1953 (q->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE)) { s5p_mfc_start_streaming()
1992 if (q->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { s5p_mfc_stop_streaming()
1998 if (q->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { s5p_mfc_stop_streaming()
2021 if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) { s5p_mfc_buf_queue()
2029 } else if (vq->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { s5p_mfc_buf_queue()
2037 mfc_err("unsupported buffer type (%d)\n", vq->type); s5p_mfc_buf_queue()
2092 cfg.type = controls[i].type; s5p_mfc_enc_ctrls_setup()
2095 if (cfg.type == V4L2_CTRL_TYPE_MENU) { s5p_mfc_enc_ctrls_setup()
2106 if ((controls[i].type == V4L2_CTRL_TYPE_MENU) || s5p_mfc_enc_ctrls_setup()
2107 (controls[i].type == s5p_mfc_enc_ctrls_setup()
1313 vidioc_streamon(struct file *file, void *priv, enum v4l2_buf_type type) vidioc_streamon() argument
1326 vidioc_streamoff(struct file *file, void *priv, enum v4l2_buf_type type) vidioc_streamoff() argument
/linux-4.4.14/drivers/media/pci/saa7164/
H A Dsaa7164-cards.c66 .type = SAA7164_UNIT_EEPROM,
73 .type = SAA7164_UNIT_TUNER,
80 .type = SAA7164_UNIT_TUNER,
87 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
94 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
112 .type = SAA7164_UNIT_EEPROM,
119 .type = SAA7164_UNIT_TUNER,
126 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
133 .type = SAA7164_UNIT_TUNER,
140 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
158 .type = SAA7164_UNIT_EEPROM,
165 .type = SAA7164_UNIT_TUNER,
172 .type = SAA7164_UNIT_ANALOG_DEMODULATOR,
179 .type = SAA7164_UNIT_TUNER,
186 .type = SAA7164_UNIT_ANALOG_DEMODULATOR,
193 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
200 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
218 .type = SAA7164_UNIT_EEPROM,
225 .type = SAA7164_UNIT_TUNER,
232 .type = SAA7164_UNIT_ANALOG_DEMODULATOR,
239 .type = SAA7164_UNIT_TUNER,
246 .type = SAA7164_UNIT_ANALOG_DEMODULATOR,
253 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
260 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
278 .type = SAA7164_UNIT_EEPROM,
285 .type = SAA7164_UNIT_TUNER,
292 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
299 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
306 .type = SAA7164_UNIT_TUNER,
313 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
320 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
338 .type = SAA7164_UNIT_EEPROM,
345 .type = SAA7164_UNIT_TUNER,
352 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
359 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
366 .type = SAA7164_UNIT_TUNER,
373 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
380 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
398 .type = SAA7164_UNIT_EEPROM,
405 .type = SAA7164_UNIT_TUNER,
412 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
419 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
426 .type = SAA7164_UNIT_TUNER,
433 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
440 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
454 .type = SAA7164_UNIT_EEPROM,
461 .type = SAA7164_UNIT_TUNER,
468 .type = SAA7164_UNIT_ANALOG_DEMODULATOR,
475 .type = SAA7164_UNIT_TUNER,
482 .type = SAA7164_UNIT_ANALOG_DEMODULATOR,
489 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
496 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
514 .type = SAA7164_UNIT_EEPROM,
521 .type = SAA7164_UNIT_TUNER,
528 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
535 .type = SAA7164_UNIT_TUNER,
542 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
560 .type = SAA7164_UNIT_EEPROM,
567 .type = SAA7164_UNIT_TUNER,
574 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
581 .type = SAA7164_UNIT_TUNER,
588 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
606 .type = SAA7164_UNIT_EEPROM,
613 .type = SAA7164_UNIT_TUNER,
620 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
627 .type = SAA7164_UNIT_TUNER,
634 .type = SAA7164_UNIT_DIGITAL_DEMODULATOR,
895 if (unit->type == SAA7164_UNIT_UNDEFINED) saa7164_i2caddr_to_unitid()
922 if (unit->type == SAA7164_UNIT_UNDEFINED) saa7164_i2caddr_to_reglen()
950 if (unit->type == SAA7164_UNIT_UNDEFINED) saa7164_unitid_name()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/scripts/dtc/
H A Ddtc-parser.y72 %type <data> propdata
73 %type <data> propdataprefix
74 %type <re> memreserve
75 %type <re> memreserves
76 %type <array> arrayprefix
77 %type <data> bytestring
78 %type <prop> propdef
79 %type <proplist> proplist
81 %type <node> devicetree
82 %type <node> nodedef
83 %type <node> subnode
84 %type <nodelist> subnodes
86 %type <integer> integer_prim
87 %type <integer> integer_unary
88 %type <integer> integer_mul
89 %type <integer> integer_add
90 %type <integer> integer_shift
91 %type <integer> integer_rela
92 %type <integer> integer_eq
93 %type <integer> integer_bitand
94 %type <integer> integer_bitxor
95 %type <integer> integer_bitor
96 %type <integer> integer_and
97 %type <integer> integer_or
98 %type <integer> integer_trinary
99 %type <integer> integer_expr
/linux-4.4.14/drivers/clk/ti/
H A Dclk-3xxx-legacy.c30 .type = TI_CLK_FIXED,
40 .type = TI_CLK_FIXED,
50 .type = TI_CLK_FIXED,
60 .type = TI_CLK_FIXED,
70 .type = TI_CLK_FIXED,
80 .type = TI_CLK_FIXED,
102 .type = TI_CLK_MUX,
117 .type = TI_CLK_DIVIDER,
152 .type = TI_CLK_DPLL,
167 .type = TI_CLK_DIVIDER,
179 .type = TI_CLK_FIXED_FACTOR,
193 .type = TI_CLK_DIVIDER,
205 .type = TI_CLK_FIXED_FACTOR,
217 .type = TI_CLK_FIXED_FACTOR,
232 .type = TI_CLK_GATE,
246 .type = TI_CLK_GATE,
261 .type = TI_CLK_DIVIDER,
273 .type = TI_CLK_FIXED_FACTOR,
288 .type = TI_CLK_GATE,
324 .type = TI_CLK_DPLL,
338 .type = TI_CLK_DIVIDER,
350 .type = TI_CLK_FIXED_FACTOR,
364 .type = TI_CLK_GATE,
376 .type = TI_CLK_FIXED_FACTOR,
388 .type = TI_CLK_FIXED_FACTOR,
407 .type = TI_CLK_MUX,
419 .type = TI_CLK_FIXED_FACTOR,
434 .type = TI_CLK_GATE,
449 .type = TI_CLK_GATE,
464 .type = TI_CLK_GATE,
476 .type = TI_CLK_FIXED_FACTOR,
490 .type = TI_CLK_GATE,
525 .type = TI_CLK_DPLL,
539 .type = TI_CLK_DIVIDER,
553 .type = TI_CLK_GATE,
565 .type = TI_CLK_FIXED_FACTOR,
575 .type = TI_CLK_FIXED,
594 .type = TI_CLK_MUX,
606 .type = TI_CLK_FIXED_FACTOR,
616 .type = TI_CLK_FIXED,
635 .type = TI_CLK_FIXED_FACTOR,
659 .type = TI_CLK_COMPOSITE,
671 .type = TI_CLK_FIXED_FACTOR,
683 .type = TI_CLK_FIXED_FACTOR,
723 .type = TI_CLK_COMPOSITE,
735 .type = TI_CLK_FIXED_FACTOR,
745 .type = TI_CLK_FIXED,
757 .type = TI_CLK_FIXED_FACTOR,
771 .type = TI_CLK_GATE,
786 .type = TI_CLK_GATE,
801 .type = TI_CLK_GATE,
831 .type = TI_CLK_COMPOSITE,
846 .type = TI_CLK_GATE,
861 .type = TI_CLK_GATE,
873 .type = TI_CLK_FIXED_FACTOR,
885 .type = TI_CLK_FIXED_FACTOR,
899 .type = TI_CLK_DIVIDER,
912 .type = TI_CLK_FIXED_FACTOR,
926 .type = TI_CLK_GATE,
940 .type = TI_CLK_GATE,
970 .type = TI_CLK_COMPOSITE,
984 .type = TI_CLK_GATE,
1015 .type = TI_CLK_COMPOSITE,
1030 .type = TI_CLK_DIVIDER,
1042 .type = TI_CLK_FIXED_FACTOR,
1057 .type = TI_CLK_GATE,
1067 .type = TI_CLK_FIXED,
1082 .type = TI_CLK_GATE,
1094 .type = TI_CLK_FIXED_FACTOR,
1109 .type = TI_CLK_GATE,
1121 .type = TI_CLK_FIXED_FACTOR,
1136 .type = TI_CLK_GATE,
1148 .type = TI_CLK_FIXED_FACTOR,
1167 .type = TI_CLK_FIXED_FACTOR,
1182 .type = TI_CLK_GATE,
1197 .type = TI_CLK_GATE,
1210 .type = TI_CLK_FIXED_FACTOR,
1225 .type = TI_CLK_GATE,
1240 .type = TI_CLK_GATE,
1255 .type = TI_CLK_DIVIDER,
1290 .type = TI_CLK_DPLL,
1300 .type = TI_CLK_FIXED,
1315 .type = TI_CLK_GATE,
1329 .type = TI_CLK_DIVIDER,
1342 .type = TI_CLK_FIXED_FACTOR,
1356 .type = TI_CLK_GATE,
1371 .type = TI_CLK_GATE,
1386 .type = TI_CLK_GATE,
1401 .type = TI_CLK_DIVIDER,
1416 .type = TI_CLK_GATE,
1430 .type = TI_CLK_GATE,
1445 .type = TI_CLK_GATE,
1465 .type = TI_CLK_FIXED_FACTOR,
1479 .type = TI_CLK_GATE,
1498 .type = TI_CLK_MUX,
1523 .type = TI_CLK_COMPOSITE,
1538 .type = TI_CLK_GATE,
1553 .type = TI_CLK_GATE,
1584 .type = TI_CLK_COMPOSITE,
1612 .type = TI_CLK_COMPOSITE,
1627 .type = TI_CLK_GATE,
1637 .type = TI_CLK_FIXED,
1665 .type = TI_CLK_GATE,
1687 .type = TI_CLK_GATE,
1702 .type = TI_CLK_GATE,
1717 .type = TI_CLK_DIVIDER,
1732 .type = TI_CLK_GATE,
1747 .type = TI_CLK_GATE,
1762 .type = TI_CLK_GATE,
1777 .type = TI_CLK_GATE,
1792 .type = TI_CLK_GATE,
1807 .type = TI_CLK_GATE,
1822 .type = TI_CLK_GATE,
1847 .type = TI_CLK_FIXED_FACTOR,
1861 .type = TI_CLK_DIVIDER,
1873 .type = TI_CLK_FIXED_FACTOR,
1886 .type = TI_CLK_DIVIDER,
1898 .type = TI_CLK_FIXED_FACTOR,
1929 .type = TI_CLK_COMPOSITE,
1941 .type = TI_CLK_FIXED_FACTOR,
1956 .type = TI_CLK_GATE,
1970 .type = TI_CLK_GATE,
1982 .type = TI_CLK_FIXED_FACTOR,
1997 .type = TI_CLK_DIVIDER,
2009 .type = TI_CLK_FIXED_FACTOR,
2023 .type = TI_CLK_GATE,
2035 .type = TI_CLK_FIXED_FACTOR,
2047 .type = TI_CLK_FIXED_FACTOR,
2067 .type = TI_CLK_MUX,
2079 .type = TI_CLK_GATE,
2094 .type = TI_CLK_DIVIDER,
2109 .type = TI_CLK_GATE,
2124 .type = TI_CLK_GATE,
2139 .type = TI_CLK_GATE,
2174 .type = TI_CLK_DPLL,
2188 .type = TI_CLK_DIVIDER,
2236 .type = TI_CLK_GATE,
2264 .type = TI_CLK_GATE,
2279 .type = TI_CLK_GATE,
2300 .type = TI_CLK_MUX,
2315 .type = TI_CLK_DIVIDER,
2337 .type = TI_CLK_GATE,
2364 .type = TI_CLK_GATE,
2382 .type = TI_CLK_COMPOSITE,
2396 .type = TI_CLK_GATE,
2411 .type = TI_CLK_DIVIDER,
2426 .type = TI_CLK_GATE,
2441 .type = TI_CLK_GATE,
2455 .type = TI_CLK_GATE,
2470 .type = TI_CLK_GATE,
2485 .type = TI_CLK_GATE,
2500 .type = TI_CLK_DIVIDER,
2536 .type = TI_CLK_DPLL,
2552 .type = TI_CLK_GATE,
2564 .type = TI_CLK_FIXED_FACTOR,
2577 .type = TI_CLK_GATE,
2589 .type = TI_CLK_FIXED_FACTOR,
2601 .type = TI_CLK_FIXED_FACTOR,
2615 .type = TI_CLK_GATE,
2639 .type = TI_CLK_GATE,
2654 .type = TI_CLK_GATE,
2668 .type = TI_CLK_GATE,
2683 .type = TI_CLK_GATE,
2707 .type = TI_CLK_COMPOSITE,
2722 .type = TI_CLK_GATE,
2736 .type = TI_CLK_GATE,
2755 .type = TI_CLK_FIXED_FACTOR,
2767 .type = TI_CLK_FIXED_FACTOR,
2779 .type = TI_CLK_FIXED_FACTOR,
2791 .type = TI_CLK_FIXED_FACTOR,
2803 .type = TI_CLK_FIXED_FACTOR,
2832 .type = TI_CLK_COMPOSITE,
2847 .type = TI_CLK_GATE,
2862 .type = TI_CLK_GATE,
2877 .type = TI_CLK_GATE,
2890 .type = TI_CLK_GATE,
2935 .type = TI_CLK_COMPOSITE,
2949 .type = TI_CLK_GATE,
2961 .type = TI_CLK_FIXED_FACTOR,
2975 .type = TI_CLK_GATE,
3004 .type = TI_CLK_GATE,
3019 .type = TI_CLK_GATE,
3034 .type = TI_CLK_GATE,
3046 .type = TI_CLK_FIXED_FACTOR,
3061 .type = TI_CLK_GATE,
3075 .type = TI_CLK_GATE,
3091 .type = TI_CLK_GATE,
3106 .type = TI_CLK_GATE,
3121 .type = TI_CLK_GATE,
3132 .type = TI_CLK_COMPOSITE,
3149 .type = TI_CLK_FIXED,
3167 .type = TI_CLK_COMPOSITE,
3179 .type = TI_CLK_FIXED_FACTOR,
3191 .type = TI_CLK_FIXED_FACTOR,
3203 .type = TI_CLK_FIXED_FACTOR,
3215 .type = TI_CLK_FIXED_FACTOR,
3227 .type = TI_CLK_FIXED_FACTOR,
3260 .type = TI_CLK_COMPOSITE,
3292 .type = TI_CLK_COMPOSITE,
3307 .type = TI_CLK_GATE,
3322 .type = TI_CLK_GATE,
3334 .type = TI_CLK_FIXED_FACTOR,
3346 .type = TI_CLK_FIXED_FACTOR,
3361 .type = TI_CLK_GATE,
3376 .type = TI_CLK_GATE,
3390 .type = TI_CLK_GATE,
3405 .type = TI_CLK_GATE,
3420 .type = TI_CLK_GATE,
3432 .type = TI_CLK_FIXED_FACTOR,
3447 .type = TI_CLK_GATE,
3459 .type = TI_CLK_FIXED_FACTOR,
3474 .type = TI_CLK_GATE,
3489 .type = TI_CLK_GATE,
3503 .type = TI_CLK_GATE,
3518 .type = TI_CLK_GATE,
3529 .type = TI_CLK_COMPOSITE,
3544 .type = TI_CLK_GATE,
3559 .type = TI_CLK_GATE,
3574 .type = TI_CLK_GATE,
3598 .type = TI_CLK_COMPOSITE,
3616 .type = TI_CLK_COMPOSITE,
3630 .type = TI_CLK_GATE,
3645 .type = TI_CLK_GATE,
3660 .type = TI_CLK_GATE,
3674 .type = TI_CLK_GATE,
3689 .type = TI_CLK_DIVIDER,
3704 .type = TI_CLK_GATE,
3716 .type = TI_CLK_FIXED_FACTOR,
3731 .type = TI_CLK_GATE,
3746 .type = TI_CLK_GATE,
3761 .type = TI_CLK_GATE,
3776 .type = TI_CLK_GATE,
3791 .type = TI_CLK_GATE,
3802 .type = TI_CLK_COMPOSITE,
3816 .type = TI_CLK_GATE,
3831 .type = TI_CLK_GATE,
3846 .type = TI_CLK_GATE,
3858 .type = TI_CLK_FIXED_FACTOR,
3872 .type = TI_CLK_GATE,
3887 .type = TI_CLK_GATE,
3902 .type = TI_CLK_GATE,
3917 .type = TI_CLK_GATE,
3927 .type = TI_CLK_FIXED,
3941 .type = TI_CLK_GATE,
3956 .type = TI_CLK_GATE,
3968 .type = TI_CLK_FIXED_FACTOR,
3983 .type = TI_CLK_GATE,
3997 .type = TI_CLK_GATE,
4012 .type = TI_CLK_GATE,
4027 .type = TI_CLK_GATE,
4042 .type = TI_CLK_GATE,
4057 .type = TI_CLK_GATE,
4072 .type = TI_CLK_DIVIDER,
4087 .type = TI_CLK_GATE,
4100 .type = TI_CLK_GATE,
4111 .type = TI_CLK_COMPOSITE,
4126 .type = TI_CLK_GATE,
4141 .type = TI_CLK_GATE,
4156 .type = TI_CLK_GATE,
4171 .type = TI_CLK_GATE,
4186 .type = TI_CLK_GATE,
4200 .type = TI_CLK_GATE,
4215 .type = TI_CLK_GATE,
4230 .type = TI_CLK_GATE,
4245 .type = TI_CLK_DIVIDER,
/linux-4.4.14/arch/arm/mach-omap2/
H A Dio.c76 .type = MT_DEVICE
82 .type = MT_DEVICE
92 .type = MT_DEVICE
98 .type = MT_DEVICE
104 .type = MT_DEVICE
116 .type = MT_DEVICE
122 .type = MT_DEVICE
128 .type = MT_DEVICE
134 .type = MT_DEVICE
146 .type = MT_DEVICE
152 .type = MT_DEVICE
158 .type = MT_DEVICE
164 .type = MT_DEVICE
170 .type = MT_DEVICE
176 .type = MT_DEVICE
182 .type = MT_DEVICE
193 .type = MT_DEVICE
204 .type = MT_DEVICE
210 .type = MT_DEVICE
221 .type = MT_DEVICE,
227 .type = MT_DEVICE,
233 .type = MT_DEVICE,
244 .type = MT_DEVICE,
250 .type = MT_DEVICE,
256 .type = MT_DEVICE,
262 .type = MT_DEVICE,
273 .type = MT_DEVICE,
279 .type = MT_DEVICE,
285 .type = MT_DEVICE,
291 .type = MT_DEVICE,
297 .type = MT_DEVICE,
303 .type = MT_DEVICE,
309 .type = MT_DEVICE,
/linux-4.4.14/net/ipv6/netfilter/
H A Dnf_conntrack_proto_icmpv6.c48 tuple->dst.u.icmp.type = hp->icmp6_type; icmpv6_pkt_to_tuple()
77 int type = orig->dst.u.icmp.type - 128; icmpv6_invert_tuple() local
78 if (type < 0 || type >= sizeof(invmap) || !invmap[type]) icmpv6_invert_tuple()
82 tuple->dst.u.icmp.type = invmap[type] - 1; icmpv6_invert_tuple()
91 seq_printf(s, "type=%u code=%u id=%u ", icmpv6_print_tuple()
92 tuple->dst.u.icmp.type, icmpv6_print_tuple()
127 int type = ct->tuplehash[0].tuple.dst.u.icmp.type - 128; icmpv6_new() local
129 if (type < 0 || type >= sizeof(valid_new) || !valid_new[type]) { icmpv6_new()
131 pr_debug("icmpv6: can't create new conn with type %u\n", icmpv6_new()
132 type + 128); icmpv6_new()
137 "nf_ct_icmpv6: invalid new with type %d ", icmpv6_new()
138 type + 128); icmpv6_new() local
204 int type; icmpv6_error() local
222 type = icmp6h->icmp6_type - 130; icmpv6_error()
223 if (type >= 0 && type < sizeof(noct_valid_new) && icmpv6_error()
224 noct_valid_new[type]) { icmpv6_error()
246 nla_put_u8(skb, CTA_PROTO_ICMPV6_TYPE, t->dst.u.icmp.type) || icmpv6_tuple_to_nlattr()
256 [CTA_PROTO_ICMPV6_TYPE] = { .type = NLA_U8 },
257 [CTA_PROTO_ICMPV6_CODE] = { .type = NLA_U8 },
258 [CTA_PROTO_ICMPV6_ID] = { .type = NLA_U16 },
269 tuple->dst.u.icmp.type = nla_get_u8(tb[CTA_PROTO_ICMPV6_TYPE]); icmpv6_nlattr_to_tuple()
273 if (tuple->dst.u.icmp.type < 128 || icmpv6_nlattr_to_tuple()
274 tuple->dst.u.icmp.type - 128 >= sizeof(invmap) || icmpv6_nlattr_to_tuple()
275 !invmap[tuple->dst.u.icmp.type - 128]) icmpv6_nlattr_to_tuple()
323 [CTA_TIMEOUT_ICMPV6_TIMEOUT] = { .type = NLA_U32 },
/linux-4.4.14/drivers/s390/char/
H A Dsclp_cpi_sys.h12 const char *type, u64 level);
/linux-4.4.14/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.4.14/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.4.14/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.4.14/include/acpi/
H A Dvideo.h30 extern int acpi_video_get_edid(struct acpi_device *device, int type,
33 extern void acpi_video_set_dmi_backlight_type(enum acpi_backlight_type type);
37 static inline int acpi_video_get_edid(struct acpi_device *device, int type, acpi_video_get_edid() argument
46 static inline void acpi_video_set_dmi_backlight_type(enum acpi_backlight_type type) acpi_video_set_dmi_backlight_type() argument
/linux-4.4.14/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.4.14/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_JMP) { 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.4.14/arch/metag/lib/
H A Dclear_page.S7 .type _clear_page,function
/linux-4.4.14/tools/arch/x86/include/asm/
H A Datomic.h19 * @v: pointer of type atomic_t
30 * @v: pointer of type atomic_t
42 * @v: pointer of type atomic_t
54 * @v: pointer of type atomic_t
/linux-4.4.14/tools/include/asm-generic/
H A Datomic-gcc.h18 * @v: pointer of type atomic_t
29 * @v: pointer of type atomic_t
41 * @v: pointer of type atomic_t
52 * @v: pointer of type atomic_t
/linux-4.4.14/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.4.14/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.4.14/fs/hfsplus/
H A Dacl.h14 struct posix_acl *hfsplus_get_posix_acl(struct inode *inode, int type);
16 int type);
/linux-4.4.14/include/keys/
H A Ddns_resolver-type.h1 /* DNS resolver key type
15 #include <linux/key-type.h>
/linux-4.4.14/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.4.14/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 */

Completed in 5853 milliseconds

1234567891011>>