Home
last modified time | relevance | path

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

12345678910>>...14

/include/linux/
Data.h504 #define ata_id_is_ata(id) (((id)[ATA_ID_CONFIG] & (1 << 15)) == 0) argument
505 #define ata_id_has_lba(id) ((id)[ATA_ID_CAPABILITY] & (1 << 9)) argument
506 #define ata_id_has_dma(id) ((id)[ATA_ID_CAPABILITY] & (1 << 8)) argument
507 #define ata_id_has_ncq(id) ((id)[ATA_ID_SATA_CAPABILITY] & (1 << 8)) argument
508 #define ata_id_queue_depth(id) (((id)[ATA_ID_QUEUE_DEPTH] & 0x1f) + 1) argument
509 #define ata_id_removable(id) ((id)[ATA_ID_CONFIG] & (1 << 7)) argument
510 #define ata_id_has_atapi_AN(id) \ argument
511 ((((id)[ATA_ID_SATA_CAPABILITY] != 0x0000) && \
512 ((id)[ATA_ID_SATA_CAPABILITY] != 0xffff)) && \
513 ((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 …]
Dreset.h15 struct reset_control *reset_control_get(struct device *dev, const char *id);
17 struct reset_control *devm_reset_control_get(struct device *dev, const char *id);
27 struct device *dev, const char *id) in reset_control_get_optional() argument
29 return reset_control_get(dev, id); in reset_control_get_optional()
33 struct device *dev, const char *id) in devm_reset_control_get_optional() argument
35 return devm_reset_control_get(dev, id); in devm_reset_control_get_optional()
39 const char *id);
78 struct device *dev, const char *id) in reset_control_get() argument
85 struct device *dev, const char *id) in devm_reset_control_get() argument
92 struct device *dev, const char *id) in reset_control_get_optional() argument
[all …]
Dipmi_smi.h172 struct ipmi_device_id *id) in ipmi_demangle_device_id() argument
186 id->device_id = data[0]; in ipmi_demangle_device_id()
187 id->device_revision = data[1]; in ipmi_demangle_device_id()
188 id->firmware_revision_1 = data[2]; in ipmi_demangle_device_id()
189 id->firmware_revision_2 = data[3]; in ipmi_demangle_device_id()
190 id->ipmi_version = data[4]; in ipmi_demangle_device_id()
191 id->additional_device_support = data[5]; in ipmi_demangle_device_id()
193 id->manufacturer_id = (data[6] | (data[7] << 8) | in ipmi_demangle_device_id()
195 id->product_id = data[9] | (data[10] << 8); in ipmi_demangle_device_id()
197 id->manufacturer_id = 0; in ipmi_demangle_device_id()
[all …]
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()
Dpatchkey.h19 # define _PATCHKEY(id) (0xfd00|id) argument
21 # define _PATCHKEY(id) ((id<<8)|0x00fd) argument
Didr.h79 void *idr_find_slowpath(struct idr *idp, int id);
84 int (*fn)(int id, void *p, void *data), void *data);
86 void *idr_replace(struct idr *idp, void *ptr, int id);
87 void idr_remove(struct idr *idp, int id);
115 static inline void *idr_find(struct idr *idr, int id) in idr_find() argument
119 if (hint && (id & ~IDR_MASK) == hint->prefix) in idr_find()
120 return rcu_dereference_raw(hint->ary[id & IDR_MASK]); in idr_find()
122 return idr_find_slowpath(idr, id); in idr_find()
135 #define idr_for_each_entry(idp, entry, id) \ argument
136 for (id = 0; ((entry) = idr_get_next(idp, &(id))) != NULL; ++id)
[all …]
Dreset-controller.h18 int (*reset)(struct reset_controller_dev *rcdev, unsigned long id);
19 int (*assert)(struct reset_controller_dev *rcdev, unsigned long id);
20 int (*deassert)(struct reset_controller_dev *rcdev, unsigned long id);
21 int (*status)(struct reset_controller_dev *rcdev, unsigned long id);
Dconnector.h47 struct cb_id id; member
55 struct cn_callback_id id; member
62 struct cb_id id; member
71 int cn_add_callback(struct cb_id *id, const char *name,
78 struct cb_id *id,
80 void cn_queue_del_callback(struct cn_queue_dev *dev, struct cb_id *id);
/include/net/netfilter/
Dnf_conntrack_extend.h55 static inline bool __nf_ct_ext_exist(const struct nf_ct_ext *ext, u8 id) in __nf_ct_ext_exist() argument
57 return !!ext->offset[id]; in __nf_ct_ext_exist()
60 static inline bool nf_ct_ext_exist(const struct nf_conn *ct, u8 id) in nf_ct_ext_exist() argument
62 return (ct->ext && __nf_ct_ext_exist(ct->ext, id)); in nf_ct_ext_exist()
65 static inline void *__nf_ct_ext_find(const struct nf_conn *ct, u8 id) in __nf_ct_ext_find() argument
67 if (!nf_ct_ext_exist(ct, id)) in __nf_ct_ext_find()
70 return (void *)ct->ext + ct->ext->offset[id]; in __nf_ct_ext_find()
72 #define nf_ct_ext_find(ext, id) \ argument
73 ((id##_TYPE *)__nf_ct_ext_find((ext), (id)))
93 void *__nf_ct_ext_add_length(struct nf_conn *ct, enum nf_ct_ext_id id,
[all …]
Dnf_conntrack_zones.h21 nf_ct_zone_init(struct nf_conntrack_zone *zone, u16 id, u8 dir, u8 flags) in nf_ct_zone_init() argument
23 zone->id = id; in nf_ct_zone_init()
56 nf_ct_zone_init(nf_ct_zone, info->id, info->dir, in nf_ct_zone_add()
72 zone->id : NF_CT_DEFAULT_ZONE_ID; in nf_ct_zone_id()
86 return nf_ct_zone(a)->id == b->id; in nf_ct_zone_equal_any()
/include/soc/tegra/
Dpmc.h111 int tegra_powergate_is_powered(int id);
112 int tegra_powergate_power_on(int id);
113 int tegra_powergate_power_off(int id);
114 int tegra_powergate_remove_clamping(int id);
117 int tegra_powergate_sequence_power_up(int id, struct clk *clk,
120 int tegra_io_rail_power_on(int id);
121 int tegra_io_rail_power_off(int id);
123 static inline int tegra_powergate_is_powered(int id) in tegra_powergate_is_powered() argument
128 static inline int tegra_powergate_power_on(int id) in tegra_powergate_power_on() argument
133 static inline int tegra_powergate_power_off(int id) in tegra_powergate_power_off() argument
[all …]
/include/rdma/
Drdma_cm.h146 typedef int (*rdma_cm_event_handler)(struct rdma_cm_id *id,
185 void rdma_destroy_id(struct rdma_cm_id *id);
198 int rdma_bind_addr(struct rdma_cm_id *id, struct sockaddr *addr);
210 int rdma_resolve_addr(struct rdma_cm_id *id, struct sockaddr *src_addr,
221 int rdma_resolve_route(struct rdma_cm_id *id, int timeout_ms);
230 int rdma_create_qp(struct rdma_cm_id *id, struct ib_pd *pd,
240 void rdma_destroy_qp(struct rdma_cm_id *id);
261 int rdma_init_qp_attr(struct rdma_cm_id *id, struct ib_qp_attr *qp_attr,
276 int rdma_connect(struct rdma_cm_id *id, struct rdma_conn_param *conn_param);
285 int rdma_listen(struct rdma_cm_id *id, int backlog);
[all …]
/include/uapi/linux/
Dadb.h9 #define ADB_FLUSH(id) (0x01 | ((id) << 4)) argument
10 #define ADB_WRITEREG(id, reg) (0x08 | (reg) | ((id) << 4)) argument
11 #define ADB_READREG(id, reg) (0x0C | (reg) | ((id) << 4)) argument
Dpatchkey.h28 # define _PATCHKEY(id) (0xfd00|id) argument
30 # define _PATCHKEY(id) ((id<<8)|0x00fd) argument
Dzorro.h31 #define ZORRO_MANUF(id) ((id) >> 16) argument
32 #define ZORRO_PROD(id) (((id) >> 8) & 0xff) argument
33 #define ZORRO_EPC(id) ((id) & 0xff) argument
/include/trace/events/
Dsyscalls.h19 TP_PROTO(struct pt_regs *regs, long id),
21 TP_ARGS(regs, id),
24 __field( long, id )
29 __entry->id = id;
34 __entry->id,
50 __field( long, id )
55 __entry->id = syscall_get_nr(current, regs);
60 __entry->id, __entry->ret),
Dhswadsp.h118 TP_PROTO(unsigned int id, unsigned int pos),
120 TP_ARGS(id, pos),
123 __field( unsigned int, id )
128 __entry->id = id;
133 (unsigned int)__entry->id, (unsigned int)__entry->pos)
138 TP_PROTO(unsigned int id, unsigned int pos),
140 TP_ARGS(id, pos)
146 TP_PROTO(unsigned int id, unsigned int pos),
148 TP_ARGS(id, pos)
159 __field( int, id )
[all …]
/include/uapi/rdma/
Drdma_user_cm.h90 __u32 id; member
95 __u32 id; member
106 __u32 id; member
110 __u32 id; member
119 __u32 id; member
124 __u32 id; member
134 __u32 id; member
146 __u32 id; member
202 __u32 id; member
207 __u32 id; member
[all …]
/include/linux/usb/
Dinput.h17 usb_to_input_id(const struct usb_device *dev, struct input_id *id) in usb_to_input_id() argument
19 id->bustype = BUS_USB; in usb_to_input_id()
20 id->vendor = le16_to_cpu(dev->descriptor.idVendor); in usb_to_input_id()
21 id->product = le16_to_cpu(dev->descriptor.idProduct); in usb_to_input_id()
22 id->version = le16_to_cpu(dev->descriptor.bcdDevice); in usb_to_input_id()
Dassociation.h26 __u8 id; member
31 #define WUSB_AR_AssociationTypeId { .id = cpu_to_le16(0x0000), .len = cpu_to_le16(2) }
32 #define WUSB_AR_AssociationSubTypeId { .id = cpu_to_le16(0x0001), .len = cpu_to_le16(2) }
33 #define WUSB_AR_Length { .id = cpu_to_le16(0x0002), .len = cpu_to_le16(4) }
34 #define WUSB_AR_AssociationStatus { .id = cpu_to_le16(0x0004), .len = cpu_to_le16(4) }
35 #define WUSB_AR_LangID { .id = cpu_to_le16(0x0008), .len = cpu_to_le16(2) }
36 #define WUSB_AR_DeviceFriendlyName { .id = cpu_to_le16(0x000b), .len = cpu_to_le16(64) } /* max */
37 #define WUSB_AR_HostFriendlyName { .id = cpu_to_le16(0x000c), .len = cpu_to_le16(64) } /* max */
38 #define WUSB_AR_CHID { .id = cpu_to_le16(0x1000), .len = cpu_to_le16(16) }
39 #define WUSB_AR_CDID { .id = cpu_to_le16(0x1001), .len = cpu_to_le16(16) }
[all …]
/include/linux/regulator/
Dconsumer.h162 const char *id);
164 const char *id);
166 const char *id);
168 const char *id);
170 const char *id);
172 const char *id);
176 int regulator_register_supply_alias(struct device *dev, const char *id,
179 void regulator_unregister_supply_alias(struct device *dev, const char *id);
182 const char *const *id,
187 const char * const *id, int num_id);
[all …]
Dfixed.h63 struct platform_device *regulator_register_always_on(int id, const char *name,
66 static inline struct platform_device *regulator_register_always_on(int id, const char *name, in regulator_register_always_on() argument
73 #define regulator_register_fixed(id, s, ns) regulator_register_always_on(id, \ argument
/include/sound/
Dcontrol.h70 struct snd_ctl_elem_id id; member
89 struct snd_ctl_elem_id id; member
121 void snd_ctl_notify(struct snd_card * card, unsigned int mask, struct snd_ctl_elem_id * id);
128 int snd_ctl_remove_id(struct snd_card * card, struct snd_ctl_elem_id *id);
130 int snd_ctl_activate_id(struct snd_card *card, struct snd_ctl_elem_id *id,
133 struct snd_kcontrol *snd_ctl_find_id(struct snd_card * card, struct snd_ctl_elem_id *id);
149 …atic inline unsigned int snd_ctl_get_ioffnum(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) in snd_ctl_get_ioffnum() argument
151 unsigned int ioff = id->numid - kctl->id.numid; in snd_ctl_get_ioffnum()
155 …atic inline unsigned int snd_ctl_get_ioffidx(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) in snd_ctl_get_ioffidx() argument
157 unsigned int ioff = id->index - kctl->id.index; in snd_ctl_get_ioffidx()
[all …]
Dad1843.h27 int ad1843_get_gain_max(struct snd_ad1843 *ad1843, int id);
28 int ad1843_get_gain(struct snd_ad1843 *ad1843, int id);
29 int ad1843_set_gain(struct snd_ad1843 *ad1843, int id, int newval);
33 unsigned int id,
38 unsigned int id);

12345678910>>...14