Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 539) sorted by relevance

12345678910>>...22

/include/linux/soc/pxa/
Dcpu.h59 #define __cpu_is_pxa210(id) \ argument
61 unsigned int _id = (id) & 0xf3f0; \
65 #define __cpu_is_pxa250(id) \ argument
67 unsigned int _id = (id) & 0xf3ff; \
71 #define __cpu_is_pxa255(id) \ argument
73 unsigned int _id = (id) & 0xffff; \
77 #define __cpu_is_pxa25x(id) \ argument
79 unsigned int _id = (id) & 0xf300; \
83 #define __cpu_is_pxa210(id) (0) argument
84 #define __cpu_is_pxa250(id) (0) argument
[all …]
/include/linux/
Data.h555 #define ata_id_is_ata(id) (((id)[ATA_ID_CONFIG] & (1 << 15)) == 0) argument
556 #define ata_id_has_lba(id) ((id)[ATA_ID_CAPABILITY] & (1 << 9)) argument
557 #define ata_id_has_dma(id) ((id)[ATA_ID_CAPABILITY] & (1 << 8)) argument
558 #define ata_id_has_ncq(id) ((id)[ATA_ID_SATA_CAPABILITY] & (1 << 8)) argument
559 #define ata_id_queue_depth(id) (((id)[ATA_ID_QUEUE_DEPTH] & 0x1f) + 1) argument
560 #define ata_id_removable(id) ((id)[ATA_ID_CONFIG] & (1 << 7)) argument
561 #define ata_id_has_atapi_AN(id) \ argument
562 ((((id)[ATA_ID_SATA_CAPABILITY] != 0x0000) && \
563 ((id)[ATA_ID_SATA_CAPABILITY] != 0xffff)) && \
564 ((id)[ATA_ID_FEATURE_SUPP] & (1 << 5)))
[all …]
Dfs_enet_pd.h41 static inline int fs_get_fec_index(enum fs_id id) in fs_get_fec_index() argument
43 if (id >= fsid_fec1 && id <= fsid_fec2) in fs_get_fec_index()
44 return id - fsid_fec1; in fs_get_fec_index()
48 static inline int fs_get_fcc_index(enum fs_id id) in fs_get_fcc_index() argument
50 if (id >= fsid_fcc1 && id <= fsid_fcc3) in fs_get_fcc_index()
51 return id - fsid_fcc1; in fs_get_fcc_index()
55 static inline int fs_get_scc_index(enum fs_id id) in fs_get_scc_index() argument
57 if (id >= fsid_scc1 && id <= fsid_scc4) in fs_get_scc_index()
58 return id - fsid_scc1; in fs_get_scc_index()
64 int id = fsid_fec1 + index - 1; in fs_fec_index2id() local
[all …]
Dkernel_read_file.h9 #define __kernel_read_file_id(id) \ argument
10 id(UNKNOWN, unknown) \
11 id(FIRMWARE, firmware) \
12 id(MODULE, kernel-module) \
13 id(KEXEC_IMAGE, kexec-image) \
14 id(KEXEC_INITRAMFS, kexec-initramfs) \
15 id(POLICY, security-policy) \
16 id(X509_CERTIFICATE, x509-certificate) \
17 id(MAX_ID, )
30 static inline const char *kernel_read_file_id_str(enum kernel_read_file_id id) in kernel_read_file_id_str() argument
[all …]
Didr.h115 int __must_check idr_alloc_u32(struct idr *, void *ptr, u32 *id,
118 void *idr_remove(struct idr *, unsigned long id);
119 void *idr_find(const struct idr *, unsigned long id);
121 int (*fn)(int id, void *p, void *data), void *data);
124 void *idr_replace(struct idr *, void *, unsigned long id);
187 #define idr_for_each_entry(idr, entry, id) \ argument
188 for (id = 0; ((entry) = idr_get_next(idr, &(id))) != NULL; id += 1U)
201 #define idr_for_each_entry_ul(idr, entry, tmp, id) \ argument
202 for (tmp = 0, id = 0; \
203 ((entry) = tmp <= id ? idr_get_next_ul(idr, &(id)) : NULL) != NULL; \
[all …]
Dreset.h24 const char *id; member
45 const char *id, int index, bool shared,
47 struct reset_control *__reset_control_get(struct device *dev, const char *id,
58 const char *id, int index, bool shared,
119 const char *id, int index, bool shared, in __of_reset_control_get() argument
126 struct device *dev, const char *id, in __reset_control_get() argument
176 struct device *dev, const char *id, in __devm_reset_control_get() argument
237 __must_check reset_control_get_exclusive(struct device *dev, const char *id) in reset_control_get_exclusive() argument
239 return __reset_control_get(dev, id, 0, false, false, true); in reset_control_get_exclusive()
275 const char *id) in reset_control_get_exclusive_released() argument
[all …]
Dkcov.h46 static inline void kcov_remote_start_common(u64 id) in kcov_remote_start_common() argument
48 kcov_remote_start(kcov_remote_handle(KCOV_SUBSYSTEM_COMMON, id)); in kcov_remote_start_common()
51 static inline void kcov_remote_start_usb(u64 id) in kcov_remote_start_usb() argument
53 kcov_remote_start(kcov_remote_handle(KCOV_SUBSYSTEM_USB, id)); in kcov_remote_start_usb()
63 static inline void kcov_remote_start_usb_softirq(u64 id) in kcov_remote_start_usb_softirq() argument
66 kcov_remote_start_usb(id); in kcov_remote_start_usb_softirq()
87 static inline void kcov_remote_start_common(u64 id) {} in kcov_remote_start_common() argument
88 static inline void kcov_remote_start_usb(u64 id) {} in kcov_remote_start_usb() argument
89 static inline void kcov_remote_start_usb_softirq(u64 id) {} in kcov_remote_start_usb_softirq() argument
Dfs_uart_pd.h27 static inline int fs_uart_id_scc2fsid(int id) in fs_uart_id_scc2fsid() argument
29 return fsid_scc1_uart + id - 1; in fs_uart_id_scc2fsid()
32 static inline int fs_uart_id_fsid2scc(int id) in fs_uart_id_fsid2scc() argument
34 return id - fsid_scc1_uart + 1; in fs_uart_id_fsid2scc()
37 static inline int fs_uart_id_smc2fsid(int id) in fs_uart_id_smc2fsid() argument
39 return fsid_smc1_uart + id - 1; in fs_uart_id_smc2fsid()
42 static inline int fs_uart_id_fsid2smc(int id) in fs_uart_id_fsid2smc() argument
44 return id - fsid_smc1_uart + 1; in fs_uart_id_fsid2smc()
Dextcon-provider.h35 int extcon_sync(struct extcon_dev *edev, unsigned int id);
41 int extcon_set_state(struct extcon_dev *edev, unsigned int id,
43 int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id,
55 int extcon_set_property(struct extcon_dev *edev, unsigned int id,
58 int extcon_set_property_sync(struct extcon_dev *edev, unsigned int id,
62 unsigned int id, unsigned int prop);
97 static inline int extcon_set_state(struct extcon_dev *edev, unsigned int id, in extcon_set_state() argument
103 static inline int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id, in extcon_set_state_sync() argument
109 static inline int extcon_sync(struct extcon_dev *edev, unsigned int id) in extcon_sync() argument
114 static inline int extcon_set_property(struct extcon_dev *edev, unsigned int id, in extcon_set_property() argument
[all …]
Dipmi_smi.h247 struct ipmi_device_id *id) in ipmi_demangle_device_id() argument
261 id->device_id = data[0]; in ipmi_demangle_device_id()
262 id->device_revision = data[1]; in ipmi_demangle_device_id()
263 id->firmware_revision_1 = data[2]; in ipmi_demangle_device_id()
264 id->firmware_revision_2 = data[3]; in ipmi_demangle_device_id()
265 id->ipmi_version = data[4]; in ipmi_demangle_device_id()
266 id->additional_device_support = data[5]; in ipmi_demangle_device_id()
268 id->manufacturer_id = (data[6] | (data[7] << 8) | in ipmi_demangle_device_id()
270 id->product_id = data[9] | (data[10] << 8); in ipmi_demangle_device_id()
272 id->manufacturer_id = 0; in ipmi_demangle_device_id()
[all …]
Dpatchkey.h20 # define _PATCHKEY(id) (0xfd00|id) argument
22 # define _PATCHKEY(id) ((id<<8)|0x00fd) argument
/include/rdma/
Drdma_cm.h110 typedef int (*rdma_cm_event_handler)(struct rdma_cm_id *id,
162 void rdma_destroy_id(struct rdma_cm_id *id);
175 int rdma_bind_addr(struct rdma_cm_id *id, struct sockaddr *addr);
187 int rdma_resolve_addr(struct rdma_cm_id *id, struct sockaddr *src_addr,
199 int rdma_resolve_route(struct rdma_cm_id *id, unsigned long timeout_ms);
208 int rdma_create_qp(struct rdma_cm_id *id, struct ib_pd *pd,
218 void rdma_destroy_qp(struct rdma_cm_id *id);
239 int rdma_init_qp_attr(struct rdma_cm_id *id, struct ib_qp_attr *qp_attr,
242 int rdma_connect(struct rdma_cm_id *id, struct rdma_conn_param *conn_param);
243 int rdma_connect_locked(struct rdma_cm_id *id,
[all …]
Duverbs_named_ioctl.h17 #define UVERBS_METHOD(id) _UVERBS_NAME(UVERBS_MODULE_NAME, _method_##id) argument
18 #define UVERBS_HANDLER(id) _UVERBS_NAME(UVERBS_MODULE_NAME, _handler_##id) argument
19 #define UVERBS_OBJECT(id) _UVERBS_NAME(UVERBS_MODULE_NAME, _object_##id) argument
29 .id = _method_id, \
43 .id = _method_id, \
53 .id = _object_id, \
68 .id = _object_id, \
79 .id = _object_id, \
91 .id = _method_id, \
/include/xen/interface/io/
Dpvcalls.h44 uint64_t id; member
50 uint64_t id; member
58 uint64_t id; member
62 uint64_t id; member
67 uint64_t id; member
71 uint64_t id; member
77 uint64_t id; member
94 uint64_t id; member
97 uint64_t id; member
100 uint64_t id; member
[all …]
/include/net/netfilter/
Dnf_conntrack_extend.h45 static inline bool __nf_ct_ext_exist(const struct nf_ct_ext *ext, u8 id) in __nf_ct_ext_exist() argument
47 return !!ext->offset[id]; in __nf_ct_ext_exist()
50 static inline bool nf_ct_ext_exist(const struct nf_conn *ct, u8 id) in nf_ct_ext_exist() argument
52 return (ct->ext && __nf_ct_ext_exist(ct->ext, id)); in nf_ct_ext_exist()
55 void *__nf_ct_ext_find(const struct nf_ct_ext *ext, u8 id);
57 static inline void *nf_ct_ext_find(const struct nf_conn *ct, u8 id) in nf_ct_ext_find() argument
61 if (!ext || !__nf_ct_ext_exist(ext, id)) in nf_ct_ext_find()
65 return __nf_ct_ext_find(ext, id); in nf_ct_ext_find()
67 return (void *)ct->ext + ct->ext->offset[id]; in nf_ct_ext_find()
71 void *nf_ct_ext_add(struct nf_conn *ct, enum nf_ct_ext_id id, gfp_t gfp);
/include/soc/tegra/
Dpmc.h156 int tegra_powergate_power_on(unsigned int id);
157 int tegra_powergate_power_off(unsigned int id);
158 int tegra_powergate_remove_clamping(unsigned int id);
161 int tegra_powergate_sequence_power_up(unsigned int id, struct clk *clk,
164 int tegra_io_pad_power_enable(enum tegra_io_pad id);
165 int tegra_io_pad_power_disable(enum tegra_io_pad id);
168 int tegra_io_rail_power_on(unsigned int id);
169 int tegra_io_rail_power_off(unsigned int id);
177 static inline int tegra_powergate_power_on(unsigned int id) in tegra_powergate_power_on() argument
182 static inline int tegra_powergate_power_off(unsigned int id) in tegra_powergate_power_off() argument
[all …]
/include/uapi/linux/
Dadb.h10 #define ADB_FLUSH(id) (0x01 | ((id) << 4)) argument
11 #define ADB_WRITEREG(id, reg) (0x08 | (reg) | ((id) << 4)) argument
12 #define ADB_READREG(id, reg) (0x0C | (reg) | ((id) << 4)) argument
Dpatchkey.h29 # define _PATCHKEY(id) (0xfd00|id) argument
31 # define _PATCHKEY(id) ((id<<8)|0x00fd) argument
/include/trace/events/
Dsyscalls.h20 TP_PROTO(struct pt_regs *regs, long id),
22 TP_ARGS(regs, id),
25 __field( long, id )
30 __entry->id = id;
35 __entry->id,
51 __field( long, id )
56 __entry->id = syscall_get_nr(current, regs);
61 __entry->id, __entry->ret),
Drv.h74 TP_PROTO(int id, char *state, char *event, char *next_state, bool final_state),
76 TP_ARGS(id, state, event, next_state, final_state),
79 __field( int, id )
90 __entry->id = id;
95 __entry->id,
104 TP_PROTO(int id, char *state, char *event),
106 TP_ARGS(id, state, event),
109 __field( int, id )
117 __entry->id = id;
121 __entry->id,
[all …]
Derror_report.h50 TP_PROTO(enum error_detector error_detector, unsigned long id),
51 TP_ARGS(error_detector, id),
53 __field(unsigned long, id)),
55 __entry->id = id;),
58 __entry->id));
70 TP_PROTO(enum error_detector error_detector, unsigned long id),
71 TP_ARGS(error_detector, id));
Dwatchdog.h18 __field(int, id)
23 __entry->id = wdd->id;
27 TP_printk("watchdog%d err=%d", __entry->id, __entry->err)
49 __field(int, id)
55 __entry->id = wdd->id;
60 TP_printk("watchdog%d timeout=%u err=%d", __entry->id, __entry->timeout, __entry->err)
/include/uapi/rdma/
Drdma_user_cm.h99 __u32 id; member
104 __u32 id; member
115 __u32 id; member
119 __u32 id; member
128 __u32 id; member
133 __u32 id; member
143 __u32 id; member
155 __u32 id; member
220 __u32 id; member
226 __u32 id; member
[all …]
/include/linux/usb/
Dinput.h14 usb_to_input_id(const struct usb_device *dev, struct input_id *id) in usb_to_input_id() argument
16 id->bustype = BUS_USB; in usb_to_input_id()
17 id->vendor = le16_to_cpu(dev->descriptor.idVendor); in usb_to_input_id()
18 id->product = le16_to_cpu(dev->descriptor.idProduct); in usb_to_input_id()
19 id->version = le16_to_cpu(dev->descriptor.bcdDevice); in usb_to_input_id()
/include/dt-bindings/memory/
Dmtk-memory-port.h12 #define MTK_M4U_TO_LARB(id) (((id) >> 5) & 0x1f) argument
13 #define MTK_M4U_TO_PORT(id) ((id) & 0x1f) argument

12345678910>>...22