/arch/arm/mach-pxa/include/mach/ |
D | hardware.h | 110 #define __cpu_is_pxa210(id) \ argument 112 unsigned int _id = (id) & 0xf3f0; \ 116 #define __cpu_is_pxa250(id) \ argument 118 unsigned int _id = (id) & 0xf3ff; \ 122 #define __cpu_is_pxa255(id) \ argument 124 unsigned int _id = (id) & 0xffff; \ 128 #define __cpu_is_pxa25x(id) \ argument 130 unsigned int _id = (id) & 0xf300; \ 134 #define __cpu_is_pxa210(id) (0) argument 135 #define __cpu_is_pxa250(id) (0) argument [all …]
|
/arch/powerpc/mm/ |
D | mmu_context_nohash.c | 71 static unsigned int steal_context_smp(unsigned int id) in steal_context_smp() argument 82 mm = context_mm[id]; in steal_context_smp() 88 id++; in steal_context_smp() 89 if (id > last_context) in steal_context_smp() 90 id = first_context; in steal_context_smp() 94 smp_processor_id(), id, mm); in steal_context_smp() 97 mm->context.id = MMU_NO_CONTEXT; in steal_context_smp() 101 __set_bit(id, stale_map[cpu]); in steal_context_smp() 102 return id; in steal_context_smp() 120 static unsigned int steal_context_up(unsigned int id) in steal_context_up() argument [all …]
|
/arch/arm/mach-msm/ |
D | dma.c | 46 void msm_dmov_stop_cmd(unsigned id, struct msm_dmov_cmd *cmd, int graceful) in msm_dmov_stop_cmd() argument 48 writel((graceful << 31), DMOV_FLUSH0(id)); in msm_dmov_stop_cmd() 51 void msm_dmov_enqueue_cmd(unsigned id, struct msm_dmov_cmd *cmd) in msm_dmov_enqueue_cmd() argument 57 status = readl(DMOV_STATUS(id)); in msm_dmov_enqueue_cmd() 58 if (list_empty(&ready_commands[id]) && in msm_dmov_enqueue_cmd() 61 if (list_empty(&active_commands[id])) { in msm_dmov_enqueue_cmd() 62 PRINT_FLOW("msm_dmov_enqueue_cmd(%d), enable interrupt\n", id); in msm_dmov_enqueue_cmd() 63 writel(DMOV_CONFIG_IRQ_EN, DMOV_CONFIG(id)); in msm_dmov_enqueue_cmd() 66 PRINT_IO("msm_dmov_enqueue_cmd(%d), start command, status %x\n", id, status); in msm_dmov_enqueue_cmd() 67 list_add_tail(&cmd->list, &active_commands[id]); in msm_dmov_enqueue_cmd() [all …]
|
D | clock.c | 36 static inline int pc_clk_enable(unsigned id) in pc_clk_enable() argument 38 return msm_proc_comm(PCOM_CLKCTL_RPC_ENABLE, &id, NULL); in pc_clk_enable() 41 static inline void pc_clk_disable(unsigned id) in pc_clk_disable() argument 43 msm_proc_comm(PCOM_CLKCTL_RPC_DISABLE, &id, NULL); in pc_clk_disable() 46 static inline int pc_clk_set_rate(unsigned id, unsigned rate) in pc_clk_set_rate() argument 48 return msm_proc_comm(PCOM_CLKCTL_RPC_SET_RATE, &id, &rate); in pc_clk_set_rate() 51 static inline int pc_clk_set_min_rate(unsigned id, unsigned rate) in pc_clk_set_min_rate() argument 53 return msm_proc_comm(PCOM_CLKCTL_RPC_MIN_RATE, &id, &rate); in pc_clk_set_min_rate() 56 static inline int pc_clk_set_max_rate(unsigned id, unsigned rate) in pc_clk_set_max_rate() argument 58 return msm_proc_comm(PCOM_CLKCTL_RPC_MAX_RATE, &id, &rate); in pc_clk_set_max_rate() [all …]
|
D | vreg.c | 27 unsigned id; member 30 #define VREG(_name, _id) { .name = _name, .id = _id, } 66 struct vreg *vreg_get(struct device *dev, const char *id) in vreg_get() argument 70 if (!strcmp(vregs[n].name, id)) in vreg_get() 82 unsigned id = vreg->id; in vreg_enable() local 84 return msm_proc_comm(PCOM_VREG_SWITCH, &id, &enable); in vreg_enable() 89 unsigned id = vreg->id; in vreg_disable() local 91 msm_proc_comm(PCOM_VREG_SWITCH, &id, &enable); in vreg_disable() 96 unsigned id = vreg->id; in vreg_set_level() local 97 return msm_proc_comm(PCOM_VREG_SET_LEVEL, &id, &mv); in vreg_set_level()
|
/arch/s390/include/asm/ |
D | debug.h | 29 } id; member 79 typedef int (debug_header_proc_t) (debug_info_t* id, 85 typedef int (debug_format_proc_t) (debug_info_t* id, 88 typedef int (debug_prolog_proc_t) (debug_info_t* id, 91 typedef int (debug_input_proc_t) (debug_info_t* id, 97 int debug_dflt_header_fn(debug_info_t* id, struct debug_view* view, 115 debug_entry_t* debug_event_common(debug_info_t* id, int level, 118 debug_entry_t* debug_exception_common(debug_info_t* id, int level, 130 void debug_unregister(debug_info_t* id); 132 void debug_set_level(debug_info_t* id, int new_level); [all …]
|
D | ccwdev.h | 46 const struct ccw_device_id *id = array; in ccw_device_id_match() local 48 for (id = array; id->match_flags; id++) { in ccw_device_id_match() 49 if ((id->match_flags & CCW_DEVICE_ID_MATCH_CU_TYPE) in ccw_device_id_match() 50 && (id->cu_type != match->cu_type)) in ccw_device_id_match() 53 if ((id->match_flags & CCW_DEVICE_ID_MATCH_CU_MODEL) in ccw_device_id_match() 54 && (id->cu_model != match->cu_model)) in ccw_device_id_match() 57 if ((id->match_flags & CCW_DEVICE_ID_MATCH_DEVICE_TYPE) in ccw_device_id_match() 58 && (id->dev_type != match->dev_type)) in ccw_device_id_match() 61 if ((id->match_flags & CCW_DEVICE_ID_MATCH_DEVICE_MODEL) in ccw_device_id_match() 62 && (id->dev_model != match->dev_model)) in ccw_device_id_match() [all …]
|
D | chpid.h | 20 u8 id; member 33 return (a->id == b->id) && (a->cssid == b->cssid); in chp_id_is_equal() 38 if (chpid->id < __MAX_CHPID) in chp_id_next() 39 chpid->id++; in chp_id_next() 41 chpid->id = 0; in chp_id_next()
|
/arch/s390/kernel/ |
D | debug.c | 81 static int debug_prolog_level_fn(debug_info_t * id, 83 static int debug_input_level_fn(debug_info_t * id, struct debug_view *view, 86 static int debug_prolog_pages_fn(debug_info_t * id, 88 static int debug_input_pages_fn(debug_info_t * id, struct debug_view *view, 91 static int debug_input_flush_fn(debug_info_t * id, struct debug_view *view, 94 static int debug_hex_ascii_format_fn(debug_info_t * id, struct debug_view *view, 96 static int debug_raw_format_fn(debug_info_t * id, 99 static int debug_raw_header_fn(debug_info_t * id, struct debug_view *view, 102 static int debug_sprintf_format_fn(debug_info_t * id, struct debug_view *view, 471 if (act_entry->id.stck == 0LL) in debug_format_entry() [all …]
|
/arch/arm/plat-s3c64xx/ |
D | clock.c | 32 .id = -1, 58 .id = -1, 99 .id = -1, 103 .id = -1, 109 .id = -1, 115 .id = 0, 121 .id = 1, 127 .id = 0, 133 .id = 1, 139 .id = 0, [all …]
|
/arch/arm/plat-omap/ |
D | mcbsp.c | 54 #define omap_mcbsp_check_valid_id(id) (id < omap_mcbsp_count) argument 55 #define id_to_mcbsp_ptr(id) mcbsp_ptr[id]; argument 57 static void omap_mcbsp_dump_reg(u8 id) in omap_mcbsp_dump_reg() argument 59 struct omap_mcbsp *mcbsp = id_to_mcbsp_ptr(id); in omap_mcbsp_dump_reg() 61 dev_dbg(mcbsp->dev, "**** McBSP%d regs ****\n", mcbsp->id); in omap_mcbsp_dump_reg() 149 void omap_mcbsp_config(unsigned int id, const struct omap_mcbsp_reg_cfg *config) in omap_mcbsp_config() argument 154 if (!omap_mcbsp_check_valid_id(id)) { in omap_mcbsp_config() 155 printk(KERN_ERR "%s: Invalid id (%d)\n", __func__, id + 1); in omap_mcbsp_config() 158 mcbsp = id_to_mcbsp_ptr(id); in omap_mcbsp_config() 162 mcbsp->id, mcbsp->phys_base); in omap_mcbsp_config() [all …]
|
/arch/avr32/mach-at32ap/include/mach/ |
D | board.h | 35 struct platform_device *at32_add_device_usart(unsigned int id); 42 at32_add_device_eth(unsigned int id, struct eth_platform_data *data); 46 at32_add_device_spi(unsigned int id, struct spi_board_info *b, unsigned int n); 50 at32_add_device_lcdc(unsigned int id, struct atmel_lcdfb_info *data, 56 at32_add_device_usba(unsigned int id, struct usba_platform_data *data); 62 at32_add_device_ide(unsigned int id, unsigned int extint, 80 at32_add_device_ssc(unsigned int id, unsigned int flags); 83 struct platform_device *at32_add_device_twi(unsigned int id, 89 at32_add_device_mci(unsigned int id, struct mci_platform_data *data); 98 at32_add_device_ac97c(unsigned int id, struct ac97c_platform_data *data); [all …]
|
/arch/arm/plat-s3c/ |
D | pwm-clock.c | 136 .id = -1, 143 .id = -1, 153 .id = -1, 157 .id = -1, 176 tcfg1 >>= S3C2410_TCFG1_SHIFT(clk->id); in clk_pwm_tdiv_get_rate() 220 unsigned long shift = S3C2410_TCFG1_SHIFT(divclk->clk.id); in clk_pwm_tdiv_update() 239 tcfg1 >>= S3C2410_TCFG1_SHIFT(clk->id); in clk_pwm_tdiv_set_rate() 307 static int __init clk_pwm_tdiv_register(unsigned int id) in clk_pwm_tdiv_register() argument 309 struct pwm_tdiv_clk *divclk = &clk_timer_tdiv[id]; in clk_pwm_tdiv_register() 312 tcfg1 >>= S3C2410_TCFG1_SHIFT(id); in clk_pwm_tdiv_register() [all …]
|
D | clock.c | 70 struct clk *clk_get(struct device *dev, const char *id) in clk_get() argument 79 idno = to_platform_device(dev)->id; in clk_get() 84 if (p->id == idno && in clk_get() 85 strcmp(id, p->name) == 0 && in clk_get() 97 if (p->id == -1 && strcmp(id, p->name) == 0 && in clk_get() 235 .id = -1, 243 .id = -1, 248 .id = -1, 253 .id = -1, 259 .id = -1, [all …]
|
/arch/arm/plat-s3c24xx/ |
D | s3c2410-clock.c | 93 .id = -1, 99 .id = -1, 105 .id = -1, 111 .id = -1, 117 .id = -1, 123 .id = -1, 133 .id = -1, 139 .id = -1, 145 .id = -1, 151 .id = -1, [all …]
|
D | devs.c | 114 .id = 0, 118 .id = 1, 122 .id = 2, 126 .id = 3, 158 .id = -1, 189 .id = -1, 225 .id = -1, 250 .id = -1, 289 .id = -1, 310 .id = -1, [all …]
|
/arch/um/kernel/skas/ |
D | mmu.c | 62 to_mm->id.stack = stack; in init_new_context() 73 to_mm->id.u.mm_fd = ret; in init_new_context() 77 to_mm->id.u.pid = copy_context_skas0(stack, in init_new_context() 78 from_mm->id.u.pid); in init_new_context() 79 else to_mm->id.u.pid = start_userspace(stack); in init_new_context() 81 if (to_mm->id.u.pid < 0) { in init_new_context() 82 ret = to_mm->id.u.pid; in init_new_context() 99 if (to_mm->id.stack != 0) in init_new_context() 100 free_page(to_mm->id.stack); in init_new_context() 118 ret = init_stub_pte(mm, STUB_DATA, mm->context.id.stack); in arch_dup_mmap() [all …]
|
/arch/arm/mach-s3c2443/ |
D | clock.c | 152 .id = -1, 159 .id = -1, 165 .id = -1, 189 .id = -1, 207 .id = -1, 234 .id = -1, 246 .id = -1, 275 .id = -1, 304 .id = -1, 342 .id = -1, [all …]
|
/arch/cris/arch-v32/mach-a3/ |
D | vcs_hook.c | 31 static unsigned hook_trig(unsigned id) in hook_trig() argument 42 HOOK_TRIG(id); in hook_trig() 54 int hook_call(unsigned id, unsigned pcnt, ...) in hook_call() argument 62 HOOK_DATA(0) = id; in hook_call() 69 ret = hook_trig(id); in hook_call() 74 int hook_call_str(unsigned id, unsigned size, const char *str) in hook_call_str() argument 81 HOOK_DATA(0) = id; in hook_call_str() 88 ret = hook_trig(id); in hook_call_str()
|
/arch/arm/mach-pxa/ |
D | devices.c | 61 .id = 0, 100 .id = -1, 111 .id = -1, 137 .id = -1, 170 .id = 0, 189 .id = 1, 208 .id = 2, 227 .id = 3, 246 .id = 0, 271 .id = 1, [all …]
|
D | imote2.c | 141 .id = -1, 290 .id = DA9030_ID_LDO2, 294 .id = DA9030_ID_LDO3, 298 .id = DA9030_ID_LDO4, 302 .id = DA9030_ID_LDO5, 306 .id = DA9030_ID_LDO6, 310 .id = DA9030_ID_LDO7, 314 .id = DA9030_ID_LDO8, 318 .id = DA9030_ID_LDO9, 322 .id = DA9030_ID_LDO10, [all …]
|
/arch/frv/mm/ |
D | mmu-context.c | 66 if (!p->id_busy && p->id != cxn_pinned) in get_cxn() 72 cxn = p->id; in get_cxn() 73 p->id = 0; in get_cxn() 78 ctx->id = cxn; in get_cxn() 82 return ctx->id; in get_cxn() 110 asm volatile("movgs %0,cxnr" : : "r"(ctx->id)); in change_mm_context() 137 if (ctx->id == cxn_pinned) in destroy_context() 141 clear_bit(ctx->id, cxn_bitmap); in destroy_context() 142 __flush_tlb_mm(ctx->id); in destroy_context() 143 ctx->id = 0; in destroy_context() [all …]
|
/arch/arm/mach-s3c2412/ |
D | clock.c | 98 .id = -1, 103 .id = -1, 125 .id = -1, 133 .id = -1, 139 .id = -1, 201 .id = -1, 227 .id = -1, 265 .id = -1, 339 .id = -1, 390 .id = -1, [all …]
|
/arch/parisc/kernel/ |
D | drivers.c | 54 return pdev->id.hw_type != HPHW_FAULTY; in check_dev() 107 (ids->sversion != dev->id.sversion)) in match_device() 111 (ids->hw_type != dev->id.hw_type)) in match_device() 115 (ids->hversion != dev->id.hversion)) in match_device() 276 if (candidate->id.hw_type == type) in find_pa_parent_type() 411 struct parisc_device * create_tree_node(char id, struct device *parent) in create_tree_node() argument 417 dev->hw_path = id; in create_tree_node() 418 dev->id.hw_type = HPHW_FAULTY; in create_tree_node() 438 char id; member 447 if (pdev->hw_path == d->id) { in match_by_id() [all …]
|
/arch/cris/arch-v10/boot/tools/ |
D | build.c | 108 int i,c,id,sz,tmp_int; in main() local 145 if ((id=open(argv[1],O_RDONLY,0))<0) in main() 147 if (read(id,buf,MINIX_HEADER) != MINIX_HEADER) in main() 161 i=read(id,buf,sizeof buf); in main() 172 close (id); in main() 174 if ((id=open(argv[2],O_RDONLY,0))<0) in main() 176 if (read(id,buf,MINIX_HEADER) != MINIX_HEADER) in main() 190 for (i=0 ; (c=read(id,buf,sizeof buf))>0 ; i+=c ) in main() 214 close (id); in main() 231 if ((id=open(argv[3],O_RDONLY,0))<0) in main() [all …]
|