Searched refs:field (Results 276 - 300 of 1183) sorted by relevance

<<11121314151617181920>>

/linux-master/tools/perf/
H A Dbuiltin-trace.c210 u64 (*integer)(struct tp_field *field, struct perf_sample *sample);
211 void *(*pointer)(struct tp_field *field, struct perf_sample *sample);
216 static u64 tp_field__u##bits(struct tp_field *field, struct perf_sample *sample) \
219 memcpy(&value, sample->raw_data + field->offset, sizeof(value)); \
229 static u64 tp_field__swapped_u##bits(struct tp_field *field, struct perf_sample *sample) \
232 memcpy(&value, sample->raw_data + field->offset, sizeof(value)); \
240 static int __tp_field__init_uint(struct tp_field *field, int size, int offset, bool needs_swap) argument
242 field->offset = offset;
246 field->integer = tp_field__u8;
249 field
264 tp_field__init_uint(struct tp_field *field, struct tep_format_field *format_field, bool needs_swap) argument
269 tp_field__ptr(struct tp_field *field, struct perf_sample *sample) argument
274 __tp_field__init_ptr(struct tp_field *field, int offset) argument
281 tp_field__init_ptr(struct tp_field *field, struct tep_format_field *format_field) argument
374 evsel__init_tp_uint_field(struct evsel *evsel, struct tp_field *field, const char *name) argument
388 evsel__init_tp_ptr_field(struct evsel *evsel, struct tp_field *field, const char *name) argument
1733 syscall_arg_fmt__init_array(struct syscall_arg_fmt *arg, struct tep_format_field *field) argument
2064 struct tep_format_field *field; local
2742 struct tep_format_field *field = evsel->tp_format->format.fields; local
3357 struct tep_format_field *field, *candidate_field; local
3686 struct tep_format_field *field; local
[all...]
/linux-master/drivers/nvme/host/
H A Dsysfs.c308 #define nvme_show_str_function(field) \
309 static ssize_t field##_show(struct device *dev, \
314 (int)sizeof(ctrl->subsys->field), ctrl->subsys->field); \
316 static DEVICE_ATTR(field, S_IRUGO, field##_show, NULL);
322 #define nvme_show_int_function(field) \
323 static ssize_t field##_show(struct device *dev, \
327 return sysfs_emit(buf, "%d\n", ctrl->field); \
329 static DEVICE_ATTR(field, S_IRUG
[all...]
/linux-master/drivers/usb/core/
H A Dsysfs.c25 #define usb_actconfig_show(field, format_string) \
26 static ssize_t field##_show(struct device *dev, \
40 actconfig->desc.field); \
45 #define usb_actconfig_attr(field, format_string) \
46 usb_actconfig_show(field, format_string) \
47 static DEVICE_ATTR_RO(field)
689 #define usb_descriptor_attr_le16(field, format_string) \
691 field##_show(struct device *dev, struct device_attribute *attr, \
698 le16_to_cpu(udev->descriptor.field)); \
700 static DEVICE_ATTR_RO(field)
[all...]
/linux-master/drivers/net/ethernet/sfc/
H A Dethtool_common.c28 u64 (*get_stat)(void *field); /* Reader function */
32 #define EFX_ETHTOOL_STAT(stat_name, source_name, field, field_type, \
37 &((struct efx_##source_name *)0)->field) ? \
38 offsetof(struct efx_##source_name, field) : \
39 offsetof(struct efx_##source_name, field)), \
43 static u64 efx_get_uint_stat(void *field) argument
45 return *(unsigned int *)field;
48 static u64 efx_get_atomic_stat(void *field) argument
50 return atomic_read((atomic_t *) field);
53 #define EFX_ETHTOOL_ATOMIC_NIC_ERROR_STAT(field) \
[all...]
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.c28 u64 (*get_stat)(void *field); /* Reader function */
32 #define EFX_ETHTOOL_STAT(stat_name, source_name, field, field_type, \
37 &((struct efx_##source_name *)0)->field) ? \
38 offsetof(struct efx_##source_name, field) : \
39 offsetof(struct efx_##source_name, field)), \
43 static u64 efx_get_uint_stat(void *field) argument
45 return *(unsigned int *)field;
48 static u64 efx_get_atomic_stat(void *field) argument
50 return atomic_read((atomic_t *) field);
53 #define EFX_ETHTOOL_ATOMIC_NIC_ERROR_STAT(field) \
[all...]
/linux-master/net/mac80211/
H A Ddebugfs_netdev.c169 #define IEEE80211_IF_FMT(name, type, field, format_string) \
174 return scnprintf(buf, buflen, format_string, data->field); \
176 #define IEEE80211_IF_FMT_DEC(name, type, field) \
177 IEEE80211_IF_FMT(name, type, field, "%d\n")
178 #define IEEE80211_IF_FMT_HEX(name, type, field) \
179 IEEE80211_IF_FMT(name, type, field, "%#x\n")
180 #define IEEE80211_IF_FMT_LHEX(name, type, field) \
181 IEEE80211_IF_FMT(name, type, field, "%#lx\n")
183 #define IEEE80211_IF_FMT_HEXARRAY(name, type, field) \
190 for (i = 0; i < sizeof(data->field);
[all...]
/linux-master/drivers/media/pci/cx23885/
H A Dcx23885-video.c130 dev->field = V4L2_FIELD_INTERLACED;
136 format.format.field = dev->field;
360 switch (dev->field) {
383 /* cx25840 transmits NTSC bottom field first */
389 /* All other formats are top field first */
538 f->fmt.pix.field = dev->field;
554 enum v4l2_field field; local
561 field
[all...]
/linux-master/drivers/hid/
H A Dhid-cherry.c39 struct hid_field *field, struct hid_usage *usage,
38 ch_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-belkin.c27 struct hid_field *field, struct hid_usage *usage,
26 belkin_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-monterey.c34 struct hid_field *field, struct hid_usage *usage,
33 mr_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-sunplus.c36 struct hid_field *field, struct hid_usage *usage,
35 sp_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-tivo.c23 struct hid_field *field, struct hid_usage *usage,
22 tivo_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
/linux-master/tools/include/linux/
H A Drbtree.h87 * @field: the name of the rb_node field within 'type'.
97 #define rbtree_postorder_for_each_entry_safe(pos, n, root, field) \
98 for (pos = rb_entry_safe(rb_first_postorder(root), typeof(*pos), field); \
99 pos && ({ n = rb_entry_safe(rb_next_postorder(&pos->field), \
100 typeof(*pos), field); 1; }); \
/linux-master/include/linux/
H A Drbtree.h89 * @field: the name of the rb_node field within 'type'.
99 #define rbtree_postorder_for_each_entry_safe(pos, n, root, field) \
100 for (pos = rb_entry_safe(rb_first_postorder(root), typeof(*pos), field); \
101 pos && ({ n = rb_entry_safe(rb_next_postorder(&pos->field), \
102 typeof(*pos), field); 1; }); \
/linux-master/drivers/media/platform/sunxi/sun6i-csi/
H A Dsun6i_csi_capture.h67 u32 *pixelformat, u32 *field);
/linux-master/drivers/media/platform/mediatek/vcodec/common/
H A Dmtk_vcodec_cmn_drv.h133 enum v4l2_field field; member in struct:mtk_q_data
/linux-master/drivers/net/ethernet/ti/
H A Dnetcp_ethss.c780 #define GBE_STATSA_INFO(field) \
782 "GBE_A:"#field, GBE_STATSA_MODULE, \
783 sizeof_field(struct gbe_hw_stats, field), \
784 offsetof(struct gbe_hw_stats, field) \
787 #define GBE_STATSB_INFO(field) \
789 "GBE_B:"#field, GBE_STATSB_MODULE, \
790 sizeof_field(struct gbe_hw_stats, field), \
791 offsetof(struct gbe_hw_stats, field) \
794 #define GBE_STATSC_INFO(field) \
796 "GBE_C:"#field, GBE_STATSC_MODUL
[all...]
/linux-master/include/linux/surface_aggregator/
H A Dserial_hub.h29 * in the ``struct ssh_frame.len`` field. This frame is sequenced, meaning
152 * SSH_MSGOFFSET_FRAME() - Compute offset in SSH message to specified field in
154 * @field: The field for which the offset should be computed.
156 * Return: Returns the offset of the specified &struct ssh_frame field in the
160 #define SSH_MSGOFFSET_FRAME(field) \
161 (sizeof(u16) + offsetof(struct ssh_frame, field))
164 * SSH_MSGOFFSET_COMMAND() - Compute offset in SSH message to specified field
166 * @field: The field fo
[all...]
/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-vbi-out.c231 dev->vbi_out_have_cc[!!vbi->field] = true;
232 dev->vbi_out_cc[!!vbi->field][0] = vbi->data[0];
233 dev->vbi_out_cc[!!vbi->field][1] = vbi->data[1];
238 vbi->field == 0 && vbi->line == 23) {
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-compat-ioctl32.c43 __u32 field; /* enum v4l2_field */ member in struct:v4l2_window32
61 .field = w32.field,
80 .field = p64->field,
120 * this field indicate the maximum possible number of buffers
288 __u32 field; /* enum v4l2_field */ member in struct:v4l2_buffer32
315 __u32 field; /* enum v4l2_field */ member in struct:v4l2_buffer32_time32
414 .field = vb32.field,
587 __u32 field; member in struct:v4l2_framebuffer32::__anon1177
[all...]
/linux-master/tools/testing/selftests/hid/tests/
H A Dtest_wacom_generic.py143 def contains(self, field):
145 Check if the physical size of the provided field is in range.
147 Compare the physical size described by the provided HID field
153 phys_size = (field.physical_max - field.physical_min) * 10 ** (field.unit_exp)
155 field.unit == self.unit.value
505 for field in report.fields:
506 if field.usages is not None:
507 for usage in field
[all...]
/linux-master/drivers/gpu/drm/amd/display/dmub/src/
H A Ddmub_dcn20.h164 #define DMUB_SF(reg, field) uint8_t reg##__##field;
170 #define DMUB_SF(reg, field) uint32_t reg##__##field;
H A Ddmub_dcn31.h165 #define DMUB_SF(reg, field) uint8_t reg##__##field;
171 #define DMUB_SF(reg, field) uint32_t reg##__##field;
H A Ddmub_dcn30.c49 #define DMUB_SF(reg, field) FD_MASK(reg, field),
53 #define DMUB_SF(reg, field) FD_SHIFT(reg, field),
H A Ddmub_dcn32.h175 #define DMUB_SF(reg, field) uint8_t reg##__##field;
181 #define DMUB_SF(reg, field) uint32_t reg##__##field;

Completed in 238 milliseconds

<<11121314151617181920>>