/arch/x86/include/asm/ |
D | percpu.h | 27 #define PER_CPU(var, reg) \ 29 lea var(reg), reg 30 #define PER_CPU_VAR(var) %__percpu_seg:var 32 #define PER_CPU(var, reg) __percpu_mov_op $var, reg 33 #define PER_CPU_VAR(var) var 37 #define INIT_PER_CPU_VAR(var) init_per_cpu__##var 39 #define INIT_PER_CPU_VAR(var) var 77 #define DECLARE_INIT_PER_CPU(var) \ argument 78 extern typeof(var) init_per_cpu_var(var) 81 #define init_per_cpu_var(var) init_per_cpu__##var argument [all …]
|
D | barrier.h | 94 #define set_mb(var, value) do { (void)xchg(&var, value); } while (0) argument 100 #define set_mb(var, value) do { var = value; barrier(); } while (0) argument
|
/arch/ia64/include/asm/ |
D | percpu.h | 12 # define THIS_CPU(var) (var) /* use this to mark accesses to per-CPU variables... */ 42 #define __ia64_per_cpu_var(var) (*({ \ argument 43 __verify_pcpu_ptr(&(var)); \ 44 ((typeof(var) __kernel __force *)&(var)); \
|
D | barrier.h | 60 #define set_mb(var, value) do { (var) = (value); mb(); } while (0) argument
|
/arch/mn10300/include/asm/ |
D | barrier.h | 24 #define set_mb(var, value) do { xchg(&var, value); } while (0) argument 29 #define set_mb(var, value) do { var = value; mb(); } while (0) argument 32 #define set_wmb(var, value) do { var = value; wmb(); } while (0) argument
|
/arch/arm/mach-rpc/include/mach/ |
D | acornfb.h | 13 #define acornfb_bandwidth(var) ((var)->pixclock * 8 / (var)->bits_per_pixel) argument 16 acornfb_valid_pixrate(struct fb_var_screeninfo *var) in acornfb_valid_pixrate() argument 20 if (!var->pixclock) in acornfb_valid_pixrate() 35 return acornfb_bandwidth(var) >= limit; in acornfb_valid_pixrate() 83 struct fb_var_screeninfo *var) in acornfb_vidc20_find_rates() argument 88 div = var->pixclock / 9090; /*9921*/ in acornfb_vidc20_find_rates() 122 unsigned long bandwidth = acornfb_bandwidth(var); in acornfb_vidc20_find_rates() 136 vidc->pll_ctl = acornfb_vidc20_find_pll(var->pixclock / div); in acornfb_vidc20_find_rates()
|
/arch/powerpc/sysdev/bestcomm/ |
D | ata.c | 61 struct bcom_ata_var *var; in bcom_ata_init() local 75 var = (struct bcom_ata_var *) bcom_task_var(tsk->tasknum); in bcom_ata_init() 83 var->enable = bcom_eng->regs_base + in bcom_ata_init() 85 var->bd_base = tsk->bd_pa; in bcom_ata_init() 86 var->bd_last = tsk->bd_pa + ((tsk->num_bd-1) * tsk->bd_size); in bcom_ata_init() 87 var->bd_start = tsk->bd_pa; in bcom_ata_init() 88 var->buffer_size = maxbufsize; in bcom_ata_init() 133 struct bcom_ata_var *var; in bcom_ata_reset_bd() local 141 var = (struct bcom_ata_var *) bcom_task_var(tsk->tasknum); in bcom_ata_reset_bd() 142 var->bd_start = var->bd_base; in bcom_ata_reset_bd()
|
D | fec.c | 114 struct bcom_fec_rx_var *var; in bcom_fec_rx_reset() local 121 var = (struct bcom_fec_rx_var *) bcom_task_var(tsk->tasknum); in bcom_fec_rx_reset() 127 var->enable = bcom_eng->regs_base + in bcom_fec_rx_reset() 129 var->fifo = (u32) priv->fifo; in bcom_fec_rx_reset() 130 var->bd_base = tsk->bd_pa; in bcom_fec_rx_reset() 131 var->bd_last = tsk->bd_pa + ((tsk->num_bd-1) * tsk->bd_size); in bcom_fec_rx_reset() 132 var->bd_start = tsk->bd_pa; in bcom_fec_rx_reset() 133 var->buffer_size = priv->maxbufsize; in bcom_fec_rx_reset() 215 struct bcom_fec_tx_var *var; in bcom_fec_tx_reset() local 222 var = (struct bcom_fec_tx_var *) bcom_task_var(tsk->tasknum); in bcom_fec_tx_reset() [all …]
|
D | gen_bd.c | 121 struct bcom_gen_bd_rx_var *var; in bcom_gen_bd_rx_reset() local 128 var = (struct bcom_gen_bd_rx_var *) bcom_task_var(tsk->tasknum); in bcom_gen_bd_rx_reset() 134 var->enable = bcom_eng->regs_base + in bcom_gen_bd_rx_reset() 136 var->fifo = (u32) priv->fifo; in bcom_gen_bd_rx_reset() 137 var->bd_base = tsk->bd_pa; in bcom_gen_bd_rx_reset() 138 var->bd_last = tsk->bd_pa + ((tsk->num_bd-1) * tsk->bd_size); in bcom_gen_bd_rx_reset() 139 var->bd_start = tsk->bd_pa; in bcom_gen_bd_rx_reset() 140 var->buffer_size = priv->maxbufsize; in bcom_gen_bd_rx_reset() 205 struct bcom_gen_bd_tx_var *var; in bcom_gen_bd_tx_reset() local 212 var = (struct bcom_gen_bd_tx_var *) bcom_task_var(tsk->tasknum); in bcom_gen_bd_tx_reset() [all …]
|
/arch/mips/bcm47xx/ |
D | nvram.c | 91 char *var, *value, *end, *eq; in nvram_getenv() local 100 var = &nvram_buf[sizeof(struct nvram_header)]; in nvram_getenv() 103 for (; *var; var = value + strlen(value) + 1) { in nvram_getenv() 104 eq = strchr(var, '='); in nvram_getenv() 108 if ((eq - var) == strlen(name) && in nvram_getenv() 109 strncmp(var, name, (eq - var)) == 0) { in nvram_getenv()
|
/arch/c6x/include/asm/ |
D | barrier.h | 19 #define set_mb(var, value) do { var = value; mb(); } while (0) argument 20 #define set_wmb(var, value) do { var = value; wmb(); } while (0) argument
|
/arch/microblaze/include/asm/ |
D | barrier.h | 20 #define set_mb(var, value) do { var = value; mb(); } while (0) argument 21 #define set_wmb(var, value) do { var = value; wmb(); } while (0) argument
|
D | entry.h | 24 #define PER_CPU(var) var argument
|
/arch/m32r/include/asm/ |
D | barrier.h | 85 #define set_mb(var, value) do { (void) xchg(&var, value); } while (0) argument 91 #define set_mb(var, value) do { var = value; barrier(); } while (0) argument
|
/arch/x86/um/asm/ |
D | barrier.h | 50 #define set_mb(var, value) do { (void)xchg(&var, value); } while (0) argument 58 #define set_mb(var, value) do { var = value; barrier(); } while (0) argument
|
/arch/arm/mach-netx/ |
D | nxeb500hmi.c | 62 static inline int nxeb500hmi_check(struct clcd_fb *fb, struct fb_var_screeninfo *var) in nxeb500hmi_check() argument 64 var->green.length = 5; in nxeb500hmi_check() 65 var->green.msb_right = 0; in nxeb500hmi_check() 67 return clcdfb_check(fb, var); in nxeb500hmi_check() 74 fb->fb.var.green.length = 5; in nxeb500hmi_clcd_setup() 75 fb->fb.var.green.msb_right = 0; in nxeb500hmi_clcd_setup()
|
D | nxdb500.c | 62 static inline int nxdb500_check(struct clcd_fb *fb, struct fb_var_screeninfo *var) in nxdb500_check() argument 64 var->green.length = 5; in nxdb500_check() 65 var->green.msb_right = 0; in nxdb500_check() 67 return clcdfb_check(fb, var); in nxdb500_check() 74 fb->fb.var.green.length = 5; in nxdb500_clcd_setup() 75 fb->fb.var.green.msb_right = 0; in nxdb500_clcd_setup()
|
/arch/frv/include/asm/ |
D | barrier.h | 26 #define set_mb(var, value) \ argument 27 do { var = (value); barrier(); } while (0)
|
/arch/score/include/asm/ |
D | barrier.h | 14 #define set_mb(var, value) do {var = value; wmb(); } while (0) argument
|
/arch/avr32/include/asm/ |
D | barrier.h | 17 #define set_mb(var, value) do { var = value; mb(); } while(0) argument
|
/arch/parisc/include/asm/ |
D | barrier.h | 33 #define set_mb(var, value) do { var = value; mb(); } while (0) argument
|
/arch/m68k/include/asm/ |
D | barrier.h | 13 #define set_mb(var, value) ({ (var) = (value); wmb(); }) argument
|
/arch/xtensa/include/asm/ |
D | barrier.h | 27 #define set_mb(var, value) do { var = value; mb(); } while (0) argument
|
/arch/h8300/include/asm/ |
D | barrier.h | 13 #define set_mb(var, value) do { xchg(&var, value); } while (0) argument
|
/arch/s390/include/asm/ |
D | barrier.h | 33 #define set_mb(var, value) do { var = value; mb(); } while (0) argument
|