Searched refs:field (Results 226 - 250 of 1184) sorted by relevance

1234567891011>>

/linux-master/drivers/media/common/saa7146/
H A Dsaa7146_hlp.c213 static int calculate_v_scale_registers(struct saa7146_dev *dev, enum v4l2_field field, argument
233 or scaling is between 1/2 and 1/4 (if only one field is used) */
235 if (V4L2_FIELD_HAS_BOTH(field)) {
239 } else if (field == V4L2_FIELD_TOP
240 || field == V4L2_FIELD_ALTERNATE
241 || field == V4L2_FIELD_BOTTOM) {
309 static void saa7146_set_window(struct saa7146_dev *dev, int width, int height, enum v4l2_field field) argument
321 calculate_v_scale_registers(dev, field, vv->standard->v_field*2, height, &hps_v_scale, &hps_v_gain);
417 enum v4l2_field field = pix->field; local
543 enum v4l2_field field = pix->field; local
[all...]
/linux-master/drivers/regulator/
H A Dtps6524x-regulator.c120 struct field { struct
132 struct field enable, voltage, ilimsel;
281 static int read_field(struct tps6524x *hw, const struct field *field) argument
285 tmp = read_reg(hw, field->reg);
289 return (tmp >> field->shift) & field->mask;
292 static int write_field(struct tps6524x *hw, const struct field *field, argument
295 if (val & ~field
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Ddebugfs.c133 u64 field = 0; local
140 field = div64_u64(stats->sum, stats->n);
142 ret = snprintf(tbuf, sizeof(tbuf), "%llu\n", field);
185 int field; local
190 field = cmd->vars.max_reg_cmds - weight;
191 ret = snprintf(tbuf, sizeof(tbuf), "%d\n", field);
467 u64 field; local
474 field = qp_read_field(d->dev, d->object, desc->i, &is_str);
478 field = eq_read_field(d->dev, d->object, desc->i);
482 field
504 add_res_tree(struct mlx5_core_dev *dev, enum dbg_rsc_type type, struct dentry *root, struct mlx5_rsc_debug **dbg, int rsn, char **field, int nfile, void *data) argument
[all...]
/linux-master/drivers/usb/cdns3/
H A Dcdnsp-ring.c84 return TRB_TYPE_NOOP_LE32(trb->generic.field[3]);
115 trb->generic.field[0] = 0;
116 trb->generic.field[1] = 0;
117 trb->generic.field[2] = 0;
119 trb->generic.field[3] &= cpu_to_le32(TRB_CYCLE);
120 trb->generic.field[3] |= cpu_to_le32(TRB_TYPE(noop_type));
194 chain = le32_to_cpu(ring->enqueue->generic.field[3]) & TRB_CHAIN;
516 trb->generic.field[3] ^= cpu_to_le32(TRB_CYCLE);
796 if (GET_COMP_CODE(le32_to_cpu(event->generic.field[2])) != COMP_SUCCESS)
799 port_id = GET_PORT_ID(le32_to_cpu(event->generic.field[
1864 u32 field, length_field, remainder; local
2014 u32 field, length_field, zlp = 0; local
2199 u32 field, length_field; local
[all...]
/linux-master/drivers/phy/socionext/
H A Dphy-uniphier-usb3ss.c50 } field; member in struct:uniphier_u3ssphy_param
82 u8 field_mask = GENMASK(p->field.msb, p->field.lsb);
87 val |= FIELD_PREP(TESTI_ADR_MASK, p->field.reg_no);
93 data = field_mask & (p->value << p->field.lsb);
95 val |= FIELD_PREP(TESTI_ADR_MASK, p->field.reg_no);
102 val |= FIELD_PREP(TESTI_ADR_MASK, p->field.reg_no);
/linux-master/fs/bcachefs/
H A Dsb-downgrade.c136 (void *) _i < vstruct_end(&(_d)->field) && \
137 (void *) &_i->errors[0] <= vstruct_end(&(_d)->field) && \
138 (void *) downgrade_entry_next_c(_i) <= vstruct_end(&(_d)->field); \
147 (void *) i < vstruct_end(&e->field);
150 ((void *) &i->errors[0] > vstruct_end(&e->field) ||
151 (void *) downgrade_entry_next_c(i) > vstruct_end(&e->field))) {
237 if (d && le32_to_cpu(d->field.u64s) > sb_u64s)
/linux-master/tools/testing/selftests/net/openvswitch/
H A Dovs-dpctl.py440 for field in self.nla_map:
441 if field[1] == "none" or self.get_attr(field[0]) is None:
446 if field[1] == "uint32":
447 if field[0] == "OVS_ACTION_ATTR_OUTPUT":
448 print_str += "%d" % int(self.get_attr(field[0]))
449 elif field[0] == "OVS_ACTION_ATTR_RECIRC":
450 print_str += "recirc(0x%x)" % int(self.get_attr(field[0]))
451 elif field[0] == "OVS_ACTION_ATTR_TRUNC":
452 print_str += "trunc(%d)" % int(self.get_attr(field[
[all...]
/linux-master/include/uapi/linux/
H A Dvideodev2.h94 V4L2_FIELD_TOP = 2, /* top field only */
95 V4L2_FIELD_BOTTOM = 3, /* bottom field only */
102 V4L2_FIELD_INTERLACED_TB = 8, /* both fields interlaced, top field
103 first and the top field is
105 V4L2_FIELD_INTERLACED_BT = 9, /* both fields interlaced, top field
106 first and the bottom field is
109 #define V4L2_FIELD_HAS_TOP(field) \
110 ((field) == V4L2_FIELD_TOP ||\
111 (field) == V4L2_FIELD_INTERLACED ||\
112 (field)
521 __u32 field; /* enum v4l2_field */ member in struct:v4l2_pix_format
1132 __u32 field; member in struct:v4l2_buffer
1252 __u32 field; /* enum v4l2_field */ member in struct:v4l2_framebuffer::__anon1285
1286 __u32 field; /* enum v4l2_field */ member in struct:v4l2_window
2314 __u32 field; /* 0: first field, 1: second field */ member in struct:v4l2_sliced_vbi_data
2405 __u32 field; member in struct:v4l2_pix_format_mplane
2504 __u8 field; member in struct:v4l2_event_vsync
[all...]
/linux-master/drivers/media/pci/tw68/
H A Dtw68-video.c32 * as "planar". These affect overlay mode, and are flagged with a field
248 * @field indicates Top, Bottom or Interlaced
251 unsigned int height, enum v4l2_field field)
259 if (V4L2_FIELD_HAS_BOTH(field)) /* if field is interlaced */
264 __func__, width, height, V4L2_FIELD_HAS_BOTH(field),
289 V4L2_FIELD_HAS_TOP(field) ? "T" : "",
290 V4L2_FIELD_HAS_BOTTOM(field) ? "B" : "",
323 tw68_set_scale(dev, dev->width, dev->height, dev->field);
455 switch (dev->field) {
250 tw68_set_scale(struct tw68_dev *dev, unsigned int width, unsigned int height, enum v4l2_field field) argument
596 enum v4l2_field field; local
[all...]
/linux-master/drivers/usb/core/
H A Dquirks.c30 char *val, *p, *field; local
75 field = strsep(&p, ":");
76 if (!field)
79 if (kstrtou16(field, 16, &vid))
82 field = strsep(&p, ":");
83 if (!field)
86 if (kstrtou16(field, 16, &pid))
89 field = strsep(&p, ",");
90 if (!field || !*field)
[all...]
/linux-master/arch/x86/include/asm/
H A Dsvm.h626 #define GHCB_BITMAP_IDX(field) \
627 (offsetof(struct ghcb_save_area, field) / sizeof(u64))
629 #define DEFINE_GHCB_ACCESSORS(field) \
630 static __always_inline bool ghcb_##field##_is_valid(const struct ghcb *ghcb) \
632 return test_bit(GHCB_BITMAP_IDX(field), \
636 static __always_inline u64 ghcb_get_##field(struct ghcb *ghcb) \
638 return ghcb->save.field; \
641 static __always_inline u64 ghcb_get_##field##_if_valid(struct ghcb *ghcb) \
643 return ghcb_##field##_is_valid(ghcb) ? ghcb->save.field
[all...]
/linux-master/arch/x86/kvm/vmx/
H A Dvmcs12.h209 * For save/restore compatibility, the vmcs12 field offsets must not change.
211 #define CHECK_OFFSET(field, loc) \
212 ASSERT_STRUCT_OFFSET(struct vmcs12, field, loc)
366 static inline short get_vmcs12_field_offset(unsigned long field) argument
371 if (field >> 15)
374 index = ROL16(field, 6);
385 static inline u64 vmcs12_read_any(struct vmcs12 *vmcs12, unsigned long field, argument
390 switch (vmcs_field_width(field)) {
405 static inline void vmcs12_write_any(struct vmcs12 *vmcs12, unsigned long field, argument
410 switch (vmcs_field_width(field)) {
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Dsoc15_common.h50 #define WREG32_FIELD15(ip, idx, reg, field, val) \
55 ~REG_FIELD_MASK(reg, field)) | (val) << REG_FIELD_SHIFT(reg, field), \
58 #define WREG32_FIELD15_PREREG(ip, idx, reg_name, field, val) \
63 ~REG_FIELD_MASK(reg_name, field)) | (val) << REG_FIELD_SHIFT(reg_name, field), \
184 #define WREG32_FIELD15_RLC(ip, idx, reg, field, val) \
188 ~REG_FIELD_MASK(reg, field)) | (val) << REG_FIELD_SHIFT(reg, field), \
/linux-master/arch/sh/drivers/dma/
H A Ddma-sysfs.c115 #define dma_ro_attr(field, fmt) \
116 static ssize_t dma_show_##field(struct device *dev, \
120 return sprintf(buf, fmt, channel->field); \
122 static DEVICE_ATTR(field, S_IRUGO, dma_show_##field, NULL);
/linux-master/include/net/
H A Dip.h118 They are selected only by protocol field, and then processed likely
294 #define IP_INC_STATS(net, field) SNMP_INC_STATS64((net)->mib.ip_statistics, field)
295 #define __IP_INC_STATS(net, field) __SNMP_INC_STATS64((net)->mib.ip_statistics, field)
296 #define IP_ADD_STATS(net, field, val) SNMP_ADD_STATS64((net)->mib.ip_statistics, field, val)
297 #define __IP_ADD_STATS(net, field, val) __SNMP_ADD_STATS64((net)->mib.ip_statistics, field, val)
298 #define IP_UPD_PO_STATS(net, field, va
[all...]
/linux-master/kernel/trace/
H A Dtrace_probe.c293 struct ftrace_event_field *field; local
297 list_for_each_entry(field, head, link) {
298 if (!strcmp(arg, field->name)) {
300 code->data = field;
492 /* Return 1 if the field separater is arrow operator ('->') */
496 char *field; local
499 field = strpbrk(varname, ".-");
500 if (field) {
501 if (field[0] == '-' && field[
527 const struct btf_member *field; local
607 char *field = NULL; local
2201 trace_probe_print_args(struct trace_seq *s, struct probe_arg *args, int nr_args, u8 *data, void *field) argument
[all...]
H A Dtrace_events.c87 struct ftrace_event_field *field; local
89 list_for_each_entry(field, head, link) {
90 if (!strcmp(field->name, name))
91 return field;
100 struct ftrace_event_field *field; local
104 field = __find_event_field(head, name);
105 if (field)
106 return field;
108 field = __find_event_field(&ftrace_generic_fields, name);
109 if (field)
119 struct ftrace_event_field *field; local
219 struct ftrace_event_field *field, *next; local
253 struct trace_event_fields *field = call->class->fields_array; local
1576 struct ftrace_event_field *field; local
2453 struct trace_event_fields *field = call->class->fields_array; local
2858 struct ftrace_event_field *field; local
[all...]
/linux-master/drivers/gpu/drm/vc4/
H A Dvc4_qpu_defines.h210 #define QPU_GET_FIELD(word, field) \
211 ((uint32_t)(((word) & field ## _MASK) >> field ## _SHIFT))
220 * If set, the pack field means PACK_MUL or R4 packing, instead of normal
/linux-master/drivers/gpu/drm/hisilicon/hibmc/
H A Dhibmc_drm_regs.h203 #define HIBMC_FIELD(field, value) (field(value) & field##_MASK)
/linux-master/tools/kvm/kvm_stat/
H A Dkvm_stat336 def tracepoint_is_child(self, field):
337 if (TRACE_FILTER.match(field)):
339 return field.split('(', 1)[0]
349 def debugfs_is_child(self, field):
350 """ Returns name of parent if 'field' is a child, None otherwise """
369 def debugfs_is_child(self, field):
370 """ Returns name of parent if 'field' is a child, None otherwise """
381 def debugfs_is_child(self, field):
382 """ Returns name of parent if 'field' is a child, None otherwise """
393 def debugfs_is_child(self, field)
[all...]
/linux-master/drivers/net/ethernet/ti/icssg/
H A Dicssg_stats.h80 #define ICSSG_STATS(field, stats_type) \
82 #field, \
83 offsetof(struct miig_stats_regs, field), \
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_eeprom.c46 enum mt76x02_eeprom_field field,
49 if (field + len > dev->mt76.eeprom.size)
52 memcpy(dest, dev->mt76.eeprom.data + field, len);
45 mt76x02_eeprom_copy(struct mt76x02_dev *dev, enum mt76x02_eeprom_field field, void *dest, int len) argument
/linux-master/tools/perf/tests/
H A Dattr.c66 #define WRITE_ASS(field, fmt) __WRITE_ASS(field, fmt, attr->field)
/linux-master/net/netfilter/
H A Dnft_set_pipapo.h6 #include <net/ipv6.h> /* For the maximum length of a field */
14 /* Largest supported field size */
78 #define nft_pipapo_for_each_field(field, index, match) \
79 for ((field) = (match)->f, (index) = 0; \
81 (index)++, (field)++)
85 * @to: First rule number (in next field) this rule maps to
86 * @n: Number of rules (in next field) this rule maps to
87 * @e: If there's no next field, pointer to element this rule maps to
106 * struct nft_pipapo_field - Lookup, mapping tables and related data for a field
127 * @map_index: Current working bitmap index, toggled between field matche
[all...]
/linux-master/drivers/scsi/
H A Dscsi_sysfs.c158 * show a non-bit field.
160 #define shost_show_function(name, field, format_string) \
166 return snprintf (buf, 20, format_string, shost->field); \
171 * read only field.
173 #define shost_rd_attr2(name, field, format_string) \
174 shost_show_function(name, field, format_string) \
177 #define shost_rd_attr(field, format_string) \
178 shost_rd_attr2(field, field, format_string)
588 * show a non-bit field
[all...]

Completed in 298 milliseconds

1234567891011>>