Searched refs:cd (Results 26 - 50 of 201) sorted by relevance

123456789

/linux-master/arch/loongarch/kernel/
H A Dcacheinfo.c67 struct cache_desc *cd, *cdesc = current_cpu_data.cache_leaves; local
70 cd = cdesc + i;
72 this_leaf->type = cd->type;
73 this_leaf->level = cd->level;
74 this_leaf->coherency_line_size = cd->linesz;
75 this_leaf->number_of_sets = cd->sets;
76 this_leaf->ways_of_associativity = cd->ways;
77 this_leaf->size = cd->linesz * cd->sets * cd
[all...]
H A Dtime.c35 struct clock_event_device *cd; local
39 cd = &per_cpu(constant_clockevent_device, cpu);
40 cd->event_handler(cd);
141 struct clock_event_device *cd; local
150 cd = &per_cpu(constant_clockevent_device, cpu);
152 cd->name = "Constant";
153 cd->features = CLOCK_EVT_FEAT_ONESHOT | CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_PERCPU;
155 cd->irq = irq;
156 cd
[all...]
/linux-master/drivers/misc/genwqe/
H A Dcard_sysfs.c42 struct genwqe_dev *cd = dev_get_drvdata(dev); local
45 return sprintf(buf, "%s\n", cs[cd->card_state]);
53 struct genwqe_dev *cd = dev_get_drvdata(dev); local
55 genwqe_read_app_id(cd, app_name, sizeof(app_name));
64 struct genwqe_dev *cd = dev_get_drvdata(dev); local
66 slu_id = __genwqe_readq(cd, IO_SLU_UNITCFG);
67 app_id = __genwqe_readq(cd, IO_APP_UNITCFG);
77 struct genwqe_dev *cd = dev_get_drvdata(dev); local
79 card_type = genwqe_card_type(cd);
89 struct genwqe_dev *cd local
101 struct genwqe_dev *cd = dev_get_drvdata(dev); local
113 struct genwqe_dev *cd = dev_get_drvdata(dev); local
125 struct genwqe_dev *cd = dev_get_drvdata(dev); local
152 struct genwqe_dev *cd = dev_get_drvdata(dev); local
168 struct genwqe_dev *cd = dev_get_drvdata(dev); local
189 struct genwqe_dev *cd = dev_get_drvdata(dev); local
215 struct genwqe_dev *cd = dev_get_drvdata(dev); local
274 struct genwqe_dev *cd = dev_get_drvdata(dev); local
[all...]
H A Dcard_ddcb.c163 static void print_ddcb_info(struct genwqe_dev *cd, struct ddcb_queue *queue) argument
168 struct pci_dev *pci_dev = cd->pci_dev;
170 spin_lock_irqsave(&cd->print_lock, flags);
174 cd->card_idx, queue->ddcb_act, queue->ddcb_next);
190 spin_unlock_irqrestore(&cd->print_lock, flags);
229 * @cd: pointer to genwqe device descriptor
241 static int ddcb_requ_finished(struct genwqe_dev *cd, struct ddcb_requ *req) argument
244 (cd->card_state != GENWQE_CARD_USED);
251 * @cd: pointer to genwqe device descriptor
265 static int enqueue_ddcb(struct genwqe_dev *cd, struc argument
365 genwqe_check_ddcb_queue(struct genwqe_dev *cd, struct ddcb_queue *queue) argument
477 __genwqe_wait_ddcb(struct genwqe_dev *cd, struct ddcb_requ *req) argument
567 get_next_ddcb(struct genwqe_dev *cd, struct ddcb_queue *queue, int *num) argument
620 __genwqe_purge_ddcb(struct genwqe_dev *cd, struct ddcb_requ *req) argument
725 genwqe_init_debug_data(struct genwqe_dev *cd, struct genwqe_debug_data *d) argument
754 __genwqe_enqueue_ddcb(struct genwqe_dev *cd, struct ddcb_requ *req, unsigned int f_flags) argument
911 __genwqe_execute_raw_ddcb(struct genwqe_dev *cd, struct genwqe_ddcb_cmd *cmd, unsigned int f_flags) argument
977 genwqe_next_ddcb_ready(struct genwqe_dev *cd) argument
1008 genwqe_ddcbs_in_flight(struct genwqe_dev *cd) argument
1021 setup_ddcb_queue(struct genwqe_dev *cd, struct ddcb_queue *queue) argument
1103 free_ddcb_queue(struct genwqe_dev *cd, struct ddcb_queue *queue) argument
1123 struct genwqe_dev *cd = (struct genwqe_dev *)dev_id; local
1171 struct genwqe_dev *cd = (struct genwqe_dev *)dev_id; local
1191 struct genwqe_dev *cd = (struct genwqe_dev *)data; local
1228 genwqe_setup_service_layer(struct genwqe_dev *cd) argument
1316 queue_wake_up_all(struct genwqe_dev *cd) argument
1342 genwqe_finish_queue(struct genwqe_dev *cd) argument
1394 genwqe_release_service_layer(struct genwqe_dev *cd) argument
[all...]
H A Dcard_utils.c38 * @cd: genwqe device descriptor
44 int __genwqe_writeq(struct genwqe_dev *cd, u64 byte_offs, u64 val) argument
46 struct pci_dev *pci_dev = cd->pci_dev;
48 if (cd->err_inject & GENWQE_INJECT_HARDWARE_FAILURE)
51 if (cd->mmio == NULL)
57 __raw_writeq((__force u64)cpu_to_be64(val), cd->mmio + byte_offs);
63 * @cd: genwqe device descriptor
68 u64 __genwqe_readq(struct genwqe_dev *cd, u64 byte_offs) argument
70 if (cd->err_inject & GENWQE_INJECT_HARDWARE_FAILURE)
73 if ((cd
95 __genwqe_writel(struct genwqe_dev *cd, u64 byte_offs, u32 val) argument
119 __genwqe_readl(struct genwqe_dev *cd, u64 byte_offs) argument
138 genwqe_read_app_id(struct genwqe_dev *cd, char *app_name, int len) argument
210 __genwqe_alloc_consistent(struct genwqe_dev *cd, size_t size, dma_addr_t *dma_handle) argument
220 __genwqe_free_consistent(struct genwqe_dev *cd, size_t size, void *vaddr, dma_addr_t dma_handle) argument
229 genwqe_unmap_pages(struct genwqe_dev *cd, dma_addr_t *dma_list, int num_pages) argument
242 genwqe_map_pages(struct genwqe_dev *cd, struct page **page_list, int num_pages, dma_addr_t *dma_list) argument
291 genwqe_alloc_sync_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl, void __user *user_addr, size_t user_size, int write) argument
374 genwqe_setup_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl, dma_addr_t *dma_list) argument
473 genwqe_free_sync_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl) argument
545 genwqe_user_vmap(struct genwqe_dev *cd, struct dma_mapping *m, void *uaddr, unsigned long size) argument
620 genwqe_user_vunmap(struct genwqe_dev *cd, struct dma_mapping *m) argument
655 genwqe_card_type(struct genwqe_dev *cd) argument
666 genwqe_card_reset(struct genwqe_dev *cd) argument
703 genwqe_read_softreset(struct genwqe_dev *cd) argument
721 genwqe_set_interrupt_capability(struct genwqe_dev *cd, int count) argument
735 genwqe_reset_interrupt_capability(struct genwqe_dev *cd) argument
750 set_reg_idx(struct genwqe_dev *cd, struct genwqe_reg *r, unsigned int *i, unsigned int m, u32 addr, u32 idx, u64 val) argument
764 set_reg(struct genwqe_dev *cd, struct genwqe_reg *r, unsigned int *i, unsigned int m, u32 addr, u64 val) argument
770 genwqe_read_ffdc_regs(struct genwqe_dev *cd, struct genwqe_reg *regs, unsigned int max_regs, int all) argument
830 genwqe_ffdc_buff_size(struct genwqe_dev *cd, int uid) argument
887 genwqe_ffdc_buff_read(struct genwqe_dev *cd, int uid, struct genwqe_reg *regs, unsigned int max_regs) argument
979 genwqe_write_vreg(struct genwqe_dev *cd, u32 reg, u64 val, int func) argument
995 genwqe_read_vreg(struct genwqe_dev *cd, u32 reg, int func) argument
1014 genwqe_base_clock_frequency(struct genwqe_dev *cd) argument
1032 genwqe_stop_traps(struct genwqe_dev *cd) argument
1043 genwqe_start_traps(struct genwqe_dev *cd) argument
[all...]
H A Dcard_dev.c32 static int genwqe_open_files(struct genwqe_dev *cd) argument
37 spin_lock_irqsave(&cd->file_lock, flags);
38 rc = list_empty(&cd->file_list);
39 spin_unlock_irqrestore(&cd->file_lock, flags);
43 static void genwqe_add_file(struct genwqe_dev *cd, struct genwqe_file *cfile) argument
48 spin_lock_irqsave(&cd->file_lock, flags);
49 list_add(&cfile->list, &cd->file_list);
50 spin_unlock_irqrestore(&cd->file_lock, flags);
53 static int genwqe_del_file(struct genwqe_dev *cd, struct genwqe_file *cfile) argument
57 spin_lock_irqsave(&cd
194 struct genwqe_dev *cd = cfile->cd; local
232 struct genwqe_dev *cd = cfile->cd; local
258 genwqe_kill_fasync(struct genwqe_dev *cd, int sig) argument
274 genwqe_terminate(struct genwqe_dev *cd) argument
301 struct genwqe_dev *cd; local
360 struct genwqe_dev *cd = cfile->cd; local
395 struct genwqe_dev *cd = container_of(inode->i_cdev, struct genwqe_dev, local
440 struct genwqe_dev *cd = cfile->cd; local
514 struct genwqe_dev *cd = cfile->cd; local
649 struct genwqe_dev *cd = cfile->cd; local
772 struct genwqe_dev *cd = cfile->cd; local
805 struct genwqe_dev *cd = cfile->cd; local
837 struct genwqe_dev *cd = cfile->cd; local
866 struct genwqe_dev *cd = cfile->cd; local
997 struct genwqe_dev *cd = cfile->cd; local
1015 struct genwqe_dev *cd = cfile->cd; local
1057 struct genwqe_dev *cd = cfile->cd; local
1239 genwqe_device_initialized(struct genwqe_dev *cd) argument
1252 genwqe_device_create(struct genwqe_dev *cd) argument
1307 genwqe_inform_and_stop_processes(struct genwqe_dev *cd) argument
1361 genwqe_device_remove(struct genwqe_dev *cd) argument
[all...]
/linux-master/fs/nfs/
H A Dcache_lib.c35 int nfs_cache_upcall(struct cache_detail *cd, char *entry_name) argument
44 cd->name,
116 int nfs_cache_register_sb(struct super_block *sb, struct cache_detail *cd) argument
122 ret = sunrpc_cache_register_pipefs(dir, cd->name, 0600, cd);
127 int nfs_cache_register_net(struct net *net, struct cache_detail *cd) argument
132 sunrpc_init_cache_detail(cd);
135 ret = nfs_cache_register_sb(pipefs_sb, cd);
138 sunrpc_destroy_cache_detail(cd);
143 void nfs_cache_unregister_sb(struct super_block *sb, struct cache_detail *cd) argument
148 nfs_cache_unregister_net(struct net *net, struct cache_detail *cd) argument
[all...]
/linux-master/arch/mips/kernel/
H A Dcevt-gt641xx.c116 struct clock_event_device *cd = &gt641xx_timer0_clockevent; local
118 cd->event_handler(cd);
125 struct clock_event_device *cd; local
132 cd = &gt641xx_timer0_clockevent;
133 cd->rating = 200 + gt641xx_base_clock / 10000000;
134 clockevent_set_clock(cd, gt641xx_base_clock);
135 cd->max_delta_ns = clockevent_delta2ns(0x7fffffff, cd);
136 cd
[all...]
H A Dcevt-txx9.c76 struct clock_event_device cd; member in struct:txx9_clock_event_device
91 container_of(evt, struct txx9_clock_event_device, cd);
107 container_of(evt, struct txx9_clock_event_device, cd);
118 container_of(evt, struct txx9_clock_event_device, cd);
129 container_of(evt, struct txx9_clock_event_device, cd);
142 container_of(evt, struct txx9_clock_event_device, cd);
153 .cd = {
169 struct clock_event_device *cd = &txx9_cd->cd; local
173 cd
180 struct clock_event_device *cd = &txx9_clock_event_device.cd; local
[all...]
/linux-master/arch/arm/mach-omap2/
H A Dclockdomain.c105 struct clkdm_dep *cd; local
110 for (cd = deps; cd->clkdm_name; cd++) {
111 if (!cd->clkdm && cd->clkdm_name)
112 cd->clkdm = _clkdm_lookup(cd->clkdm_name);
114 if (cd->clkdm == clkdm)
118 if (!cd
168 struct clkdm_dep *cd; local
195 struct clkdm_dep *cd; local
238 struct clkdm_dep *cd; local
283 struct clkdm_dep *cd; local
328 struct clkdm_dep *cd; local
595 struct clkdm_dep *cd; local
624 struct clkdm_dep *cd; local
657 struct clkdm_dep *cd; local
715 struct clkdm_dep *cd; local
746 struct clkdm_dep *cd; local
781 struct clkdm_dep *cd; local
[all...]
/linux-master/kernel/time/
H A Dsched_clock.c61 static struct clock_data cd ____cacheline_aligned = {
74 *seq = raw_read_seqcount_latch(&cd.seq);
75 return cd.read_data + (*seq & 1);
80 return raw_read_seqcount_latch_retry(&cd.seq, seq);
90 seq = raw_read_seqcount_latch(&cd.seq);
91 rd = cd.read_data + (seq & 1);
96 } while (raw_read_seqcount_latch_retry(&cd.seq, seq));
123 cd.read_data[1] = *rd;
126 raw_write_seqcount_latch(&cd.seq);
129 cd
[all...]
H A Dposix-clock.c219 static int get_clock_desc(const clockid_t id, struct posix_clock_desc *cd) argument
230 cd->fp = fp;
231 cd->clk = get_posix_clock(fp);
233 err = cd->clk ? 0 : -ENODEV;
240 static void put_clock_desc(struct posix_clock_desc *cd) argument
242 put_posix_clock(cd->clk);
243 fput(cd->fp);
248 struct posix_clock_desc cd; local
251 err = get_clock_desc(id, &cd);
255 if ((cd
272 struct posix_clock_desc cd; local
291 struct posix_clock_desc cd; local
310 struct posix_clock_desc cd; local
[all...]
/linux-master/arch/mips/sgi-ip27/
H A Dip27-timer.c49 struct clock_event_device *cd = &per_cpu(hub_rt_clockevent, cpu); local
56 cd->event_handler(cd);
82 struct clock_event_device *cd = &per_cpu(hub_rt_clockevent, cpu); local
86 cd->name = name;
87 cd->features = CLOCK_EVT_FEAT_ONESHOT;
88 clockevent_set_clock(cd, CYCLES_PER_SEC);
89 cd->max_delta_ns = clockevent_delta2ns(0xfffffffffffff, cd);
90 cd
[all...]
/linux-master/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3-sva.c17 struct arm_smmu_ctx_desc *cd; member in struct:arm_smmu_mmu_notifier
44 struct arm_smmu_ctx_desc *cd)
51 arm_smmu_write_ctx_desc(master, ssid, cd);
65 struct arm_smmu_ctx_desc *cd; local
69 cd = xa_load(&arm_smmu_asid_xa, asid);
70 if (!cd)
73 if (cd->mm) {
74 if (WARN_ON(cd->mm != mm))
76 /* All devices bound to this mm use the same cd struct. */
77 refcount_inc(&cd
42 arm_smmu_update_ctx_desc_devices(struct arm_smmu_domain *smmu_domain, int ssid, struct arm_smmu_ctx_desc *cd) argument
113 struct arm_smmu_ctx_desc *cd; local
195 arm_smmu_free_shared_cd(struct arm_smmu_ctx_desc *cd) argument
294 struct arm_smmu_ctx_desc *cd; local
336 struct arm_smmu_ctx_desc *cd = smmu_mn->cd; local
[all...]
/linux-master/drivers/clk/sprd/
H A Ddiv.c15 struct sprd_div *cd = hw_to_sprd_div(hw); local
17 return divider_round_rate(&cd->common.hw, rate, parent_rate, NULL,
18 cd->div.width, 0);
40 struct sprd_div *cd = hw_to_sprd_div(hw); local
42 return sprd_div_helper_recalc_rate(&cd->common, &cd->div, parent_rate);
70 struct sprd_div *cd = hw_to_sprd_div(hw); local
72 return sprd_div_helper_set_rate(&cd->common, &cd->div,
/linux-master/drivers/net/wireless/ath/
H A Ddfs_pattern_detector.c169 struct channel_detector *cd)
172 if (cd == NULL)
175 cd->detectors[i]->reset(cd->detectors[i], dpd->last_pulse_ts);
180 struct channel_detector *cd)
183 if (cd == NULL)
185 list_del(&cd->head);
188 struct pri_detector *de = cd->detectors[i];
193 kfree(cd);
200 struct channel_detector *cd; local
168 channel_detector_reset(struct dfs_pattern_detector *dpd, struct channel_detector *cd) argument
179 channel_detector_exit(struct dfs_pattern_detector *dpd, struct channel_detector *cd) argument
239 struct channel_detector *cd; local
254 struct channel_detector *cd; local
261 struct channel_detector *cd, *cd0; local
272 struct channel_detector *cd; local
319 struct channel_detector *cd, *cd0; local
[all...]
/linux-master/net/sunrpc/
H A Dcache.c84 struct cache_detail *cd)
86 /* Must be called under cd->hash_lock */
89 cd->entries --;
93 struct cache_detail *cd)
95 cache_fresh_unlocked(ch, cd);
96 cache_put(ch, cd);
385 void sunrpc_init_cache_detail(struct cache_detail *cd) argument
387 spin_lock_init(&cd->hash_lock);
388 INIT_LIST_HEAD(&cd->queue);
390 cd
83 sunrpc_begin_cache_remove_entry(struct cache_head *ch, struct cache_detail *cd) argument
92 sunrpc_end_cache_remove_entry(struct cache_head *ch, struct cache_detail *cd) argument
403 sunrpc_destroy_cache_detail(struct cache_detail *cd) argument
826 cache_read(struct file *filp, char __user *buf, size_t count, loff_t *ppos, struct cache_detail *cd) argument
908 cache_do_downcall(char *kaddr, const char __user *buf, size_t count, struct cache_detail *cd) argument
924 cache_downcall(struct address_space *mapping, const char __user *buf, size_t count, struct cache_detail *cd) argument
946 cache_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos, struct cache_detail *cd) argument
966 cache_poll(struct file *filp, poll_table *wait, struct cache_detail *cd) argument
993 cache_ioctl(struct inode *ino, struct file *filp, unsigned int cmd, unsigned long arg, struct cache_detail *cd) argument
1022 cache_open(struct inode *inode, struct file *filp, struct cache_detail *cd) argument
1049 cache_release(struct inode *inode, struct file *filp, struct cache_detail *cd) argument
1346 struct cache_detail *cd = m->private; local
1374 struct cache_detail *cd = m->private; local
1425 struct cache_detail *cd = m->private; local
1454 content_open(struct inode *inode, struct file *file, struct cache_detail *cd) argument
1474 content_release(struct inode *inode, struct file *file, struct cache_detail *cd) argument
1482 open_flush(struct inode *inode, struct file *file, struct cache_detail *cd) argument
1490 release_flush(struct inode *inode, struct file *file, struct cache_detail *cd) argument
1497 read_flush(struct file *file, char __user *buf, size_t count, loff_t *ppos, struct cache_detail *cd) argument
1509 write_flush(struct file *file, const char __user *buf, size_t count, loff_t *ppos, struct cache_detail *cd) argument
1555 struct cache_detail *cd = pde_data(file_inode(filp)); local
1563 struct cache_detail *cd = pde_data(file_inode(filp)); local
1570 struct cache_detail *cd = pde_data(file_inode(filp)); local
1579 struct cache_detail *cd = pde_data(inode); local
1586 struct cache_detail *cd = pde_data(inode); local
1593 struct cache_detail *cd = pde_data(inode); local
1610 struct cache_detail *cd = pde_data(inode); local
1617 struct cache_detail *cd = pde_data(inode); local
1631 struct cache_detail *cd = pde_data(inode); local
1638 struct cache_detail *cd = pde_data(inode); local
1646 struct cache_detail *cd = pde_data(file_inode(filp)); local
1655 struct cache_detail *cd = pde_data(file_inode(filp)); local
1668 remove_cache_proc_entries(struct cache_detail *cd) argument
1677 create_cache_proc_entries(struct cache_detail *cd, struct net *net) argument
1710 create_cache_proc_entries(struct cache_detail *cd, struct net *net) argument
1721 cache_register_net(struct cache_detail *cd, struct net *net) argument
1733 cache_unregister_net(struct cache_detail *cd, struct net *net) argument
1742 struct cache_detail *cd; local
1763 cache_destroy_net(struct cache_detail *cd, struct net *net) argument
1773 struct cache_detail *cd = RPC_I(file_inode(filp))->private; local
1781 struct cache_detail *cd = RPC_I(file_inode(filp))->private; local
1788 struct cache_detail *cd = RPC_I(file_inode(filp))->private; local
1797 struct cache_detail *cd = RPC_I(inode)->private; local
1804 struct cache_detail *cd = RPC_I(inode)->private; local
1811 struct cache_detail *cd = RPC_I(inode)->private; local
1829 struct cache_detail *cd = RPC_I(inode)->private; local
1836 struct cache_detail *cd = RPC_I(inode)->private; local
1850 struct cache_detail *cd = RPC_I(inode)->private; local
1857 struct cache_detail *cd = RPC_I(inode)->private; local
1865 struct cache_detail *cd = RPC_I(file_inode(filp))->private; local
1874 struct cache_detail *cd = RPC_I(file_inode(filp))->private; local
1887 sunrpc_cache_register_pipefs(struct dentry *parent, const char *name, umode_t umode, struct cache_detail *cd) argument
1899 sunrpc_cache_unregister_pipefs(struct cache_detail *cd) argument
1908 sunrpc_cache_unhash(struct cache_detail *cd, struct cache_head *h) argument
[all...]
/linux-master/include/linux/platform_data/
H A Dmv88e6xxx.h11 struct dsa_chip_data cd; member in struct:dsa_mv88e6xxx_pdata
H A Db53.h27 struct dsa_chip_data cd; member in struct:b53_platform_data
/linux-master/fs/smb/client/
H A Dfscache.h50 struct cifs_fscache_inode_coherency_data *cd)
55 memset(cd, 0, sizeof(*cd));
56 cd->last_write_time_sec = cpu_to_le64(mtime.tv_sec);
57 cd->last_write_time_nsec = cpu_to_le32(mtime.tv_nsec);
58 cd->last_change_time_sec = cpu_to_le64(ctime.tv_sec);
59 cd->last_change_time_nsec = cpu_to_le32(ctime.tv_nsec);
70 struct cifs_fscache_inode_coherency_data cd; local
72 cifs_fscache_fill_coherency(inode, &cd);
73 fscache_invalidate(cifs_inode_cookie(inode), &cd, local
49 cifs_fscache_fill_coherency(struct inode *inode, struct cifs_fscache_inode_coherency_data *cd) argument
119 cifs_fscache_fill_coherency(struct inode *inode, struct cifs_fscache_inode_coherency_data *cd) argument
[all...]
/linux-master/arch/mips/include/asm/
H A Dtime.h67 static inline void clockevent_set_clock(struct clock_event_device *cd, argument
70 clockevents_calc_mult_shift(cd, clock, 4);
/linux-master/arch/mips/loongson64/
H A Dhpet.c176 struct clock_event_device *cd; local
183 cd = &per_cpu(hpet_clockevent_device, cpu);
184 cd->event_handler(cd);
223 struct clock_event_device *cd; local
227 cd = &per_cpu(hpet_clockevent_device, cpu);
228 cd->name = "hpet";
229 cd->rating = 100;
230 cd->features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT;
231 cd
[all...]
/linux-master/arch/arm/mach-spear/
H A Dpl080.c28 int pl080_get_signal(const struct pl08x_channel_data *cd) argument
30 unsigned int signal = cd->min_signal, val;
37 (signals[signal].val != cd->muxval)) {
52 val |= cd->muxval << (signal * 2);
57 signals[signal].val = cd->muxval;
63 void pl080_put_signal(const struct pl08x_channel_data *cd, int signal) argument
/linux-master/drivers/zorro/
H A Dzorro-sysfs.c88 struct ConfigDev cd; local
91 memset(&cd, 0, sizeof(cd));
92 cd.cd_Rom = z->rom;
93 cd.cd_SlotAddr = cpu_to_be16(z->slotaddr);
94 cd.cd_SlotSize = cpu_to_be16(z->slotsize);
95 cd.cd_BoardAddr = cpu_to_be32(zorro_resource_start(z));
96 cd.cd_BoardSize = cpu_to_be32(zorro_resource_len(z));
98 return memory_read_from_buffer(buf, count, &off, &cd, sizeof(cd));
[all...]
/linux-master/arch/mips/loongson2ef/common/cs5536/
H A Dcs5536_mfgpt.c110 struct clock_event_device *cd = &mfgpt_clockevent; local
113 cd->cpumask = cpumask_of(cpu);
114 clockevent_set_clock(cd, MFGPT_TICK_RATE);
115 cd->max_delta_ns = clockevent_delta2ns(0xffff, cd);
116 cd->max_delta_ticks = 0xffff;
117 cd->min_delta_ns = clockevent_delta2ns(0xf, cd);
118 cd->min_delta_ticks = 0xf;
129 clockevents_register_device(cd);
[all...]

Completed in 261 milliseconds

123456789