Home
last modified time | relevance | path

Searched defs:cd (Results 1 – 25 of 64) sorted by relevance

123

/drivers/misc/genwqe/
Dcard_base.c125 struct genwqe_dev *cd; in genwqe_dev_alloc() local
166 static void genwqe_dev_free(struct genwqe_dev *cd) in genwqe_dev_free()
183 static int genwqe_bus_reset(struct genwqe_dev *cd) in genwqe_bus_reset()
249 bool genwqe_need_err_masking(struct genwqe_dev *cd) in genwqe_need_err_masking()
254 static void genwqe_tweak_hardware(struct genwqe_dev *cd) in genwqe_tweak_hardware()
281 int genwqe_recovery_on_fatal_gfir_required(struct genwqe_dev *cd) in genwqe_recovery_on_fatal_gfir_required()
286 int genwqe_flash_readback_fails(struct genwqe_dev *cd) in genwqe_flash_readback_fails()
302 static int genwqe_T_psec(struct genwqe_dev *cd) in genwqe_T_psec()
323 static bool genwqe_setup_pf_jtimer(struct genwqe_dev *cd) in genwqe_setup_pf_jtimer()
343 static bool genwqe_setup_vf_jtimer(struct genwqe_dev *cd) in genwqe_setup_vf_jtimer()
[all …]
Dcard_utils.c54 int __genwqe_writeq(struct genwqe_dev *cd, u64 byte_offs, u64 val) in __genwqe_writeq()
78 u64 __genwqe_readq(struct genwqe_dev *cd, u64 byte_offs) in __genwqe_readq()
105 int __genwqe_writel(struct genwqe_dev *cd, u64 byte_offs, u32 val) in __genwqe_writel()
129 u32 __genwqe_readl(struct genwqe_dev *cd, u64 byte_offs) in __genwqe_readl()
145 int genwqe_read_app_id(struct genwqe_dev *cd, char *app_name, int len) in genwqe_read_app_id()
217 void *__genwqe_alloc_consistent(struct genwqe_dev *cd, size_t size, in __genwqe_alloc_consistent()
227 void __genwqe_free_consistent(struct genwqe_dev *cd, size_t size, in __genwqe_free_consistent()
236 static void genwqe_unmap_pages(struct genwqe_dev *cd, dma_addr_t *dma_list, in genwqe_unmap_pages()
249 static int genwqe_map_pages(struct genwqe_dev *cd, in genwqe_map_pages()
298 int genwqe_alloc_sync_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl, in genwqe_alloc_sync_sgl()
[all …]
Dcard_sysfs.c50 struct genwqe_dev *cd = dev_get_drvdata(dev); in status_show() local
61 struct genwqe_dev *cd = dev_get_drvdata(dev); in appid_show() local
72 struct genwqe_dev *cd = dev_get_drvdata(dev); in version_show() local
85 struct genwqe_dev *cd = dev_get_drvdata(dev); in type_show() local
97 struct genwqe_dev *cd = dev_get_drvdata(dev); in tempsens_show() local
109 struct genwqe_dev *cd = dev_get_drvdata(dev); in freerunning_timer_show() local
121 struct genwqe_dev *cd = dev_get_drvdata(dev); in queue_working_time_show() local
133 struct genwqe_dev *cd = dev_get_drvdata(dev); in base_clock_show() local
160 struct genwqe_dev *cd = dev_get_drvdata(dev); in curr_bitstream_show() local
176 struct genwqe_dev *cd = dev_get_drvdata(dev); in next_bitstream_show() local
[all …]
Dcard_dev.c40 static int genwqe_open_files(struct genwqe_dev *cd) in genwqe_open_files()
51 static void genwqe_add_file(struct genwqe_dev *cd, struct genwqe_file *cfile) in genwqe_add_file()
61 static int genwqe_del_file(struct genwqe_dev *cd, struct genwqe_file *cfile) in genwqe_del_file()
201 struct genwqe_dev *cd = cfile->cd; in genwqe_remove_mappings() local
239 struct genwqe_dev *cd = cfile->cd; in genwqe_remove_pinnings() local
263 static int genwqe_kill_fasync(struct genwqe_dev *cd, int sig) in genwqe_kill_fasync()
279 static int genwqe_terminate(struct genwqe_dev *cd) in genwqe_terminate()
306 struct genwqe_dev *cd; in genwqe_open() local
367 struct genwqe_dev *cd = cfile->cd; in genwqe_release() local
401 struct genwqe_dev *cd = container_of(inode->i_cdev, struct genwqe_dev, in genwqe_vma_close() local
[all …]
Dcard_ddcb.c172 static void print_ddcb_info(struct genwqe_dev *cd, struct ddcb_queue *queue) in print_ddcb_info()
250 static int ddcb_requ_finished(struct genwqe_dev *cd, struct ddcb_requ *req) in ddcb_requ_finished()
274 static int enqueue_ddcb(struct genwqe_dev *cd, struct ddcb_queue *queue, in enqueue_ddcb()
371 static int genwqe_check_ddcb_queue(struct genwqe_dev *cd, in genwqe_check_ddcb_queue()
483 int __genwqe_wait_ddcb(struct genwqe_dev *cd, struct ddcb_requ *req) in __genwqe_wait_ddcb()
571 static struct ddcb *get_next_ddcb(struct genwqe_dev *cd, in get_next_ddcb()
624 int __genwqe_purge_ddcb(struct genwqe_dev *cd, struct ddcb_requ *req) in __genwqe_purge_ddcb()
729 int genwqe_init_debug_data(struct genwqe_dev *cd, struct genwqe_debug_data *d) in genwqe_init_debug_data()
758 int __genwqe_enqueue_ddcb(struct genwqe_dev *cd, struct ddcb_requ *req, in __genwqe_enqueue_ddcb()
915 int __genwqe_execute_raw_ddcb(struct genwqe_dev *cd, in __genwqe_execute_raw_ddcb()
[all …]
Dcard_debugfs.c66 struct genwqe_dev *cd = s->private; in curr_dbg_uidn_show() local
113 struct genwqe_dev *cd = s->private; in prev_dbg_uidn_show() local
142 struct genwqe_dev *cd = s->private; in genwqe_curr_regs_show() local
171 struct genwqe_dev *cd = s->private; in genwqe_prev_regs_show() local
195 struct genwqe_dev *cd = s->private; in genwqe_jtimer_show() local
216 struct genwqe_dev *cd = s->private; in genwqe_queue_working_time_show() local
234 struct genwqe_dev *cd = s->private; in genwqe_ddcb_info_show() local
307 struct genwqe_dev *cd = s->private; in genwqe_info_show() local
344 int genwqe_init_debugfs(struct genwqe_dev *cd) in genwqe_init_debugfs()
505 void genqwe_exit_debugfs(struct genwqe_dev *cd) in genqwe_exit_debugfs()
/drivers/input/touchscreen/
Dcyttsp4_core.c80 static int cyttsp4_load_status_regs(struct cyttsp4 *cd) in cyttsp4_load_status_regs()
98 static int cyttsp4_handshake(struct cyttsp4 *cd, u8 mode) in cyttsp4_handshake()
118 static int cyttsp4_hw_soft_reset(struct cyttsp4 *cd) in cyttsp4_hw_soft_reset()
130 static int cyttsp4_hw_hard_reset(struct cyttsp4 *cd) in cyttsp4_hw_hard_reset()
141 static int cyttsp4_hw_reset(struct cyttsp4 *cd) in cyttsp4_hw_reset()
160 static int cyttsp4_si_data_offsets(struct cyttsp4 *cd) in cyttsp4_si_data_offsets()
196 static int cyttsp4_si_get_cydata(struct cyttsp4 *cd) in cyttsp4_si_get_cydata()
267 static int cyttsp4_si_get_test_data(struct cyttsp4 *cd) in cyttsp4_si_get_test_data()
318 static int cyttsp4_si_get_pcfg_data(struct cyttsp4 *cd) in cyttsp4_si_get_pcfg_data()
360 static int cyttsp4_si_get_opcfg_data(struct cyttsp4 *cd) in cyttsp4_si_get_opcfg_data()
[all …]
/drivers/scsi/
Dsr.c145 struct scsi_cd *cd = dev_get_drvdata(dev); in sr_runtime_suspend() local
162 struct scsi_cd *cd = NULL; in scsi_cd_get() local
178 static void scsi_cd_put(struct scsi_cd *cd) in scsi_cd_put()
234 struct scsi_cd *cd = cdi->handle; in sr_check_events() local
327 struct scsi_cd *cd = scsi_cd(SCpnt->request->rq_disk); in sr_done() local
391 struct scsi_cd *cd; in sr_init_command() local
524 struct scsi_cd *cd; in sr_block_open() local
550 struct scsi_cd *cd = scsi_cd(disk); in sr_block_release() local
560 struct scsi_cd *cd = scsi_cd(bdev->bd_disk); in sr_block_ioctl() local
603 struct scsi_cd *cd; in sr_block_check_events() local
[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
72 struct scsi_cd *cd = cdi->handle; in sr_read_tocentry() local
161 struct scsi_cd *cd = cdi->handle; in sr_play_trkind() local
185 int sr_do_ioctl(Scsi_CD *cd, struct packet_command *cgc) in sr_do_ioctl()
268 Scsi_CD *cd = cdi->handle; in sr_tray_move() local
281 Scsi_CD *cd = cdi->handle; in sr_lock_door() local
289 struct scsi_cd *cd = cdi->handle; in sr_drive_status() local
346 Scsi_CD *cd = cdi->handle; in sr_disk_status() local
378 Scsi_CD *cd = cdi->handle; in sr_get_last_session() local
[all …]
Dsr_vendor.c66 void sr_vendor_init(Scsi_CD *cd) in sr_vendor_init()
109 int sr_set_blocklength(Scsi_CD *cd, int blocklength) in sr_set_blocklength()
160 Scsi_CD *cd = cdi->handle; in sr_cd_check() local
Dsr.h59 #define sr_printk(prefix, cd, fmt, a...) \ argument
/drivers/block/paride/
Dpcd.c230 struct pcd_unit *cd = bdev->bd_disk->private_data; in pcd_block_open() local
244 struct pcd_unit *cd = disk->private_data; in pcd_block_release() local
253 struct pcd_unit *cd = bdev->bd_disk->private_data; in pcd_block_ioctl() local
266 struct pcd_unit *cd = disk->private_data; in pcd_block_check_events() local
297 struct pcd_unit *cd; in pcd_init_units() local
331 struct pcd_unit *cd = cdi->handle; in pcd_open() local
341 static inline int status_reg(struct pcd_unit *cd) in status_reg()
346 static inline int read_reg(struct pcd_unit *cd, int reg) in read_reg()
351 static inline void write_reg(struct pcd_unit *cd, int reg, int val) in write_reg()
356 static int pcd_wait(struct pcd_unit *cd, int go, int stop, char *fun, char *msg) in pcd_wait()
[all …]
/drivers/net/wireless/ath/
Ddfs_pattern_detector.c168 struct channel_detector *cd) in channel_detector_reset()
179 struct channel_detector *cd) in channel_detector_exit()
200 struct channel_detector *cd; in channel_detector_create() local
242 struct channel_detector *cd; in channel_detector_get() local
257 struct channel_detector *cd; in dpd_reset() local
265 struct channel_detector *cd, *cd0; in dpd_exit() local
276 struct channel_detector *cd; in dpd_add_pulse() local
321 struct channel_detector *cd, *cd0; in dpd_set_domain() local
/drivers/irqchip/
Dirq-imx-gpcv2.c47 struct gpcv2_irqchip_data *cd; in gpcv2_wakeup_source_save() local
66 struct gpcv2_irqchip_data *cd; in gpcv2_wakeup_source_restore() local
87 struct gpcv2_irqchip_data *cd = d->chip_data; in imx_gpcv2_irq_set_wake() local
111 struct gpcv2_irqchip_data *cd = d->chip_data; in imx_gpcv2_irq_unmask() local
127 struct gpcv2_irqchip_data *cd = d->chip_data; in imx_gpcv2_irq_mask() local
214 struct gpcv2_irqchip_data *cd; in imx_gpcv2_irqchip_init() local
/drivers/media/usb/usbvision/
Dusbvision-video.c163 static inline struct usb_usbvision *cd_to_usbvision(struct device *cd) in cd_to_usbvision()
170 static ssize_t show_version(struct device *cd, in show_version()
177 static ssize_t show_model(struct device *cd, in show_model()
188 static ssize_t show_hue(struct device *cd, in show_hue()
203 static ssize_t show_contrast(struct device *cd, in show_contrast()
218 static ssize_t show_brightness(struct device *cd, in show_brightness()
233 static ssize_t show_saturation(struct device *cd, in show_saturation()
248 static ssize_t show_streaming(struct device *cd, in show_streaming()
259 static ssize_t show_compression(struct device *cd, in show_compression()
270 static ssize_t show_device_bridge(struct device *cd, in show_device_bridge()
/drivers/clocksource/
Dmips-gic-timer.c38 struct clock_event_device *cd = dev_id; in gic_compare_interrupt() local
52 static void gic_clockevent_cpu_init(struct clock_event_device *cd) in gic_clockevent_cpu_init()
70 static void gic_clockevent_cpu_exit(struct clock_event_device *cd) in gic_clockevent_cpu_exit()
/drivers/dca/
Ddca-sysfs.c38 struct device *cd; in dca_sysfs_add_req() local
55 struct device *cd; in dca_sysfs_add_provider() local
/drivers/media/v4l2-core/
Dv4l2-dev.c41 static ssize_t index_show(struct device *cd, in index_show()
50 static ssize_t dev_debug_show(struct device *cd, in dev_debug_show()
58 static ssize_t dev_debug_store(struct device *cd, struct device_attribute *attr, in dev_debug_store()
74 static ssize_t name_show(struct device *cd, in name_show()
170 static void v4l2_device_release(struct device *cd) in v4l2_device_release()
/drivers/ide/
Dide-cd_ioctl.c110 struct cdrom_info *cd = drive->driver_data; in cdrom_eject() local
214 struct cdrom_info *cd = drive->driver_data; in ide_cdrom_select_speed() local
301 struct cdrom_info *cd = drive->driver_data; in ide_cdrom_reset() local
386 struct cdrom_info *cd = drive->driver_data; in ide_cd_read_tochdr() local
Dide-cd.c60 struct cdrom_info *cd = NULL; in ide_cd_get() local
75 static void ide_cd_put(struct cdrom_info *cd) in ide_cd_put()
703 struct cdrom_info *cd = drive->driver_data; in cdrom_start_rw() local
1142 struct cdrom_info *cd = drive->driver_data; in ide_cdrom_update_speed() local
1207 struct cdrom_info *cd = drive->driver_data; in ide_cdrom_probe_capabilities() local
1497 struct cdrom_info *cd = drive->driver_data; in ide_cdrom_setup() local
/drivers/staging/lustre/lustre/obdclass/
Dllog_cat.c175 struct llog_process_cat_data cd; in llog_cat_process_cb() local
209 struct llog_process_cat_data cd; in llog_cat_process_or_fork() local
/drivers/memory/
Domap-gpmc.c299 static unsigned long gpmc_get_clk_period(int cs, enum gpmc_clk_domain cd) in gpmc_get_clk_period()
325 enum gpmc_clk_domain cd) in gpmc_ns_to_clk_ticks()
351 enum gpmc_clk_domain cd) in gpmc_clk_ticks_to_ns()
430 const char *name, const enum gpmc_clk_domain cd, in get_gpmc_timing_reg()
485 #define GPMC_GET_TICKS_CD(reg, st, end, field, cd) \ argument
487 #define GPMC_GET_TICKS_CD_MAX(reg, st, end, max, field, cd) \ argument
592 int time, enum gpmc_clk_domain cd, const char *name) in set_gpmc_timing_reg()
628 #define GPMC_SET_ONE_CD_MAX(reg, st, end, max, field, cd) \ argument
/drivers/zorro/
Dzorro-sysfs.c70 struct ConfigDev cd; in zorro_read_config() local
Dproc.c33 struct ConfigDev cd; in proc_bus_zorro_read() local
/drivers/hwtracing/coresight/
Dcoresight.c244 struct coresight_device *cd; in coresight_enable_path() local
287 struct coresight_device *cd; in coresight_disable_path() local

123