Searched refs:id (Results 1 - 25 of 252) sorted by relevance

1234567891011

/include/linux/
H A Dpatchkey.h29 # define _PATCHKEY(id) (0xfd00|id)
31 # define _PATCHKEY(id) ((id<<8)|0x00fd)
38 # define _PATCHKEY(id) (0xfd00|id)
40 # define _PATCHKEY(id) ((id<<8)|0x00fd)
H A Data.h556 * id tests
558 #define ata_id_is_ata(id) (((id)[ATA_ID_CONFIG] & (1 << 15)) == 0)
559 #define ata_id_has_lba(id) ((id)[ATA_ID_CAPABILITY] & (1 << 9))
560 #define ata_id_has_dma(id) ((id)[ATA_ID_CAPABILITY] & (1 << 8))
561 #define ata_id_has_ncq(id) ((id)[76] & (1 << 8))
562 #define ata_id_queue_depth(id) (((i
582 ata_id_has_hipm(const u16 *id) argument
592 ata_id_has_dipm(const u16 *id) argument
603 ata_id_has_fua(const u16 *id) argument
610 ata_id_has_flush(const u16 *id) argument
617 ata_id_flush_enabled(const u16 *id) argument
626 ata_id_has_flush_ext(const u16 *id) argument
633 ata_id_flush_ext_enabled(const u16 *id) argument
646 ata_id_logical_sector_size(const u16 *id) argument
658 ata_id_log2_per_physical_sector(const u16 *id) argument
678 ata_id_logical_sector_offset(const u16 *id, u8 log2_per_phys) argument
691 ata_id_has_lba48(const u16 *id) argument
700 ata_id_lba48_enabled(const u16 *id) argument
709 ata_id_hpa_enabled(const u16 *id) argument
723 ata_id_has_wcache(const u16 *id) argument
731 ata_id_has_pm(const u16 *id) argument
738 ata_id_rahead_enabled(const u16 *id) argument
745 ata_id_wcache_enabled(const u16 *id) argument
765 ata_id_major_version(const u16 *id) argument
778 ata_id_is_sata(const u16 *id) argument
791 ata_id_has_tpm(const u16 *id) argument
801 ata_id_has_dword_io(const u16 *id) argument
809 ata_id_has_unload(const u16 *id) argument
818 ata_id_has_wwn(const u16 *id) argument
823 ata_id_form_factor(const u16 *id) argument
838 ata_id_rotation_rate(const u16 *id) argument
851 ata_id_has_trim(const u16 *id) argument
859 ata_id_has_zero_after_trim(const u16 *id) argument
869 ata_id_current_chs_valid(const u16 *id) argument
881 ata_id_is_cfa(const u16 *id) argument
897 ata_id_is_ssd(const u16 *id) argument
902 ata_id_pio_need_iordy(const u16 *id, const u8 pio) argument
958 ata_id_is_lba_capacity_ok(u16 *id) argument
1000 ata_id_to_hd_driveid(u16 *id) argument
[all...]
H A Dfs_enet_pd.h39 static inline int fs_get_fec_index(enum fs_id id) argument
41 if (id >= fsid_fec1 && id <= fsid_fec2)
42 return id - fsid_fec1;
46 static inline int fs_get_fcc_index(enum fs_id id) argument
48 if (id >= fsid_fcc1 && id <= fsid_fcc3)
49 return id - fsid_fcc1;
53 static inline int fs_get_scc_index(enum fs_id id) argument
55 if (id >
62 int id = fsid_fec1 + index - 1; local
70 int id = fsid_fcc1 + index - 1; local
78 int id = fsid_scc1 + index - 1; local
[all...]
H A Dfs_uart_pd.h27 static inline int fs_uart_id_scc2fsid(int id) argument
29 return fsid_scc1_uart + id - 1;
32 static inline int fs_uart_id_fsid2scc(int id) argument
34 return id - fsid_scc1_uart + 1;
37 static inline int fs_uart_id_smc2fsid(int id) argument
39 return fsid_smc1_uart + id - 1;
42 static inline int fs_uart_id_fsid2smc(int id) argument
44 return id - fsid_smc1_uart + 1;
H A Dmca-legacy.h29 /* Returns the slot of the first enabled adapter matching id. User can
31 * devices. Returns MCA_NOTFOUND if id not found. Also checks the
34 extern int mca_find_adapter(int id, int start);
35 extern int mca_find_unused_adapter(int id, int start);
H A Dipmi_smi.h155 id information from it. The first byte of data must point to the
161 struct ipmi_device_id *id)
175 id->device_id = data[0];
176 id->device_revision = data[1];
177 id->firmware_revision_1 = data[2];
178 id->firmware_revision_2 = data[3];
179 id->ipmi_version = data[4];
180 id->additional_device_support = data[5];
182 id->manufacturer_id = (data[6] | (data[7] << 8) |
184 id
159 ipmi_demangle_device_id(const unsigned char *data, unsigned int data_len, struct ipmi_device_id *id) argument
[all...]
H A Dadb.h9 #define ADB_FLUSH(id) (0x01 | ((id) << 4))
10 #define ADB_WRITEREG(id, reg) (0x08 | (reg) | ((id) << 4))
11 #define ADB_READREG(id, reg) (0x0C | (reg) | ((id) << 4))
39 * data[2] = id, rep[0] = orig addr, rep[1] = handler_id
60 unsigned char id[16]; member in struct:adb_ids
H A Dkeychord.h28 * Reading /dev/keychord returns the id of a keychord when the
43 __u16 id; member in struct:input_keychord
H A Dconnector.h67 struct cb_id id; member in struct:cn_msg
100 struct cb_id id; member in struct:cn_callback_id
108 struct cn_callback_id id; member in struct:cn_callback_entry
115 struct cb_id id; member in struct:cn_dev
124 int cn_add_callback(struct cb_id *id, const char *name,
130 struct cb_id *id,
132 void cn_queue_del_callback(struct cn_queue_dev *dev, struct cb_id *id);
/include/linux/usb/
H A Dinput.h17 usb_to_input_id(const struct usb_device *dev, struct input_id *id) argument
19 id->bustype = BUS_USB;
20 id->vendor = le16_to_cpu(dev->descriptor.idVendor);
21 id->product = le16_to_cpu(dev->descriptor.idProduct);
22 id->version = le16_to_cpu(dev->descriptor.bcdDevice);
H A Dassociation.h26 __u8 id; member in struct:wusb_am_attr
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
86 __le16 id; member in struct:wusb_cbaf_attr_hdr
[all...]
/include/net/netns/
H A Dgeneric.h16 * 1. set pernet_operations->id. After register_pernet_device you
17 * will have the id of your private pointer.
34 static inline void *net_generic(const struct net *net, int id) argument
41 BUG_ON(id == 0 || id > ng->len);
42 ptr = ng->ptr[id - 1];
/include/net/netfilter/
H A Dnf_conntrack_extend.h45 static inline bool __nf_ct_ext_exist(const struct nf_ct_ext *ext, u8 id) argument
47 return !!ext->offset[id];
50 static inline bool nf_ct_ext_exist(const struct nf_conn *ct, u8 id) argument
52 return (ct->ext && __nf_ct_ext_exist(ct->ext, id));
55 static inline void *__nf_ct_ext_find(const struct nf_conn *ct, u8 id) argument
57 if (!nf_ct_ext_exist(ct, id))
60 return (void *)ct->ext + ct->ext->offset[id];
62 #define nf_ct_ext_find(ext, id) \
63 ((id##_TYPE *)__nf_ct_ext_find((ext), (id)))
97 enum nf_ct_ext_id id; member in struct:nf_ct_ext_type
[all...]
H A Dnf_conntrack_zones.h10 u16 id; member in struct:nf_conntrack_zone
19 return nf_ct_zone->id;
/include/rdma/
H A Drdma_cm.h135 * the passed in id, or a corresponding listen id. Returning a
136 * non-zero value from the callback will destroy the passed in id.
138 typedef int (*rdma_cm_event_handler)(struct rdma_cm_id *id,
157 * @context: User specified context associated with the id.
159 * @qp_type: type of queue pair associated with the id.
168 * @id: RDMA identifier.
171 * asynchronous operations associated with the id.
173 void rdma_destroy_id(struct rdma_cm_id *id);
179 * @id
[all...]
H A Drdma_cm_ib.h41 * @id: Connection identifier associated with the request.
48 int rdma_set_ib_paths(struct rdma_cm_id *id,
H A Drdma_user_cm.h85 __u32 id; member in struct:rdma_ucm_create_id_resp
90 __u32 id; member in struct:rdma_ucm_destroy_id
101 __u32 id; member in struct:rdma_ucm_bind_addr
107 __u32 id; member in struct:rdma_ucm_resolve_addr
112 __u32 id; member in struct:rdma_ucm_resolve_route
118 __u32 id; member in struct:rdma_ucm_query_route
157 __u32 id; member in struct:rdma_ucm_connect
162 __u32 id; member in struct:rdma_ucm_listen
169 __u32 id; member in struct:rdma_ucm_accept
174 __u32 id; member in struct:rdma_ucm_reject
181 __u32 id; member in struct:rdma_ucm_disconnect
186 __u32 id; member in struct:rdma_ucm_init_qp_attr
191 __u32 id; member in struct:rdma_ucm_notify
199 __u32 id; member in struct:rdma_ucm_join_mcast
208 __u32 id; member in struct:rdma_ucm_event_resp
232 __u32 id; member in struct:rdma_ucm_set_option
240 __u32 id; member in struct:rdma_ucm_migrate_id
[all...]
/include/linux/netfilter/
H A Dxt_LED.h7 char id[27]; /* Unique ID for this trigger in the LED class */ member in struct:xt_led_info
H A Dxt_realm.h7 __u32 id; member in struct:xt_realm_info
/include/sound/
H A Dseq_device.h38 char id[ID_LEN]; /* driver id */ member in struct:snd_seq_device
71 int snd_seq_device_new(struct snd_card *card, int device, char *id, int argsize, struct snd_seq_device **result);
72 int snd_seq_device_register_driver(char *id, struct snd_seq_dev_ops *entry, int argsize);
73 int snd_seq_device_unregister_driver(char *id);
79 * id strings for generic devices
H A 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);
H A Dcontrol.h64 struct snd_ctl_elem_id id; member in struct:snd_kcontrol
83 struct snd_ctl_elem_id id; member in struct:snd_kctl_event
110 void snd_ctl_notify(struct snd_card * card, unsigned int mask, struct snd_ctl_elem_id * id);
117 int snd_ctl_remove_id(struct snd_card * card, struct snd_ctl_elem_id *id);
119 int snd_ctl_activate_id(struct snd_card *card, struct snd_ctl_elem_id *id,
122 struct snd_kcontrol *snd_ctl_find_id(struct snd_card * card, struct snd_ctl_elem_id *id);
136 static inline unsigned int snd_ctl_get_ioffnum(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) argument
138 return id->numid - kctl->id.numid;
141 static inline unsigned int snd_ctl_get_ioffidx(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) argument
146 snd_ctl_get_ioff(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) argument
[all...]
/include/trace/events/
H A Dsyscalls.h21 TP_PROTO(struct pt_regs *regs, long id),
23 TP_ARGS(regs, id),
26 __field( long, id )
31 __entry->id = id;
36 __entry->id,
52 __field( long, id )
57 __entry->id = syscall_get_nr(current, regs);
62 __entry->id, __entry->ret),
/include/linux/regulator/
H A Dfixed.h54 struct platform_device *regulator_register_fixed(int id,
57 static inline struct platform_device *regulator_register_fixed(int id, argument
/include/net/
H A Dcls_cgroup.h47 int id; local
54 id = rcu_dereference_index_check(net_cls_subsys_id,
56 if (id >= 0)
57 classid = container_of(task_subsys_state(p, id),

Completed in 423 milliseconds

1234567891011