Home
last modified time | relevance | path

Searched refs:cd (Results 1 – 200 of 560) sorted by relevance

123

/linux-4.4.14/drivers/misc/genwqe/
Dcard_base.c125 struct genwqe_dev *cd; in genwqe_dev_alloc() local
134 cd = kzalloc(sizeof(struct genwqe_dev), GFP_KERNEL); in genwqe_dev_alloc()
135 if (!cd) in genwqe_dev_alloc()
138 cd->card_idx = i; in genwqe_dev_alloc()
139 cd->class_genwqe = class_genwqe; in genwqe_dev_alloc()
140 cd->debugfs_genwqe = debugfs_genwqe; in genwqe_dev_alloc()
146 cd->use_platform_recovery = CONFIG_GENWQE_PLATFORM_ERROR_RECOVERY; in genwqe_dev_alloc()
148 init_waitqueue_head(&cd->queue_waitq); in genwqe_dev_alloc()
150 spin_lock_init(&cd->file_lock); in genwqe_dev_alloc()
151 INIT_LIST_HEAD(&cd->file_list); in genwqe_dev_alloc()
[all …]
Dcard_debugfs.c66 struct genwqe_dev *cd = s->private; in curr_dbg_uidn_show() local
70 entries = genwqe_ffdc_buff_size(cd, uid); in curr_dbg_uidn_show()
81 genwqe_stop_traps(cd); /* halt the traps while dumping data */ in curr_dbg_uidn_show()
82 genwqe_ffdc_buff_read(cd, uid, regs, entries); in curr_dbg_uidn_show()
83 genwqe_start_traps(cd); in curr_dbg_uidn_show()
113 struct genwqe_dev *cd = s->private; in prev_dbg_uidn_show() local
115 dbg_uidn_show(s, cd->ffdc[uid].regs, cd->ffdc[uid].entries); in prev_dbg_uidn_show()
142 struct genwqe_dev *cd = s->private; in genwqe_curr_regs_show() local
150 genwqe_stop_traps(cd); in genwqe_curr_regs_show()
151 genwqe_read_ffdc_regs(cd, regs, GENWQE_FFDC_REGS, 1); in genwqe_curr_regs_show()
[all …]
Dcard_utils.c54 int __genwqe_writeq(struct genwqe_dev *cd, u64 byte_offs, u64 val) in __genwqe_writeq() argument
56 struct pci_dev *pci_dev = cd->pci_dev; in __genwqe_writeq()
58 if (cd->err_inject & GENWQE_INJECT_HARDWARE_FAILURE) in __genwqe_writeq()
61 if (cd->mmio == NULL) in __genwqe_writeq()
67 __raw_writeq((__force u64)cpu_to_be64(val), cd->mmio + byte_offs); in __genwqe_writeq()
78 u64 __genwqe_readq(struct genwqe_dev *cd, u64 byte_offs) in __genwqe_readq() argument
80 if (cd->err_inject & GENWQE_INJECT_HARDWARE_FAILURE) in __genwqe_readq()
83 if ((cd->err_inject & GENWQE_INJECT_GFIR_FATAL) && in __genwqe_readq()
87 if ((cd->err_inject & GENWQE_INJECT_GFIR_INFO) && in __genwqe_readq()
91 if (cd->mmio == NULL) in __genwqe_readq()
[all …]
Dcard_base.h372 int genwqe_alloc_sync_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl,
375 int genwqe_setup_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl,
378 int genwqe_free_sync_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl);
402 struct genwqe_dev *cd; member
417 int genwqe_setup_service_layer(struct genwqe_dev *cd); /* for PF only */
418 int genwqe_finish_queue(struct genwqe_dev *cd);
419 int genwqe_release_service_layer(struct genwqe_dev *cd);
428 static inline int genwqe_get_slu_id(struct genwqe_dev *cd) in genwqe_get_slu_id() argument
430 return (int)((cd->slu_unitcfg >> 32) & 0xff); in genwqe_get_slu_id()
433 int genwqe_ddcbs_in_flight(struct genwqe_dev *cd);
[all …]
Dcard_ddcb.c172 static void print_ddcb_info(struct genwqe_dev *cd, struct ddcb_queue *queue) in print_ddcb_info() argument
177 struct pci_dev *pci_dev = cd->pci_dev; in print_ddcb_info()
179 spin_lock_irqsave(&cd->print_lock, flags); in print_ddcb_info()
183 cd->card_idx, queue->ddcb_act, queue->ddcb_next); in print_ddcb_info()
199 spin_unlock_irqrestore(&cd->print_lock, flags); in print_ddcb_info()
250 static int ddcb_requ_finished(struct genwqe_dev *cd, struct ddcb_requ *req) in ddcb_requ_finished() argument
253 (cd->card_state != GENWQE_CARD_USED); in ddcb_requ_finished()
274 static int enqueue_ddcb(struct genwqe_dev *cd, struct ddcb_queue *queue, in enqueue_ddcb() argument
321 __genwqe_writeq(cd, queue->IO_QUEUE_OFFSET, num); /* start queue */ in enqueue_ddcb()
371 static int genwqe_check_ddcb_queue(struct genwqe_dev *cd, in genwqe_check_ddcb_queue() argument
[all …]
Dcard_dev.c40 static int genwqe_open_files(struct genwqe_dev *cd) in genwqe_open_files() argument
45 spin_lock_irqsave(&cd->file_lock, flags); in genwqe_open_files()
46 rc = list_empty(&cd->file_list); in genwqe_open_files()
47 spin_unlock_irqrestore(&cd->file_lock, flags); in genwqe_open_files()
51 static void genwqe_add_file(struct genwqe_dev *cd, struct genwqe_file *cfile) in genwqe_add_file() argument
56 spin_lock_irqsave(&cd->file_lock, flags); in genwqe_add_file()
57 list_add(&cfile->list, &cd->file_list); in genwqe_add_file()
58 spin_unlock_irqrestore(&cd->file_lock, flags); in genwqe_add_file()
61 static int genwqe_del_file(struct genwqe_dev *cd, struct genwqe_file *cfile) in genwqe_del_file() argument
65 spin_lock_irqsave(&cd->file_lock, flags); in genwqe_del_file()
[all …]
Dcard_sysfs.c50 struct genwqe_dev *cd = dev_get_drvdata(dev); in status_show() local
53 return sprintf(buf, "%s\n", cs[cd->card_state]); in status_show()
61 struct genwqe_dev *cd = dev_get_drvdata(dev); in appid_show() local
63 genwqe_read_app_id(cd, app_name, sizeof(app_name)); in appid_show()
72 struct genwqe_dev *cd = dev_get_drvdata(dev); in version_show() local
74 slu_id = __genwqe_readq(cd, IO_SLU_UNITCFG); in version_show()
75 app_id = __genwqe_readq(cd, IO_APP_UNITCFG); in version_show()
85 struct genwqe_dev *cd = dev_get_drvdata(dev); in type_show() local
87 card_type = genwqe_card_type(cd); in type_show()
97 struct genwqe_dev *cd = dev_get_drvdata(dev); in tempsens_show() local
[all …]
/linux-4.4.14/drivers/block/paride/
Dpcd.c230 struct pcd_unit *cd = bdev->bd_disk->private_data; in pcd_block_open() local
234 ret = cdrom_open(&cd->info, bdev, mode); in pcd_block_open()
242 struct pcd_unit *cd = disk->private_data; in pcd_block_release() local
244 cdrom_release(&cd->info, mode); in pcd_block_release()
251 struct pcd_unit *cd = bdev->bd_disk->private_data; in pcd_block_ioctl() local
255 ret = cdrom_ioctl(&cd->info, bdev, mode, cmd, arg); in pcd_block_ioctl()
264 struct pcd_unit *cd = disk->private_data; in pcd_block_check_events() local
265 return cdrom_check_events(&cd->info, clearing); in pcd_block_check_events()
295 struct pcd_unit *cd; in pcd_init_units() local
299 for (unit = 0, cd = pcd; unit < PCD_UNITS; unit++, cd++) { in pcd_init_units()
[all …]
/linux-4.4.14/drivers/input/touchscreen/
Dcyttsp4_core.c80 static int cyttsp4_load_status_regs(struct cyttsp4 *cd) in cyttsp4_load_status_regs() argument
82 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_load_status_regs()
83 struct device *dev = cd->dev; in cyttsp4_load_status_regs()
86 rc = cyttsp4_adap_read(cd, CY_REG_BASE, si->si_ofs.mode_size, in cyttsp4_load_status_regs()
92 cyttsp4_pr_buf(dev, cd->pr_buf, si->xy_mode, in cyttsp4_load_status_regs()
98 static int cyttsp4_handshake(struct cyttsp4 *cd, u8 mode) in cyttsp4_handshake() argument
110 rc = cyttsp4_adap_write(cd, CY_REG_BASE, sizeof(cmd), &cmd); in cyttsp4_handshake()
112 dev_err(cd->dev, "%s: bus write fail on handshake (ret=%d)\n", in cyttsp4_handshake()
118 static int cyttsp4_hw_soft_reset(struct cyttsp4 *cd) in cyttsp4_hw_soft_reset() argument
121 int rc = cyttsp4_adap_write(cd, CY_REG_BASE, sizeof(cmd), &cmd); in cyttsp4_hw_soft_reset()
[all …]
/linux-4.4.14/drivers/scsi/
Dsr.c145 struct scsi_cd *cd = dev_get_drvdata(dev); in sr_runtime_suspend() local
147 if (!cd) /* E.g.: runtime suspend following sr_remove() */ in sr_runtime_suspend()
150 if (cd->media_present) in sr_runtime_suspend()
162 struct scsi_cd *cd = NULL; in scsi_cd_get() local
167 cd = scsi_cd(disk); in scsi_cd_get()
168 kref_get(&cd->kref); in scsi_cd_get()
169 if (scsi_device_get(cd->device)) { in scsi_cd_get()
170 kref_put(&cd->kref, sr_kref_release); in scsi_cd_get()
171 cd = NULL; in scsi_cd_get()
175 return cd; in scsi_cd_get()
[all …]
Dsr_vendor.c66 void sr_vendor_init(Scsi_CD *cd) in sr_vendor_init() argument
69 cd->vendor = VENDOR_SCSI3; in sr_vendor_init()
71 const char *vendor = cd->device->vendor; in sr_vendor_init()
72 const char *model = cd->device->model; in sr_vendor_init()
75 cd->vendor = VENDOR_SCSI3; in sr_vendor_init()
76 if (cd->readcd_known) in sr_vendor_init()
80 if (cd->device->type == TYPE_WORM) { in sr_vendor_init()
81 cd->vendor = VENDOR_WRITER; in sr_vendor_init()
84 cd->vendor = VENDOR_NEC; in sr_vendor_init()
96 cd->cdi.mask |= CDC_MULTI_SESSION; in sr_vendor_init()
[all …]
Dsr_ioctl.c37 #define SR_GFP_DMA(cd) (((cd)->device->host->unchecked_isa_dma) ? GFP_DMA : 0) argument
42 struct scsi_cd *cd = cdi->handle; in sr_read_tochdr() local
47 buffer = kmalloc(32, GFP_KERNEL | SR_GFP_DMA(cd)); in sr_read_tochdr()
60 result = sr_do_ioctl(cd, &cgc); in sr_read_tochdr()
72 struct scsi_cd *cd = cdi->handle; in sr_read_tocentry() local
77 buffer = kmalloc(32, GFP_KERNEL | SR_GFP_DMA(cd)); in sr_read_tocentry()
91 result = sr_do_ioctl(cd, &cgc); in sr_read_tocentry()
161 struct scsi_cd *cd = cdi->handle; in sr_play_trkind() local
174 result = sr_do_ioctl(cd, &cgc); in sr_play_trkind()
185 int sr_do_ioctl(Scsi_CD *cd, struct packet_command *cgc) in sr_do_ioctl() argument
[all …]
Dsr.h59 #define sr_printk(prefix, cd, fmt, a...) \ argument
60 sdev_prefix_printk(prefix, (cd)->device, (cd)->cdi.name, fmt, ##a)
/linux-4.4.14/drivers/irqchip/
Dirq-imx-gpcv2.c47 struct gpcv2_irqchip_data *cd; in gpcv2_wakeup_source_save() local
51 cd = imx_gpcv2_instance; in gpcv2_wakeup_source_save()
52 if (!cd) in gpcv2_wakeup_source_save()
56 reg = cd->gpc_base + cd->cpu2wakeup + i * 4; in gpcv2_wakeup_source_save()
57 cd->saved_irq_mask[i] = readl_relaxed(reg); in gpcv2_wakeup_source_save()
58 writel_relaxed(cd->wakeup_sources[i], reg); in gpcv2_wakeup_source_save()
66 struct gpcv2_irqchip_data *cd; in gpcv2_wakeup_source_restore() local
70 cd = imx_gpcv2_instance; in gpcv2_wakeup_source_restore()
71 if (!cd) in gpcv2_wakeup_source_restore()
75 reg = cd->gpc_base + cd->cpu2wakeup + i * 4; in gpcv2_wakeup_source_restore()
[all …]
/linux-4.4.14/net/sunrpc/
Dcache.c194 static int cache_make_upcall(struct cache_detail *cd, struct cache_head *h) in cache_make_upcall() argument
196 if (cd->cache_upcall) in cache_make_upcall()
197 return cd->cache_upcall(cd, h); in cache_make_upcall()
198 return sunrpc_cache_pipe_upcall(cd, h); in cache_make_upcall()
342 void sunrpc_init_cache_detail(struct cache_detail *cd) in sunrpc_init_cache_detail() argument
344 rwlock_init(&cd->hash_lock); in sunrpc_init_cache_detail()
345 INIT_LIST_HEAD(&cd->queue); in sunrpc_init_cache_detail()
347 cd->nextcheck = 0; in sunrpc_init_cache_detail()
348 cd->entries = 0; in sunrpc_init_cache_detail()
349 atomic_set(&cd->readers, 0); in sunrpc_init_cache_detail()
[all …]
Dsvcauth_unix.c143 static void ip_map_request(struct cache_detail *cd, in ip_map_request() argument
160 static struct ip_map *__ip_map_lookup(struct cache_detail *cd, char *class, struct in6_addr *addr);
161 static int __ip_map_update(struct cache_detail *cd, struct ip_map *ipm, struct unix_domain *udom, t…
163 static int ip_map_parse(struct cache_detail *cd, in ip_map_parse() argument
196 if (rpc_pton(cd->net, buf, len, &address.sa, sizeof(address)) == 0) in ip_map_parse()
230 ipmp = __ip_map_lookup(cd, class, &sin6.sin6_addr); in ip_map_parse()
232 err = __ip_map_update(cd, ipmp, in ip_map_parse()
246 struct cache_detail *cd, in ip_map_show() argument
275 static struct ip_map *__ip_map_lookup(struct cache_detail *cd, char *class, in __ip_map_lookup() argument
283 ch = sunrpc_cache_lookup(cd, &ip.h, in __ip_map_lookup()
[all …]
/linux-4.4.14/kernel/time/
Dposix-clock.c249 static int get_clock_desc(const clockid_t id, struct posix_clock_desc *cd) in get_clock_desc() argument
260 cd->fp = fp; in get_clock_desc()
261 cd->clk = get_posix_clock(fp); in get_clock_desc()
263 err = cd->clk ? 0 : -ENODEV; in get_clock_desc()
270 static void put_clock_desc(struct posix_clock_desc *cd) in put_clock_desc() argument
272 put_posix_clock(cd->clk); in put_clock_desc()
273 fput(cd->fp); in put_clock_desc()
278 struct posix_clock_desc cd; in pc_clock_adjtime() local
281 err = get_clock_desc(id, &cd); in pc_clock_adjtime()
285 if ((cd.fp->f_mode & FMODE_WRITE) == 0) { in pc_clock_adjtime()
[all …]
Dsched_clock.c85 static struct clock_data cd ____cacheline_aligned = {
103 seq = raw_read_seqcount(&cd.seq); in sched_clock()
104 rd = cd.read_data + (seq & 1); in sched_clock()
109 } while (read_seqcount_retry(&cd.seq, seq)); in sched_clock()
127 cd.read_data[1] = *rd; in update_clock_read_data()
130 raw_write_seqcount_latch(&cd.seq); in update_clock_read_data()
133 cd.read_data[0] = *rd; in update_clock_read_data()
136 raw_write_seqcount_latch(&cd.seq); in update_clock_read_data()
148 rd = cd.read_data[0]; in update_sched_clock()
150 cyc = cd.actual_read_sched_clock(); in update_sched_clock()
[all …]
Dtimeconst.bc74 cd=gcd(hz,1000)
75 print "#define HZ_TO_MSEC_NUM\t\t", 1000/cd, "\n"
76 print "#define HZ_TO_MSEC_DEN\t\t", hz/cd, "\n"
77 print "#define MSEC_TO_HZ_NUM\t\t", hz/cd, "\n"
78 print "#define MSEC_TO_HZ_DEN\t\t", 1000/cd, "\n"
96 cd=gcd(hz,1000000)
97 print "#define HZ_TO_USEC_NUM\t\t", 1000000/cd, "\n"
98 print "#define HZ_TO_USEC_DEN\t\t", hz/cd, "\n"
99 print "#define USEC_TO_HZ_NUM\t\t", hz/cd, "\n"
100 print "#define USEC_TO_HZ_DEN\t\t", 1000000/cd, "\n"
/linux-4.4.14/sound/soc/au1x/
Ddbdma2.c80 static void au1x_pcm_queue_tx(struct au1xpsc_audio_dmadata *cd) in au1x_pcm_queue_tx() argument
82 au1xxx_dbdma_put_source(cd->ddma_chan, cd->dma_area, in au1x_pcm_queue_tx()
83 cd->period_bytes, DDMA_FLAGS_IE); in au1x_pcm_queue_tx()
86 ++cd->q_period; in au1x_pcm_queue_tx()
87 cd->dma_area += cd->period_bytes; in au1x_pcm_queue_tx()
88 if (cd->q_period >= cd->periods) { in au1x_pcm_queue_tx()
89 cd->q_period = 0; in au1x_pcm_queue_tx()
90 cd->dma_area = cd->dma_area_s; in au1x_pcm_queue_tx()
94 static void au1x_pcm_queue_rx(struct au1xpsc_audio_dmadata *cd) in au1x_pcm_queue_rx() argument
96 au1xxx_dbdma_put_dest(cd->ddma_chan, cd->dma_area, in au1x_pcm_queue_rx()
[all …]
/linux-4.4.14/arch/mn10300/kernel/
Dcevt-mn10300.c49 struct clock_event_device *cd; in timer_interrupt() local
57 cd = &per_cpu(mn10300_clockevent_device, cpu); in timer_interrupt()
58 cd->event_handler(cd); in timer_interrupt()
79 struct clock_event_device *cd; in init_clockevents() local
83 cd = &per_cpu(mn10300_clockevent_device, cpu); in init_clockevents()
87 cd->irq = TMJCIRQ; in init_clockevents()
90 cd->irq = TMJC1IRQ; in init_clockevents()
93 cd->name = "Timestamp"; in init_clockevents()
94 cd->features = CLOCK_EVT_FEAT_ONESHOT; in init_clockevents()
97 clockevents_calc_mult_shift(cd, MN10300_JCCLK, 1); in init_clockevents()
[all …]
/linux-4.4.14/arch/arm/mach-omap2/
Dclockdomain.c104 struct clkdm_dep *cd; in _clkdm_deps_lookup() local
109 for (cd = deps; cd->clkdm_name; cd++) { in _clkdm_deps_lookup()
110 if (!cd->clkdm && cd->clkdm_name) in _clkdm_deps_lookup()
111 cd->clkdm = _clkdm_lookup(cd->clkdm_name); in _clkdm_deps_lookup()
113 if (cd->clkdm == clkdm) in _clkdm_deps_lookup()
117 if (!cd->clkdm_name) in _clkdm_deps_lookup()
120 return cd; in _clkdm_deps_lookup()
167 struct clkdm_dep *cd; in _resolve_clkdm_deps() local
169 for (cd = clkdm_deps; cd && cd->clkdm_name; cd++) { in _resolve_clkdm_deps()
170 if (cd->clkdm) in _resolve_clkdm_deps()
[all …]
Dprm2xxx_3xxx.c224 struct clkdm_dep *cd; in omap2_clkdm_clear_all_wkdeps() local
227 for (cd = clkdm->wkdep_srcs; cd && cd->clkdm_name; cd++) { in omap2_clkdm_clear_all_wkdeps()
228 if (!cd->clkdm) in omap2_clkdm_clear_all_wkdeps()
232 mask |= 1 << cd->clkdm->dep_bit; in omap2_clkdm_clear_all_wkdeps()
233 cd->wkdep_usecount = 0; in omap2_clkdm_clear_all_wkdeps()
Dcminst44xx.c390 struct clkdm_dep *cd; in omap4_clkdm_clear_all_wkup_sleep_deps() local
396 for (cd = clkdm->wkdep_srcs; cd && cd->clkdm_name; cd++) { in omap4_clkdm_clear_all_wkup_sleep_deps()
397 if (!cd->clkdm) in omap4_clkdm_clear_all_wkup_sleep_deps()
400 mask |= 1 << cd->clkdm->dep_bit; in omap4_clkdm_clear_all_wkup_sleep_deps()
401 cd->wkdep_usecount = 0; in omap4_clkdm_clear_all_wkup_sleep_deps()
Dcm3xxx.c181 struct clkdm_dep *cd; in omap3xxx_clkdm_clear_all_sleepdeps() local
184 for (cd = clkdm->sleepdep_srcs; cd && cd->clkdm_name; cd++) { in omap3xxx_clkdm_clear_all_sleepdeps()
185 if (!cd->clkdm) in omap3xxx_clkdm_clear_all_sleepdeps()
188 mask |= 1 << cd->clkdm->dep_bit; in omap3xxx_clkdm_clear_all_sleepdeps()
189 cd->sleepdep_usecount = 0; in omap3xxx_clkdm_clear_all_sleepdeps()
/linux-4.4.14/arch/mips/cavium-octeon/
Docteon-irq.c63 struct octeon_ciu_chip_data *cd; in octeon_irq_set_ciu_mapping() local
65 cd = kzalloc(sizeof(*cd), GFP_KERNEL); in octeon_irq_set_ciu_mapping()
66 if (!cd) in octeon_irq_set_ciu_mapping()
71 cd->line = line; in octeon_irq_set_ciu_mapping()
72 cd->bit = bit; in octeon_irq_set_ciu_mapping()
73 cd->gpio_line = gpio_line; in octeon_irq_set_ciu_mapping()
75 irq_set_chip_data(irq, cd); in octeon_irq_set_ciu_mapping()
83 struct octeon_ciu_chip_data *cd = irq_data_get_irq_chip_data(data); in octeon_irq_free_cd() local
86 kfree(cd); in octeon_irq_free_cd()
115 struct octeon_core_chip_data *cd = irq_data_get_irq_chip_data(data); in octeon_irq_core_ack() local
[all …]
/linux-4.4.14/arch/mips/kernel/
Dcevt-sb1250.c69 static int sibyte_next_event(unsigned long delta, struct clock_event_device *cd) in sibyte_next_event() argument
87 struct clock_event_device *cd = dev_id; in sibyte_counter_handler() local
91 if (clockevent_state_periodic(cd)) in sibyte_counter_handler()
100 cd->event_handler(cd); in sibyte_counter_handler()
114 struct clock_event_device *cd = &per_cpu(sibyte_hpt_clockevent, cpu); in sb1250_clockevent_init() local
121 cd->name = name; in sb1250_clockevent_init()
122 cd->features = CLOCK_EVT_FEAT_PERIODIC | in sb1250_clockevent_init()
124 clockevent_set_clock(cd, V_SCD_TIMER_FREQ); in sb1250_clockevent_init()
125 cd->max_delta_ns = clockevent_delta2ns(0x7fffff, cd); in sb1250_clockevent_init()
126 cd->min_delta_ns = clockevent_delta2ns(2, cd); in sb1250_clockevent_init()
[all …]
Dcevt-bcm1480.c70 static int sibyte_next_event(unsigned long delta, struct clock_event_device *cd) in sibyte_next_event() argument
88 struct clock_event_device *cd = dev_id; in sibyte_counter_handler() local
92 if (clockevent_state_periodic(cd)) in sibyte_counter_handler()
101 cd->event_handler(cd); in sibyte_counter_handler()
115 struct clock_event_device *cd = &per_cpu(sibyte_hpt_clockevent, cpu); in sb1480_clockevent_init() local
121 cd->name = name; in sb1480_clockevent_init()
122 cd->features = CLOCK_EVT_FEAT_PERIODIC | in sb1480_clockevent_init()
124 clockevent_set_clock(cd, V_SCD_TIMER_FREQ); in sb1480_clockevent_init()
125 cd->max_delta_ns = clockevent_delta2ns(0x7fffff, cd); in sb1480_clockevent_init()
126 cd->min_delta_ns = clockevent_delta2ns(2, cd); in sb1480_clockevent_init()
[all …]
Dcevt-r4k.c55 struct clock_event_device *cd; in c0_compare_interrupt() local
75 cd = &per_cpu(mips_clockevent_device, cpu); in c0_compare_interrupt()
76 cd->event_handler(cd); in c0_compare_interrupt()
179 struct clock_event_device *cd; in r4k_clockevent_init() local
195 cd = &per_cpu(mips_clockevent_device, cpu); in r4k_clockevent_init()
197 cd->name = "MIPS"; in r4k_clockevent_init()
198 cd->features = CLOCK_EVT_FEAT_ONESHOT | in r4k_clockevent_init()
202 clockevent_set_clock(cd, mips_hpt_frequency); in r4k_clockevent_init()
205 cd->max_delta_ns = clockevent_delta2ns(0x7fffffff, cd); in r4k_clockevent_init()
206 cd->min_delta_ns = clockevent_delta2ns(0x300, cd); in r4k_clockevent_init()
[all …]
Dcevt-ds1287.c106 struct clock_event_device *cd = &ds1287_clockevent; in ds1287_interrupt() local
111 cd->event_handler(cd); in ds1287_interrupt()
124 struct clock_event_device *cd; in ds1287_clockevent_init() local
126 cd = &ds1287_clockevent; in ds1287_clockevent_init()
127 cd->rating = 100; in ds1287_clockevent_init()
128 cd->irq = irq; in ds1287_clockevent_init()
129 clockevent_set_clock(cd, 32768); in ds1287_clockevent_init()
130 cd->max_delta_ns = clockevent_delta2ns(0x7fffffff, cd); in ds1287_clockevent_init()
131 cd->min_delta_ns = clockevent_delta2ns(0x300, cd); in ds1287_clockevent_init()
132 cd->cpumask = cpumask_of(0); in ds1287_clockevent_init()
Dcevt-txx9.c76 struct clock_event_device cd; member
91 container_of(evt, struct txx9_clock_event_device, cd); in txx9tmr_set_state_periodic()
107 container_of(evt, struct txx9_clock_event_device, cd); in txx9tmr_set_state_oneshot()
118 container_of(evt, struct txx9_clock_event_device, cd); in txx9tmr_set_state_shutdown()
129 container_of(evt, struct txx9_clock_event_device, cd); in txx9tmr_tick_resume()
142 container_of(evt, struct txx9_clock_event_device, cd); in txx9tmr_set_next_event()
153 .cd = {
169 struct clock_event_device *cd = &txx9_cd->cd; in txx9tmr_interrupt() local
173 cd->event_handler(cd); in txx9tmr_interrupt()
187 struct clock_event_device *cd = &txx9_clock_event_device.cd; in txx9_clockevent_init() local
[all …]
Dcevt-gt641xx.c129 struct clock_event_device *cd = &gt641xx_timer0_clockevent; in gt641xx_timer0_interrupt() local
131 cd->event_handler(cd); in gt641xx_timer0_interrupt()
144 struct clock_event_device *cd; in gt641xx_timer0_clockevent_init() local
151 cd = &gt641xx_timer0_clockevent; in gt641xx_timer0_clockevent_init()
152 cd->rating = 200 + gt641xx_base_clock / 10000000; in gt641xx_timer0_clockevent_init()
153 clockevent_set_clock(cd, gt641xx_base_clock); in gt641xx_timer0_clockevent_init()
154 cd->max_delta_ns = clockevent_delta2ns(0x7fffffff, cd); in gt641xx_timer0_clockevent_init()
155 cd->min_delta_ns = clockevent_delta2ns(0x300, cd); in gt641xx_timer0_clockevent_init()
156 cd->cpumask = cpumask_of(0); in gt641xx_timer0_clockevent_init()
Dvpe-cmp.c40 static ssize_t ntcs_show(struct device *cd, struct device_attribute *attr, in ntcs_show() argument
76 static void vpe_device_release(struct device *cd) in vpe_device_release() argument
78 kfree(cd); in vpe_device_release()
Dvpe-mt.c279 static ssize_t ntcs_show(struct device *cd, struct device_attribute *attr, in ntcs_show() argument
314 static void vpe_device_release(struct device *cd) in vpe_device_release() argument
316 kfree(cd); in vpe_device_release()
/linux-4.4.14/drivers/net/wireless/ath/
Ddfs_pattern_detector.c168 struct channel_detector *cd) in channel_detector_reset() argument
171 if (cd == NULL) in channel_detector_reset()
174 cd->detectors[i]->reset(cd->detectors[i], dpd->last_pulse_ts); in channel_detector_reset()
179 struct channel_detector *cd) in channel_detector_exit() argument
182 if (cd == NULL) in channel_detector_exit()
184 list_del(&cd->head); in channel_detector_exit()
186 struct pri_detector *de = cd->detectors[i]; in channel_detector_exit()
190 kfree(cd->detectors); in channel_detector_exit()
191 kfree(cd); in channel_detector_exit()
198 struct channel_detector *cd; in channel_detector_create() local
[all …]
/linux-4.4.14/fs/
Dchar_dev.c50 struct char_device_struct *cd; in chrdev_show() local
54 for (cd = chrdevs[offset]; cd; cd = cd->next) in chrdev_show()
55 seq_printf(f, "%3d %s\n", cd->major, cd->name); in chrdev_show()
77 struct char_device_struct *cd, **cp; in __register_chrdev_region() local
81 cd = kzalloc(sizeof(struct char_device_struct), GFP_KERNEL); in __register_chrdev_region()
82 if (cd == NULL) in __register_chrdev_region()
101 cd->major = major; in __register_chrdev_region()
102 cd->baseminor = baseminor; in __register_chrdev_region()
103 cd->minorct = minorct; in __register_chrdev_region()
104 strlcpy(cd->name, name, sizeof(cd->name)); in __register_chrdev_region()
[all …]
/linux-4.4.14/arch/mips/loongson64/loongson-3/
Dhpet.c175 struct clock_event_device *cd; in hpet_irq_handler() local
182 cd = &per_cpu(hpet_clockevent_device, cpu); in hpet_irq_handler()
183 cd->event_handler(cd); in hpet_irq_handler()
227 struct clock_event_device *cd; in setup_hpet_timer() local
231 cd = &per_cpu(hpet_clockevent_device, cpu); in setup_hpet_timer()
232 cd->name = "hpet"; in setup_hpet_timer()
233 cd->rating = 320; in setup_hpet_timer()
234 cd->features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT; in setup_hpet_timer()
235 cd->set_state_shutdown = hpet_set_state_shutdown; in setup_hpet_timer()
236 cd->set_state_periodic = hpet_set_state_periodic; in setup_hpet_timer()
[all …]
/linux-4.4.14/drivers/dca/
Ddca-sysfs.c38 struct device *cd; in dca_sysfs_add_req() local
41 cd = device_create(dca_class, dca->cd, MKDEV(0, slot + 1), NULL, in dca_sysfs_add_req()
43 if (IS_ERR(cd)) in dca_sysfs_add_req()
44 return PTR_ERR(cd); in dca_sysfs_add_req()
55 struct device *cd; in dca_sysfs_add_provider() local
70 cd = device_create(dca_class, dev, MKDEV(0, 0), NULL, "dca%d", dca->id); in dca_sysfs_add_provider()
71 if (IS_ERR(cd)) { in dca_sysfs_add_provider()
75 return PTR_ERR(cd); in dca_sysfs_add_provider()
77 dca->cd = cd; in dca_sysfs_add_provider()
83 device_unregister(dca->cd); in dca_sysfs_remove_provider()
[all …]
/linux-4.4.14/fs/nfs/
Dcache_lib.c34 int nfs_cache_upcall(struct cache_detail *cd, char *entry_name) in nfs_cache_upcall() argument
43 cd->name, in nfs_cache_upcall()
115 int nfs_cache_register_sb(struct super_block *sb, struct cache_detail *cd) in nfs_cache_register_sb() argument
121 ret = sunrpc_cache_register_pipefs(dir, cd->name, 0600, cd); in nfs_cache_register_sb()
126 int nfs_cache_register_net(struct net *net, struct cache_detail *cd) in nfs_cache_register_net() argument
131 sunrpc_init_cache_detail(cd); in nfs_cache_register_net()
134 ret = nfs_cache_register_sb(pipefs_sb, cd); in nfs_cache_register_net()
137 sunrpc_destroy_cache_detail(cd); in nfs_cache_register_net()
142 void nfs_cache_unregister_sb(struct super_block *sb, struct cache_detail *cd) in nfs_cache_unregister_sb() argument
144 if (cd->u.pipefs.dir) in nfs_cache_unregister_sb()
[all …]
Ddns_resolve.c130 static void nfs_dns_request(struct cache_detail *cd, in nfs_dns_request() argument
140 static int nfs_dns_upcall(struct cache_detail *cd, in nfs_dns_upcall() argument
146 ret = nfs_cache_upcall(cd, key->hostname); in nfs_dns_upcall()
148 ret = sunrpc_cache_pipe_upcall(cd, ch); in nfs_dns_upcall()
166 static int nfs_dns_show(struct seq_file *m, struct cache_detail *cd, in nfs_dns_show() argument
192 static struct nfs_dns_ent *nfs_dns_lookup(struct cache_detail *cd, in nfs_dns_lookup() argument
197 ch = sunrpc_cache_lookup(cd, in nfs_dns_lookup()
205 static struct nfs_dns_ent *nfs_dns_update(struct cache_detail *cd, in nfs_dns_update() argument
211 ch = sunrpc_cache_update(cd, in nfs_dns_update()
219 static int nfs_dns_parse(struct cache_detail *cd, char *buf, int buflen) in nfs_dns_parse() argument
[all …]
Dcache_lib.h21 extern int nfs_cache_upcall(struct cache_detail *cd, char *entry_name);
26 extern int nfs_cache_register_net(struct net *net, struct cache_detail *cd);
27 extern void nfs_cache_unregister_net(struct net *net, struct cache_detail *cd);
29 struct cache_detail *cd);
31 struct cache_detail *cd);
/linux-4.4.14/arch/mips/paravirt/
Dparavirt-irq.c38 struct core_chip_data *cd = irq_data_get_irq_chip_data(data); in irq_core_ack() local
39 unsigned int bit = cd->bit; in irq_core_ack()
54 struct core_chip_data *cd = irq_data_get_irq_chip_data(data); in irq_core_eoi() local
61 set_c0_status(0x100 << cd->bit); in irq_core_eoi()
67 struct core_chip_data *cd = irq_data_get_irq_chip_data(data); in irq_core_set_enable_local() local
68 unsigned int mask = 0x100 << cd->bit; in irq_core_set_enable_local()
73 if (cd->desired_en) in irq_core_set_enable_local()
82 struct core_chip_data *cd = irq_data_get_irq_chip_data(data); in irq_core_disable() local
83 cd->desired_en = false; in irq_core_disable()
88 struct core_chip_data *cd = irq_data_get_irq_chip_data(data); in irq_core_enable() local
[all …]
/linux-4.4.14/arch/mips/alchemy/common/
Dtime.c61 struct clock_event_device *cd) in au1x_rtcmatch2_set_next_event() argument
74 struct clock_event_device *cd = dev_id; in au1x_rtcmatch2_irq() local
75 cd->event_handler(cd); in au1x_rtcmatch2_irq()
96 struct clock_event_device *cd = &au1x_rtcmatch2_clockdev; in alchemy_time_init() local
138 cd->shift = 32; in alchemy_time_init()
139 cd->mult = div_sc(32768, NSEC_PER_SEC, cd->shift); in alchemy_time_init()
140 cd->max_delta_ns = clockevent_delta2ns(0xffffffff, cd); in alchemy_time_init()
141 cd->min_delta_ns = clockevent_delta2ns(9, cd); /* ~0.28ms */ in alchemy_time_init()
142 clockevents_register_device(cd); in alchemy_time_init()
/linux-4.4.14/arch/mips/sgi-ip27/
Dip27-timer.c75 struct clock_event_device *cd = &per_cpu(hub_rt_clockevent, cpu); in hub_rt_counter_handler() local
82 cd->event_handler(cd); in hub_rt_counter_handler()
107 struct clock_event_device *cd = &per_cpu(hub_rt_clockevent, cpu); in hub_rt_clock_event_init() local
112 cd->name = name; in hub_rt_clock_event_init()
113 cd->features = CLOCK_EVT_FEAT_ONESHOT; in hub_rt_clock_event_init()
114 clockevent_set_clock(cd, CYCLES_PER_SEC); in hub_rt_clock_event_init()
115 cd->max_delta_ns = clockevent_delta2ns(0xfffffffffffff, cd); in hub_rt_clock_event_init()
116 cd->min_delta_ns = clockevent_delta2ns(0x300, cd); in hub_rt_clock_event_init()
117 cd->rating = 200; in hub_rt_clock_event_init()
118 cd->irq = irq; in hub_rt_clock_event_init()
[all …]
/linux-4.4.14/arch/mips/loongson32/common/
Dtime.c121 struct clock_event_device *cd = devid; in ls1x_clockevent_isr() local
124 cd->event_handler(cd); in ls1x_clockevent_isr()
129 static int ls1x_clockevent_set_state_periodic(struct clock_event_device *cd) in ls1x_clockevent_set_state_periodic() argument
140 static int ls1x_clockevent_tick_resume(struct clock_event_device *cd) in ls1x_clockevent_tick_resume() argument
149 static int ls1x_clockevent_set_state_shutdown(struct clock_event_device *cd) in ls1x_clockevent_set_state_shutdown() argument
160 struct clock_event_device *cd) in ls1x_clockevent_set_next() argument
191 struct clock_event_device *cd = &ls1x_clockevent; in ls1x_time_init() local
199 clockevent_set_clock(cd, mips_hpt_frequency); in ls1x_time_init()
200 cd->max_delta_ns = clockevent_delta2ns(0xffffff, cd); in ls1x_time_init()
201 cd->min_delta_ns = clockevent_delta2ns(0x000300, cd); in ls1x_time_init()
[all …]
/linux-4.4.14/arch/c6x/platforms/
Dtimer64.c164 struct clock_event_device *cd = &t64_clockevent_device; in timer_interrupt() local
166 cd->event_handler(cd); in timer_interrupt()
180 struct clock_event_device *cd = &t64_clockevent_device; in timer64_init() local
212 cd->irq = irq_of_parse_and_map(np, 0); in timer64_init()
213 if (cd->irq == NO_IRQ) { in timer64_init()
232 pr_debug("%s: Timer irq=%d.\n", np->full_name, cd->irq); in timer64_init()
234 clockevents_calc_mult_shift(cd, c6x_core_freq / TIMER_DIVISOR, 5); in timer64_init()
236 cd->max_delta_ns = clockevent_delta2ns(0x7fffffff, cd); in timer64_init()
237 cd->min_delta_ns = clockevent_delta2ns(250, cd); in timer64_init()
239 cd->cpumask = cpumask_of(smp_processor_id()); in timer64_init()
[all …]
/linux-4.4.14/drivers/clocksource/
Dmips-gic-timer.c38 struct clock_event_device *cd = dev_id; in gic_compare_interrupt() local
41 cd->event_handler(cd); in gic_compare_interrupt()
52 static void gic_clockevent_cpu_init(struct clock_event_device *cd) in gic_clockevent_cpu_init() argument
56 cd->name = "MIPS GIC"; in gic_clockevent_cpu_init()
57 cd->features = CLOCK_EVT_FEAT_ONESHOT | in gic_clockevent_cpu_init()
60 cd->rating = 350; in gic_clockevent_cpu_init()
61 cd->irq = gic_timer_irq; in gic_clockevent_cpu_init()
62 cd->cpumask = cpumask_of(cpu); in gic_clockevent_cpu_init()
63 cd->set_next_event = gic_next_event; in gic_clockevent_cpu_init()
65 clockevents_config_and_register(cd, gic_frequency, 0x300, 0x7fffffff); in gic_clockevent_cpu_init()
[all …]
/linux-4.4.14/drivers/zorro/
Dzorro-sysfs.c70 struct ConfigDev cd; in zorro_read_config() local
73 memset(&cd, 0, sizeof(cd)); in zorro_read_config()
74 cd.cd_Rom = z->rom; in zorro_read_config()
75 cd.cd_SlotAddr = cpu_to_be16(z->slotaddr); in zorro_read_config()
76 cd.cd_SlotSize = cpu_to_be16(z->slotsize); in zorro_read_config()
77 cd.cd_BoardAddr = cpu_to_be32(zorro_resource_start(z)); in zorro_read_config()
78 cd.cd_BoardSize = cpu_to_be32(zorro_resource_len(z)); in zorro_read_config()
80 return memory_read_from_buffer(buf, count, &off, &cd, sizeof(cd)); in zorro_read_config()
Dproc.c33 struct ConfigDev cd; in proc_bus_zorro_read() local
44 memset(&cd, 0, sizeof(cd)); in proc_bus_zorro_read()
45 cd.cd_Rom = z->rom; in proc_bus_zorro_read()
46 cd.cd_SlotAddr = cpu_to_be16(z->slotaddr); in proc_bus_zorro_read()
47 cd.cd_SlotSize = cpu_to_be16(z->slotsize); in proc_bus_zorro_read()
48 cd.cd_BoardAddr = cpu_to_be32(zorro_resource_start(z)); in proc_bus_zorro_read()
49 cd.cd_BoardSize = cpu_to_be32(zorro_resource_len(z)); in proc_bus_zorro_read()
51 if (copy_to_user(buf, (void *)&cd + pos, nbytes)) in proc_bus_zorro_read()
/linux-4.4.14/arch/arm/mach-spear/
Dpl080.c30 int pl080_get_signal(const struct pl08x_channel_data *cd) in pl080_get_signal() argument
32 unsigned int signal = cd->min_signal, val; in pl080_get_signal()
39 (signals[signal].val != cd->muxval)) { in pl080_get_signal()
54 val |= cd->muxval << (signal * 2); in pl080_get_signal()
59 signals[signal].val = cd->muxval; in pl080_get_signal()
65 void pl080_put_signal(const struct pl08x_channel_data *cd, int signal) in pl080_put_signal() argument
Dpl080.h18 int pl080_get_signal(const struct pl08x_channel_data *cd);
19 void pl080_put_signal(const struct pl08x_channel_data *cd, int signal);
/linux-4.4.14/include/linux/sunrpc/
Dcache.h89 void (*cache_request)(struct cache_detail *cd,
97 struct cache_detail *cd,
99 void (*warn_no_listener)(struct cache_detail *cd,
201 static inline void cache_put(struct cache_head *h, struct cache_detail *cd) in cache_put() argument
204 h->expiry_time < cd->nextcheck) in cache_put()
205 cd->nextcheck = h->expiry_time; in cache_put()
206 kref_put(&h->ref, cd->cache_put); in cache_put()
221 extern int cache_register_net(struct cache_detail *cd, struct net *net);
222 extern void cache_unregister_net(struct cache_detail *cd, struct net *net);
225 extern void cache_destroy_net(struct cache_detail *cd, struct net *net);
[all …]
/linux-4.4.14/arch/mips/loongson64/common/cs5536/
Dcs5536_mfgpt.c120 struct clock_event_device *cd = &mfgpt_clockevent; in setup_mfgpt0_timer() local
123 cd->cpumask = cpumask_of(cpu); in setup_mfgpt0_timer()
124 clockevent_set_clock(cd, MFGPT_TICK_RATE); in setup_mfgpt0_timer()
125 cd->max_delta_ns = clockevent_delta2ns(0xffff, cd); in setup_mfgpt0_timer()
126 cd->min_delta_ns = clockevent_delta2ns(0xf, cd); in setup_mfgpt0_timer()
137 clockevents_register_device(cd); in setup_mfgpt0_timer()
/linux-4.4.14/fs/nfsd/
Dnfs3xdr.c793 encode_entry_baggage(struct nfsd3_readdirres *cd, __be32 *p, const char *name, in encode_entry_baggage() argument
800 cd->offset = p; /* remember pointer */ in encode_entry_baggage()
807 compose_entry_fh(struct nfsd3_readdirres *cd, struct svc_fh *fhp, in compose_entry_fh() argument
814 dparent = cd->fh.fh_dentry; in compose_entry_fh()
815 exp = cd->fh.fh_export; in compose_entry_fh()
835 rv = fh_compose(fhp, exp, dchild, &cd->fh); in compose_entry_fh()
841 static __be32 *encode_entryplus_baggage(struct nfsd3_readdirres *cd, __be32 *p, const char *name, i… in encode_entryplus_baggage() argument
843 struct svc_fh *fh = &cd->scratch; in encode_entryplus_baggage()
847 err = compose_entry_fh(cd, fh, name, namlen, ino); in encode_entryplus_baggage()
853 p = encode_post_op_attr(cd->rqstp, p, fh); in encode_entryplus_baggage()
[all …]
Dexport.c51 static void expkey_request(struct cache_detail *cd, in expkey_request() argument
66 static struct svc_expkey *svc_expkey_update(struct cache_detail *cd, struct svc_expkey *new,
68 static struct svc_expkey *svc_expkey_lookup(struct cache_detail *cd, struct svc_expkey *);
70 static int expkey_parse(struct cache_detail *cd, char *mesg, int mlen) in expkey_parse() argument
126 ek = svc_expkey_lookup(cd, &key); in expkey_parse()
140 ek = svc_expkey_update(cd, &key, ek); in expkey_parse()
150 ek = svc_expkey_update(cd, &key, ek); in expkey_parse()
158 cache_put(&ek->h, cd); in expkey_parse()
166 struct cache_detail *cd, in expkey_show() argument
262 svc_expkey_lookup(struct cache_detail *cd, struct svc_expkey *item) in svc_expkey_lookup() argument
[all …]
Dnfs4idmap.c125 idtoname_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, in idtoname_request() argument
150 idtoname_show(struct seq_file *m, struct cache_detail *cd, struct cache_head *h) in idtoname_show() argument
197 idtoname_parse(struct cache_detail *cd, char *buf, int buflen) in idtoname_parse() argument
239 res = idtoname_lookup(cd, &ent); in idtoname_parse()
253 res = idtoname_update(cd, &ent, res); in idtoname_parse()
257 cache_put(&res->h, cd); in idtoname_parse()
265 idtoname_lookup(struct cache_detail *cd, struct ent *item) in idtoname_lookup() argument
267 struct cache_head *ch = sunrpc_cache_lookup(cd, &item->h, in idtoname_lookup()
276 idtoname_update(struct cache_detail *cd, struct ent *new, struct ent *old) in idtoname_update() argument
278 struct cache_head *ch = sunrpc_cache_update(cd, &new->h, &old->h, in idtoname_update()
[all …]
Dnfsxdr.c501 struct nfsd_readdirres *cd = container_of(ccd, struct nfsd_readdirres, common); in nfssvc_encode_entry() local
502 __be32 *p = cd->buffer; in nfssvc_encode_entry()
511 cd->common.err = nfserr_fbig; in nfssvc_encode_entry()
514 if (cd->offset) in nfssvc_encode_entry()
515 *cd->offset = htonl(offset); in nfssvc_encode_entry()
521 if ((buflen = cd->buflen - slen - 4) < 0) { in nfssvc_encode_entry()
522 cd->common.err = nfserr_toosmall; in nfssvc_encode_entry()
526 cd->common.err = nfserr_fbig; in nfssvc_encode_entry()
532 cd->offset = p; /* remember pointer */ in nfssvc_encode_entry()
535 cd->buflen = buflen; in nfssvc_encode_entry()
[all …]
Dexport.h62 struct cache_detail *cd; member
104 cache_put(&exp->h, exp->cd); in exp_put()
Dnfs4xdr.c2836 nfsd4_encode_dirent_fattr(struct xdr_stream *xdr, struct nfsd4_readdir *cd, in nfsd4_encode_dirent_fattr() argument
2839 struct svc_export *exp = cd->rd_fhp->fh_export; in nfsd4_encode_dirent_fattr()
2844 dentry = lookup_one_len(name, cd->rd_fhp->fh_dentry, namlen); in nfsd4_encode_dirent_fattr()
2869 && !attributes_need_mount(cd->rd_bmval)) { in nfsd4_encode_dirent_fattr()
2878 err = nfsd_cross_mnt(cd->rd_rqstp, &dentry, &exp); in nfsd4_encode_dirent_fattr()
2883 nfserr = check_nfsd_access(exp, cd->rd_rqstp); in nfsd4_encode_dirent_fattr()
2889 nfserr = nfsd4_encode_fattr(xdr, NULL, exp, dentry, cd->rd_bmval, in nfsd4_encode_dirent_fattr()
2890 cd->rd_rqstp, ignore_crossmnt); in nfsd4_encode_dirent_fattr()
2919 struct nfsd4_readdir *cd = container_of(ccd, struct nfsd4_readdir, common); in nfsd4_encode_dirent() local
2920 struct xdr_stream *xdr = cd->xdr; in nfsd4_encode_dirent()
[all …]
/linux-4.4.14/arch/mips/jazz/
Dirq.c122 struct clock_event_device *cd = dev_id; in r4030_timer_interrupt() local
124 cd->event_handler(cd); in r4030_timer_interrupt()
136 struct clock_event_device *cd = &r4030_clockevent; in plat_time_init() local
142 cd->cpumask = cpumask_of(cpu); in plat_time_init()
143 clockevents_register_device(cd); in plat_time_init()
144 action->dev_id = cd; in plat_time_init()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dllog_cat.c175 struct llog_process_cat_data cd; in llog_cat_process_cb() local
177 cd.lpcd_first_idx = d->lpd_startidx; in llog_cat_process_cb()
178 cd.lpcd_last_idx = 0; in llog_cat_process_cb()
180 &cd, false); in llog_cat_process_cb()
209 struct llog_process_cat_data cd; in llog_cat_process_or_fork() local
214 cd.lpcd_first_idx = llh->llh_cat_idx; in llog_cat_process_or_fork()
215 cd.lpcd_last_idx = 0; in llog_cat_process_or_fork()
217 &d, &cd, fork); in llog_cat_process_or_fork()
221 cd.lpcd_first_idx = 0; in llog_cat_process_or_fork()
222 cd.lpcd_last_idx = cat_llh->lgh_last_idx; in llog_cat_process_or_fork()
[all …]
Dllog.c215 struct llog_process_cat_data *cd = lpi->lpi_catdata; in llog_process_thread() local
231 if (cd != NULL) { in llog_process_thread()
232 last_called_index = cd->lpcd_first_idx; in llog_process_thread()
233 index = cd->lpcd_first_idx + 1; in llog_process_thread()
235 if (cd != NULL && cd->lpcd_last_idx) in llog_process_thread()
236 last_index = cd->lpcd_last_idx; in llog_process_thread()
331 if (cd != NULL) in llog_process_thread()
332 cd->lpcd_last_idx = last_called_index; in llog_process_thread()
Dobd_config.c1255 struct llog_process_cat_data cd = {0, 0}; in class_config_parse_llog() local
1271 cd.lpcd_first_idx = cfg->cfg_last_idx; in class_config_parse_llog()
1278 cd.lpcd_last_idx = 0; in class_config_parse_llog()
1280 rc = llog_process(env, llh, callback, cfg, &cd); in class_config_parse_llog()
1283 cd.lpcd_first_idx + 1, cd.lpcd_last_idx, rc); in class_config_parse_llog()
1285 cfg->cfg_last_idx = cd.lpcd_last_idx; in class_config_parse_llog()
/linux-4.4.14/arch/mips/sni/
Dtime.c48 struct clock_event_device *cd = dev_id; in a20r_interrupt() local
53 cd->event_handler(cd); in a20r_interrupt()
70 struct clock_event_device *cd = &a20r_clockevent_device; in sni_a20r_timer_setup() local
74 cd->cpumask = cpumask_of(cpu); in sni_a20r_timer_setup()
75 clockevents_register_device(cd); in sni_a20r_timer_setup()
76 action->dev_id = cd; in sni_a20r_timer_setup()
/linux-4.4.14/lib/
Dearlycpio.c71 struct cpio_data cd = { NULL, 0, "" }; in find_cpio_data() local
134 strlcpy(cd.name, p + mypathsize, MAX_CPIO_FILE_NAME); in find_cpio_data()
136 cd.data = (void *)dptr; in find_cpio_data()
137 cd.size = ch[C_FILESIZE]; in find_cpio_data()
138 return cd; /* Found it! */ in find_cpio_data()
145 return cd; in find_cpio_data()
/linux-4.4.14/drivers/net/ethernet/renesas/
Dsh_eth.c875 static void sh_eth_set_default_cpu_data(struct sh_eth_cpu_data *cd) in sh_eth_set_default_cpu_data() argument
877 if (!cd->ecsr_value) in sh_eth_set_default_cpu_data()
878 cd->ecsr_value = DEFAULT_ECSR_INIT; in sh_eth_set_default_cpu_data()
880 if (!cd->ecsipr_value) in sh_eth_set_default_cpu_data()
881 cd->ecsipr_value = DEFAULT_ECSIPR_INIT; in sh_eth_set_default_cpu_data()
883 if (!cd->fcftr_value) in sh_eth_set_default_cpu_data()
884 cd->fcftr_value = DEFAULT_FIFO_F_D_RFF | in sh_eth_set_default_cpu_data()
887 if (!cd->fdr_value) in sh_eth_set_default_cpu_data()
888 cd->fdr_value = DEFAULT_FDR_INIT; in sh_eth_set_default_cpu_data()
890 if (!cd->tx_check) in sh_eth_set_default_cpu_data()
[all …]
/linux-4.4.14/drivers/s390/cio/
Dchsc_sch.c463 struct chsc_chp_cd *cd; in chsc_ioctl_info_channel_path() local
484 cd = kzalloc(sizeof(*cd), GFP_KERNEL); in chsc_ioctl_info_channel_path()
485 if (!cd) { in chsc_ioctl_info_channel_path()
489 if (copy_from_user(cd, user_cd, sizeof(*cd))) { in chsc_ioctl_info_channel_path()
495 scpcd_area->m = cd->m; in chsc_ioctl_info_channel_path()
496 scpcd_area->fmt1 = cd->fmt; in chsc_ioctl_info_channel_path()
497 scpcd_area->cssid = cd->chpid.cssid; in chsc_ioctl_info_channel_path()
498 scpcd_area->first_chpid = cd->chpid.id; in chsc_ioctl_info_channel_path()
499 scpcd_area->last_chpid = cd->chpid.id; in chsc_ioctl_info_channel_path()
512 memcpy(&cd->cpcb, &scpcd_area->response, scpcd_area->response.length); in chsc_ioctl_info_channel_path()
[all …]
Dfcx.c295 void *cd, u8 cd_count, u32 count) in tccb_add_dcw() argument
314 if (cd) in tccb_add_dcw()
315 memcpy(&dcw->cd[0], cd, cd_count); in tccb_add_dcw()
Ditcw.c292 struct dcw *itcw_add_dcw(struct itcw *itcw, u8 cmd, u8 flags, void *cd, in itcw_add_dcw() argument
296 flags, cd, cd_count, count); in itcw_add_dcw()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_qsfp.c500 struct qib_qsfp_cache cd; in qib_qsfp_dump() local
507 ret = qib_refresh_qsfp_cache(ppd, &cd); in qib_qsfp_dump()
513 if (QSFP_IS_CU(cd.tech)) in qib_qsfp_dump()
514 sprintf(lenstr, "%dM ", cd.len); in qib_qsfp_dump()
517 (QSFP_PWR(cd.pwr) * 4)); in qib_qsfp_dump()
520 qib_qsfp_devtech[cd.tech >> 4]); in qib_qsfp_dump()
523 QSFP_VEND_LEN, cd.vendor); in qib_qsfp_dump()
526 QSFP_OUI(cd.oui)); in qib_qsfp_dump()
529 QSFP_PN_LEN, cd.partnum); in qib_qsfp_dump()
531 QSFP_REV_LEN, cd.rev); in qib_qsfp_dump()
[all …]
/linux-4.4.14/net/sunrpc/auth_gss/
Dsvcauth_gss.c81 static struct rsi *rsi_update(struct cache_detail *cd, struct rsi *new, struct rsi *old);
82 static struct rsi *rsi_lookup(struct cache_detail *cd, struct rsi *item);
174 static void rsi_request(struct cache_detail *cd, in rsi_request() argument
185 static int rsi_parse(struct cache_detail *cd, in rsi_parse() argument
214 rsip = rsi_lookup(cd, &rsii); in rsi_parse()
256 rsip = rsi_update(cd, &rsii, rsip); in rsi_parse()
261 cache_put(&rsip->h, cd); in rsi_parse()
280 static struct rsi *rsi_lookup(struct cache_detail *cd, struct rsi *item) in rsi_lookup() argument
285 ch = sunrpc_cache_lookup(cd, &item->h, hash); in rsi_lookup()
292 static struct rsi *rsi_update(struct cache_detail *cd, struct rsi *new, struct rsi *old) in rsi_update() argument
[all …]
/linux-4.4.14/drivers/hwtracing/coresight/
Dcoresight.c241 struct coresight_device *cd; in coresight_enable_path() local
248 list_for_each_entry(cd, path, path_link) { in coresight_enable_path()
249 if (cd == list_first_entry(path, struct coresight_device, in coresight_enable_path()
251 ret = coresight_enable_sink(cd); in coresight_enable_path()
252 } else if (list_is_last(&cd->path_link, path)) { in coresight_enable_path()
260 ret = coresight_enable_link(cd); in coresight_enable_path()
268 list_for_each_entry_continue_reverse(cd, path, path_link) { in coresight_enable_path()
269 if (cd == list_first_entry(path, struct coresight_device, in coresight_enable_path()
271 coresight_disable_sink(cd); in coresight_enable_path()
272 } else if (list_is_last(&cd->path_link, path)) { in coresight_enable_path()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/mmc/
Datmel-hsmci.txt43 - cd-gpios: specify GPIOs for card detection
44 - cd-inverted: invert the value of external card detect gpio line
52 cd-gpios = <&pioD 15 0>
53 cd-inverted;
66 cd-gpios = <&pioD 15 0>
67 cd-inverted;
Dsunxi-mmc.txt20 - for cd, bus-width and additional generic mmc parameters
40 cd-gpios = <&pio 7 1 0>; /* PH1 */
41 cd-inverted;
Dsdhci-spear.txt10 - cd-gpios: card detect gpio, with zero flags.
17 cd-gpios = <&gpio0 6 0>;
Dsdhci-sirf.txt10 - cd-gpios: card detect gpio, with zero flags.
17 cd-gpios = <&gpio 6 0>;
Dmmc.txt12 - broken-cd: There is no card detection available; polling must be used.
13 - cd-gpios: Specify GPIOs for card detection, see gpio binding
20 - cd-inverted: when present, polarity on the CD line is inverted. See the note
55 lines as "active low." Therefore, using the "cd-inverted" property means, that
60 specified in cd-gpios and wp-gpios properties, or as dedicated pins. Polarity of
117 cd-gpios = <&gpio 69 0>;
118 cd-inverted;
Dk3-dw-mshc.txt45 cd-gpios = <&gpio10 3 0>;
66 cd-gpios = <&gpio1 0 1>;
Dfsl-imx-mmc.txt22 cd-gpios = <&gpio3 29>;
Dpxa-mmc.txt22 cd-gpios = <&gpio 23 0>;
Dsynopsys-dw-mshc.txt73 * broken-cd: as documented in mmc core bindings.
110 broken-cd;
125 broken-cd;
/linux-4.4.14/net/dsa/
Ddsa.c182 struct dsa_chip_data *cd = ds->pd; in dsa_cpu_dsa_setup() local
191 port_dn = cd->port_dn[port]; in dsa_cpu_dsa_setup()
423 struct dsa_chip_data *cd = ds->pd; in dsa_switch_destroy() local
436 port_dn = cd->port_dn[port]; in dsa_switch_destroy()
593 struct dsa_chip_data *cd, in dsa_of_setup_routing_table() argument
620 if (!cd->rtable) { in dsa_of_setup_routing_table()
621 cd->rtable = kmalloc_array(pd->nr_chips, sizeof(s8), in dsa_of_setup_routing_table()
623 if (!cd->rtable) in dsa_of_setup_routing_table()
627 memset(cd->rtable, -1, pd->nr_chips * sizeof(s8)); in dsa_of_setup_routing_table()
630 cd->rtable[link_sw_addr] = port_index; in dsa_of_setup_routing_table()
[all …]
/linux-4.4.14/arch/mips/jz4740/
Dtime.c57 struct clock_event_device *cd = devid; in jz4740_clockevent_irq() local
61 if (!clockevent_state_periodic(cd)) in jz4740_clockevent_irq()
64 cd->event_handler(cd); in jz4740_clockevent_irq()
95 struct clock_event_device *cd) in jz4740_clockevent_set_next() argument
/linux-4.4.14/drivers/usb/gadget/function/
Df_uvc.c762 struct uvc_camera_terminal_descriptor *cd; in uvc_alloc_inst() local
774 cd = &opts->uvc_camera_terminal; in uvc_alloc_inst()
775 cd->bLength = UVC_DT_CAMERA_TERMINAL_SIZE(3); in uvc_alloc_inst()
776 cd->bDescriptorType = USB_DT_CS_INTERFACE; in uvc_alloc_inst()
777 cd->bDescriptorSubType = UVC_VC_INPUT_TERMINAL; in uvc_alloc_inst()
778 cd->bTerminalID = 1; in uvc_alloc_inst()
779 cd->wTerminalType = cpu_to_le16(0x0201); in uvc_alloc_inst()
780 cd->bAssocTerminal = 0; in uvc_alloc_inst()
781 cd->iTerminal = 0; in uvc_alloc_inst()
782 cd->wObjectiveFocalLengthMin = cpu_to_le16(0); in uvc_alloc_inst()
[all …]
Duvc_configfs.c309 struct uvc_camera_terminal_descriptor *cd; \
317 cd = &opts->uvc_camera_terminal; \
320 result = sprintf(page, "%d\n", conv(cd->aname)); \
354 struct uvc_camera_terminal_descriptor *cd; in uvcg_default_camera_bm_controls_show() local
363 cd = &opts->uvc_camera_terminal; in uvcg_default_camera_bm_controls_show()
366 for (result = 0, i = 0; i < cd->bControlSize; ++i) { in uvcg_default_camera_bm_controls_show()
367 result += sprintf(pg, "%d\n", cd->bmControls[i]); in uvcg_default_camera_bm_controls_show()
431 struct uvc_output_terminal_descriptor *cd; \
439 cd = &opts->uvc_output_terminal; \
442 result = sprintf(page, "%d\n", conv(cd->aname)); \
[all …]
/linux-4.4.14/arch/x86/crypto/
Dcamellia-x86_64-asm_64.S104 #define roundsm(ab, subkey, cd) \ argument
107 xor2ror16(sp00444404, sp03303033, RT0, RT1, ab ## 0, cd ## 0); \
109 xor2ror16(sp11101110, sp44044404, RT0, RT1, ab ## 0, cd ## 0); \
112 xorq RT2, cd ## 0;
281 #define roundsm2(ab, subkey, cd) \ argument
283 xorq RT2, cd ## 1; \
285 xor2ror16(sp00444404, sp03303033, RT0, RT1, ab ## 0, cd ## 0); \
287 xor2ror16(sp11101110, sp44044404, RT0, RT1, ab ## 0, cd ## 0); \
290 xor2ror16(sp00444404, sp03303033, RT0, RT1, ab ## 1, cd ## 1); \
291 xorq RT2, cd ## 0; \
[all …]
Dtwofish-x86_64-asm_64-3way.S99 #define g1g2_3(ab, cd, Tx0, Tx1, Tx2, Tx3, Ty0, Ty1, Ty2, Ty3, x, y) \ argument
113 xchgq cd ## 0, ab ## 0; \
117 xchgq cd ## 1, ab ## 1; \
121 xchgq cd ## 2, ab ## 2;
149 #define encrypt_round3(ab, cd, n) \ argument
150 g1g2_3(ab, cd, s0, s1, s2, s3, s0, s1, s2, s3, RX, RY); \
163 #define encrypt_cycle3(ab, cd, n) \ argument
164 encrypt_round3(ab, cd, n*2); \
165 encrypt_round3(ab, cd, (n*2)+1);
/linux-4.4.14/drivers/ide/
Dide-cd_ioctl.c110 struct cdrom_info *cd = drive->driver_data; in cdrom_eject() local
111 struct cdrom_device_info *cdi = &cd->devinfo; in cdrom_eject()
214 struct cdrom_info *cd = drive->driver_data; in ide_cdrom_select_speed() local
242 cdi->speed = cd->current_speed; in ide_cdrom_select_speed()
301 struct cdrom_info *cd = drive->driver_data; in ide_cdrom_reset() local
309 ret = blk_execute_rq(drive->queue, cd->disk, rq, 0); in ide_cdrom_reset()
386 struct cdrom_info *cd = drive->driver_data; in ide_cd_read_tochdr() local
396 toc = cd->toc; in ide_cd_read_tochdr()
Dide-cd.c60 struct cdrom_info *cd = NULL; in ide_cd_get() local
63 cd = ide_drv_g(disk, cdrom_info); in ide_cd_get()
64 if (cd) { in ide_cd_get()
65 if (ide_device_get(cd->drive)) in ide_cd_get()
66 cd = NULL; in ide_cd_get()
68 get_device(&cd->dev); in ide_cd_get()
72 return cd; in ide_cd_get()
75 static void ide_cd_put(struct cdrom_info *cd) in ide_cd_put() argument
77 ide_drive_t *drive = cd->drive; in ide_cd_put()
80 put_device(&cd->dev); in ide_cd_put()
[all …]
/linux-4.4.14/arch/mips/include/asm/
Dtime.h80 static inline void clockevent_set_clock(struct clock_event_device *cd, in clockevent_set_clock() argument
83 clockevents_calc_mult_shift(cd, clock, 4); in clockevent_set_clock()
/linux-4.4.14/drivers/media/usb/gspca/
Dse401.c221 u8 *cd = gspca_dev->usb_buf; in sd_config() local
240 if (cd[1] != 0x41) { in sd_config()
245 if (!(cd[2] & SE401_FORMAT_BAYER)) { in sd_config()
250 if (cd[3]) in sd_config()
251 pr_info("ExtraFeatures: %d\n", cd[3]); in sd_config()
253 n = cd[4] | (cd[5] << 8); in sd_config()
260 widths[i] = cd[6 + i * 4 + 0] | (cd[6 + i * 4 + 1] << 8); in sd_config()
261 heights[i] = cd[6 + i * 4 + 2] | (cd[6 + i * 4 + 3] << 8); in sd_config()
/linux-4.4.14/arch/arm/boot/dts/
Ds3c2416-smdk2416.dts45 broken-cd;
54 cd-gpios = <&gpf 1 0>;
55 cd-inverted;
Domap5-sbc-t54.dts34 cd-inverted;
36 cd-gpios = <&gpio8 4 GPIO_ACTIVE_LOW>; /* gpio8_228 */
Dste-ccu9540.dts52 cd-gpios = <&gpio7 6 0x4>; // 230
53 cd-inverted;
Dkirkwood-openrd.dtsi47 pmx_sdio_cd: pmx-sdio-cd {
66 cd-gpios = <&gpio0 29 9>;
Dkirkwood-rd88f6281.dtsi42 pmx_sdio_cd: pmx-sdio-cd {
61 cd-gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
Dsun7i-a20-orangepi-mini.dts144 cd-gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; /* PH10 */
145 cd-inverted;
154 cd-gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */
155 cd-inverted;
Dsun7i-a20-olinuxino-micro.dts201 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */
202 cd-inverted;
211 cd-gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */
212 cd-inverted;
Dsun5i-a10s-olinuxino-micro.dts180 cd-gpios = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
181 cd-inverted;
190 cd-gpios = <&pio 6 13 GPIO_ACTIVE_HIGH>; /* PG13 */
191 cd-inverted;
Drk3288-veyron-sdmmc.dtsi76 sdmmc_cd_disabled: sdmmc-cd-disabled {
81 sdmmc_cd_gpio: sdmmc-cd-gpio {
118 cd-gpios = <&gpio7 5 GPIO_ACTIVE_LOW>;
Dimx6sx-sabreauto.dts52 cd-gpios = <&gpio7 10 GPIO_ACTIVE_LOW>;
64 cd-gpios = <&gpio7 11 GPIO_ACTIVE_LOW>;
Ddove-cubox-es.dts10 cd-gpios = <&gpio0 12 1>;
Darmada-388-gp.dts216 * enabled with 'broken-cd' property. For boards
218 * 'cd-gpios = <&expander0 5 GPIO_ACTIVE_LOW>;',
221 * 'dat3-cd;'
222 * 'cd-inverted;'
224 broken-cd;
Dqcom-apq8084-ifc6540.dts28 cd-gpios = <&tlmm 122 GPIO_ACTIVE_LOW>;
Dat91-sama5d3_xplained.dts44 cd-gpios = <&pioE 0 GPIO_ACTIVE_LOW>;
55 cd-gpios = <&pioE 1 GPIO_ACTIVE_LOW>;
155 cd-gpios = <&pioE 1 GPIO_ACTIVE_HIGH>;
Dkirkwood-mplcec4.dts72 pmx_sdio_cd: pmx-sdio-cd {
112 cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
Dste-nomadik-s8815.dts53 mmcsd-cd {
142 cd-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>;
Dphy3250.dts162 cd-gpios = <&gpio 3 1 0>;
163 cd-inverted;
Dat91sam9x5ek.dtsi31 cd-gpios = <&pioD 15 GPIO_ACTIVE_HIGH>;
44 cd-gpios = <&pioD 14 GPIO_ACTIVE_HIGH>;
Dkirkwood-sheevaplug.dts23 broken-cd;
Dkirkwood-sheevaplug-esata.dts27 cd-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
Dsun4i-a10-mk802.dts74 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */
75 cd-inverted;
Dsun4i-a10-hyundai-a7hd.dts85 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */
86 cd-inverted;
Dsun9i-a80-cubieboard4.dts81 cd-gpios = <&pio 7 18 GPIO_ACTIVE_HIGH>; /* PH18 */
82 cd-inverted;
Dsun4i-a10-mk802ii.dts89 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */
90 cd-inverted;
Dberlin2q-marvell-dmp.dts91 broken-cd;
97 broken-cd;
Dsun8i-q8-common.dtsi72 cd-gpios = <&pio 1 4 GPIO_ACTIVE_HIGH>; /* PB4 */
73 cd-inverted;
Domap3-sbc-t3530.dts36 cd-gpios = <&twl_gpio 0 GPIO_ACTIVE_HIGH>;
Dat91sam9g20ek_2mmc.dts26 cd-gpios = <&pioC 2 GPIO_ACTIVE_HIGH>;
Dqcom-apq8074-dragonboard.dts29 cd-gpios = <&msmgpio 62 0x1>;
Dimx6qdl-wandboard.dtsi255 cd-gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
262 cd-gpios = <&gpio3 9 GPIO_ACTIVE_LOW>;
Dsun6i-a31s-yones-toptech-bs1078-v2.dts107 cd-gpios = <&pio 0 8 GPIO_ACTIVE_HIGH>; /* PA8 */
108 cd-inverted;
Dsun5i-a10s-mk802.dts81 cd-gpios = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
82 cd-inverted;
Dsama5d3xmb.dtsi23 cd-gpios = <&pioD 17 GPIO_ACTIVE_HIGH>;
103 cd-gpios = <&pioD 18 GPIO_ACTIVE_HIGH>;
Dsocfpga_arria10_socdk_sdmmc.dts24 broken-cd;
Dsun4i-a10-ba10-tvbox.dts115 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */
116 cd-inverted;
Dsun8i-a33-sinlinx-sina33.dts101 cd-gpios = <&pio 1 4 GPIO_ACTIVE_HIGH>; /* PB4 */
102 cd-inverted;
Dsun8i-a33-ga10h-v1.1.dts111 cd-gpios = <&pio 1 4 GPIO_ACTIVE_HIGH>; /* PB4 */
112 cd-inverted;
Dsun4i-a10-mini-xplus.dts104 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */
105 cd-inverted;
Dtegra30-apalis-eval.dts137 cd-gpios = <&gpio TEGRA_GPIO(CC, 5) GPIO_ACTIVE_LOW>;
145 cd-gpios = <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_LOW>;
Dsun5i-a10s-r7-tv-dongle.dts84 cd-gpios = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
85 cd-inverted;
Dr8a7791-porter.dts168 cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>;
179 cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>;
Dbcm21664-garnet.dts45 cd-gpios = <&gpio 91 GPIO_ACTIVE_LOW>;
Dsun6i-a31-i7.dts105 cd-gpios = <&pio 7 22 GPIO_ACTIVE_HIGH>; /* PH22 */
106 cd-inverted;
Dea3250.dts144 cd-gpios = <&pca9532 4 0>;
145 cd-inverted;
Dsun6i-a31s-sina31s.dts120 cd-gpios = <&pio 0 4 GPIO_ACTIVE_HIGH>; /* PA4 */
121 cd-inverted;
Dsun7i-a20-mk808c.dts111 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */
112 cd-inverted;
Dsun4i-a10-gemei-g9.dts144 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH01 */
145 cd-inverted;
Dsun5i-a13-olinuxino-micro.dts103 cd-gpios = <&pio 6 0 GPIO_ACTIVE_HIGH>; /* PG0 */
104 cd-inverted;
Dsun6i-a31-m9.dts105 cd-gpios = <&pio 7 22 GPIO_ACTIVE_HIGH>; /* PH22 */
106 cd-inverted;
Dsun8i-a23-gt90h-v4.dts112 cd-gpios = <&pio 1 4 GPIO_ACTIVE_HIGH>; /* PB4 */
113 cd-inverted;
Dsun5i-a10s-auxtek-t003.dts97 cd-gpios = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
98 cd-inverted;
Dsun5i-a10s-auxtek-t004.dts94 cd-gpios = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */
95 cd-inverted;
Dsun6i-a31-mele-a1000g-quad.dts105 cd-gpios = <&pio 7 22 GPIO_ACTIVE_HIGH>; /* PH22 */
106 cd-inverted;
Dsun4i-a10-hackberry.dts113 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */
114 cd-inverted;
Dsun8i-a23-evb.dts111 cd-gpios = <&pio 1 4 GPIO_ACTIVE_HIGH>; /* PB4 */
112 cd-inverted;
Dsun7i-a20-m3.dts124 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */
125 cd-inverted;
Defm32gg-dk3750.dts53 broken-cd;
Dsocfpga_arria5.dtsi34 broken-cd;
/linux-4.4.14/Documentation/devicetree/bindings/pinctrl/
Dmarvell,dove-pinctrl.txt18 mpp0 0 gpio, pmu, uart2(rts), sdio0(cd), lcd0(pwm), pmu*
24 mpp4 4 gpio, pmu, uart3(rts), sdio1(cd), spi1(miso), pmu*
33 mpp12 12 gpio, pmu, uart2(rts), audio0(extclk), sdio1(cd),
39 mpp16 16 gpio, uart3(rts), sdio0(cd), ac97(sdi1), lcd-spi(cs1)
44 mpp20 20 gpio, sdio0(cd), sdio1(cd), spi1(miso), lcd-spi(miso),
/linux-4.4.14/Documentation/ide/
D00-INDEX3 ChangeLog.ide-cd.1994-2004
4 - ide-cd changelog
DChangeLog.ide-cd.1994-200441 * (my apologies to Scott, but now ide-cd.c is independent)
111 * 4.00 Nov 5, 1996 -- New ide-cd maintainer,
124 * 4.01 Nov 11, 1996 -- Split into ide-cd.c and ide-cd.h
178 * 4.15 Aug 25, 1998 -- Updated ide-cd.h to respect machine endianness,
202 * - Added ignore parameter to ide-cd (as a module), eg
203 * insmod ide-cd ignore='hda hdb'
204 * Useful when using ide-cd in conjunction with
216 * cd-rom drivers. don't report select disc for
/linux-4.4.14/net/bluetooth/cmtp/
Dsock.c69 struct cmtp_conndel_req cd; in cmtp_sock_ioctl() local
108 if (copy_from_user(&cd, argp, sizeof(cd))) in cmtp_sock_ioctl()
111 return cmtp_del_connection(&cd); in cmtp_sock_ioctl()
/linux-4.4.14/net/bluetooth/bnep/
Dsock.c56 struct bnep_conndel_req cd; in bnep_sock_ioctl() local
96 if (copy_from_user(&cd, argp, sizeof(cd))) in bnep_sock_ioctl()
99 return bnep_del_connection(&cd); in bnep_sock_ioctl()
/linux-4.4.14/include/media/
Dmedia-devnode.h87 #define to_media_devnode(cd) container_of(cd, struct media_devnode, dev) argument
Dv4l2-dev.h147 #define to_video_device(cd) container_of(cd, struct video_device, dev) argument
/linux-4.4.14/drivers/media/i2c/
Dmsp3400-kthreads.c508 struct msp3400c_carrier_detect *cd; in msp3400c_thread() local
549 cd = msp3400c_carrier_detect_main; in msp3400c_thread()
560 msp3400c_set_carrier(client, cd[i].cdo, cd[i].cdo); in msp3400c_thread()
569 "carrier1 val: %5d / %s\n", val, cd[i].name); in msp3400c_thread()
575 cd = msp3400c_carrier_detect_55; in msp3400c_thread()
579 cd = msp3400c_carrier_detect_65; in msp3400c_thread()
585 cd = NULL; in msp3400c_thread()
592 cd = NULL; in msp3400c_thread()
597 msp3400c_set_carrier(client, cd[i].cdo, cd[i].cdo); in msp3400c_thread()
606 "carrier2 val: %5d / %s\n", val, cd[i].name); in msp3400c_thread()
/linux-4.4.14/arch/s390/kernel/
Dtime.c96 struct clock_event_device *cd; in clock_comparator_work() local
99 cd = this_cpu_ptr(&comparators); in clock_comparator_work()
100 cd->event_handler(cd); in clock_comparator_work()
129 struct clock_event_device *cd; in init_cpu_timer() local
136 cd = &per_cpu(comparators, cpu); in init_cpu_timer()
137 cd->name = "comparator"; in init_cpu_timer()
138 cd->features = CLOCK_EVT_FEAT_ONESHOT; in init_cpu_timer()
139 cd->mult = 16777; in init_cpu_timer()
140 cd->shift = 12; in init_cpu_timer()
141 cd->min_delta_ns = 1; in init_cpu_timer()
[all …]
/linux-4.4.14/arch/arm/mach-s3c64xx/
Dpl080.c22 static int pl08x_get_xfer_signal(const struct pl08x_channel_data *cd) in pl08x_get_xfer_signal() argument
24 return cd->min_signal; in pl08x_get_xfer_signal()
27 static void pl08x_put_xfer_signal(const struct pl08x_channel_data *cd, int ch) in pl08x_put_xfer_signal() argument
/linux-4.4.14/drivers/media/usb/usbvision/
Dusbvision-video.c163 static inline struct usb_usbvision *cd_to_usbvision(struct device *cd) in cd_to_usbvision() argument
166 container_of(cd, struct video_device, dev); in cd_to_usbvision()
170 static ssize_t show_version(struct device *cd, in show_version() argument
177 static ssize_t show_model(struct device *cd, in show_model() argument
181 container_of(cd, struct video_device, dev); in show_model()
188 static ssize_t show_hue(struct device *cd, in show_hue() argument
192 container_of(cd, struct video_device, dev); in show_hue()
203 static ssize_t show_contrast(struct device *cd, in show_contrast() argument
207 container_of(cd, struct video_device, dev); in show_contrast()
218 static ssize_t show_brightness(struct device *cd, in show_brightness() argument
[all …]
/linux-4.4.14/net/bluetooth/hidp/
Dsock.c53 struct hidp_conndel_req cd; in hidp_sock_ioctl() local
93 if (copy_from_user(&cd, argp, sizeof(cd))) in hidp_sock_ioctl()
96 return hidp_connection_del(&cd); in hidp_sock_ioctl()
/linux-4.4.14/Documentation/acpi/
Dmethod-tracing.txt36 # cd /sys/module/acpi/parameters
42 # cd /sys/module/acpi/parameters
49 # cd /sys/module/acpi/parameters
92 # cd /sys/module/acpi/parameters
98 # cd /sys/module/acpi/parameters
105 # cd /sys/module/acpi/parameters
112 # cd /sys/module/acpi/parameters
119 # cd /sys/module/acpi/parameters
/linux-4.4.14/fs/jfs/
Djfs_txnmgr.c165 struct tlock * tlck, struct commit * cd);
176 struct commit * cd);
1141 struct commit cd; in txCommit() local
1158 sb = cd.sb = iplist[0]->i_sb; in txCommit()
1159 cd.tid = tid; in txCommit()
1169 cd.log = log; in txCommit()
1172 lrd = &cd.lrd; in txCommit()
1188 cd.iplist = iplist; in txCommit()
1189 cd.nip = nip; in txCommit()
1203 for (k = 0; k < cd.nip; k++) { in txCommit()
[all …]
/linux-4.4.14/arch/arm/mach-lpc32xx/
Dphy3250.c173 static int pl08x_get_signal(const struct pl08x_channel_data *cd) in pl08x_get_signal() argument
175 return cd->min_signal; in pl08x_get_signal()
178 static void pl08x_put_signal(const struct pl08x_channel_data *cd, int ch) in pl08x_put_signal() argument
/linux-4.4.14/drivers/staging/fbtft/
DREADME13 cd drivers/video/fbdev/fbtft
20 cd drivers/video
/linux-4.4.14/Documentation/ioctl/
Dcdrom.txt45 CDROMPLAYBLK scsi-cd only, (struct cdrom_blk)
108 ENOSYS cd drive not audio-capable.
122 ENOSYS cd drive not audio-capable.
138 ENOSYS cd drive not audio-capable.
162 ENOSYS cd drive not audio-capable.
184 ENOSYS cd drive not audio-capable.
202 ENOSYS cd drive not audio-capable.
225 ENOSYS cd drive not audio-capable.
243 ENOSYS cd drive not audio-capable.
262 ENOSYS cd drive not capable of ejecting
[all …]
/linux-4.4.14/arch/m68k/amiga/
Dconfig.c178 const struct ConfigDev *cd = data; in amiga_parse_bootinfo() local
180 dev->rom = cd->cd_Rom; in amiga_parse_bootinfo()
181 dev->slotaddr = be16_to_cpu(cd->cd_SlotAddr); in amiga_parse_bootinfo()
182 dev->slotsize = be16_to_cpu(cd->cd_SlotSize); in amiga_parse_bootinfo()
183 dev->boardaddr = be32_to_cpu(cd->cd_BoardAddr); in amiga_parse_bootinfo()
184 dev->boardsize = be32_to_cpu(cd->cd_BoardSize); in amiga_parse_bootinfo()
/linux-4.4.14/drivers/media/v4l2-core/
Dv4l2-dev.c41 static ssize_t index_show(struct device *cd, in index_show() argument
44 struct video_device *vdev = to_video_device(cd); in index_show()
50 static ssize_t dev_debug_show(struct device *cd, in dev_debug_show() argument
53 struct video_device *vdev = to_video_device(cd); in dev_debug_show()
58 static ssize_t dev_debug_store(struct device *cd, struct device_attribute *attr, in dev_debug_store() argument
61 struct video_device *vdev = to_video_device(cd); in dev_debug_store()
74 static ssize_t name_show(struct device *cd, in name_show() argument
77 struct video_device *vdev = to_video_device(cd); in name_show()
170 static void v4l2_device_release(struct device *cd) in v4l2_device_release() argument
172 struct video_device *vdev = to_video_device(cd); in v4l2_device_release()
/linux-4.4.14/Documentation/
Dapplying-patches.txt256 $ cd ~/linux-2.6.11 # change to kernel source dir
258 $ cd ..
262 $ cd ~/linux-2.6.11.1 # change to kernel source dir
266 $ cd ..
297 $ cd ~/linux-2.6.12.2 # change into the kernel source dir
300 $ cd ..
330 $ cd ~/linux-2.6.12 # change into the 2.6.12 source dir
332 $ cd ..
336 $ cd ~/linux-2.6.13-rc3 # change into the 2.6.13-rc3 dir
339 $ cd ..
[all …]
Dkselftest.txt65 $ cd tools/testing/selftests
69 $ cd tools/testing/selftests
Dgcov.txt24 # cd /tmp/linux-out
180 [user@build] cd /tmp/out
218 KSRC=$(cd $KSRC; printf "all:\n\t@echo \${CURDIR}\n" | make -f -)
219 KOBJ=$(cd $KOBJ; printf "all:\n\t@echo \${CURDIR}\n" | make -f -)
/linux-4.4.14/drivers/ata/
Dsata_fsl.c523 struct command_desc *cd; in sata_fsl_qc_prep() local
529 cd = (struct command_desc *)pp->cmdentry + tag; in sata_fsl_qc_prep()
532 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, (u8 *) &cd->cfis); in sata_fsl_qc_prep()
535 cd->cfis[0], cd->cfis[1], cd->cfis[2]); in sata_fsl_qc_prep()
539 cd->cfis[3], cd->cfis[11]); in sata_fsl_qc_prep()
545 memset((void *)&cd->acmd, 0, 32); in sata_fsl_qc_prep()
546 memcpy((void *)&cd->acmd, qc->cdb, qc->dev->cdb_len); in sata_fsl_qc_prep()
550 num_prde = sata_fsl_fill_sg(qc, (void *)cd, in sata_fsl_qc_prep()
599 struct command_desc *cd; in sata_fsl_qc_fill_rtf() local
601 cd = pp->cmdentry + tag; in sata_fsl_qc_fill_rtf()
[all …]
/linux-4.4.14/Documentation/scsi/
DNinjaSCSI.txt41 $ cd /usr/src
43 $ cd linux
49 $ cd /usr/src
55 $ cd nsp_cs-x.x
/linux-4.4.14/Documentation/serial/
Dmoxa-smartio140 # cd /
142 # cd /moxa
147 # cd /
149 # cd /moxa
214 # cd /moxa/mxser/driver
277 # cd /moxa/mxser/driver
279 # cd /etc/rc.d
305 # cd /usr/src/linux/drivers/char
309 # cd /usr/src
313 # cd /usr/src/linux/drivers/char
[all …]
/linux-4.4.14/arch/x86/kernel/cpu/microcode/
Dintel.c547 struct cpio_data cd; in scan_microcode() local
555 cd.data = NULL; in scan_microcode()
556 cd.size = 0; in scan_microcode()
560 if (!load_builtin_intel_microcode(&cd)) in scan_microcode()
563 cd = find_cpio_data(p, (void *)start, size, &offset); in scan_microcode()
564 if (!cd.data) in scan_microcode()
568 return get_matching_model_microcode(0, start, cd.data, cd.size, in scan_microcode()
Dcore.c105 bool get_builtin_firmware(struct cpio_data *cd, const char *name) in get_builtin_firmware() argument
112 cd->size = b_fw->size; in get_builtin_firmware()
113 cd->data = b_fw->data; in get_builtin_firmware()
/linux-4.4.14/drivers/tty/serial/
Dxilinx_uartps.c339 u32 cd, bdiv; in cdns_uart_calc_baud_divs() local
353 cd = DIV_ROUND_CLOSEST(clk, baud * (bdiv + 1)); in cdns_uart_calc_baud_divs()
354 if (cd < 1 || cd > CDNS_UART_CD_MAX) in cdns_uart_calc_baud_divs()
357 calc_baud = clk / (cd * (bdiv + 1)); in cdns_uart_calc_baud_divs()
366 *rcd = cd; in cdns_uart_calc_baud_divs()
389 u32 cd = 0, bdiv = 0; in cdns_uart_set_baud_rate() local
394 calc_baud = cdns_uart_calc_baud_divs(port->uartclk, baud, &bdiv, &cd, in cdns_uart_set_baud_rate()
404 writel(cd, port->membase + CDNS_UART_BAUDGEN_OFFSET); in cdns_uart_set_baud_rate()
436 u32 bdiv, cd; in cdns_uart_clk_notifier_cb() local
444 &bdiv, &cd, &div8)) { in cdns_uart_clk_notifier_cb()
/linux-4.4.14/drivers/memory/
Domap-gpmc.c299 static unsigned long gpmc_get_clk_period(int cs, enum gpmc_clk_domain cd) in gpmc_get_clk_period() argument
306 switch (cd) { in gpmc_get_clk_period()
325 enum gpmc_clk_domain cd) in gpmc_ns_to_clk_ticks() argument
330 tick_ps = gpmc_get_clk_period(cs, cd); in gpmc_ns_to_clk_ticks()
351 enum gpmc_clk_domain cd) in gpmc_clk_ticks_to_ns() argument
353 return ticks * gpmc_get_clk_period(cs, cd) / 1000; in gpmc_clk_ticks_to_ns()
430 const char *name, const enum gpmc_clk_domain cd, in get_gpmc_timing_reg() argument
458 time_ns_min = gpmc_clk_ticks_to_ns(l - 1, cs, cd) + 1; in get_gpmc_timing_reg()
459 time_ns = gpmc_clk_ticks_to_ns(l, cs, cd); in get_gpmc_timing_reg()
485 #define GPMC_GET_TICKS_CD(reg, st, end, field, cd) \ argument
[all …]
/linux-4.4.14/Documentation/fault-injection/
Dnotifier-error-inject.txt32 # cd /sys/kernel/debug/notifier-error-inject/cpu
56 # cd /sys/kernel/debug/notifier-error-inject/pm/
73 # cd /sys/kernel/debug/notifier-error-inject/memory
/linux-4.4.14/arch/x86/include/asm/
Dmicrocode.h163 extern bool get_builtin_firmware(struct cpio_data *cd, const char *name);
170 get_builtin_firmware(struct cpio_data *cd, const char *name) { return false; } in get_builtin_firmware() argument
/linux-4.4.14/arch/arm/include/asm/
Decard.h98 unsigned char cd:1; /* Chunk dir present */ member
185 extern int ecard_readchunk (struct in_chunk_dir *cd, struct expansion_card *ec, int id, int num);
/linux-4.4.14/arch/s390/include/asm/
Dcpu_mf.h64 unsigned int cd:1; /* 31: diag-sampling activation control */ member
86 unsigned int cd:1; /* 63: diag-sampling activation control */ member
Ditcw.h23 struct dcw *itcw_add_dcw(struct itcw *itcw, u8 cmd, u8 flags, void *cd,
Dfcx.h243 u8 cd[0]; member
307 void *cd, u8 cd_count, u32 count);
Dnmi.h31 u64 cd : 1; /* 04 timing-facility damage */ member
/linux-4.4.14/include/linux/mfd/
Ducb1x00.h163 #define classdev_to_ucb1x00(cd) container_of(cd, struct ucb1x00, dev) argument
/linux-4.4.14/Documentation/x86/
Dearly-microcode.txt37 cd initrd
41 cd ..
/linux-4.4.14/arch/powerpc/crypto/
Daes-tab-4k.S68 .long R(cd, eb, eb, 26), R(4e, 27, 27, 69)
69 .long R(7f, b2, b2, cd), R(ea, 75, 75, 9f)
102 .long R(81, cd, cd, 4c), R(18, 0c, 0c, 14)
203 .long R(65, da, f4, cd), R(06, 05, be, d5)
261 .long R(cd, 26, 78, 09), R(6e, 59, 18, f4)
272 .long R(7f, cd, 50, 0e), R(17, 91, f6, 2f)
287 .long R(53, f7, cd, ea), R(5f, fd, aa, 5b)
/linux-4.4.14/Documentation/cdrom/
D00-INDEX7 ide-cd
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-firmware-sfi14 # cd /sys/firmware/sfi/tables
/linux-4.4.14/drivers/net/ethernet/sun/
DKconfig62 <http://docs.oracle.com/cd/E19455-01/806-3985-10/806-3985-10.pdf>.
70 <http://docs.oracle.com/cd/E19113-01/giga.ether.pci/817-4341-10/817-4341-10.pdf>.
/linux-4.4.14/tools/testing/selftests/rcutorture/doc/
Dinitrd.txt9 cd tools/testing/selftests/rcutorture
12 cd initrd
/linux-4.4.14/include/linux/
Ddca.h38 struct device *cd; member
/linux-4.4.14/drivers/media/
Dmedia-devnode.c60 static void media_devnode_release(struct device *cd) in media_devnode_release() argument
62 struct media_devnode *mdev = to_media_devnode(cd); in media_devnode_release()
/linux-4.4.14/arch/arm/mach-rpc/
Decard.c327 int ecard_readchunk(struct in_chunk_dir *cd, ecard_t *ec, int id, int num) in ecard_readchunk() argument
333 if (!ec->cid.cd) in ecard_readchunk()
379 cd->start_offset = c_start(&excd); in ecard_readchunk()
380 memcpy(cd->d.string, excd.d.string, 256); in ecard_readchunk()
633 if (!ec->card_desc && ec->cid.cd && in ecard_prints()
909 ec->cid.cd = cid.r_cd; in ecard_probe()
/linux-4.4.14/drivers/spi/
Dspi-omap2-mcspi.c1103 struct omap2_mcspi_device_config *cd; in omap2_mcspi_work_one() local
1111 cd = spi->controller_data; in omap2_mcspi_work_one()
1139 if (cd && cd->cs_per_word) { in omap2_mcspi_work_one()
1156 if (cd && cd->turbo_mode && t->tx_buf == NULL) { in omap2_mcspi_work_one()
1202 if (cd && cd->cs_per_word) { in omap2_mcspi_work_one()
/linux-4.4.14/drivers/dma/
Damba-pl08x.c238 const struct pl08x_channel_data *cd; member
323 ret = pd->get_xfer_signal(plchan->cd); in pl08x_request_mux()
342 pd->put_xfer_signal(plchan->cd, plchan->signal); in pl08x_release_mux()
1378 if (plchan->cd->single) in pl08x_get_cctl()
1503 dst_buses = plchan->cd->periph_buses; in pl08x_init_txd()
1509 src_buses = plchan->cd->periph_buses; in pl08x_init_txd()
1876 chan->name = chan->cd->bus_id; in pl08x_dma_slave_init()
1877 chan->cfg.src_addr = chan->cd->addr; in pl08x_dma_slave_init()
1878 chan->cfg.dst_addr = chan->cd->addr; in pl08x_dma_slave_init()
1911 chan->cd = &pl08x->pd->slave_channels[i]; in pl08x_dma_init_virtual_channels()
[all …]
Dcppi41.c135 struct cppi41_desc *cd; member
541 td = cdd->cd; in cppi41_tear_down_chan()
687 cchan->desc = &cdd->cd[i]; in cppi41_add_chans()
713 dma_free_coherent(dev, mem_decs, cdd->cd, in purge_descs()
759 cdd->cd = dma_alloc_coherent(dev, mem_decs, in init_descs()
761 if (!cdd->cd) in init_descs()
/linux-4.4.14/Documentation/usb/
Dfunctionfs.txt45 $ ( cd /dev/ffs-mtp && mtp-daemon ) &
47 $ ( cd /dev/ffs-hid && hid-daemon ) &
/linux-4.4.14/drivers/net/ethernet/8390/
Detherh.c522 struct in_chunk_dir cd; in etherh_addr() local
525 if (!ecard_readchunk(&cd, ec, 0xf5, 0)) { in etherh_addr()
531 s = strchr(cd.d.string, '('); in etherh_addr()
546 dev_name(&ec->dev), cd.d.string); in etherh_addr()

123