Home
last modified time | relevance | path

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

12345

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Ditem.h258 #define __ITEM_NAME(_type, _cname, _iname) \ argument
259 mlxsw_##_type##_##_cname##_##_iname##_item
266 #define MLXSW_ITEM8(_type, _cname, _iname, _offset, _shift, _sizebits) \ argument
267 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \
271 .name = #_type "_" #_cname "_" #_iname, \
273 static inline u8 mlxsw_##_type##_##_cname##_##_iname##_get(const char *buf) \
275 return __mlxsw_item_get8(buf, &__ITEM_NAME(_type, _cname, _iname), 0); \
277 static inline void mlxsw_##_type##_##_cname##_##_iname##_set(char *buf, u8 val)\
279 __mlxsw_item_set8(buf, &__ITEM_NAME(_type, _cname, _iname), 0, val); \
282 #define MLXSW_ITEM8_INDEXED(_type, _cname, _iname, _offset, _shift, _sizebits, \ argument
[all …]
Dcore_acl_flex_keys.h50 #define MLXSW_AFK_ELEMENT_INFO(_type, _element, _offset, _shift, _size) \ argument
53 .type = _type, \
108 #define MLXSW_AFK_ELEMENT_INST(_type, _element, _offset, _shift, _size) \ argument
111 .type = _type, \
/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_blit.c35 #define VMW_FIND_FIRST_DIFF(_type) \ argument
36 static size_t vmw_find_first_diff_ ## _type \
37 (const _type * dst, const _type * src, size_t size)\
41 for (i = 0; i < size; i += sizeof(_type)) { \
56 #define VMW_FIND_LAST_DIFF(_type) \ argument
57 static ssize_t vmw_find_last_diff_ ## _type( \
58 const _type * dst, const _type * src, size_t size) \
64 size -= sizeof(_type); \
92 #define SPILL(_var, _type) ((unsigned long) _var & (sizeof(_type) - 1)) argument
102 #define VMW_TRY_FIND_FIRST_DIFF(_type) \ argument
[all …]
/Linux-v4.19/include/rdma/
Duverbs_std_types.h60 #define uobj_get_read(_type, _id, _ufile) \ argument
61 rdma_lookup_get_uobject(uobj_get_type(_ufile, _type), _ufile, \
64 #define ufd_get_read(_type, _fdnum, _ufile) \ argument
65 rdma_lookup_get_uobject(uobj_get_type(_ufile, _type), _ufile, \
75 #define uobj_get_obj_read(_object, _type, _id, _ufile) \ argument
77 uobj_get_read(_type, _id, _ufile)))
79 #define uobj_get_write(_type, _id, _ufile) \ argument
80 rdma_lookup_get_uobject(uobj_get_type(_ufile, _type), _ufile, \
85 #define uobj_perform_destroy(_type, _id, _ufile, _success_res) \ argument
86 __uobj_perform_destroy(uobj_get_type(_ufile, _type), \
[all …]
Duverbs_ioctl.h303 #define UVERBS_ATTR_TYPE(_type) \ argument
304 .u.ptr.min_len = sizeof(_type), .u.ptr.len = sizeof(_type)
311 #define UVERBS_ATTR_STRUCT(_type, _last) \ argument
313 UVERBS_ATTR_SIZE(((uintptr_t)(&((_type *)0)->_last + 1)), \
314 sizeof(_type))
344 #define UVERBS_ATTR_PTR_IN(_attr_id, _type, ...) \ argument
348 _type, \
351 #define UVERBS_ATTR_PTR_OUT(_attr_id, _type, ...) \ argument
355 _type, \
/Linux-v4.19/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-v4.19/arch/x86/include/asm/
Dpercpu.h559 #define DEFINE_EARLY_PER_CPU(_type, _name, _initvalue) \ argument
560 DEFINE_PER_CPU(_type, _name) = _initvalue; \
561 __typeof__(_type) _name##_early_map[NR_CPUS] __initdata = \
563 __typeof__(_type) *_name##_early_ptr __refdata = _name##_early_map
565 #define DEFINE_EARLY_PER_CPU_READ_MOSTLY(_type, _name, _initvalue) \ argument
566 DEFINE_PER_CPU_READ_MOSTLY(_type, _name) = _initvalue; \
567 __typeof__(_type) _name##_early_map[NR_CPUS] __initdata = \
569 __typeof__(_type) *_name##_early_ptr __refdata = _name##_early_map
574 #define DECLARE_EARLY_PER_CPU(_type, _name) \ argument
575 DECLARE_PER_CPU(_type, _name); \
[all …]
/Linux-v4.19/tools/perf/ui/
Dhist.c273 #define __HPP_COLOR_PERCENT_FN(_type, _field) \ argument
279 static int hpp__color_##_type(struct perf_hpp_fmt *fmt, \
286 #define __HPP_ENTRY_PERCENT_FN(_type, _field) \ argument
287 static int hpp__entry_##_type(struct perf_hpp_fmt *fmt, \
294 #define __HPP_SORT_FN(_type, _field) \ argument
295 static int64_t hpp__sort_##_type(struct perf_hpp_fmt *fmt __maybe_unused, \
301 #define __HPP_COLOR_ACC_PERCENT_FN(_type, _field) \ argument
307 static int hpp__color_##_type(struct perf_hpp_fmt *fmt, \
314 #define __HPP_ENTRY_ACC_PERCENT_FN(_type, _field) \ argument
315 static int hpp__entry_##_type(struct perf_hpp_fmt *fmt, \
[all …]
/Linux-v4.19/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-v4.19/drivers/iio/adc/
Dda9150-gpadc.c254 #define DA9150_GPADC_CHANNEL(_id, _hw_id, _type, chan_info, \ argument
256 .type = _type, \
265 #define DA9150_GPADC_CHANNEL_RAW(_id, _hw_id, _type, _ext_name) \ argument
266 DA9150_GPADC_CHANNEL(_id, _hw_id, _type, \
269 #define DA9150_GPADC_CHANNEL_SCALED(_id, _hw_id, _type, _ext_name) \ argument
270 DA9150_GPADC_CHANNEL(_id, _hw_id, _type, \
276 #define DA9150_GPADC_CHANNEL_PROCESSED(_id, _hw_id, _type, _ext_name) \ argument
277 DA9150_GPADC_CHANNEL(_id, _hw_id, _type, \
/Linux-v4.19/drivers/clk/renesas/
Drenesas-cpg-mssr.h46 #define DEF_TYPE(_name, _id, _type...) \ argument
47 { .name = _name, .id = _id, .type = _type }
48 #define DEF_BASE(_name, _id, _type, _parent...) \ argument
49 DEF_TYPE(_name, _id, _type, .parent = _parent)
/Linux-v4.19/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-v4.19/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-v4.19/arch/arc/include/asm/
Dmach_desc.h57 #define MACHINE_START(_type, _name) \ argument
58 static const struct machine_desc __mach_desc_##_type \
/Linux-v4.19/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))
/Linux-v4.19/fs/ceph/
Dxattr.c265 #define CEPH_XATTR_NAME(_type, _name) XATTR_CEPH_PREFIX #_type "." #_name argument
266 #define CEPH_XATTR_NAME2(_type, _name, _name2) \ argument
267 XATTR_CEPH_PREFIX #_type "." #_name "." #_name2
269 #define XATTR_NAME_CEPH(_type, _name, _flags) \ argument
271 .name = CEPH_XATTR_NAME(_type, _name), \
272 .name_size = sizeof (CEPH_XATTR_NAME(_type, _name)), \
273 .getxattr_cb = ceph_vxattrcb_ ## _type ## _ ## _name, \
277 #define XATTR_RSTAT_FIELD(_type, _name) \ argument
278 XATTR_NAME_CEPH(_type, _name, VXATTR_FLAG_RSTAT)
279 #define XATTR_LAYOUT_FIELD(_type, _name, _field) \ argument
[all …]
/Linux-v4.19/arch/arm/mach-imx/
Dhardware.h116 #define imx_map_entry(soc, name, _type) { \ argument
120 .type = _type, \
/Linux-v4.19/include/drm/
Ddrm_hashtab.h40 #define drm_hash_entry(_ptr, _type, _member) container_of(_ptr, _type, _member) argument
/Linux-v4.19/drivers/iio/common/ssp_sensors/
Dssp_iio_sensor.h5 #define SSP_CHANNEL_AG(_type, _mod, _index) \ argument
7 .type = _type,\
/Linux-v4.19/drivers/net/ethernet/sfc/
Dmcdi.h285 #define MCDI_FIELD(_ptr, _type, _field) \ argument
288 _MCDI_PTR(_ptr, MC_CMD_ ## _type ## _ ## _field ## _OFST & ~3),\
289 MC_CMD_ ## _type ## _ ## _field ## _LBN & 0x1f, \
290 (MC_CMD_ ## _type ## _ ## _field ## _LBN & 0x1f) + \
291 MC_CMD_ ## _type ## _ ## _field ## _WIDTH - 1)
325 #define MCDI_ARRAY_FIELD(_buf, _field1, _type, _index, _field2) \ argument
327 _type ## _TYPEDEF, _field2)
/Linux-v4.19/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
/Linux-v4.19/include/linux/usb/
Drenesas_usbhs.h124 #define RENESAS_USBHS_PIPE(_type, _size, _num, _double_buf) { \ argument
125 .type = (_type), \
Dgadget.h177 #define USB_EP_CAPS(_type, _dir) \ argument
179 .type_control = !!(_type & USB_EP_CAPS_TYPE_CONTROL), \
180 .type_iso = !!(_type & USB_EP_CAPS_TYPE_ISO), \
181 .type_bulk = !!(_type & USB_EP_CAPS_TYPE_BULK), \
182 .type_int = !!(_type & USB_EP_CAPS_TYPE_INT), \
/Linux-v4.19/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
/Linux-v4.19/fs/fscache/
Dobject-list.c170 char _type[3], *type; in fscache_objlist_show() local
263 snprintf(_type, sizeof(_type), "%02u", in fscache_objlist_show()
265 type = _type; in fscache_objlist_show()

12345