/linux-4.1.27/drivers/misc/genwqe/ |
D | card_base.c | 125 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 …]
|
D | card_debugfs.c | 66 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 …]
|
D | card_utils.c | 54 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 …]
|
D | card_base.h | 372 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 …]
|
D | card_ddcb.c | 172 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 …]
|
D | card_dev.c | 40 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 …]
|
D | card_sysfs.c | 50 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.1.27/drivers/block/paride/ |
D | pcd.c | 229 struct pcd_unit *cd = bdev->bd_disk->private_data; in pcd_block_open() local 233 ret = cdrom_open(&cd->info, bdev, mode); in pcd_block_open() 241 struct pcd_unit *cd = disk->private_data; in pcd_block_release() local 243 cdrom_release(&cd->info, mode); in pcd_block_release() 250 struct pcd_unit *cd = bdev->bd_disk->private_data; in pcd_block_ioctl() local 254 ret = cdrom_ioctl(&cd->info, bdev, mode, cmd, arg); in pcd_block_ioctl() 263 struct pcd_unit *cd = disk->private_data; in pcd_block_check_events() local 264 return cdrom_check_events(&cd->info, clearing); in pcd_block_check_events() 294 struct pcd_unit *cd; in pcd_init_units() local 298 for (unit = 0, cd = pcd; unit < PCD_UNITS; unit++, cd++) { in pcd_init_units() [all …]
|
/linux-4.1.27/drivers/input/touchscreen/ |
D | cyttsp4_core.c | 80 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.1.27/drivers/scsi/ |
D | sr.c | 145 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 …]
|
D | sr_vendor.c | 66 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 …]
|
D | sr_ioctl.c | 37 #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 …]
|
D | sr.h | 59 #define sr_printk(prefix, cd, fmt, a...) \ argument 60 sdev_prefix_printk(prefix, (cd)->device, (cd)->cdi.name, fmt, ##a)
|
/linux-4.1.27/net/sunrpc/ |
D | cache.c | 192 static int cache_make_upcall(struct cache_detail *cd, struct cache_head *h) in cache_make_upcall() argument 194 if (cd->cache_upcall) in cache_make_upcall() 195 return cd->cache_upcall(cd, h); in cache_make_upcall() 196 return sunrpc_cache_pipe_upcall(cd, h); in cache_make_upcall() 339 void sunrpc_init_cache_detail(struct cache_detail *cd) in sunrpc_init_cache_detail() argument 341 rwlock_init(&cd->hash_lock); in sunrpc_init_cache_detail() 342 INIT_LIST_HEAD(&cd->queue); in sunrpc_init_cache_detail() 344 cd->nextcheck = 0; in sunrpc_init_cache_detail() 345 cd->entries = 0; in sunrpc_init_cache_detail() 346 atomic_set(&cd->readers, 0); in sunrpc_init_cache_detail() [all …]
|
D | svcauth_unix.c | 143 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.1.27/kernel/time/ |
D | posix-clock.c | 249 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 …]
|
D | sched_clock.c | 85 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 …]
|
D | timeconst.bc | 74 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.1.27/arch/mn10300/kernel/ |
D | cevt-mn10300.c | 55 struct clock_event_device *cd; in timer_interrupt() local 63 cd = &per_cpu(mn10300_clockevent_device, cpu); in timer_interrupt() 64 cd->event_handler(cd); in timer_interrupt() 85 struct clock_event_device *cd; in init_clockevents() local 89 cd = &per_cpu(mn10300_clockevent_device, cpu); in init_clockevents() 93 cd->irq = TMJCIRQ; in init_clockevents() 96 cd->irq = TMJC1IRQ; in init_clockevents() 99 cd->name = "Timestamp"; in init_clockevents() 100 cd->features = CLOCK_EVT_FEAT_ONESHOT; in init_clockevents() 103 clockevents_calc_mult_shift(cd, MN10300_JCCLK, 1); in init_clockevents() [all …]
|
/linux-4.1.27/sound/soc/au1x/ |
D | dbdma2.c | 80 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.1.27/arch/arm/mach-omap2/ |
D | clockdomain.c | 104 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 …]
|
D | prm2xxx_3xxx.c | 224 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()
|
D | cminst44xx.c | 390 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()
|
D | cm3xxx.c | 181 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.1.27/drivers/net/wireless/ath/ |
D | dfs_pattern_detector.c | 158 struct channel_detector *cd) in channel_detector_reset() argument 161 if (cd == NULL) in channel_detector_reset() 164 cd->detectors[i]->reset(cd->detectors[i], dpd->last_pulse_ts); in channel_detector_reset() 169 struct channel_detector *cd) in channel_detector_exit() argument 172 if (cd == NULL) in channel_detector_exit() 174 list_del(&cd->head); in channel_detector_exit() 176 struct pri_detector *de = cd->detectors[i]; in channel_detector_exit() 180 kfree(cd->detectors); in channel_detector_exit() 181 kfree(cd); in channel_detector_exit() 188 struct channel_detector *cd; in channel_detector_create() local [all …]
|
/linux-4.1.27/arch/mips/cavium-octeon/ |
D | octeon-irq.c | 63 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.1.27/arch/mips/kernel/ |
D | cevt-r4k.c | 61 struct clock_event_device *cd; in c0_compare_interrupt() local 81 cd = &per_cpu(mips_clockevent_device, cpu); in c0_compare_interrupt() 82 cd->event_handler(cd); in c0_compare_interrupt() 180 struct clock_event_device *cd; in r4k_clockevent_init() local 198 cd = &per_cpu(mips_clockevent_device, cpu); in r4k_clockevent_init() 200 cd->name = "MIPS"; in r4k_clockevent_init() 201 cd->features = CLOCK_EVT_FEAT_ONESHOT | in r4k_clockevent_init() 205 clockevent_set_clock(cd, mips_hpt_frequency); in r4k_clockevent_init() 208 cd->max_delta_ns = clockevent_delta2ns(0x7fffffff, cd); in r4k_clockevent_init() 209 cd->min_delta_ns = clockevent_delta2ns(0x300, cd); in r4k_clockevent_init() [all …]
|
D | cevt-sb1250.c | 70 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 (cd->mode == CLOCK_EVT_MODE_PERIODIC) 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 sb1250_clockevent_init() local 122 cd->name = name; in sb1250_clockevent_init() 123 cd->features = CLOCK_EVT_FEAT_PERIODIC | in sb1250_clockevent_init() 125 clockevent_set_clock(cd, V_SCD_TIMER_FREQ); in sb1250_clockevent_init() 126 cd->max_delta_ns = clockevent_delta2ns(0x7fffff, cd); in sb1250_clockevent_init() 127 cd->min_delta_ns = clockevent_delta2ns(2, cd); in sb1250_clockevent_init() [all …]
|
D | cevt-bcm1480.c | 72 static int sibyte_next_event(unsigned long delta, struct clock_event_device *cd) in sibyte_next_event() argument 90 struct clock_event_device *cd = dev_id; in sibyte_counter_handler() local 94 if (cd->mode == CLOCK_EVT_MODE_PERIODIC) in sibyte_counter_handler() 103 cd->event_handler(cd); in sibyte_counter_handler() 117 struct clock_event_device *cd = &per_cpu(sibyte_hpt_clockevent, cpu); in sb1480_clockevent_init() local 123 cd->name = name; in sb1480_clockevent_init() 124 cd->features = CLOCK_EVT_FEAT_PERIODIC | in sb1480_clockevent_init() 126 clockevent_set_clock(cd, V_SCD_TIMER_FREQ); in sb1480_clockevent_init() 127 cd->max_delta_ns = clockevent_delta2ns(0x7fffff, cd); in sb1480_clockevent_init() 128 cd->min_delta_ns = clockevent_delta2ns(2, cd); in sb1480_clockevent_init() [all …]
|
D | cevt-ds1287.c | 99 struct clock_event_device *cd = &ds1287_clockevent; in ds1287_interrupt() local 104 cd->event_handler(cd); in ds1287_interrupt() 117 struct clock_event_device *cd; in ds1287_clockevent_init() local 119 cd = &ds1287_clockevent; in ds1287_clockevent_init() 120 cd->rating = 100; in ds1287_clockevent_init() 121 cd->irq = irq; in ds1287_clockevent_init() 122 clockevent_set_clock(cd, 32768); in ds1287_clockevent_init() 123 cd->max_delta_ns = clockevent_delta2ns(0x7fffffff, cd); in ds1287_clockevent_init() 124 cd->min_delta_ns = clockevent_delta2ns(0x300, cd); in ds1287_clockevent_init() 125 cd->cpumask = cpumask_of(0); in ds1287_clockevent_init()
|
D | cevt-gt641xx.c | 108 struct clock_event_device *cd = >641xx_timer0_clockevent; in gt641xx_timer0_interrupt() local 110 cd->event_handler(cd); in gt641xx_timer0_interrupt() 123 struct clock_event_device *cd; in gt641xx_timer0_clockevent_init() local 130 cd = >641xx_timer0_clockevent; in gt641xx_timer0_clockevent_init() 131 cd->rating = 200 + gt641xx_base_clock / 10000000; in gt641xx_timer0_clockevent_init() 132 clockevent_set_clock(cd, gt641xx_base_clock); in gt641xx_timer0_clockevent_init() 133 cd->max_delta_ns = clockevent_delta2ns(0x7fffffff, cd); in gt641xx_timer0_clockevent_init() 134 cd->min_delta_ns = clockevent_delta2ns(0x300, cd); in gt641xx_timer0_clockevent_init() 135 cd->cpumask = cpumask_of(0); in gt641xx_timer0_clockevent_init()
|
D | cevt-txx9.c | 76 struct clock_event_device cd; member 92 container_of(evt, struct txx9_clock_event_device, cd); in txx9tmr_set_mode() 124 container_of(evt, struct txx9_clock_event_device, cd); in txx9tmr_set_next_event() 135 .cd = { 148 struct clock_event_device *cd = &txx9_cd->cd; in txx9tmr_interrupt() local 152 cd->event_handler(cd); in txx9tmr_interrupt() 166 struct clock_event_device *cd = &txx9_clock_event_device.cd; in txx9_clockevent_init() local 175 clockevent_set_clock(cd, TIMER_CLK(imbusclk)); in txx9_clockevent_init() 176 cd->max_delta_ns = in txx9_clockevent_init() 177 clockevent_delta2ns(0xffffffff >> (32 - TXX9_TIMER_BITS), cd); in txx9_clockevent_init() [all …]
|
D | vpe-cmp.c | 40 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()
|
D | vpe-mt.c | 279 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.1.27/fs/ |
D | char_dev.c | 50 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.1.27/drivers/dca/ |
D | dca-sysfs.c | 38 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.1.27/arch/mips/alchemy/common/ |
D | time.c | 61 struct clock_event_device *cd) in au1x_rtcmatch2_set_next_event() argument 73 struct clock_event_device *cd) in au1x_rtcmatch2_set_mode() argument 79 struct clock_event_device *cd = dev_id; in au1x_rtcmatch2_irq() local 80 cd->event_handler(cd); in au1x_rtcmatch2_irq() 102 struct clock_event_device *cd = &au1x_rtcmatch2_clockdev; in alchemy_time_init() local 144 cd->shift = 32; in alchemy_time_init() 145 cd->mult = div_sc(32768, NSEC_PER_SEC, cd->shift); in alchemy_time_init() 146 cd->max_delta_ns = clockevent_delta2ns(0xffffffff, cd); in alchemy_time_init() 147 cd->min_delta_ns = clockevent_delta2ns(9, cd); /* ~0.28ms */ in alchemy_time_init() 148 clockevents_register_device(cd); in alchemy_time_init()
|
/linux-4.1.27/fs/nfs/ |
D | cache_lib.c | 34 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 …]
|
D | dns_resolve.c | 130 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 …]
|
D | cache_lib.h | 21 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.1.27/arch/mips/paravirt/ |
D | paravirt-irq.c | 38 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.1.27/arch/mips/loongson/loongson-3/ |
D | hpet.c | 149 struct clock_event_device *cd; in hpet_irq_handler() local 156 cd = &per_cpu(hpet_clockevent_device, cpu); in hpet_irq_handler() 157 cd->event_handler(cd); in hpet_irq_handler() 201 struct clock_event_device *cd; in setup_hpet_timer() local 205 cd = &per_cpu(hpet_clockevent_device, cpu); in setup_hpet_timer() 206 cd->name = "hpet"; in setup_hpet_timer() 207 cd->rating = 320; in setup_hpet_timer() 208 cd->features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT; in setup_hpet_timer() 209 cd->set_mode = hpet_set_mode; in setup_hpet_timer() 210 cd->set_next_event = hpet_next_event; in setup_hpet_timer() [all …]
|
/linux-4.1.27/arch/mips/sgi-ip27/ |
D | ip27-timer.c | 81 struct clock_event_device *cd = &per_cpu(hub_rt_clockevent, cpu); in hub_rt_counter_handler() local 88 cd->event_handler(cd); in hub_rt_counter_handler() 113 struct clock_event_device *cd = &per_cpu(hub_rt_clockevent, cpu); in hub_rt_clock_event_init() local 118 cd->name = name; in hub_rt_clock_event_init() 119 cd->features = CLOCK_EVT_FEAT_ONESHOT; in hub_rt_clock_event_init() 120 clockevent_set_clock(cd, CYCLES_PER_SEC); in hub_rt_clock_event_init() 121 cd->max_delta_ns = clockevent_delta2ns(0xfffffffffffff, cd); in hub_rt_clock_event_init() 122 cd->min_delta_ns = clockevent_delta2ns(0x300, cd); in hub_rt_clock_event_init() 123 cd->rating = 200; in hub_rt_clock_event_init() 124 cd->irq = irq; in hub_rt_clock_event_init() [all …]
|
/linux-4.1.27/drivers/clocksource/ |
D | mips-gic-timer.c | 44 struct clock_event_device *cd = dev_id; in gic_compare_interrupt() local 47 cd->event_handler(cd); in gic_compare_interrupt() 58 static void gic_clockevent_cpu_init(struct clock_event_device *cd) in gic_clockevent_cpu_init() argument 62 cd->name = "MIPS GIC"; in gic_clockevent_cpu_init() 63 cd->features = CLOCK_EVT_FEAT_ONESHOT | in gic_clockevent_cpu_init() 66 cd->rating = 350; in gic_clockevent_cpu_init() 67 cd->irq = gic_timer_irq; in gic_clockevent_cpu_init() 68 cd->cpumask = cpumask_of(cpu); in gic_clockevent_cpu_init() 69 cd->set_next_event = gic_next_event; in gic_clockevent_cpu_init() 70 cd->set_mode = gic_set_clock_mode; in gic_clockevent_cpu_init() [all …]
|
/linux-4.1.27/arch/c6x/platforms/ |
D | timer64.c | 162 struct clock_event_device *cd = &t64_clockevent_device; in timer_interrupt() local 164 cd->event_handler(cd); in timer_interrupt() 178 struct clock_event_device *cd = &t64_clockevent_device; in timer64_init() local 210 cd->irq = irq_of_parse_and_map(np, 0); in timer64_init() 211 if (cd->irq == NO_IRQ) { in timer64_init() 230 pr_debug("%s: Timer irq=%d.\n", np->full_name, cd->irq); in timer64_init() 232 clockevents_calc_mult_shift(cd, c6x_core_freq / TIMER_DIVISOR, 5); in timer64_init() 234 cd->max_delta_ns = clockevent_delta2ns(0x7fffffff, cd); in timer64_init() 235 cd->min_delta_ns = clockevent_delta2ns(250, cd); in timer64_init() 237 cd->cpumask = cpumask_of(smp_processor_id()); in timer64_init() [all …]
|
/linux-4.1.27/arch/mips/loongson1/common/ |
D | time.c | 121 struct clock_event_device *cd = devid; in ls1x_clockevent_isr() local 124 cd->event_handler(cd); in ls1x_clockevent_isr() 130 struct clock_event_device *cd) in ls1x_clockevent_set_mode() argument 152 struct clock_event_device *cd) in ls1x_clockevent_set_next() argument 180 struct clock_event_device *cd = &ls1x_clockevent; in ls1x_time_init() local 188 clockevent_set_clock(cd, mips_hpt_frequency); in ls1x_time_init() 189 cd->max_delta_ns = clockevent_delta2ns(0xffffff, cd); in ls1x_time_init() 190 cd->min_delta_ns = clockevent_delta2ns(0x000300, cd); in ls1x_time_init() 191 cd->cpumask = cpumask_of(smp_processor_id()); in ls1x_time_init() 192 clockevents_register_device(cd); in ls1x_time_init()
|
/linux-4.1.27/drivers/zorro/ |
D | zorro-sysfs.c | 70 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()
|
D | proc.c | 33 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.1.27/arch/arm/mach-spear/ |
D | pl080.c | 30 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
|
D | pl080.h | 18 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.1.27/include/linux/sunrpc/ |
D | cache.h | 87 void (*cache_request)(struct cache_detail *cd, 95 struct cache_detail *cd, 97 void (*warn_no_listener)(struct cache_detail *cd, 195 static inline void cache_put(struct cache_head *h, struct cache_detail *cd) in cache_put() argument 198 h->expiry_time < cd->nextcheck) in cache_put() 199 cd->nextcheck = h->expiry_time; in cache_put() 200 kref_put(&h->ref, cd->cache_put); in cache_put() 215 extern int cache_register_net(struct cache_detail *cd, struct net *net); 216 extern void cache_unregister_net(struct cache_detail *cd, struct net *net); 219 extern void cache_destroy_net(struct cache_detail *cd, struct net *net); [all …]
|
/linux-4.1.27/arch/mips/loongson/common/cs5536/ |
D | cs5536_mfgpt.c | 124 struct clock_event_device *cd = &mfgpt_clockevent; in setup_mfgpt0_timer() local 127 cd->cpumask = cpumask_of(cpu); in setup_mfgpt0_timer() 128 clockevent_set_clock(cd, MFGPT_TICK_RATE); in setup_mfgpt0_timer() 129 cd->max_delta_ns = clockevent_delta2ns(0xffff, cd); in setup_mfgpt0_timer() 130 cd->min_delta_ns = clockevent_delta2ns(0xf, cd); in setup_mfgpt0_timer() 141 clockevents_register_device(cd); in setup_mfgpt0_timer()
|
/linux-4.1.27/fs/nfsd/ |
D | nfs3xdr.c | 793 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() 833 rv = fh_compose(fhp, exp, dchild, &cd->fh); in compose_entry_fh() 839 static __be32 *encode_entryplus_baggage(struct nfsd3_readdirres *cd, __be32 *p, const char *name, i… in encode_entryplus_baggage() argument 841 struct svc_fh *fh = &cd->scratch; in encode_entryplus_baggage() 845 err = compose_entry_fh(cd, fh, name, namlen); in encode_entryplus_baggage() 851 p = encode_post_op_attr(cd->rqstp, p, fh); in encode_entryplus_baggage() [all …]
|
D | export.c | 51 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 …]
|
D | nfs4idmap.c | 128 idtoname_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, in idtoname_request() argument 153 idtoname_show(struct seq_file *m, struct cache_detail *cd, struct cache_head *h) in idtoname_show() argument 200 idtoname_parse(struct cache_detail *cd, char *buf, int buflen) in idtoname_parse() argument 242 res = idtoname_lookup(cd, &ent); in idtoname_parse() 256 res = idtoname_update(cd, &ent, res); in idtoname_parse() 260 cache_put(&res->h, cd); in idtoname_parse() 268 idtoname_lookup(struct cache_detail *cd, struct ent *item) in idtoname_lookup() argument 270 struct cache_head *ch = sunrpc_cache_lookup(cd, &item->h, in idtoname_lookup() 279 idtoname_update(struct cache_detail *cd, struct ent *new, struct ent *old) in idtoname_update() argument 281 struct cache_head *ch = sunrpc_cache_update(cd, &new->h, &old->h, in idtoname_update() [all …]
|
D | nfsxdr.c | 501 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 …]
|
D | export.h | 61 struct cache_detail *cd; member 103 cache_put(&exp->h, exp->cd); in exp_put()
|
D | nfs4xdr.c | 2820 nfsd4_encode_dirent_fattr(struct xdr_stream *xdr, struct nfsd4_readdir *cd, in nfsd4_encode_dirent_fattr() argument 2823 struct svc_export *exp = cd->rd_fhp->fh_export; in nfsd4_encode_dirent_fattr() 2828 dentry = lookup_one_len(name, cd->rd_fhp->fh_dentry, namlen); in nfsd4_encode_dirent_fattr() 2853 && !attributes_need_mount(cd->rd_bmval)) { in nfsd4_encode_dirent_fattr() 2862 err = nfsd_cross_mnt(cd->rd_rqstp, &dentry, &exp); in nfsd4_encode_dirent_fattr() 2867 nfserr = check_nfsd_access(exp, cd->rd_rqstp); in nfsd4_encode_dirent_fattr() 2873 nfserr = nfsd4_encode_fattr(xdr, NULL, exp, dentry, cd->rd_bmval, in nfsd4_encode_dirent_fattr() 2874 cd->rd_rqstp, ignore_crossmnt); in nfsd4_encode_dirent_fattr() 2903 struct nfsd4_readdir *cd = container_of(ccd, struct nfsd4_readdir, common); in nfsd4_encode_dirent() local 2904 struct xdr_stream *xdr = cd->xdr; in nfsd4_encode_dirent() [all …]
|
/linux-4.1.27/drivers/net/ethernet/renesas/ |
D | sh_eth.c | 851 static void sh_eth_set_default_cpu_data(struct sh_eth_cpu_data *cd) in sh_eth_set_default_cpu_data() argument 853 if (!cd->ecsr_value) in sh_eth_set_default_cpu_data() 854 cd->ecsr_value = DEFAULT_ECSR_INIT; in sh_eth_set_default_cpu_data() 856 if (!cd->ecsipr_value) in sh_eth_set_default_cpu_data() 857 cd->ecsipr_value = DEFAULT_ECSIPR_INIT; in sh_eth_set_default_cpu_data() 859 if (!cd->fcftr_value) in sh_eth_set_default_cpu_data() 860 cd->fcftr_value = DEFAULT_FIFO_F_D_RFF | in sh_eth_set_default_cpu_data() 863 if (!cd->fdr_value) in sh_eth_set_default_cpu_data() 864 cd->fdr_value = DEFAULT_FDR_INIT; in sh_eth_set_default_cpu_data() 866 if (!cd->tx_check) in sh_eth_set_default_cpu_data() [all …]
|
/linux-4.1.27/arch/mips/sni/ |
D | time.c | 59 struct clock_event_device *cd = dev_id; in a20r_interrupt() local 64 cd->event_handler(cd); in a20r_interrupt() 81 struct clock_event_device *cd = &a20r_clockevent_device; in sni_a20r_timer_setup() local 85 cd->cpumask = cpumask_of(cpu); in sni_a20r_timer_setup() 86 clockevents_register_device(cd); in sni_a20r_timer_setup() 87 action->dev_id = cd; in sni_a20r_timer_setup()
|
/linux-4.1.27/arch/mips/jazz/ |
D | irq.c | 129 struct clock_event_device *cd = dev_id; in r4030_timer_interrupt() local 131 cd->event_handler(cd); in r4030_timer_interrupt() 143 struct clock_event_device *cd = &r4030_clockevent; in plat_time_init() local 149 cd->cpumask = cpumask_of(cpu); in plat_time_init() 150 clockevents_register_device(cd); in plat_time_init() 151 action->dev_id = cd; in plat_time_init()
|
/linux-4.1.27/lib/ |
D | earlycpio.c | 71 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.1.27/arch/mips/jz4740/ |
D | time.c | 54 struct clock_event_device *cd = devid; in jz4740_clockevent_irq() local 58 if (cd->mode != CLOCK_EVT_MODE_PERIODIC) in jz4740_clockevent_irq() 61 cd->event_handler(cd); in jz4740_clockevent_irq() 67 struct clock_event_device *cd) in jz4740_clockevent_set_mode() argument 87 struct clock_event_device *cd) in jz4740_clockevent_set_next() argument
|
/linux-4.1.27/drivers/s390/cio/ |
D | chsc_sch.c | 463 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 …]
|
D | fcx.c | 295 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()
|
D | itcw.c | 292 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.1.27/drivers/infiniband/hw/qib/ |
D | qib_qsfp.c | 500 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.1.27/net/sunrpc/auth_gss/ |
D | svcauth_gss.c | 81 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.1.27/drivers/hwtracing/coresight/ |
D | coresight.c | 241 struct coresight_device *cd; in coresight_enable_path() local 243 list_for_each_entry(cd, path, path_link) { in coresight_enable_path() 244 if (cd == list_first_entry(path, struct coresight_device, in coresight_enable_path() 246 ret = coresight_enable_sink(cd); in coresight_enable_path() 247 } else if (list_is_last(&cd->path_link, path)) { in coresight_enable_path() 255 ret = coresight_enable_link(cd); in coresight_enable_path() 263 list_for_each_entry_continue_reverse(cd, path, path_link) { in coresight_enable_path() 264 if (cd == list_first_entry(path, struct coresight_device, in coresight_enable_path() 266 coresight_disable_sink(cd); in coresight_enable_path() 267 } else if (list_is_last(&cd->path_link, path)) { in coresight_enable_path() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/mmc/ |
D | atmel-hsmci.txt | 43 - 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;
|
D | sunxi-mmc.txt | 20 - for cd, bus-width and additional generic mmc parameters 40 cd-gpios = <&pio 7 1 0>; /* PH1 */ 41 cd-inverted;
|
D | sdhci-spear.txt | 10 - cd-gpios: card detect gpio, with zero flags. 17 cd-gpios = <&gpio0 6 0>;
|
D | sdhci-sirf.txt | 10 - cd-gpios: card detect gpio, with zero flags. 17 cd-gpios = <&gpio 6 0>;
|
D | fsl-imx-esdhc.txt | 13 - fsl,cd-controller : Indicate to use controller internal card detection 31 fsl,cd-controller; 39 cd-gpios = <&gpio1 6 0>; /* GPIO1_6 */
|
D | mmc.txt | 12 - 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 49 lines as "active low." Therefore, using the "cd-inverted" property means, that 54 specified in cd-gpios and wp-gpios properties, or as dedicated pins. Polarity of 110 cd-gpios = <&gpio 69 0>; 111 cd-inverted;
|
D | fsl-imx-mmc.txt | 22 cd-gpios = <&gpio3 29>;
|
D | pxa-mmc.txt | 22 cd-gpios = <&gpio 23 0>;
|
D | samsung-sdhci.txt | 25 cd-gpios = <&gpk2 2 0>;
|
D | k3-dw-mshc.txt | 41 cd-gpios = <&gpio10 3 0>;
|
D | nvidia,tegra20-sdhci.txt | 34 cd-gpios = <&gpio 69 0>; /* gpio PI5 */
|
/linux-4.1.27/net/dsa/ |
D | dsa.c | 515 struct dsa_chip_data *cd, in dsa_of_setup_routing_table() argument 542 if (!cd->rtable) { in dsa_of_setup_routing_table() 543 cd->rtable = kmalloc_array(pd->nr_chips, sizeof(s8), in dsa_of_setup_routing_table() 545 if (!cd->rtable) in dsa_of_setup_routing_table() 549 memset(cd->rtable, -1, pd->nr_chips * sizeof(s8)); in dsa_of_setup_routing_table() 552 cd->rtable[link_sw_addr] = port_index; in dsa_of_setup_routing_table() 580 struct dsa_chip_data *cd; in dsa_of_probe() local 623 cd = &pd->chip[chip_index]; in dsa_of_probe() 625 cd->of_node = child; in dsa_of_probe() 626 cd->host_dev = &mdio_bus->dev; in dsa_of_probe() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
D | llog_cat.c | 558 struct llog_process_cat_data cd; in llog_cat_process_cb() local 560 cd.lpcd_first_idx = d->lpd_startidx; in llog_cat_process_cb() 561 cd.lpcd_last_idx = 0; in llog_cat_process_cb() 563 &cd, false); in llog_cat_process_cb() 592 struct llog_process_cat_data cd; in llog_cat_process_or_fork() local 597 cd.lpcd_first_idx = llh->llh_cat_idx; in llog_cat_process_or_fork() 598 cd.lpcd_last_idx = 0; in llog_cat_process_or_fork() 600 &d, &cd, fork); in llog_cat_process_or_fork() 604 cd.lpcd_first_idx = 0; in llog_cat_process_or_fork() 605 cd.lpcd_last_idx = cat_llh->lgh_last_idx; in llog_cat_process_or_fork() [all …]
|
D | llog.c | 276 struct llog_process_cat_data *cd = lpi->lpi_catdata; in llog_process_thread() local 292 if (cd != NULL) { in llog_process_thread() 293 last_called_index = cd->lpcd_first_idx; in llog_process_thread() 294 index = cd->lpcd_first_idx + 1; in llog_process_thread() 296 if (cd != NULL && cd->lpcd_last_idx) in llog_process_thread() 297 last_index = cd->lpcd_last_idx; in llog_process_thread() 400 if (cd != NULL) in llog_process_thread() 401 cd->lpcd_last_idx = last_called_index; in llog_process_thread() 483 struct llog_process_cat_data *cd = catdata; in llog_reverse_process() local 491 if (cd != NULL) in llog_reverse_process() [all …]
|
/linux-4.1.27/arch/x86/crypto/ |
D | camellia-x86_64-asm_64.S | 104 #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 …]
|
D | twofish-x86_64-asm_64-3way.S | 99 #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.1.27/drivers/usb/gadget/function/ |
D | f_uvc.c | 792 struct uvc_camera_terminal_descriptor *cd; in uvc_alloc_inst() local 804 cd = &opts->uvc_camera_terminal; in uvc_alloc_inst() 805 cd->bLength = UVC_DT_CAMERA_TERMINAL_SIZE(3); in uvc_alloc_inst() 806 cd->bDescriptorType = USB_DT_CS_INTERFACE; in uvc_alloc_inst() 807 cd->bDescriptorSubType = UVC_VC_INPUT_TERMINAL; in uvc_alloc_inst() 808 cd->bTerminalID = 1; in uvc_alloc_inst() 809 cd->wTerminalType = cpu_to_le16(0x0201); in uvc_alloc_inst() 810 cd->bAssocTerminal = 0; in uvc_alloc_inst() 811 cd->iTerminal = 0; in uvc_alloc_inst() 812 cd->wObjectiveFocalLengthMin = cpu_to_le16(0); in uvc_alloc_inst() [all …]
|
D | uvc_configfs.c | 335 struct uvc_camera_terminal_descriptor *cd; \ 343 cd = &opts->uvc_camera_terminal; \ 346 result = sprintf(page, "%d\n", conv(cd->aname)); \ 381 struct uvc_camera_terminal_descriptor *cd; in uvcg_default_camera_bm_controls_show() local 390 cd = &opts->uvc_camera_terminal; in uvcg_default_camera_bm_controls_show() 393 for (result = 0, i = 0; i < cd->bControlSize; ++i) { in uvcg_default_camera_bm_controls_show() 394 result += sprintf(pg, "%d\n", cd->bmControls[i]); in uvcg_default_camera_bm_controls_show() 467 struct uvc_output_terminal_descriptor *cd; \ 475 cd = &opts->uvc_output_terminal; \ 478 result = sprintf(page, "%d\n", conv(cd->aname)); \ [all …]
|
/linux-4.1.27/drivers/ide/ |
D | ide-cd_ioctl.c | 110 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()
|
D | ide-cd.c | 60 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.1.27/drivers/media/usb/gspca/ |
D | se401.c | 221 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.1.27/arch/mips/include/asm/ |
D | time.h | 80 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()
|
D | asmmacro.h | 222 .macro _ctcmsa cd, rs 226 ctcmsa $\cd, \rs 312 .macro _ctcmsa cd, rs 317 .word CTC_MSA_INSN | (\cd << 6)
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | s3c2416-smdk2416.dts | 72 cd-gpios = <&gpf 1 0>; 73 cd-inverted; 82 broken-cd;
|
D | omap5-sbc-t54.dts | 34 cd-inverted; 36 cd-gpios = <&gpio8 4 GPIO_ACTIVE_LOW>; /* gpio8_228 */
|
D | sun7i-a20-olinuxino-micro.dts | 47 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ 48 cd-inverted; 57 cd-gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */ 58 cd-inverted;
|
D | ste-ccu9540.dts | 45 cd-gpios = <&gpio7 6 0x4>; // 230 46 cd-inverted;
|
D | kirkwood-openrd.dtsi | 47 pmx_sdio_cd: pmx-sdio-cd { 66 cd-gpios = <&gpio0 29 9>;
|
D | berlin2q-marvell-dmp.dts | 62 broken-cd; 68 broken-cd;
|
D | kirkwood-rd88f6281.dtsi | 42 pmx_sdio_cd: pmx-sdio-cd { 61 cd-gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
|
D | sun5i-a10s-olinuxino-micro.dts | 89 cd-gpios = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */ 90 cd-inverted; 99 cd-gpios = <&pio 6 13 GPIO_ACTIVE_HIGH>; /* PG13 */ 100 cd-inverted;
|
D | imx6sx-sabreauto.dts | 52 cd-gpios = <&gpio7 10 GPIO_ACTIVE_LOW>; 64 cd-gpios = <&gpio7 11 GPIO_ACTIVE_LOW>;
|
D | dove-cubox-es.dts | 10 cd-gpios = <&gpio0 12 1>;
|
D | qcom-apq8084-ifc6540.dts | 20 cd-gpios = <&tlmm 122 GPIO_ACTIVE_LOW>;
|
D | ste-nomadik-s8815.dts | 29 mmcsd-cd { 104 cd-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>;
|
D | kirkwood-mplcec4.dts | 72 pmx_sdio_cd: pmx-sdio-cd { 112 cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
|
D | at91sam9x5ek.dtsi | 30 cd-gpios = <&pioD 15 GPIO_ACTIVE_HIGH>; 43 cd-gpios = <&pioD 14 GPIO_ACTIVE_HIGH>;
|
D | phy3250.dts | 162 cd-gpios = <&gpio 3 1 0>; 163 cd-inverted;
|
D | kirkwood-sheevaplug.dts | 23 broken-cd;
|
D | kirkwood-sheevaplug-esata.dts | 27 cd-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
|
D | qcom-apq8064-ifc6410.dts | 63 cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
|
D | qcom-apq8074-dragonboard.dts | 21 cd-gpios = <&msmgpio 62 0x1>;
|
D | at91sam9g20ek_2mmc.dts | 26 cd-gpios = <&pioC 2 GPIO_ACTIVE_HIGH>;
|
D | omap3-sbc-t3530.dts | 36 cd-gpios = <&twl_gpio 0 GPIO_ACTIVE_HIGH>;
|
D | sun4i-a10-hyundai-a7hd.dts | 82 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ 83 cd-inverted;
|
D | sun4i-a10-mk802.dts | 71 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ 72 cd-inverted;
|
D | sun4i-a10-chuwi-v7-cw0825.dts | 82 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ 83 cd-inverted;
|
D | sama5d3xmb.dtsi | 23 cd-gpios = <&pioD 17 GPIO_ACTIVE_HIGH>; 101 cd-gpios = <&pioD 18 GPIO_ACTIVE_HIGH>;
|
D | sun4i-a10-mk802ii.dts | 86 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ 87 cd-inverted;
|
D | imx6qdl-wandboard.dtsi | 255 cd-gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; 262 cd-gpios = <&gpio3 9 GPIO_ACTIVE_LOW>;
|
D | sun5i-a10s-mk802.dts | 78 cd-gpios = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */ 79 cd-inverted;
|
D | tegra30-apalis-eval.dts | 133 cd-gpios = <&gpio TEGRA_GPIO(CC, 5) GPIO_ACTIVE_LOW>; 141 cd-gpios = <&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_LOW>;
|
D | sun4i-a10-inet97fv2.dts | 70 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ 71 cd-inverted;
|
D | bcm21664-garnet.dts | 45 cd-gpios = <&gpio 91 GPIO_ACTIVE_LOW>;
|
D | sun4i-a10-ba10-tvbox.dts | 79 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ 80 cd-inverted;
|
D | at91-sama5d3_xplained.dts | 42 cd-gpios = <&pioE 0 GPIO_ACTIVE_LOW>; 136 cd-gpios = <&pioE 1 GPIO_ACTIVE_HIGH>;
|
D | ea3250.dts | 144 cd-gpios = <&pca9532 4 0>; 145 cd-inverted;
|
D | sun8i-a23-ippo-q8h-v5.dts | 76 cd-gpios = <&pio 1 4 GPIO_ACTIVE_HIGH>; /* PB4 */ 77 cd-inverted;
|
D | sun6i-a31-colombus.dts | 71 cd-gpios = <&pio 0 8 GPIO_ACTIVE_HIGH>; /* PA8 */ 72 cd-inverted;
|
D | sun4i-a10-mini-xplus.dts | 67 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ 68 cd-inverted;
|
D | socfpga_arria5.dtsi | 34 broken-cd;
|
D | efm32gg-dk3750.dts | 53 broken-cd;
|
D | exynos5410-smdk5410.dts | 44 broken-cd;
|
D | kirkwood-db.dtsi | 53 cd-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
|
D | omap3-sbc-t3517.dts | 60 cd-gpios = <&gpio5 16 GPIO_ACTIVE_HIGH>; /* gpio_144 */
|
D | sun5i-a13-olinuxino-micro.dts | 70 cd-gpios = <&pio 6 0 GPIO_ACTIVE_HIGH>; /* PG0 */ 71 cd-inverted;
|
D | sun6i-a31-m9.dts | 69 cd-gpios = <&pio 7 22 GPIO_ACTIVE_HIGH>; /* PH22 */ 70 cd-inverted;
|
D | sun6i-a31-hummingbird.dts | 114 cd-gpios = <&pio 0 8 GPIO_ACTIVE_HIGH>; /* PA8 */ 115 cd-inverted;
|
D | sun5i-a10s-r7-tv-dongle.dts | 65 cd-gpios = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */ 66 cd-inverted;
|
D | sun4i-a10-marsboard.dts | 137 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ 138 cd-inverted;
|
D | sun7i-a20-hummingbird.dts | 40 cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ 41 cd-inverted;
|
D | zynq-zc706.dts | 221 mux-cd { 226 conf-cd {
|
D | r8a7791-henninger.dts | 184 cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>; 195 cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>;
|
D | at91sam9m10g45ek.dts | 84 cd-gpios = <&pioD 10 GPIO_ACTIVE_HIGH>; 97 cd-gpios = <&pioD 11 GPIO_ACTIVE_HIGH>;
|
D | sun9i-a80-optimus.dts | 123 cd-gpios = <&pio 7 18 GPIO_ACTIVE_HIGH>; /* PH8 */ 124 cd-inverted;
|
D | socfpga_cyclone5.dtsi | 35 broken-cd;
|
D | kirkwood-sheevaplug-common.dtsi | 38 pmx_sdio_cd: pmx-sdio-cd {
|
/linux-4.1.27/Documentation/devicetree/bindings/pinctrl/ |
D | marvell,dove-pinctrl.txt | 18 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.1.27/Documentation/ide/ |
D | 00-INDEX | 3 ChangeLog.ide-cd.1994-2004 4 - ide-cd changelog
|
D | ChangeLog.ide-cd.1994-2004 | 41 * (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.1.27/net/bluetooth/cmtp/ |
D | sock.c | 69 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.1.27/net/bluetooth/bnep/ |
D | sock.c | 56 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.1.27/include/media/ |
D | media-devnode.h | 83 #define to_media_devnode(cd) container_of(cd, struct media_devnode, dev) argument
|
D | v4l2-dev.h | 147 #define to_video_device(cd) container_of(cd, struct video_device, dev) argument
|
/linux-4.1.27/arch/s390/kernel/ |
D | time.c | 93 struct clock_event_device *cd; in clock_comparator_work() local 96 cd = this_cpu_ptr(&comparators); in clock_comparator_work() 97 cd->event_handler(cd); in clock_comparator_work() 131 struct clock_event_device *cd; in init_cpu_timer() local 138 cd = &per_cpu(comparators, cpu); in init_cpu_timer() 139 cd->name = "comparator"; in init_cpu_timer() 140 cd->features = CLOCK_EVT_FEAT_ONESHOT; in init_cpu_timer() 141 cd->mult = 16777; in init_cpu_timer() 142 cd->shift = 12; in init_cpu_timer() 143 cd->min_delta_ns = 1; in init_cpu_timer() [all …]
|
/linux-4.1.27/drivers/media/i2c/ |
D | msp3400-kthreads.c | 508 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.1.27/arch/arm/mach-s3c64xx/ |
D | pl080.c | 22 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.1.27/drivers/media/usb/usbvision/ |
D | usbvision-video.c | 166 static inline struct usb_usbvision *cd_to_usbvision(struct device *cd) in cd_to_usbvision() argument 169 container_of(cd, struct video_device, dev); in cd_to_usbvision() 173 static ssize_t show_version(struct device *cd, in show_version() argument 180 static ssize_t show_model(struct device *cd, in show_model() argument 184 container_of(cd, struct video_device, dev); in show_model() 191 static ssize_t show_hue(struct device *cd, in show_hue() argument 195 container_of(cd, struct video_device, dev); in show_hue() 206 static ssize_t show_contrast(struct device *cd, in show_contrast() argument 210 container_of(cd, struct video_device, dev); in show_contrast() 221 static ssize_t show_brightness(struct device *cd, in show_brightness() argument [all …]
|
/linux-4.1.27/net/bluetooth/hidp/ |
D | sock.c | 53 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.1.27/fs/jfs/ |
D | jfs_txnmgr.c | 165 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.1.27/arch/arm/mach-lpc32xx/ |
D | phy3250.c | 173 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.1.27/drivers/staging/fbtft/ |
D | README | 13 cd drivers/video/fbdev/fbtft 20 cd drivers/video
|
/linux-4.1.27/Documentation/ioctl/ |
D | cdrom.txt | 45 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.1.27/arch/x86/kernel/cpu/microcode/ |
D | intel_early.c | 531 struct cpio_data cd; in scan_microcode() local 539 cd.data = NULL; in scan_microcode() 540 cd.size = 0; in scan_microcode() 542 cd = find_cpio_data(p, (void *)start, size, &offset); in scan_microcode() 543 if (!cd.data) in scan_microcode() 546 return get_matching_model_microcode(0, start, cd.data, cd.size, in scan_microcode()
|
/linux-4.1.27/arch/m68k/amiga/ |
D | config.c | 178 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.1.27/drivers/media/v4l2-core/ |
D | v4l2-dev.c | 41 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.1.27/Documentation/ |
D | applying-patches.txt | 256 $ 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 …]
|
D | gcov.txt | 24 # 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.1.27/drivers/ata/ |
D | sata_fsl.c | 522 struct command_desc *cd; in sata_fsl_qc_prep() local 528 cd = (struct command_desc *)pp->cmdentry + tag; in sata_fsl_qc_prep() 531 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, (u8 *) &cd->cfis); in sata_fsl_qc_prep() 534 cd->cfis[0], cd->cfis[1], cd->cfis[2]); in sata_fsl_qc_prep() 538 cd->cfis[3], cd->cfis[11]); in sata_fsl_qc_prep() 544 memset((void *)&cd->acmd, 0, 32); in sata_fsl_qc_prep() 545 memcpy((void *)&cd->acmd, qc->cdb, qc->dev->cdb_len); in sata_fsl_qc_prep() 549 num_prde = sata_fsl_fill_sg(qc, (void *)cd, in sata_fsl_qc_prep() 598 struct command_desc *cd; in sata_fsl_qc_fill_rtf() local 600 cd = pp->cmdentry + tag; in sata_fsl_qc_fill_rtf() [all …]
|
/linux-4.1.27/Documentation/scsi/ |
D | NinjaSCSI.txt | 41 $ cd /usr/src 43 $ cd linux 49 $ cd /usr/src 55 $ cd nsp_cs-x.x
|
/linux-4.1.27/Documentation/serial/ |
D | moxa-smartio | 140 # 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.1.27/drivers/tty/serial/ |
D | xilinx_uartps.c | 339 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.1.27/drivers/memory/ |
D | omap-gpmc.c | 299 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.1.27/Documentation/fault-injection/ |
D | notifier-error-inject.txt | 32 # 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.1.27/arch/arm/include/asm/ |
D | ecard.h | 98 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.1.27/include/linux/mfd/ |
D | ucb1x00.h | 163 #define classdev_to_ucb1x00(cd) container_of(cd, struct ucb1x00, dev) argument
|
/linux-4.1.27/arch/s390/include/asm/ |
D | cpu_mf.h | 69 unsigned int cd:1; /* 31: diag-sampling activation control */ member 91 unsigned int cd:1; /* 63: diag-sampling activation control */ member
|
D | itcw.h | 23 struct dcw *itcw_add_dcw(struct itcw *itcw, u8 cmd, u8 flags, void *cd,
|
D | fcx.h | 243 u8 cd[0]; member 307 void *cd, u8 cd_count, u32 count);
|
D | nmi.h | 21 __u32 cd : 1; /* 04 timing-facility damage */ member
|
/linux-4.1.27/Documentation/x86/ |
D | early-microcode.txt | 37 cd initrd 41 cd ..
|
/linux-4.1.27/Documentation/devicetree/bindings/serial/ |
D | axis,etraxfs-uart.txt | 9 - {dtr,dsr,ri,cd}-gpios: specify a GPIO for DTR/DSR/RI/CD
|
/linux-4.1.27/Documentation/cdrom/ |
D | 00-INDEX | 7 ide-cd
|
/linux-4.1.27/arch/powerpc/crypto/ |
D | aes-tab-4k.S | 68 .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.1.27/Documentation/ABI/testing/ |
D | sysfs-firmware-sfi | 14 # cd /sys/firmware/sfi/tables
|
/linux-4.1.27/tools/testing/selftests/rcutorture/doc/ |
D | initrd.txt | 9 cd tools/testing/selftests/rcutorture 12 cd initrd
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
D | Kconfig | 64 <http://docs.oracle.com/cd/E19455-01/806-3985-10/806-3985-10.pdf>. 72 <http://docs.oracle.com/cd/E19113-01/giga.ether.pci/817-4341-10/817-4341-10.pdf>.
|
/linux-4.1.27/tools/perf/tests/ |
D | make | 198 clean := @(cd $(PERF); make -s -f $(MK) clean >/dev/null) 203 cmd="cd $(PERF) && make -f $(MK) DESTDIR=$$TMP_DEST $($@)"; \ 214 cmd="cd $(PERF) && make -f $(MK) O=$$TMP_O DESTDIR=$$TMP_DEST $($(patsubst %_O,%,$@))"; \
|
/linux-4.1.27/include/linux/ |
D | dca.h | 38 struct device *cd; member
|
/linux-4.1.27/drivers/dma/ |
D | amba-pl08x.c | 236 const struct pl08x_channel_data *cd; member 321 ret = pd->get_xfer_signal(plchan->cd); in pl08x_request_mux() 340 pd->put_xfer_signal(plchan->cd, plchan->signal); in pl08x_release_mux() 1376 if (plchan->cd->single) in pl08x_get_cctl() 1501 dst_buses = plchan->cd->periph_buses; in pl08x_init_txd() 1507 src_buses = plchan->cd->periph_buses; in pl08x_init_txd() 1874 chan->name = chan->cd->bus_id; in pl08x_dma_slave_init() 1875 chan->cfg.src_addr = chan->cd->addr; in pl08x_dma_slave_init() 1876 chan->cfg.dst_addr = chan->cd->addr; in pl08x_dma_slave_init() 1909 chan->cd = &pl08x->pd->slave_channels[i]; in pl08x_dma_init_virtual_channels() [all …]
|
D | cppi41.c | 135 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.1.27/drivers/media/ |
D | media-devnode.c | 60 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.1.27/arch/arm/mach-rpc/ |
D | ecard.c | 327 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() 634 if (!ec->card_desc && ec->cid.cd && in ecard_prints() 910 ec->cid.cd = cid.r_cd; in ecard_probe()
|
/linux-4.1.27/drivers/spi/ |
D | spi-omap2-mcspi.c | 1071 struct omap2_mcspi_device_config *cd; in omap2_mcspi_work() local 1080 cd = spi->controller_data; in omap2_mcspi_work() 1109 if (cd && cd->cs_per_word) { in omap2_mcspi_work() 1132 if (cd && cd->turbo_mode && t->tx_buf == NULL) { in omap2_mcspi_work() 1190 if (cd && cd->cs_per_word) { in omap2_mcspi_work()
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | perf_event_intel_pt.c | 75 struct pt_cap_desc *cd = &pt_caps[cap]; in pt_cap_get() local 76 u32 c = pt_pmu.caps[cd->leaf * 4 + cd->reg]; in pt_cap_get() 77 unsigned int shift = __ffs(cd->mask); in pt_cap_get() 79 return (c & cd->mask) >> shift; in pt_cap_get()
|
/linux-4.1.27/Documentation/usb/ |
D | functionfs.txt | 45 $ ( cd /dev/ffs-mtp && mtp-daemon ) & 47 $ ( cd /dev/ffs-hid && hid-daemon ) &
|
/linux-4.1.27/drivers/net/ethernet/8390/ |
D | etherh.c | 522 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()
|
/linux-4.1.27/Documentation/security/ |
D | SELinux.txt | 20 cd scripts/selinux
|
/linux-4.1.27/Documentation/devicetree/bindings/gpio/ |
D | gpio-twl4030.txt | 16 - ti,mmc-cd : if n-th bit is set, GPIO-n controls VMMC(n+1)
|
/linux-4.1.27/Documentation/devicetree/bindings/mtd/ |
D | atmel-nand.txt | 59 0 /* cd */ 86 0 /* cd */
|
/linux-4.1.27/arch/cris/arch-v32/drivers/ |
D | cryptocop.c | 351 static void setup_descr_chain(struct cryptocop_dma_desc *cd) in setup_descr_chain() argument 354 while (cd) { in setup_descr_chain() 355 if (cd->next) { in setup_descr_chain() 356 cd->dma_descr->next = (dma_descr_data*)virt_to_phys(cd->next->dma_descr); in setup_descr_chain() 358 cd->dma_descr->next = NULL; in setup_descr_chain() 360 cd = cd->next; in setup_descr_chain() 1366 struct cryptocop_dma_desc *cd = iop->cdesc_out; in delete_internal_operation() local 1371 while (cd) { in delete_internal_operation() 1372 next = cd->next; in delete_internal_operation() 1373 free_cdesc(cd); in delete_internal_operation() [all …]
|