/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | debugfs.c | 133 u64 field = 0; local 140 field = div64_u64(stats->sum, stats->n); 142 ret = snprintf(tbuf, sizeof(tbuf), "%llu\n", field); 175 int field; local 180 field = cmd->vars.max_reg_cmds - weight; 181 ret = snprintf(tbuf, sizeof(tbuf), "%d\n", field); 455 u64 field; local 462 field = qp_read_field(d->dev, d->object, desc->i, &is_str); 466 field = eq_read_field(d->dev, d->object, desc->i); 470 field 492 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 D | cdnsp-ring.c | 84 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 D | phy-uniphier-usb3ss.c | 50 } 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/tools/testing/selftests/net/openvswitch/ |
H A D | ovs-dpctl.py | 440 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 D | videodev2.h | 94 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 1114 __u32 field; member in struct:v4l2_buffer 1234 __u32 field; /* enum v4l2_field */ member in struct:v4l2_framebuffer::__anon940 1268 __u32 field; /* enum v4l2_field */ member in struct:v4l2_window 2296 __u32 field; /* 0: first field, 1: second field */ member in struct:v4l2_sliced_vbi_data 2387 __u32 field; member in struct:v4l2_pix_format_mplane 2477 __u8 field; member in struct:v4l2_event_vsync [all...] |
/linux-master/drivers/media/pci/tw68/ |
H A D | tw68-video.c | 32 * 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 D | quirks.c | 30 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 D | svm.h | 626 #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 D | vmcs12.h | 209 * 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 D | soc15_common.h | 50 #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/include/net/ |
H A D | ip.h | 118 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/arch/sh/drivers/dma/ |
H A D | dma-sysfs.c | 115 #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/kernel/trace/ |
H A D | trace_probe.c | 292 struct ftrace_event_field *field; local 296 list_for_each_entry(field, head, link) { 297 if (!strcmp(arg, field->name)) { 299 code->data = field; 491 /* Return 1 if the field separater is arrow operator ('->') */ 495 char *field; local 498 field = strpbrk(varname, ".-"); 499 if (field) { 500 if (field[0] == '-' && field[ 526 const struct btf_member *field; local 606 char *field = NULL; local 2140 trace_probe_print_args(struct trace_seq *s, struct probe_arg *args, int nr_args, u8 *data, void *field) argument [all...] |
H A D | trace_events.c | 87 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 2846 struct ftrace_event_field *field; local [all...] |
H A D | trace_branch.c | 143 struct trace_branch *field; local 145 trace_assign_type(field, iter->ent); 148 field->correct ? " ok " : " MISS ", 149 field->func, 150 field->file, 151 field->line);
|
H A D | trace_mmiotrace.c | 168 struct trace_mmiotrace_rw *field; local 175 trace_assign_type(field, entry); 176 rw = &field->rw; 213 struct trace_mmiotrace_map *field; local 220 trace_assign_type(field, entry); 221 m = &field->map;
|
/linux-master/drivers/gpu/drm/vc4/ |
H A D | vc4_qpu_defines.h | 210 #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 D | hibmc_drm_regs.h | 203 #define HIBMC_FIELD(field, value) (field(value) & field##_MASK)
|
/linux-master/tools/kvm/kvm_stat/ |
H A D | kvm_stat | 336 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 D | icssg_stats.h | 80 #define ICSSG_STATS(field, stats_type) \ 82 #field, \ 83 offsetof(struct miig_stats_regs, field), \
|
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_eeprom.c | 46 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 D | attr.c | 66 #define WRITE_ASS(field, fmt) __WRITE_ASS(field, fmt, attr->field)
|
/linux-master/net/netfilter/ |
H A D | nft_set_pipapo.h | 6 #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 D | scsi_sysfs.c | 158 * 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...] |
/linux-master/tools/testing/selftests/net/ |
H A D | rxtimestamp.c | 231 #define VALIDATE(field) \ 233 if (expected.field != actual.field) { \ 234 if (expected.field) \ 235 error(0, 0, "Expected " #field " to be set."); \ 238 "Expected " #field " to not be set."); \
|