/linux/include/linux/gpio/ |
H A D | driver.h | 546 struct _gpiochip_for_each_data _data = { label, i }; 547 *_data.i = 0; 548 _data; 560 for (CLASS(_gpiochip_for_each_data, _data)(&_label, &_i); \ 561 *_data.i < _chip->ngpio; \ 562 (*_data.i)++, kfree(*(_data.label)), *_data.label = NULL) \ 563 if (IS_ERR(*_data.label = \ 564 gpiochip_dup_line_label(_chip, *_data.i))) {} \ 576 for (CLASS(_gpiochip_for_each_data, _data)(&_label, &_i); \ 577 *_data.i < _size; \ [all …]
|
/linux/lib/ |
H A D | ubsan.h | 143 void ubsan_linkage __ubsan_handle_negate_overflow(void *_data, void *old_val); 144 void ubsan_linkage __ubsan_handle_divrem_overflow(void *_data, void *lhs, void *rhs); 146 void ubsan_linkage __ubsan_handle_type_mismatch_v1(void *_data, void *ptr); 147 void ubsan_linkage __ubsan_handle_out_of_bounds(void *_data, void *index); 148 void ubsan_linkage __ubsan_handle_shift_out_of_bounds(void *_data, void *lhs, void *rhs); 149 void ubsan_linkage __ubsan_handle_builtin_unreachable(void *_data); 150 void ubsan_linkage __ubsan_handle_load_invalid_value(void *_data, void *val); 151 void ubsan_linkage __ubsan_handle_alignment_assumption(void *_data, unsigned long ptr,
|
H A D | ubsan.c | 287 void __ubsan_handle_negate_overflow(void *_data, void *old_val) in __ubsan_handle_negate_overflow() argument 289 struct overflow_data *data = _data; in __ubsan_handle_negate_overflow() 307 void __ubsan_handle_divrem_overflow(void *_data, void *lhs, void *rhs) in __ubsan_handle_divrem_overflow() argument 309 struct overflow_data *data = _data; in __ubsan_handle_divrem_overflow() 402 void __ubsan_handle_type_mismatch_v1(void *_data, void *ptr) in __ubsan_handle_type_mismatch_v1() argument 404 struct type_mismatch_data_v1 *data = _data; in __ubsan_handle_type_mismatch_v1() 416 void __ubsan_handle_out_of_bounds(void *_data, void *index) in __ubsan_handle_out_of_bounds() argument 418 struct out_of_bounds_data *data = _data; in __ubsan_handle_out_of_bounds() 433 void __ubsan_handle_shift_out_of_bounds(void *_data, void *lhs, void *rhs) in __ubsan_handle_shift_out_of_bounds() argument 435 struct shift_out_of_bounds_data *data = _data; in __ubsan_handle_shift_out_of_bounds() [all …]
|
/linux/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | unpack.h | 6 void **_data = (d); __u32 *_size = (s); int _ret = (r); \ 8 *_data = NULL; \ 15 void **_data = (d); __u32 *_size = (s); \ 19 *_data = (__u8 *)*_data + sizeof(m); \ 23 *_data = NULL; \
|
H A D | object.h | 48 u32 _data = f((u8 __iomem *)(a)->map.ptr + (c)); \ 49 _data; \ 62 u32 _addr = (b), _data = nvif_rd32(__object, _addr); \ 63 nvif_wr32(__object, _addr, (_data & ~(c)) | (d)); \ 64 _data; \
|
/linux/drivers/input/mouse/ |
H A D | psmouse.h | 164 #define __PSMOUSE_DEFINE_ATTR_VAR(_name, _mode, _data, _show, _set, _protect) \ argument 174 .data = _data, \ 180 #define __PSMOUSE_DEFINE_ATTR(_name, _mode, _data, _show, _set, _protect) \ argument 183 __PSMOUSE_DEFINE_ATTR_VAR(_name, _mode, _data, _show, _set, _protect) 185 #define PSMOUSE_DEFINE_ATTR(_name, _mode, _data, _show, _set) \ argument 186 __PSMOUSE_DEFINE_ATTR(_name, _mode, _data, _show, _set, true) 188 #define PSMOUSE_DEFINE_RO_ATTR(_name, _mode, _data, _show) \ argument 190 __PSMOUSE_DEFINE_ATTR_VAR(_name, _mode, _data, _show, NULL, true) 192 #define PSMOUSE_DEFINE_WO_ATTR(_name, _mode, _data, _set) \ argument 194 __PSMOUSE_DEFINE_ATTR_VAR(_name, _mode, _data, NULL, _set, true)
|
/linux/fs/bcachefs/ |
H A D | vstructs.h | 21 BUILD_BUG_ON(offsetof(_type, _data) % sizeof(u64)); \ 23 (size_t) (offsetof(_type, _data) + (_u64s) * sizeof(u64)); \ 44 ((typeof(_s)) ((u64 *) (_s)->_data + __vstruct_u64s(_s))) 46 ((typeof(&(_s)->start[0])) ((u64 *) (_s)->_data + __vstruct_u64s(_s))) 48 ((void *) ((u64 *) (_s)->_data + __vstruct_u64s(_s))) 61 ((typeof(&(_s)->start[0])) ((_s)->_data + (_idx)))
|
H A D | extents_format.h | 238 __u64 _data[0]; member 250 __u64 _data[0]; member 259 __u64 _data[0]; member
|
/linux/arch/sparc/kernel/ |
H A D | prom_irqtrans.c | 46 void *_data) in psycho_irq_build() argument 48 unsigned long controller_regs = (unsigned long) _data; in psycho_irq_build() 224 void *_data) in sabre_irq_build() argument 226 struct sabre_irq_data *irq_data = _data; in sabre_irq_build() 381 void *_data) in schizo_irq_build() argument 383 struct schizo_irq_data *irq_data = _data; in schizo_irq_build() 462 void *_data) in pci_sun4v_irq_build() argument 464 u32 devhandle = (u32) (unsigned long) _data; in pci_sun4v_irq_build() 513 void *_data) in fire_irq_build() argument 515 struct fire_irq_data *irq_data = _data; in fire_irq_build() [all …]
|
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | memory.h | 79 u32 _addr = (a), _data = nvkm_ro32((o), _addr); \ 80 nvkm_wo32((o), _addr, (_data & ~(m)) | (d)); \ 81 _data; \ 91 u32 _addr = (a), _size = (s) >> 2, *_data = (void *)(p); \ 93 *(_data++) = nvkm_ro32((o), _addr); \ 99 u32 _addr = (a), _size = (s) >> 2, *_data = (void *)(p); \ 101 nvkm_wo32((o), _addr, *(_data++)); \
|
/linux/drivers/platform/x86/hp/hp-bioscfg/ |
H A D | bioscfg.h | 289 if (!strcmp(kobj->name, bioscfg_drv.type##_data[i].attr_name_kobj->name)) \ 301 return sysfs_emit(buf, "%s\n", bioscfg_drv.type##_data[i].name); \ 311 return sysfs_emit(buf, "%d\n", bioscfg_drv.type##_data[i].name); \ 338 if (bioscfg_drv.type##_data[i].common.requires_physical_presence) \ 350 return sysfs_emit(buf, "%d\n", bioscfg_drv.type##_data.name); \ 356 return sysfs_emit(buf, "%s\n", bioscfg_drv.type##_data.name); \ 370 for (i = 0; i < bioscfg_drv.type##_data[instance_id].name##_size; i++) { \ 375 bioscfg_drv.type##_data[instance_id].name[i]); \ 387 return sysfs_emit(buf, "%s\n", bioscfg_drv.type##_data[i].common.name); \
|
/linux/drivers/power/supply/ |
H A D | qcom_smbb.c | 374 static irqreturn_t smbb_usb_valid_handler(int irq, void *_data) in smbb_usb_valid_handler() argument 376 struct smbb_charger *chg = _data; in smbb_usb_valid_handler() 386 static irqreturn_t smbb_dc_valid_handler(int irq, void *_data) in smbb_dc_valid_handler() argument 388 struct smbb_charger *chg = _data; in smbb_dc_valid_handler() 397 static irqreturn_t smbb_bat_temp_handler(int irq, void *_data) in smbb_bat_temp_handler() argument 399 struct smbb_charger *chg = _data; in smbb_bat_temp_handler() 421 static irqreturn_t smbb_bat_present_handler(int irq, void *_data) in smbb_bat_present_handler() argument 423 struct smbb_charger *chg = _data; in smbb_bat_present_handler() 431 static irqreturn_t smbb_chg_done_handler(int irq, void *_data) in smbb_chg_done_handler() argument 433 struct smbb_charger *chg = _data; in smbb_chg_done_handler() [all …]
|
H A D | max8903_charger.c | 81 static irqreturn_t max8903_dcin(int irq, void *_data) in max8903_dcin() argument 83 struct max8903_data *data = _data; in max8903_dcin() 140 static irqreturn_t max8903_usbin(int irq, void *_data) in max8903_usbin() argument 142 struct max8903_data *data = _data; in max8903_usbin() 197 static irqreturn_t max8903_fault(int irq, void *_data) in max8903_fault() argument 199 struct max8903_data *data = _data; in max8903_fault()
|
/linux/arch/x86/include/asm/ |
H A D | cpu_device_id.h | 79 _steppings, _feature, _data) { \ argument 86 .driver_data = (unsigned long) _data \ 90 _steppings, _feature, _data) { \ argument 97 .driver_data = (unsigned long) _data \
|
/linux/drivers/iio/imu/inv_icm42600/ |
H A D | inv_icm42600_core.c | 517 static irqreturn_t inv_icm42600_irq_timestamp(int irq, void *_data) in inv_icm42600_irq_timestamp() argument 519 struct inv_icm42600_state *st = _data; in inv_icm42600_irq_timestamp() 527 static irqreturn_t inv_icm42600_irq_handler(int irq, void *_data) in inv_icm42600_irq_handler() argument 529 struct inv_icm42600_state *st = _data; in inv_icm42600_irq_handler() 641 static void inv_icm42600_disable_vdd_reg(void *_data) in inv_icm42600_disable_vdd_reg() argument 643 struct inv_icm42600_state *st = _data; in inv_icm42600_disable_vdd_reg() 652 static void inv_icm42600_disable_vddio_reg(void *_data) in inv_icm42600_disable_vddio_reg() argument 654 struct inv_icm42600_state *st = _data; in inv_icm42600_disable_vddio_reg() 663 static void inv_icm42600_disable_pm(void *_data) in inv_icm42600_disable_pm() argument 665 struct device *dev = _data; in inv_icm42600_disable_pm()
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | utils.c | 509 static void iwl_mvm_diversity_iter(void *_data, u8 *mac, in iwl_mvm_diversity_iter() argument 513 struct iwl_mvm_diversity_iter_data *data = _data; in iwl_mvm_diversity_iter() 614 static void iwl_mvm_ll_iter(void *_data, u8 *mac, struct ieee80211_vif *vif) in iwl_mvm_ll_iter() argument 616 struct iwl_mvm_low_latency_iter *result = _data; in iwl_mvm_ll_iter() 658 static void iwl_mvm_bss_iface_iterator(void *_data, u8 *mac, in iwl_mvm_bss_iface_iterator() argument 661 struct iwl_bss_iter_data *data = _data; in iwl_mvm_bss_iface_iterator() 693 static void iwl_mvm_bss_find_iface_iterator(void *_data, u8 *mac, in iwl_mvm_bss_find_iface_iterator() argument 696 struct iwl_bss_find_iter_data *data = _data; in iwl_mvm_bss_find_iface_iterator() 722 static void iwl_mvm_sta_iface_iterator(void *_data, u8 *mac, in iwl_mvm_sta_iface_iterator() argument 725 struct iwl_sta_iter_data *data = _data; in iwl_mvm_sta_iface_iterator() [all …]
|
/linux/scripts/kconfig/ |
H A D | mnconf-common.c | 21 int handle_search_keys(int key, size_t start, size_t end, void *_data) in handle_search_keys() argument 23 struct search_data *data = _data; in handle_search_keys()
|
/linux/drivers/net/wireless/broadcom/b43/ |
H A D | tables_phy_lcn.h | 18 unsigned int nr_elements, void *_data); 21 unsigned int nr_elements, const void *_data);
|
H A D | tables_phy_ht.h | 16 unsigned int nr_elements, void *_data); 20 unsigned int nr_elements, const void *_data);
|
H A D | tables_phy_ht.c | 638 unsigned int nr_elements, void *_data) in b43_httab_read_bulk() argument 641 u8 *data = _data; in b43_httab_read_bulk() 748 unsigned int nr_elements, const void *_data) in b43_httab_write_bulk() argument 751 const u8 *data = _data; in b43_httab_write_bulk()
|
H A D | tables_phy_lcn.c | 488 unsigned int nr_elements, void *_data) in b43_lcntab_read_bulk() argument 491 u8 *data = _data; in b43_lcntab_read_bulk() 556 unsigned int nr_elements, const void *_data) in b43_lcntab_write_bulk() argument 559 const u8 *data = _data; in b43_lcntab_write_bulk()
|
/linux/drivers/net/ethernet/atheros/alx/ |
H A D | hw.h | 456 #define ALX_GET_FIELD(_data, _field) \ argument 457 (((_data) >> _field ## _SHIFT) & _field ## _MASK) 459 #define ALX_SET_FIELD(_data, _field, _value) do { \ argument 460 (_data) &= ~(_field ## _MASK << _field ## _SHIFT); \ 461 (_data) |= ((_value) & _field ## _MASK) << _field ## _SHIFT;\
|
/linux/include/linux/platform_data/x86/ |
H A D | simatic-ipc.h | 69 simatic_ipc_find_dmi_entry_helper(const struct dmi_header *dh, void *_data) in simatic_ipc_find_dmi_entry_helper() argument 71 u32 *id = _data; in simatic_ipc_find_dmi_entry_helper()
|
/linux/drivers/scsi/bfa/ |
H A D | bfa_cs.h | 85 #define bfa_trc32(_trcp, _data) \ argument 86 __bfa_trc((_trcp)->trcmod, __trc_fileno, __LINE__, (u32)_data) 87 #define bfa_trc(_trcp, _data) \ argument 88 __bfa_trc((_trcp)->trcmod, __trc_fileno, __LINE__, (u64)_data)
|
/linux/include/sound/ac97/ |
H A D | codec.h | 13 #define AC97_DRIVER_ID(vendor_id1, vendor_id2, mask_id1, mask_id2, _data) \ argument 16 .data = (_data) }
|