/linux/include/linux/ |
H A D | list_bl.h | 64 struct hlist_bl_node *n) in hlist_bl_set_first() 77 static inline void hlist_bl_add_head(struct hlist_bl_node *n, in hlist_bl_add_head() 89 static inline void hlist_bl_add_before(struct hlist_bl_node *n, in hlist_bl_add_before() 104 static inline void hlist_bl_add_behind(struct hlist_bl_node *n, in hlist_bl_add_behind() 115 static inline void __hlist_bl_del(struct hlist_bl_node *n) in __hlist_bl_del() 131 static inline void hlist_bl_del(struct hlist_bl_node *n) in hlist_bl_del() 138 static inline void hlist_bl_del_init(struct hlist_bl_node *n) in hlist_bl_del_init() 183 #define hlist_bl_for_each_entry_safe(tpos, pos, n, head, member) \ argument
|
H A D | rculist_nulls.h | 33 static inline void hlist_nulls_del_init_rcu(struct hlist_nulls_node *n) in hlist_nulls_del_init_rcu() 74 static inline void hlist_nulls_del_rcu(struct hlist_nulls_node *n) in hlist_nulls_del_rcu() 99 static inline void hlist_nulls_add_head_rcu(struct hlist_nulls_node *n, in hlist_nulls_add_head_rcu() 130 static inline void hlist_nulls_add_tail_rcu(struct hlist_nulls_node *n, in hlist_nulls_add_tail_rcu() 149 static inline void hlist_nulls_add_fake(struct hlist_nulls_node *n) in hlist_nulls_add_fake()
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | rbtree_fail.c | 35 struct node_data *n; in rbtree_api_nolock_add() local 49 struct node_data *n; in rbtree_api_nolock_remove() local 75 struct node_data *n, *m; rbtree_api_remove_unadded_node() local 112 struct node_data *n; rbtree_api_remove_no_drop() local 139 struct node_data *n; rbtree_api_add_to_multiple_trees() local 184 struct node_data *n; rbtree_api_add_release_unlock_escape() local 209 struct node_data *n; rbtree_api_first_release_unlock_escape() local 270 struct node_data *n; add_with_cb() local [all...] |
H A D | refcounted_kptr.c | 77 struct node_data *n, *m; in __insert_in_tree_and_list() local 110 struct node_data *n, *m; in __stash_map_insert_tree() local 145 struct node_data *n; in __read_from_tree() local 178 struct node_data *n; in __read_from_list() local 208 struct node_data *n = NULL; in __read_from_unstash() local 374 struct node_acquire *n, *m; in rbtree_refcounted_node_ref_escapes() local 396 struct node_acquire *n, *m; in rbtree_refcounted_node_ref_escapes_owning_input() local 414 static long __stash_map_empty_xchg(struct node_data *n, int idx) in __stash_map_empty_xchg() 433 struct node_data *n, *m; in rbtree_wrong_owner_remove_fail_a1() local 455 struct node_data *n; in rbtree_wrong_owner_remove_fail_b() local [all …]
|
/linux/fs/ubifs/ |
H A D | tnc.c | 182 struct ubifs_old_idx *old_idx, *n; in destroy_old_idx() local 244 const int n = new_zn->child_cnt; in replace_znode() local 619 struct ubifs_znode *znode, int n) in get_znode() 640 static int tnc_next(struct ubifs_info *c, struct ubifs_znode **zn, int *n) in tnc_next() 685 static int tnc_prev(struct ubifs_info *c, struct ubifs_znode **zn, int *n) in tnc_prev() 738 struct ubifs_znode **zn, int *n, in resolve_collision() 927 struct ubifs_znode **zn, int *n, in fallible_resolve_collision() 1072 struct ubifs_znode **zn, int *n, in resolve_collision_directly() 1147 int n; in dirty_cow_bottom_up() local 1208 struct ubifs_znode **zn, int *n) in ubifs_lookup_level0() [all …]
|
/linux/arch/mips/include/asm/sibyte/ |
H A D | sb1250_defs.h | 215 #define _SB_MAKEMASK1(n) (_SB_MAKE64(1) << _SB_MAKE64(n)) argument 216 #define _SB_MAKEMASK1_32(n) (_SB_MAKE32(1) << _SB_MAKE32(n)) argument 222 #define _SB_MAKEMASK(v, n) (_SB_MAKE64((_SB_MAKE64(1)<<(v))-1) << _SB_MAKE64(n)) argument 223 #define _SB_MAKEMASK_32(v, n) (_SB_MAKE32((_SB_MAKE32(1)<<(v))-1) << _SB_MAKE32(n)) argument 229 #define _SB_MAKEVALUE(v, n) (_SB_MAKE64(v) << _SB_MAKE64(n)) argument 230 #define _SB_MAKEVALUE_32(v, n) (_SB_MAKE32(v) << _SB_MAKE32(n)) argument 232 #define _SB_GETVALUE(v, n, m) ((_SB_MAKE64(v) & _SB_MAKE64(m)) >> _SB_MAKE64(n)) argument 233 #define _SB_GETVALUE_32(v, n, m) ((_SB_MAKE32(v) & _SB_MAKE32(m)) >> _SB_MAKE32(n)) argument
|
/linux/tools/gpio/ |
H A D | gpio-utils.h | 45 static inline void gpiotools_set_bit(__u64 *b, int n) in gpiotools_set_bit() 50 static inline void gpiotools_change_bit(__u64 *b, int n) in gpiotools_change_bit() 55 static inline void gpiotools_clear_bit(__u64 *b, int n) in gpiotools_clear_bit() 60 static inline int gpiotools_test_bit(__u64 b, int n) in gpiotools_test_bit() 65 static inline void gpiotools_assign_bit(__u64 *b, int n, bool value) in gpiotools_assign_bit()
|
/linux/arch/powerpc/platforms/52xx/ |
H A D | lite5200_sleep.S | 263 #define SAVE_BAT(n, addr) \ argument 269 #define SAVE_SR(n, addr) \ argument 273 #define SAVE_4SR(n, addr) \ argument 330 #define LOAD_BAT(n, addr) \ argument 336 #define LOAD_SR(n, addr) \ argument 340 #define LOAD_4SR(n, addr) \ argument
|
/linux/arch/arm64/include/asm/ |
H A D | arm_pmuv3.h | 14 #define RETURN_READ_PMEVCNTRN(n) \ argument 16 static inline unsigned long read_pmevcntrn(int n) in read_pmevcntrn() 22 #define WRITE_PMEVCNTRN(n) \ argument 24 static inline void write_pmevcntrn(int n, unsigned long val) in write_pmevcntrn() 29 #define WRITE_PMEVTYPERN(n) \ argument 31 static inline void write_pmevtypern(int n, unsigned long val) in write_pmevtypern() 36 #define RETURN_READ_PMEVTYPERN(n) \ argument 38 static inline unsigned long read_pmevtypern(int n) in read_pmevtypern()
|
/linux/include/media/ |
H A D | cec-notifier.h | 120 static inline void cec_notifier_conn_unregister(struct cec_notifier *n) in cec_notifier_conn_unregister() 132 static inline void cec_notifier_cec_adap_unregister(struct cec_notifier *n, in cec_notifier_cec_adap_unregister() 137 static inline void cec_notifier_set_phys_addr(struct cec_notifier *n, u16 pa) in cec_notifier_set_phys_addr() 141 static inline void cec_notifier_set_phys_addr_from_edid(struct cec_notifier *n, in cec_notifier_set_phys_addr_from_edid() 161 static inline void cec_notifier_phys_addr_invalidate(struct cec_notifier *n) in cec_notifier_phys_addr_invalidate()
|
/linux/drivers/leds/trigger/ |
H A D | ledtrig-backlight.c | 31 static void ledtrig_backlight_notify_blank(struct bl_trig_notifier *n, int new_status) in ledtrig_backlight_notify_blank() 50 struct bl_trig_notifier *n; in ledtrig_backlight_blank() local 63 struct bl_trig_notifier *n = led_trigger_get_drvdata(dev); in bl_trig_invert_show() local 72 struct bl_trig_notifier *n = led_trigger_get_drvdata(dev); in bl_trig_invert_store() local 103 struct bl_trig_notifier *n; in bl_trig_activate() local 122 struct bl_trig_notifier *n = led_get_trigger_data(led); in bl_trig_deactivate() local
|
/linux/drivers/hwmon/ |
H A D | npcm750-pwm-fan.c | 19 #define NPCM7XX_PWM_REG_BASE(base, n) ((base) + ((n) * 0x1000L)) argument 21 #define NPCM7XX_PWM_REG_PR(base, n) (NPCM7XX_PWM_REG_BASE(base, n) + 0x00) argument 22 #define NPCM7XX_PWM_REG_CSR(base, n) (NPCM7XX_PWM_REG_BASE(base, n) + 0x04) argument 23 #define NPCM7XX_PWM_REG_CR(base, n) (NPCM7XX_PWM_REG_BASE(base, n) + 0x08) argument 24 #define NPCM7XX_PWM_REG_CNRx(base, n, ch) \ argument 26 #define NPCM7XX_PWM_REG_CMRx(base, n, ch) \ argument 28 #define NPCM7XX_PWM_REG_PDRx(base, n, ch) \ argument 30 #define NPCM7XX_PWM_REG_PIER(base, n) (NPCM7XX_PWM_REG_BASE(base, n) + 0x3C) argument 31 #define NPCM7XX_PWM_REG_PIIR(base, n) (NPCM7XX_PWM_REG_BASE(base, n) + 0x40) argument 80 #define NPCM7XX_FAN_REG_BASE(base, n) ((base) + ((n) * 0x1000L)) argument [all …]
|
/linux/fs/bcachefs/ |
H A D | eytzinger.c | 44 static void swap_words_32(void *a, void *b, size_t n) in swap_words_32() 69 static void swap_words_64(void *a, void *b, size_t n) in swap_words_64() 97 static void swap_bytes(void *a, void *b, size_t n) in swap_bytes() 151 static inline int eytzinger1_do_cmp(void *base1, size_t n, size_t size, in eytzinger1_do_cmp() 160 static inline void eytzinger1_do_swap(void *base1, size_t n, size_t size, in eytzinger1_do_swap() 169 static void eytzinger1_sort_r(void *base1, size_t n, size_t size, in eytzinger1_sort_r() 234 void eytzinger0_sort_r(void *base, size_t n, size_t size, in eytzinger0_sort_r() 244 void eytzinger0_sort(void *base, size_t n, size_t size, in eytzinger0_sort()
|
/linux/tools/include/linux/ |
H A D | list.h | 436 #define list_for_each_safe(pos, n, head) \ argument 446 #define list_for_each_prev_safe(pos, n, head) \ argument 531 #define list_for_each_entry_safe(pos, n, head, member) \ argument 547 #define list_for_each_entry_safe_continue(pos, n, head, member) \ argument 563 #define list_for_each_entry_safe_from(pos, n, head, member) \ argument 578 #define list_for_each_entry_safe_reverse(pos, n, head, member) \ argument 596 #define list_safe_reset_next(pos, n, member) \ argument 625 static inline void __hlist_del(struct hlist_node *n) in __hlist_del() 635 static inline void hlist_del(struct hlist_node *n) in hlist_del() 642 static inline void hlist_del_init(struct hlist_node *n) in hlist_del_init() [all …]
|
/linux/drivers/net/can/spi/ |
H A D | mcp251x.c | 49 #define INSTRUCTION_LOAD_TXB(n) (0x40 + 2 * (n)) argument 50 #define INSTRUCTION_READ_RXB(n) (((n) == 0) ? 0x90 : 0x94) argument 55 #define INSTRUCTION_RTS(n) (0x80 | ((n) & 0x07)) argument 61 # define BFPCTRL_BFM(n) (BFPCTRL_B0BFM << (n)) argument 65 # define BFPCTRL_BFE(n) (BFPCTRL_B0BFE << (n)) argument 69 # define BFPCTRL_BFS(n) (BFPCTRL_B0BFS << (n)) argument 75 # define TXRTSCTRL_RTSM(n) (TXRTSCTRL_B0RTSM << (n)) argument 80 # define TXRTSCTRL_RTS(n) (TXRTSCTRL_B0RTS << (n)) argument 134 #define TXBCTRL(n) (((n) * 0x10) + 0x30 + TXBCTRL_OFF) argument 139 #define TXBSIDH(n) (((n) * 0x10) + 0x30 + TXBSIDH_OFF) argument [all …]
|
/linux/tools/testing/selftests/powerpc/primitives/linux/ |
H A D | wordpart.h | 14 #define upper_32_bits(n) ((u32)(((n) >> 16) >> 16)) argument 20 #define lower_32_bits(n) ((u32)((n) & 0xffffffff)) argument 26 #define upper_16_bits(n) ((u16)((n) >> 16)) argument 32 lower_16_bits(n) global() argument [all...] |
/linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | drv.c | 567 #define DEVICE(n) .device = (n) argument 568 #define SUBDEV(n) .subdevice = (n) argument 569 #define _LOWEST_BIT(n) (__builtin_ffs(n) - 1) argument 570 #define _BIT_ABOVE_MASK(n) ((n) + (1 << _LOWEST_BIT(n))) argument 571 #define _HIGHEST_BIT(n) (__builtin_ffs(_BIT_ABOVE_MASK(n)) - 2) argument 572 #define _IS_POW2(n) (((n) & ((n) - 1)) == 0) argument 573 #define _IS_CONTIG(n) _IS_POW2(_BIT_ABOVE_MASK(n)) argument 578 #define RF_TYPE(n) .match_rf_type = 1, \ argument 584 #define RF_ID(n) .match_rf_id = 1, \ argument
|
/linux/arch/arm/kernel/ |
H A D | sigreturn_codes.S | 38 .macro arm_slot n argument 43 .macro thumb_slot n argument 48 .macro arm_fdpic_slot n argument 53 .macro thumb_fdpic_slot n argument
|
/linux/drivers/gpu/drm/xlnx/ |
H A D | zynqmp_disp_regs.h | 23 #define ZYNQMP_DISP_V_BLEND_SET_GLOBAL_ALPHA_VALUE(n) ((n) << 1) argument 32 #define ZYNQMP_DISP_V_BLEND_LAYER_CONTROL(n) (0x18 + ((n) * 4)) argument 38 #define ZYNQMP_DISP_V_BLEND_RGB2YCBCR_COEFF(n) (0x20 + ((n) * 4)) argument 39 #define ZYNQMP_DISP_V_BLEND_IN1CSC_COEFF(n) (0x44 + ((n) * 4)) argument 40 #define ZYNQMP_DISP_V_BLEND_IN1CSC_OFFSET(n) (0x68 + ((n) * 4)) argument 41 #define ZYNQMP_DISP_V_BLEND_OUTCSC_OFFSET(n) (0x74 + ((n) * 4)) argument 42 #define ZYNQMP_DISP_V_BLEND_IN2CSC_COEFF(n) (0x80 + ((n) * 4)) argument 43 #define ZYNQMP_DISP_V_BLEND_IN2CSC_OFFSET(n) (0xa4 + ((n) * 4)) argument 92 #define ZYNQMP_DISP_AV_BUF_CHBUF(n) (0x10 + ((n) * 4)) argument 150 #define ZYNQMP_DISP_AV_BUF_GFX_COMP_SF(n) (0x200 + ((n) * 4)) argument [all …]
|
/linux/drivers/soc/fsl/qbman/ |
H A D | qman_ccsr.c | 41 #define REG_QCSP_LIO_CFG(n) (0x0000 + ((n) * 0x10)) argument 42 #define REG_QCSP_IO_CFG(n) (0x0004 + ((n) * 0x10)) argument 43 #define REG_QCSP_DD_CFG(n) (0x000c + ((n) * 0x10)) argument 45 #define REG_DCP_CFG(n) (0x0300 + ((n) * 0x10)) argument 46 #define REG_DCP_DD_CFG(n) (0x0304 + ((n) * 0x10)) argument 47 #define REG_DCP_DLM_AVG(n) (0x030c + ((n) * 0x10)) argument 55 #define REG_WQ_CS_CFG(n) (0x0600 + ((n) * 0x04)) argument 57 #define REG_WQ_SC_DD_CFG(n) (0x640 + ((n) * 0x04)) argument 58 #define REG_WQ_PC_DD_CFG(n) (0x680 + ((n) * 0x04)) argument 59 #define REG_WQ_DC0_DD_CFG(n) (0x6c0 + ((n) * 0x04)) argument [all …]
|
/linux/include/linux/mfd/ |
H A D | da8xx-cfgchip.h | 14 #define CFGCHIP(n) ((n) * 4) argument 18 #define CFGCHIP0_EDMA30TC1DBS(n) ((n) << 2) argument 23 #define CFGCHIP0_EDMA30TC0DBS(n) ((n) << 0) argument 30 #define CFGCHIP1_CAP2SRC(n) ((n) << 27) argument 47 #define CFGCHIP1_CAP1SRC(n) ((n) << 22) argument 64 #define CFGCHIP1_CAP0SRC(n) ((n) << 17) argument 83 #define CFGCHIP0_EDMA31TC0DBS(n) ((n) << 13) argument 89 #define CFGCHIP1_AMUTESEL0(n) ((n) << 0) argument 105 #define CFGCHIP2_OTGMODE(n) ((n) << 13) argument 120 #define CFGCHIP2_REFFREQ(n) ((n) << 0) argument
|
/linux/drivers/irqchip/ |
H A D | alphascale_asm9260-icoll.h | 77 #define ASM9260_HW_ICOLL_INTERRUPTn(n) (0x0060 + ((n) >> 2) * 0x10) argument 86 #define ASM9260_BM_ICOLL_INTERRUPTn_SHIFT(n) (((n) & 0x3) << 3) argument 87 #define ASM9260_BM_ICOLL_INTERRUPTn_ENABLE(n) (1 << (2 + \ argument 99 #define ASM9260_HW_ICOLL_CLEARn(n) (((n >> 5) * 0x10) \ argument 101 #define ASM9260_BM_CLEAR_BIT(n) BIT(n & 0x1f) argument
|
/linux/drivers/memory/ |
H A D | pl172.c | 24 #define MPMC_STATIC_CFG(n) (0x200 + 0x20 * (n)) argument 34 #define MPMC_STATIC_WAIT_WEN(n) (0x204 + 0x20 * (n)) argument 36 #define MPMC_STATIC_WAIT_OEN(n) (0x208 + 0x20 * (n)) argument 38 #define MPMC_STATIC_WAIT_RD(n) (0x20c + 0x20 * (n)) argument 40 #define MPMC_STATIC_WAIT_PAGE(n) (0x210 + 0x20 * (n)) argument 42 #define MPMC_STATIC_WAIT_WR(n) (0x214 + 0x20 * (n)) argument 44 #define MPMC_STATIC_WAIT_TURN(n) (0x218 + 0x20 * (n)) argument
|
/linux/arch/arm/include/asm/ |
H A D | cmpxchg.h | 139 #define arch_cmpxchg_local(ptr, o, n) ({ \ argument 146 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument 216 #define arch_cmpxchg_relaxed(ptr,o,n) ({ \ argument 243 #define arch_cmpxchg_local(ptr, o, n) ({ \ argument 275 #define arch_cmpxchg64_relaxed(ptr, o, n) ({ \ argument 281 #define arch_cmpxchg64_local(ptr, o, n) arch_cmpxchg64_relaxed((ptr), (o), (n)) argument
|
/linux/drivers/pwm/ |
H A D | pwm-dwc.h | 14 #define DWC_TIM_LD_CNT(n) ((n) * 0x14) argument 15 #define DWC_TIM_LD_CNT2(n) (((n) * 4) + 0xb0) argument 16 #define DWC_TIM_CUR_VAL(n) (((n) * 0x14) + 0x04) argument 17 #define DWC_TIM_CTRL(n) (((n) * 0x14) + 0x08) argument 18 #define DWC_TIM_EOI(n) (((n) * 0x14) + 0x0c) argument 19 #define DWC_TIM_INT_STS(n) (((n) * 0x14) + 0x10) argument
|