Searched refs:field (Results 201 - 225 of 1184) sorted by relevance

1234567891011>>

/linux-master/include/soc/tegra/
H A Dbpmp.h46 #define tegra_bpmp_mb_read_field(mb, field) \
47 iosys_map_rd_field(mb, 0, struct tegra_bpmp_mb_data, field)
49 #define tegra_bpmp_mb_write_field(mb, field, value) \
50 iosys_map_wr_field(mb, 0, struct tegra_bpmp_mb_data, field, value)
/linux-master/security/apparmor/
H A Daudit.c220 int aa_audit_rule_init(u32 field, u32 op, char *rulestr, void **vrule) argument
224 switch (field) {
267 int aa_audit_rule_match(u32 sid, u32 field, u32 op, void *vrule) argument
281 switch (field) {
/linux-master/drivers/soundwire/
H A Dmaster.c37 #define sdw_master_attr(field, format_string) \
38 static ssize_t field##_show(struct device *dev, \
43 return sprintf(buf, format_string, md->bus->prop.field); \
45 static DEVICE_ATTR_RO(field)
/linux-master/drivers/usb/core/
H A Dendpoint.c36 #define usb_ep_attr(field, format_string) \
37 static ssize_t field##_show(struct device *dev, \
42 return sprintf(buf, format_string, ep->desc->field); \
44 static DEVICE_ATTR_RO(field)
/linux-master/sound/mips/
H A Dad1843.c173 const struct ad1843_bitfield *field)
177 w = ad1843->read(ad1843->chip, field->reg);
178 return w >> field->lo_bit & ((1 << field->nbits) - 1);
186 const struct ad1843_bitfield *field,
191 w = ad1843->read(ad1843->chip, field->reg);
192 mask = ((1 << field->nbits) - 1) << field->lo_bit;
193 oldval = (w & mask) >> field->lo_bit;
194 newbits = (newval << field
172 ad1843_read_bits(struct snd_ad1843 *ad1843, const struct ad1843_bitfield *field) argument
185 ad1843_write_bits(struct snd_ad1843 *ad1843, const struct ad1843_bitfield *field, int newval) argument
[all...]
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpni-cmd.h106 #define DPNI_MASK(field) \
107 GENMASK(DPNI_##field##_SHIFT + DPNI_##field##_SIZE - 1, \
108 DPNI_##field##_SHIFT)
110 #define dpni_set_field(var, field, val) \
111 ((var) |= (((val) << DPNI_##field##_SHIFT) & DPNI_MASK(field)))
112 #define dpni_get_field(var, field) \
113 (((var) & DPNI_MASK(field)) >> DPNI_##field##_SHIF
433 __le32 field; member in struct:dpni_dist_extract
[all...]
H A Ddpsw-cmd.h101 #define DPSW_MASK(field) \
102 GENMASK(DPSW_##field##_SHIFT + DPSW_##field##_SIZE - 1, \
103 DPSW_##field##_SHIFT)
104 #define dpsw_set_field(var, field, val) \
105 ((var) |= (((val) << DPSW_##field##_SHIFT) & DPSW_MASK(field)))
106 #define dpsw_get_field(var, field) \
107 (((var) & DPSW_MASK(field)) >> DPSW_##field##_SHIF
[all...]
/linux-master/drivers/hid/
H A Dhid-google-hammer.c371 struct hid_field *field,
410 static int hammer_event(struct hid_device *hid, struct hid_field *field, argument
433 struct hid_field *field = report->field[i]; local
435 for (j = 0; j < field->maxusage; j++)
436 if (field->usage[j].hid == usage)
482 struct hid_field *field = report->field[a]; local
484 if (field->usage->hid == HID_USAGE_KBD_FOLDED) {
486 field
370 hammer_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
[all...]
H A Dwacom_wac.c1919 struct hid_field *field, __u8 type, __u16 code, int fuzz)
1924 int fmin = field->logical_minimum;
1925 int fmax = field->logical_maximum;
1928 int resolution = hidinput_calc_abs_res(field, resolution_code);
1968 struct hid_field *field, struct hid_usage *usage)
1973 static void wacom_wac_battery_event(struct hid_device *hdev, struct hid_field *field, argument
1986 value = value * 100 / (field->logical_maximum - field->logical_minimum);
1994 value = value * 100 / (field->logical_maximum - field
1918 wacom_map_usage(struct input_dev *input, struct hid_usage *usage, struct hid_field *field, __u8 type, __u16 code, int fuzz) argument
1967 wacom_wac_battery_usage_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) argument
2032 wacom_wac_pad_usage_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) argument
2141 wacom_wac_pad_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
2256 wacom_wac_pad_report(struct hid_device *hdev, struct hid_report *report, struct hid_field *field) argument
2288 wacom_wac_pen_usage_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) argument
2373 wacom_wac_pen_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
2610 wacom_wac_finger_usage_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) argument
2720 wacom_wac_finger_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
2795 struct hid_field *field = report->field[i]; local
2825 struct hid_field *field = report->field[hid_data->cc_index]; local
2868 wacom_wac_usage_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) argument
2889 wacom_wac_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
2918 struct hid_field *field; local
2937 wacom_wac_collection(struct hid_device *hdev, struct hid_report *report, int collection_index, struct hid_field *field, int field_index) argument
2969 struct hid_field *field; local
[all...]
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dchip.h10 #define CORE_CC_REG(base, field) \
11 (base + offsetof(struct chipcregs, field))
/linux-master/drivers/staging/vc04_services/bcm2835-camera/
H A Dbcm2835-camera.h123 "%s: w %u h %u field %u pfmt 0x%x bpl %u sz_img %u colorspace 0x%x priv %u\n", \
125 (pix_fmt)->width, (pix_fmt)->height, (pix_fmt)->field, \
133 "%s: w %u h %u l %u t %u field %u chromakey %06X clip %p " \
138 (win_fmt)->field, \
/linux-master/drivers/media/platform/st/sti/delta/
H A Ddelta-debug.c22 (s->field == V4L2_FIELD_NONE) ? "progressive" : "interlaced",
44 (f->field == V4L2_FIELD_NONE) ? "progressive" : "interlaced",
/linux-master/fs/bcachefs/
H A Dreplicas.h77 (void *) (_i) < vstruct_end(&(_r)->field) && (_i)->data_type;\
82 (void *) (_i) < vstruct_end(&(_r)->field) && (_i)->data_type;\
/linux-master/arch/mips/sgi-ip32/
H A Dcrime.c31 const int field = 2 * sizeof(unsigned long); local
41 id, rev, field, (unsigned long) CRIME_BASE);
/linux-master/drivers/net/ethernet/broadcom/
H A Dcnic.h386 #define BNX2X_SHMEM_ADDR(base, field) (base + \
387 offsetof(struct shmem_region, field))
389 #define BNX2X_SHMEM2_ADDR(base, field) (base + \
390 offsetof(struct shmem2_region, field))
392 #define BNX2X_SHMEM2_HAS(base, field) \
395 offsetof(struct shmem2_region, field)))
397 #define BNX2X_MF_CFG_ADDR(base, field) \
398 ((base) + offsetof(struct mf_cfg, field))
/linux-master/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/
H A Drv1_clk_mgr_vbios_smu.c67 #define FN(reg_name, field) \
68 FD(reg_name##__##field)
/linux-master/include/video/
H A Dgbe.h88 #define GET_GBE_FIELD(reg, field, v) \
89 GET((v), GBE_##reg##_##field##_MSB, GBE_##reg##_##field##_LSB)
90 #define SET_GBE_FIELD(reg, field, v, f) \
91 SET((v), (f), GBE_##reg##_##field##_MSB, GBE_##reg##_##field##_LSB)
/linux-master/drivers/media/radio/
H A Dradio-gemtek.c128 #define MKMASK(field) (((1UL<<BU2614_##field##_BITS) - 1) << \
129 BU2614_##field##_SHIFT)
144 #define gemtek_bu2614_set(dev, field, data) ((dev)->bu2614data = \
145 ((dev)->bu2614data & ~field##_MASK) | ((data) << field##_SHIFT))
/linux-master/tools/bootconfig/scripts/
H A Dbconf2ftrace.sh94 xbc_get_val $2 | while read field; do echo -n "$field; "; done
101 xbc_get_val ${1}.${2} | while read field; do
102 echo -n "$__sep$field"; __sep=","
110 xbc_get_val ${1}.${2} | while read field; do
111 echo -n "$__sep$field"; __sep=","
/linux-master/drivers/rtc/
H A Drtc-ssd202d.c95 unsigned int field, unsigned int *base)
104 writew(val | field, priv->base + reg);
106 writew(val & ~field, priv->base + reg);
115 unsigned int field, u32 base)
121 writew(val | field, priv->base + reg);
125 writew(val & ~field, priv->base + reg);
94 ssd202d_rtc_read_reg(struct ssd202d_rtc *priv, unsigned int reg, unsigned int field, unsigned int *base) argument
114 ssd202d_rtc_write_reg(struct ssd202d_rtc *priv, unsigned int reg, unsigned int field, u32 base) argument
/linux-master/tools/perf/scripts/python/
H A Darm-cs-trace-disasm.py56 def get_optional(perf_dict, field):
57 if field in perf_dict:
58 return perf_dict[field]
61 def get_offset(perf_dict, field):
62 if field in perf_dict:
63 return "+%#x" % perf_dict[field]
H A Dintel-pt-events.py50 def get_optional_null(perf_dict, field):
51 if field in perf_dict:
52 return perf_dict[field]
55 def get_optional_zero(perf_dict, field):
56 if field in perf_dict:
57 return perf_dict[field]
60 def get_optional_bytes(perf_dict, field):
61 if field in perf_dict:
62 return perf_dict[field]
65 def get_optional(perf_dict, field)
[all...]
/linux-master/kernel/trace/
H A Dtrace_events_user.c671 * We use the mm->next field to build a one-shot list from the global
984 * Example event named 'test' with a 20 char 'msg' field with an unsigned int
985 * 'id' field after:
1099 struct ftrace_event_field *field, *next; local
1102 list_for_each_entry_safe(field, next, head, link) {
1103 list_del(&field->link);
1104 kfree(field);
1113 struct ftrace_event_field *field; local
1116 field = kmalloc(sizeof(*field), GFP_KERNEL_ACCOUN
1174 user_event_parse_field(char *field, struct user_event *user, u32 *offset) argument
1267 char *field; local
1368 user_field_set_string(struct ftrace_event_field *field, char *buf, int len, bool colon) argument
1388 struct ftrace_event_field *field; local
1816 struct ftrace_event_field *field; local
1863 user_field_match(struct ftrace_event_field *field, int argc, const char **argv, int *iout) argument
1903 struct ftrace_event_field *field; local
[all...]
/linux-master/drivers/media/pci/ivtv/
H A Divtv-vbi.c22 data.field = 0;
39 data.field = 0;
44 data.field = 1;
67 data.field = 0;
90 if (d->field) {
98 } else if (d->id == V4L2_SLICED_VPS && d->line == 16 && d->field == 0) {
111 d->line == 23 && d->field == 0) {
197 f = itv->vbi.sliced_data[i].field;
280 itv->vbi.sliced_dec_data[line].field = i >= 18;
290 itv->vbi.sliced_dec_data[line].field
[all...]
/linux-master/samples/v4l/
H A Dv4l2-pci-skeleton.c49 * @field: the field (TOP/BOTTOM/other) of the current buffer
67 unsigned field; member in struct:skeleton
116 * counter, field and timestamp at the same time.
133 new_buf->vb.field = skel->field;
134 if (skel->format.field == V4L2_FIELD_ALTERNATE) {
135 if (skel->field == V4L2_FIELD_BOTTOM)
136 skel->field = V4L2_FIELD_TOP;
137 else if (skel->field
[all...]

Completed in 309 milliseconds

1234567891011>>