Home
last modified time | relevance | path

Searched refs:_type (Results 1 – 71 of 71) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
Ditem.h242 #define __ITEM_NAME(_type, _cname, _iname) \ argument
243 mlxsw_##_type##_##_cname##_##_iname##_item
250 #define MLXSW_ITEM16(_type, _cname, _iname, _offset, _shift, _sizebits) \ argument
251 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
255 .name = #_type "_" #_cname "_" #_iname, \
257 static inline u16 mlxsw_##_type##_##_cname##_##_iname##_get(char *buf) \
259 return __mlxsw_item_get16(buf, &__ITEM_NAME(_type, _cname, _iname), 0); \
261 static inline void mlxsw_##_type##_##_cname##_##_iname##_set(char *buf, u16 val)\
263 __mlxsw_item_set16(buf, &__ITEM_NAME(_type, _cname, _iname), 0, val); \
266 #define MLXSW_ITEM16_INDEXED(_type, _cname, _iname, _offset, _shift, _sizebits, \ argument
[all …]
/linux-4.4.14/arch/mips/include/asm/
Dmips_machine.h25 #define MIPS_MACHINE(_type, _id, _name, _setup) \ argument
26 static const char machine_name_##_type[] __initconst \
28 static const char machine_id_##_type[] __initconst \
30 static struct mips_machine machine_##_type \
33 .mach_type = _type, \
34 .mach_id = machine_id_##_type, \
35 .mach_name = machine_name_##_type, \
/linux-4.4.14/tools/perf/ui/
Dhist.c266 #define __HPP_COLOR_PERCENT_FN(_type, _field) \ argument
272 static int hpp__color_##_type(struct perf_hpp_fmt *fmt, \
279 #define __HPP_ENTRY_PERCENT_FN(_type, _field) \ argument
280 static int hpp__entry_##_type(struct perf_hpp_fmt *fmt, \
287 #define __HPP_SORT_FN(_type, _field) \ argument
288 static int64_t hpp__sort_##_type(struct perf_hpp_fmt *fmt __maybe_unused, \
294 #define __HPP_COLOR_ACC_PERCENT_FN(_type, _field) \ argument
300 static int hpp__color_##_type(struct perf_hpp_fmt *fmt, \
307 #define __HPP_ENTRY_ACC_PERCENT_FN(_type, _field) \ argument
308 static int hpp__entry_##_type(struct perf_hpp_fmt *fmt, \
[all …]
/linux-4.4.14/arch/x86/include/asm/
Dpercpu.h566 #define DEFINE_EARLY_PER_CPU(_type, _name, _initvalue) \ argument
567 DEFINE_PER_CPU(_type, _name) = _initvalue; \
568 __typeof__(_type) _name##_early_map[NR_CPUS] __initdata = \
570 __typeof__(_type) *_name##_early_ptr __refdata = _name##_early_map
572 #define DEFINE_EARLY_PER_CPU_READ_MOSTLY(_type, _name, _initvalue) \ argument
573 DEFINE_PER_CPU_READ_MOSTLY(_type, _name) = _initvalue; \
574 __typeof__(_type) _name##_early_map[NR_CPUS] __initdata = \
576 __typeof__(_type) *_name##_early_ptr __refdata = _name##_early_map
581 #define DECLARE_EARLY_PER_CPU(_type, _name) \ argument
582 DECLARE_PER_CPU(_type, _name); \
[all …]
/linux-4.4.14/scripts/gdb/linux/
Dutils.py19 self._type = None
23 self._type = None
27 if self._type is None:
28 self._type = gdb.lookup_type(self._name)
29 if self._type is None:
34 return self._type
/linux-4.4.14/drivers/iio/adc/
Dda9150-gpadc.c255 #define DA9150_GPADC_CHANNEL(_id, _hw_id, _type, chan_info, \ argument
257 .type = _type, \
266 #define DA9150_GPADC_CHANNEL_RAW(_id, _hw_id, _type, _ext_name) \ argument
267 DA9150_GPADC_CHANNEL(_id, _hw_id, _type, \
270 #define DA9150_GPADC_CHANNEL_SCALED(_id, _hw_id, _type, _ext_name) \ argument
271 DA9150_GPADC_CHANNEL(_id, _hw_id, _type, \
277 #define DA9150_GPADC_CHANNEL_PROCESSED(_id, _hw_id, _type, _ext_name) \ argument
278 DA9150_GPADC_CHANNEL(_id, _hw_id, _type, \
Dlp8788_adc.c131 #define LP8788_CHAN(_id, _type) { \ argument
132 .type = _type, \
Dtwl6030-gpadc.c803 #define TWL6030_GPADC_CHAN(chn, _type, chan_info) { \ argument
804 .type = _type, \
Dtwl4030-madc.c106 #define TWL4030_ADC_CHANNEL(_channel, _type, _name) { \ argument
107 .type = _type, \
Dqcom-spmi-vadc.c607 #define VADC_CHAN(_dname, _type, _mask, _pre) \ argument
611 .type = _type, \
/linux-4.4.14/drivers/staging/fsl-mc/include/
Dmc-cmd.h106 #define MC_EXT_OP(_ext, _param, _offset, _width, _type, _arg) \ argument
109 #define MC_CMD_OP(_cmd, _param, _offset, _width, _type, _arg) \ argument
112 #define MC_RSP_OP(_cmd, _param, _offset, _width, _type, _arg) \ argument
113 (_arg = (_type)mc_dec(_cmd.params[_param], (_offset), (_width)))
/linux-4.4.14/arch/arm/include/asm/mach/
Darch.h84 #define MACHINE_START(_type,_name) \ argument
85 static const struct machine_desc __mach_desc_##_type \
88 .nr = MACH_TYPE_##_type, \
/linux-4.4.14/drivers/clk/pistachio/
Dclk.h122 #define PLL(_id, _name, _pname, _type, _reg, _rates) \ argument
126 .type = _type, \
133 #define PLL_FIXED(_id, _name, _pname, _type, _reg) \ argument
137 .type = _type, \
/linux-4.4.14/arch/arc/include/asm/
Dmach_desc.h59 #define MACHINE_START(_type, _name) \ argument
60 static const struct machine_desc __mach_desc_##_type \
/linux-4.4.14/arch/metag/include/asm/mach/
Darch.h77 #define MACHINE_START(_type, _name) \ argument
78 static const struct machine_desc __mach_desc_##_type \
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dcnic.h342 #define CDU_VALID_DATA(_cid, _region, _type) \ argument
343 (((_cid) << 8) | (((_region)&0xf)<<4) | (((_type)&0xf)))
345 #define CDU_CRC8(_cid, _region, _type) \ argument
346 (calc_crc8(CDU_VALID_DATA(_cid, _region, _type), 0xff))
348 #define CDU_RSRVD_VALUE_TYPE_A(_cid, _region, _type) \ argument
349 (0x80 | ((CDU_CRC8(_cid, _region, _type)) & 0x7f))
Dbcmsysport.h584 #define STAT_MIB(str, m, _type) { \ argument
588 .type = _type, \
/linux-4.4.14/arch/arm/mach-imx/
Dhardware.h117 #define imx_map_entry(soc, name, _type) { \ argument
121 .type = _type, \
/linux-4.4.14/include/drm/
Ddrm_hashtab.h40 #define drm_hash_entry(_ptr, _type, _member) container_of(_ptr, _type, _member) argument
/linux-4.4.14/drivers/iio/common/ssp_sensors/
Dssp_iio_sensor.h4 #define SSP_CHANNEL_AG(_type, _mod, _index) \ argument
6 .type = _type,\
/linux-4.4.14/drivers/net/ethernet/sfc/
Dmcdi.h271 #define MCDI_FIELD(_ptr, _type, _field) \ argument
274 _MCDI_PTR(_ptr, MC_CMD_ ## _type ## _ ## _field ## _OFST & ~3),\
275 MC_CMD_ ## _type ## _ ## _field ## _LBN & 0x1f, \
276 (MC_CMD_ ## _type ## _ ## _field ## _LBN & 0x1f) + \
277 MC_CMD_ ## _type ## _ ## _field ## _WIDTH - 1)
311 #define MCDI_ARRAY_FIELD(_buf, _field1, _type, _index, _field2) \ argument
313 _type ## _TYPEDEF, _field2)
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dar9003_mci.h296 #define MCI_GPM_SET_TYPE_OPCODE(_p_gpm, _type, _opcode) do { \ argument
297 *(((u8 *)(_p_gpm)) + MCI_GPM_COEX_B_GPM_TYPE) = (_type) & 0xff; \
301 #define MCI_GPM_IS_CAL_TYPE(_type) ((_type) <= MCI_GPM_WLAN_CAL_DONE) argument
Dhtc.h203 #define INC_VIF(_priv, _type) do { \ argument
204 switch (_type) { \
222 #define DEC_VIF(_priv, _type) do { \ argument
223 switch (_type) { \
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbnad.h256 #define BNAD_RXBUF_IS_SK_BUFF(_type) ((_type) == BNAD_RXBUF_SK_BUFF) argument
257 #define BNAD_RXBUF_IS_MULTI_BUFF(_type) ((_type) == BNAD_RXBUF_MULTI_BUFF) argument
Dbna_enet.c70 #define bna_stats_copy(_name, _type) \ argument
72 count = sizeof(struct bfi_enet_stats_ ## _type) / sizeof(u64); \
/linux-4.4.14/tools/perf/ui/gtk/
Dhists.c38 #define __HPP_COLOR_PERCENT_FN(_type, _field) \ argument
44 static int perf_gtk__hpp_color_##_type(struct perf_hpp_fmt *fmt, \
52 #define __HPP_COLOR_ACC_PERCENT_FN(_type, _field) \ argument
58 static int perf_gtk__hpp_color_##_type(struct perf_hpp_fmt *fmt __maybe_unused, \
/linux-4.4.14/include/linux/usb/
Dgadget.h171 #define USB_EP_CAPS(_type, _dir) \ argument
173 .type_control = !!(_type & USB_EP_CAPS_TYPE_CONTROL), \
174 .type_iso = !!(_type & USB_EP_CAPS_TYPE_ISO), \
175 .type_bulk = !!(_type & USB_EP_CAPS_TYPE_BULK), \
176 .type_int = !!(_type & USB_EP_CAPS_TYPE_INT), \
/linux-4.4.14/fs/ceph/
Dxattr.c206 #define CEPH_XATTR_NAME(_type, _name) XATTR_CEPH_PREFIX #_type "." #_name argument
207 #define CEPH_XATTR_NAME2(_type, _name, _name2) \ argument
208 XATTR_CEPH_PREFIX #_type "." #_name "." #_name2
210 #define XATTR_NAME_CEPH(_type, _name) \ argument
212 .name = CEPH_XATTR_NAME(_type, _name), \
213 .name_size = sizeof (CEPH_XATTR_NAME(_type, _name)), \
214 .getxattr_cb = ceph_vxattrcb_ ## _type ## _ ## _name, \
219 #define XATTR_LAYOUT_FIELD(_type, _name, _field) \ argument
221 .name = CEPH_XATTR_NAME2(_type, _name, _field), \
222 .name_size = sizeof (CEPH_XATTR_NAME2(_type, _name, _field)), \
/linux-4.4.14/include/linux/iio/adc/
Dad_sigma_delta.h127 _storagebits, _shift, _extend_name, _type) \ argument
129 .type = (_type), \
/linux-4.4.14/include/net/sctp/
Dconstants.h134 #define SCTP_SUBTYPE_CONSTRUCTOR(_name, _type, _elt) \ argument
136 SCTP_ST_## _name (_type _arg) \
/linux-4.4.14/arch/arm/probes/
Ddecode.h335 #define DECODE_HEADER(_type, _mask, _value, _regs) \ argument
336 {.bits = (_type) | ((_regs) << DECODE_TYPE_BITS)}, \
/linux-4.4.14/fs/fscache/
Dobject-list.c172 char _type[3], *type; in fscache_objlist_show() local
265 sprintf(_type, "%02u", cookie->def->type); in fscache_objlist_show()
266 type = _type; in fscache_objlist_show()
/linux-4.4.14/net/sctp/
Dsm_statetable.c65 #define DO_LOOKUP(_max, _type, _table) \ argument
69 if ((event_subtype._type > (_max))) { \
71 _table, event_subtype._type, _max); \
74 rtn = &_table[event_subtype._type][(int)state]; \
/linux-4.4.14/drivers/mfd/
Dlm3533-core.c320 #define LM3533_OUTPUT_ATTR(_name, _mode, _show, _store, _type, _id) \ argument
323 .type = _type, \
326 #define LM3533_OUTPUT_ATTR_RW(_name, _type, _id) \ argument
328 show_output, store_output, _type, _id)
/linux-4.4.14/drivers/clk/bcm/
Dclk-kona.h418 #define KONA_CLK(_ccu_name, _clk_name, _type) \ argument
422 .ops = &kona_ ## _type ## _clk_ops, \
425 .type = bcm_clk_ ## _type, \
/linux-4.4.14/security/keys/
Dkeyctl.c32 const char __user *_type, in key_get_type_from_user() argument
37 ret = strncpy_from_user(type, _type, len); in key_get_type_from_user()
60 SYSCALL_DEFINE5(add_key, const char __user *, _type, in SYSCALL_DEFINE5() argument
76 ret = key_get_type_from_user(type, _type, sizeof(type)); in SYSCALL_DEFINE5()
158 SYSCALL_DEFINE4(request_key, const char __user *, _type, in SYSCALL_DEFINE4() argument
171 ret = key_get_type_from_user(type, _type, sizeof(type)); in SYSCALL_DEFINE4()
628 const char __user *_type, in keyctl_keyring_search() argument
638 ret = key_get_type_from_user(type, _type, sizeof(type)); in keyctl_keyring_search()
/linux-4.4.14/drivers/acpi/acpica/
Dacobject.h120 #define ACPI_COMMON_BUFFER_INFO(_type) \ argument
121 _type *pointer; \
/linux-4.4.14/include/linux/iio/imu/
Dadis.h202 #define ADIS_MOD_CHAN(_type, mod, addr, si, info_sep, info_all, bits) { \ argument
203 .type = (_type), \
/linux-4.4.14/drivers/xen/
Dtmem.c268 #define _oswiz(_type, _ind) ((_type << SWIZ_BITS) | (_ind & SWIZ_MASK)) argument
/linux-4.4.14/drivers/iio/light/
Dlm3533-als.c575 #define ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2) \ argument
577 .type = _type, \
581 #define LM3533_ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2) \ argument
583 ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2)
/linux-4.4.14/Documentation/hwmon/
Dw8379349 temp[1-4]_type.
55 temp[5-6]_type is 4).
Ddme1737264 fan[1-4]_type RW Type of attached fan. Expressed in
Dsysfs-interface304 temp[1-*]_type Sensor type selection.
/linux-4.4.14/include/linux/
Dmoduleparam.h29 #define __MODULE_PARM_TYPE(name, _type) \ argument
30 __MODULE_INFO(parmtype, name##type, #name ":" _type)
Dgenl_magic_func.h34 #define __field(attr_nr, attr_flag, name, nla_type, _type, __get, \ argument
39 #define __array(attr_nr, attr_flag, name, nla_type, _type, maxlen, \ argument
Dsyscalls.h707 asmlinkage long sys_add_key(const char __user *_type,
713 asmlinkage long sys_request_key(const char __user *_type,
/linux-4.4.14/drivers/usb/gadget/udc/
Dpxa27x_udc.h267 #define PXA_EP_DEF(_idx, _addr, dir, _type, maxpkt, _config, iface, altset) \ argument
274 .type = _type, .fifo_size = maxpkt, \
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_reg.h7626 #define CDU_VALID_DATA(_cid, _region, _type)\ argument
7627 (((_cid) << 8) | (((_region)&0xf)<<4) | (((_type)&0xf)))
7628 #define CDU_CRC8(_cid, _region, _type)\ argument
7629 (calc_crc8(CDU_VALID_DATA(_cid, _region, _type), 0xff))
7630 #define CDU_RSRVD_VALUE_TYPE_A(_cid, _region, _type)\ argument
7631 (0x80 | ((CDU_CRC8(_cid, _region, _type)) & 0x7f))
7632 #define CDU_RSRVD_VALUE_TYPE_B(_crc, _type)\ argument
7633 (0x80 | ((_type)&0xf << 3) | ((CDU_CRC8(_cid, _region, _type)) & 0x7))
/linux-4.4.14/drivers/clk/rockchip/
Dclk.h141 #define PLL(_type, _id, _name, _pnames, _flags, _con, _mode, _mshift, \ argument
145 .type = _type, \
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
Dregs.h558 #define MT_BBP(_type, _n) (MT_BBP_##_type##_BASE + ((_n) << 2)) argument
/linux-4.4.14/drivers/media/rc/
Drc-main.c819 #define RC_PROTO_ATTR(_name, _mode, _show, _store, _type) \ argument
822 .type = (_type), \
824 #define RC_FILTER_ATTR(_name, _mode, _show, _store, _type, _mask) \ argument
827 .type = (_type), \
/linux-4.4.14/net/ipv6/
Dicmp.c160 u8 _type, *tp; in is_ineligible() local
163 sizeof(_type), &_type); in is_ineligible()
/linux-4.4.14/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_core.c652 #define INV_MPU6050_CHAN(_type, _channel2, _index) \ argument
654 .type = _type, \
/linux-4.4.14/drivers/iio/imu/
Dadis16480.c569 #define ADIS16480_MOD_CHANNEL(_type, _mod, _address, _si, _info_sep, _bits) \ argument
571 .type = (_type), \
/linux-4.4.14/fs/configfs/
Ddir.c937 #define type_print(_type) if (sd->s_type & _type) pr_info("%*s %s\n", level, " ", #_type); in configfs_dump_one() argument
/linux-4.4.14/drivers/usb/gadget/
Dconfigfs.c174 #define GI_DEVICE_DESC_SIMPLE_RW(_name, _type) \ argument
175 GI_DEVICE_DESC_SIMPLE_R_##_type(_name) \
176 GI_DEVICE_DESC_SIMPLE_W_##_type(_name)
/linux-4.4.14/tools/perf/ui/browsers/
Dhists.c691 #define __HPP_COLOR_PERCENT_FN(_type, _field) \ argument
698 hist_browser__hpp_color_##_type(struct perf_hpp_fmt *fmt, \
706 #define __HPP_COLOR_ACC_PERCENT_FN(_type, _field) \ argument
713 hist_browser__hpp_color_##_type(struct perf_hpp_fmt *fmt, \
/linux-4.4.14/drivers/iio/accel/
Dmma9553.c933 #define MMA9553_PEDOMETER_CHANNEL(_type, _mask) { \ argument
934 .type = _type, \
/linux-4.4.14/arch/mips/bcm47xx/
Dsprom.c184 #define ENTRY(_revmask, _type, _prefix, _name, _val, _allset, _fallback) \ argument
186 nvram_read_ ## _type(_prefix, NULL, _name, &sprom->_val, \
/linux-4.4.14/drivers/usb/atm/
Dcxacru.c224 #define CXACRU_ATTR_INIT(_value, _type, _name) \ argument
234 return cxacru_sysfs_showattr_##_type(instance->card_info[_value], buf); \
/linux-4.4.14/drivers/regulator/
Dqcom_spmi-regulator.c348 #define SPMI_VREG(_type, _subtype, _dig_major_min, _dig_major_max, \ argument
351 .type = SPMI_REGULATOR_TYPE_##_type, \
/linux-4.4.14/Documentation/thermal/
Dsysfs-api.txt185 |---trip_point_[0-*]_type: Trip point type
269 trip_point_[0-*]_type
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c38 #define I40E_STAT(_type, _name, _stat) { \ argument
40 .sizeof_stat = FIELD_SIZEOF(_type, _stat), \
41 .stat_offset = offsetof(_type, _stat) \
/linux-4.4.14/drivers/hwmon/
Dw83627hf.c1259 static SENSOR_DEVICE_ATTR(temp##offset##_type, S_IRUGO | S_IWUSR, \
1357 &sensor_dev_attr_temp##_X_##_type.dev_attr.attr, \
Dw83795.c1672 SENSOR_ATTR_2(temp##index##_type, S_IRUGO , \
1694 SENSOR_ATTR_2(temp##index##_type, S_IRUGO | (index < 4 ? S_IWUSR : 0), \
Dw83793.c1063 SENSOR_ATTR_2(temp##index##_type, S_IRUGO | S_IWUSR, \
Ddme1737.c1586 static SENSOR_DEVICE_ATTR_2(fan##ix##_type, S_IRUGO | S_IWUSR, \
/linux-4.4.14/arch/x86/kvm/
Demulate.c842 #define insn_fetch(_type, _ctxt) \ argument
843 ({ _type _x; \
845 rc = do_insn_fetch_bytes(_ctxt, sizeof(_type)); \
848 ctxt->_eip += sizeof(_type); \
849 _x = *(_type __aligned(1) *) ctxt->fetch.ptr; \
850 ctxt->fetch.ptr += sizeof(_type); \
/linux-4.4.14/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c674 #define STAT_GENET_MIB(str, m, _type) { \ argument
678 .type = _type, \
/linux-4.4.14/Documentation/
Dassoc_array.txt337 The function will return the object if found (and set *_type to the object
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-bus-iio1170 and the relevant _type attributes to establish the data storage