| /kernel/linux/linux-5.10/drivers/input/touchscreen/ |
| H A D | edt-ft5x06.c | 383 u8 *field = (u8 *)tsdata + attr->field_offset; in edt_ft5x06_setting_show() local 426 val = *field; in edt_ft5x06_setting_show() 429 if (val != *field) { in edt_ft5x06_setting_show() 432 dattr->attr.name, val, *field); in edt_ft5x06_setting_show() 433 *field = val; in edt_ft5x06_setting_show() 450 u8 *field = (u8 *)tsdata + attr->field_offset; in edt_ft5x06_setting_store() local 500 *field = val; in edt_ft5x06_setting_store()
|
| /kernel/linux/linux-5.10/drivers/media/platform/sti/bdisp/ |
| H A D | bdisp-v4l2.c | 112 .field = V4L2_FIELD_NONE, 732 pix->field = frame->field; in bdisp_g_fmt() 764 (pix->field != V4L2_FIELD_INTERLACED)) in bdisp_try_fmt() 765 pix->field = V4L2_FIELD_NONE; in bdisp_try_fmt() 826 frame->field = pix->field; in bdisp_s_fmt()
|
| /kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/ |
| H A D | vivid-kthread-cap.c | 276 vid_cap_buf->vb.field = vid_out_buf->vb.field; in vivid_copy_buffer() 431 * 60 Hz standards start with the bottom field, 50 Hz standards in vivid_fillbuff() 432 * with the top field. So if the 0-based seq_count is even, in vivid_fillbuff() 433 * then the field is TOP for 50 Hz and BOTTOM for 60 Hz in vivid_fillbuff() 436 buf->vb.field = ((dev->vid_cap_seq_count & 1) ^ is_60hz) ? in vivid_fillbuff() 444 buf->vb.field = dev->field_cap; in vivid_fillbuff() 446 tpg_s_field(tpg, buf->vb.field, in vivid_fillbuff() 488 (buf->vb.field == V4L2_FIELD_TOP ? in vivid_fillbuff() 613 dev->overlay_cap_field != buf->vb.field) in vivid_overlay() [all...] |
| /kernel/linux/linux-5.10/drivers/pcmcia/ |
| H A D | ds.c | 1006 #define pcmcia_device_attr(field, test, format) \ 1007 static ssize_t field##_show (struct device *dev, struct device_attribute *attr, char *buf) \ 1010 return p_dev->test ? sprintf(buf, format, p_dev->field) : -ENODEV; \ 1012 static DEVICE_ATTR_RO(field); 1014 #define pcmcia_device_stringattr(name, field) \ 1018 return p_dev->field ? sprintf(buf, "%s\n", p_dev->field) : -ENODEV; \
|
| /kernel/linux/linux-5.10/drivers/staging/media/imx/ |
| H A D | imx7-media-csi.c | 599 done->vbuf.field = vdev->fmt.fmt.pix.field; in imx7_csi_vb2_buf_done() 735 if (out_pix->field == V4L2_FIELD_INTERLACED) { in imx7_csi_configure() 993 sdformat->format.field = in_fmt->field; in imx7_csi_try_fmt() 1012 if (sdformat->format.field != V4L2_FIELD_INTERLACED) in imx7_csi_try_fmt() 1013 sdformat->format.field = V4L2_FIELD_NONE; in imx7_csi_try_fmt()
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_acl.c | 524 /* Mask bits are unset for the modified field. */ 528 enum mlxsw_sp_acl_mangle_field field; member 537 .field = MLXSW_SP_ACL_MANGLE_FIELD_##_field, \ 588 switch (mact->field) { in mlxsw_sp_acl_rulei_act_mangle_field() 614 NL_SET_ERR_MSG_MOD(extack, "Unsupported mangle field"); in mlxsw_sp1_acl_rulei_act_mangle_field() 620 enum mlxsw_sp_acl_mangle_field field, in mlxsw_sp2_acl_rulei_act_mangle_field_ip_odd() 626 rulei->ipv6.prev_field = field; in mlxsw_sp2_acl_rulei_act_mangle_field_ip_odd() 630 NL_SET_ERR_MSG_MOD(extack, "Unsupported mangle field order"); in mlxsw_sp2_acl_rulei_act_mangle_field_ip_odd() 645 switch (mact->field) { in mlxsw_sp2_acl_rulei_act_mangle_field() 663 mact->field, in mlxsw_sp2_acl_rulei_act_mangle_field() 619 mlxsw_sp2_acl_rulei_act_mangle_field_ip_odd(struct mlxsw_sp_acl_rule_info *rulei, enum mlxsw_sp_acl_mangle_field field, u32 val, struct netlink_ext_ack *extack) mlxsw_sp2_acl_rulei_act_mangle_field_ip_odd() argument [all...] |
| /kernel/linux/linux-6.6/drivers/staging/media/rkvdec/ |
| H A D | rkvdec-h264.c | 619 static void set_ps_field(u32 *buf, struct rkvdec_ps_field field, u32 value) in set_ps_field() argument 621 u8 bit = field.offset % 32, word = field.offset / 32; in set_ps_field() 622 u64 mask = GENMASK_ULL(bit + field.len - 1, bit); in set_ps_field() 627 if (bit + field.len > 32) { in set_ps_field() 656 #define WRITE_PPS(value, field) set_ps_field(hw_ps->info, field, value) in assemble_hw_pps() 675 * dimensions, height can be field height (halved) if in assemble_hw_pps() 1053 * When frame_mbs_only_flag is not set, this is field height, in rkvdec_h264_validate_sps()
|
| /kernel/linux/linux-6.6/drivers/media/platform/st/sti/bdisp/ |
| H A D | bdisp-v4l2.c | 112 .field = V4L2_FIELD_NONE, 732 pix->field = frame->field; in bdisp_g_fmt() 764 (pix->field != V4L2_FIELD_INTERLACED)) in bdisp_try_fmt() 765 pix->field = V4L2_FIELD_NONE; in bdisp_try_fmt() 826 frame->field = pix->field; in bdisp_s_fmt()
|
| /kernel/linux/linux-6.6/drivers/pcmcia/ |
| H A D | ds.c | 1001 #define pcmcia_device_attr(field, test, format) \ 1002 static ssize_t field##_show (struct device *dev, struct device_attribute *attr, char *buf) \ 1005 return p_dev->test ? sysfs_emit(buf, format, p_dev->field) : -ENODEV; \ 1007 static DEVICE_ATTR_RO(field); 1009 #define pcmcia_device_stringattr(name, field) \ 1013 return p_dev->field ? sysfs_emit(buf, "%s\n", p_dev->field) : -ENODEV; \
|
| /kernel/linux/linux-6.6/drivers/hid/ |
| H A D | hid-apple.c | 542 static int apple_event(struct hid_device *hdev, struct hid_field *field, in apple_event() argument 547 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || in apple_event() 553 input_event_with_scancode(field->hidinput->input, usage->type, in apple_event() 559 hidinput_apple_event(hdev, field->hidinput->input, in apple_event() 669 struct hid_field *field, struct hid_usage *usage, in apple_input_mapping() 690 struct hid_field *field, struct hid_usage *usage, in apple_input_mapped() 733 hid = report->field[i]->usage->hid; in apple_backlight_check_support() 668 apple_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) apple_input_mapping() argument 689 apple_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) apple_input_mapped() argument
|
| /kernel/linux/linux-6.6/drivers/input/touchscreen/ |
| H A D | edt-ft5x06.c | 382 u8 *field = (u8 *)tsdata + attr->field_offset; in edt_ft5x06_setting_show() local 424 val = *field; in edt_ft5x06_setting_show() 427 if (val != *field) { in edt_ft5x06_setting_show() 430 dattr->attr.name, val, *field); in edt_ft5x06_setting_show() 431 *field = val; in edt_ft5x06_setting_show() 448 u8 *field = (u8 *)tsdata + attr->field_offset; in edt_ft5x06_setting_store() local 498 *field = val; in edt_ft5x06_setting_store()
|
| /third_party/node/deps/v8/tools/ |
| H A D | ll_prof.py | 466 return ", ".join("%s: %s" % (field, self.__getattribute__(field)) 467 for field, _ in TraceItem._fields_) 476 return [(field, Descriptor.CTYPE_MAP[format]) for (field, format) in fields] 661 fields = [(field, format) 662 for (field, format, bit) in PERF_SAMPLE_EVENT_BODY_FIELDS
|
| /third_party/node/deps/v8/src/execution/ |
| H A D | frames.h | 360 #define FRAME_SUMMARY_KIND(kind, type, field, desc) kind, 437 #define FRAME_SUMMARY_CONS(kind, type, field, desc) \ 438 FrameSummary(type summ) : field(summ) {} // NOLINT 463 #define FRAME_SUMMARY_CAST(kind_, type, field, desc) \ 467 return field; \ 473 #define FRAME_SUMMARY_FIELD(kind, type, field, desc) type field; 514 // Computes the address of the PC field in the standard frame given 518 // Computes the address of the constant pool field in the standard
|
| /third_party/node/deps/v8/src/torque/ |
| H A D | csa-generator.cc | 924 const BitField& field) { in GetBitFieldSpecialization() 931 ? field.offset + TargetArchitecture::SmiTagAndShiftSize() in GetBitFieldSpecialization() 932 : field.offset; in GetBitFieldSpecialization() 935 << field.name_and_type.type->GetConstexprGeneratedTypeName() << ", " in GetBitFieldSpecialization() 936 << offset << ", " << field.num_bits << ", " << container_type << ">"; in GetBitFieldSpecialization() 1043 for (auto& field : (*struct_type)->fields()) { in EmitCSAValue() 1048 EmitCSAValue(ProjectStructField(result, field.name_and_type.name), values, in EmitCSAValue() 923 GetBitFieldSpecialization(const Type* container, const BitField& field) GetBitFieldSpecialization() argument
|
| H A D | types.h | 220 // The byte offset of this field from the beginning of the containing class or 224 // The offset may be unknown because the field is after an indexed field or 225 // because we don't support the struct field for on-heap layouts. 517 void RegisterField(BitField field) { fields_.push_back(std::move(field)); } in RegisterField() argument 556 virtual const Field& RegisterField(Field field) { in RegisterField() argument 557 fields_.push_back(field); in RegisterField() 580 ReportError("Can't get last field of empty aggregate type"); in LastField() 728 const Field& RegisterField(Field field) overrid [all...] |
| /third_party/skia/src/sksl/dsl/ |
| H A D | DSLCore.cpp | 243 for (const DSLField& field : fields) { in InterfaceBlock() 244 const SkSL::Type* baseType = &field.fType.skslType(); in InterfaceBlock() 249 field.fModifiers.fModifiers, baseType, Variable::Storage::kInterfaceBlock); in InterfaceBlock() 250 GetErrorReporter().reportPendingErrors(field.fPosition); in InterfaceBlock() 251 skslFields.push_back(SkSL::Type::Field(field.fModifiers.fModifiers, field.fName, in InterfaceBlock() 252 &field.fType.skslType())); in InterfaceBlock()
|
| /third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
| H A D | RubyMessage.java | 60 * provided with keywords corresponding to field names. 93 throw runtime.newArgumentError("Expected Hash object as initializer value for map field '" + key.asJavaString() + "'."); in initialize() 100 throw runtime.newArgumentError("Expected array as initializer value for repeated field '" + key.asJavaString() + "'."); in initialize() 127 * Sets a field's value by field name. The provided field name should be a 140 * Accesses a field's value by field name. The provided field name should be a 155 * field' [all...] |
| /third_party/rust/crates/libc/src/unix/redox/ |
| H A D | mod.rs | 1109 .field("d_ino", &self.d_ino) in fmt() 1110 .field("d_off", &self.d_off) in fmt() 1111 .field("d_reclen", &self.d_reclen) in fmt() 1112 .field("d_type", &self.d_type) in fmt() 1113 // FIXME: .field("d_name", &self.d_name) in fmt() 1144 .field("sun_family", &self.sun_family) in fmt() 1145 // FIXME: .field("sun_path", &self.sun_path) in fmt() 1174 .field("ss_family", &self.ss_family) in fmt() 1175 .field("__ss_align", &self.__ss_align) in fmt() 1176 // FIXME: .field("__ss_paddin in fmt() [all...] |
| /third_party/rust/crates/syn/src/ |
| H A D | lit.rs | 571 .field("token", &format_args!("{}", self.repr.token)) in fmt() 590 .field("token", &format_args!("{}", self.repr.token)) in fmt() 609 .field("token", &format_args!("{}", self.repr.token)) in fmt() 628 .field("token", &format_args!("{}", self.repr.token)) in fmt() 647 .field("token", &format_args!("{}", self.repr.token)) in fmt() 666 .field("token", &format_args!("{}", self.repr.token)) in fmt() 685 .field("value", &self.value) in fmt()
|
| /kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
| H A D | v4l2-ioctl.c | 33 * not including, the specified field is cleared. */ 34 #define CLEAR_AFTER_FIELD(p, field) \ 35 memset((u8 *)(p) + offsetof(typeof(*(p)), field) + sizeof((p)->field), \ 36 0, sizeof(*(p)) - offsetof(typeof(*(p)), field) - sizeof((p)->field)) 295 pr_cont(", width=%u, height=%u, pixelformat=%c%c%c%c, field=%s, bytesperline=%u, sizeimage=%u, colorspace=%d, flags=0x%x, ycbcr_enc=%u, quantization=%u, xfer_func=%u\n", in v4l_print_format() 301 prt_names(pix->field, v4l2_field_names), in v4l_print_format() 309 pr_cont(", width=%u, height=%u, format=%c%c%c%c, field=%s, colorspace=%d, num_planes=%u, flags=0x%x, ycbcr_enc=%u, quantization=%u, xfer_func=%u\n", in v4l_print_format() 315 prt_names(mp->field, v4l2_field_name in v4l_print_format() [all...] |
| /kernel/linux/linux-6.6/drivers/spi/ |
| H A D | spi.c | 128 u64_stats_t *field; in spi_emit_pcpu_stats() local 133 field = (void *)pcpu_stats + offset; in spi_emit_pcpu_stats() 136 inc = u64_stats_read(field); in spi_emit_pcpu_stats() 143 #define SPI_STATISTICS_ATTRS(field, file) \ 144 static ssize_t spi_controller_##field##_show(struct device *dev, \ 150 return spi_statistics_##field##_show(ctlr->pcpu_statistics, buf); \ 152 static struct device_attribute dev_attr_spi_controller_##field = { \ 154 .show = spi_controller_##field##_show, \ 156 static ssize_t spi_device_##field##_show(struct device *dev, \ 161 return spi_statistics_##field##_sho [all...] |
| /third_party/rust/crates/libc/src/unix/nto/ |
| H A D | mod.rs | 116 // The order of the `ai_addr` field in this struct is crucial 776 .field("sun_len", &self.sun_len) in fmt() 777 .field("sun_family", &self.sun_family) in fmt() 778 // FIXME: .field("sun_path", &self.sun_path) in fmt() 825 // FIXME: .field("sysname", &self.sysname) in fmt() 826 // FIXME: .field("nodename", &self.nodename) in fmt() 827 // FIXME: .field("release", &self.release) in fmt() 828 // FIXME: .field("version", &self.version) in fmt() 829 // FIXME: .field("machine", &self.machine) in fmt() 861 .field("mq_maxms in fmt() [all...] |
| /kernel/linux/linux-5.10/drivers/dma/ioat/ |
| H A D | prep.c | 36 raw->field[xor_idx_to_field[idx]] = addr + offset; in xor_set_src() 43 return raw->field[pq_idx_to_field[idx]]; in pq_get_src() 50 return raw->field[pq16_idx_to_field[idx]]; in pq16_get_src() 59 raw->field[pq_idx_to_field[idx]] = addr + offset; in pq_set_src() 71 raw->field[pq16_idx_to_field[idx]] = addr + offset; in pq16_set_src()
|
| /kernel/linux/linux-5.10/arch/parisc/kernel/ |
| H A D | drivers.c | 306 * Note that if @node is a parisc device, we don't fill in the 'mod' field. 588 #define pa_dev_attr(name, field, format_string) \ 592 return sprintf(buf, format_string, padev->field); \ 596 #define pa_dev_attr_id(field, format) pa_dev_attr(field, id.field, format)
|
| /kernel/linux/linux-6.6/arch/parisc/kernel/ |
| H A D | drivers.c | 305 * Note that if @node is a parisc device, we don't fill in the 'mod' field. 588 #define pa_dev_attr(name, field, format_string) \ 592 return sprintf(buf, format_string, padev->field); \ 596 #define pa_dev_attr_id(field, format) pa_dev_attr(field, id.field, format)
|