Searched refs:cd (Results 1 - 25 of 201) sorted by relevance

123456789

/linux-master/arch/arm/mach-spear/
H A Dpl080.h15 int pl080_get_signal(const struct pl08x_channel_data *cd);
16 void pl080_put_signal(const struct pl08x_channel_data *cd, int signal);
/linux-master/drivers/clk/sunxi-ng/
H A Dccu_div.c19 struct ccu_div *cd = data; local
21 if (cd->common.features & CCU_FEATURE_FIXED_POSTDIV)
22 rate *= cd->fixed_post_div;
24 rate = divider_round_rate_parent(&cd->common.hw, parent,
26 cd->div.table, cd->div.width,
27 cd->div.flags);
29 if (cd->common.features & CCU_FEATURE_FIXED_POSTDIV)
30 rate /= cd->fixed_post_div;
37 struct ccu_div *cd local
44 struct ccu_div *cd = hw_to_ccu_div(hw); local
51 struct ccu_div *cd = hw_to_ccu_div(hw); local
59 struct ccu_div *cd = hw_to_ccu_div(hw); local
82 struct ccu_div *cd = hw_to_ccu_div(hw); local
91 struct ccu_div *cd = hw_to_ccu_div(hw); local
120 struct ccu_div *cd = hw_to_ccu_div(hw); local
127 struct ccu_div *cd = hw_to_ccu_div(hw); local
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/gpio/
H A Dgeneric_regs.h31 #define GENERIC_GPIO_REG_LIST_ENTRY(type, cd, id) \
38 GENERIC_GPIO_REG_LIST_ENTRY(MASK, cd, id),\
39 GENERIC_GPIO_REG_LIST_ENTRY(A, cd, id),\
40 GENERIC_GPIO_REG_LIST_ENTRY(EN, cd, id),\
41 GENERIC_GPIO_REG_LIST_ENTRY(Y, cd, id)\
48 #define GENERIC_MASK_SH_LIST(mask_sh, cd) \
49 {(DC_GENERIC ## cd ##__GENERIC ## cd ##_EN## mask_sh),\
50 (DC_GENERIC ## cd ##__GENERIC ## cd ##_SE
[all...]
H A Dddc_regs.h34 #define DDC_GPIO_REG_LIST_ENTRY(type, cd, id) \
36 .type ## _mask = DC_GPIO_DDC ## id ## _ ## type ## __DC_GPIO_DDC ## id ## cd ## _ ## type ## _MASK,\
37 .type ## _shift = DC_GPIO_DDC ## id ## _ ## type ## __DC_GPIO_DDC ## id ## cd ## _ ## type ## __SHIFT
39 #define DDC_GPIO_REG_LIST(cd, id) \
41 DDC_GPIO_REG_LIST_ENTRY(MASK, cd, id),\
42 DDC_GPIO_REG_LIST_ENTRY(A, cd, id),\
43 DDC_GPIO_REG_LIST_ENTRY(EN, cd, id),\
44 DDC_GPIO_REG_LIST_ENTRY(Y, cd, id)\
47 #define DDC_REG_LIST(cd, id) \
48 DDC_GPIO_REG_LIST(cd, i
[all...]
/linux-master/drivers/misc/genwqe/
H A Dcard_base.c135 struct genwqe_dev *cd; local
144 cd = kzalloc(sizeof(struct genwqe_dev), GFP_KERNEL);
145 if (!cd)
148 cd->card_idx = i;
149 cd->class_genwqe = &class_genwqe;
150 cd->debugfs_genwqe = debugfs_genwqe;
156 cd->use_platform_recovery = CONFIG_GENWQE_PLATFORM_ERROR_RECOVERY;
158 init_waitqueue_head(&cd->queue_waitq);
160 spin_lock_init(&cd->file_lock);
161 INIT_LIST_HEAD(&cd
176 genwqe_dev_free(struct genwqe_dev *cd) argument
194 genwqe_bus_reset(struct genwqe_dev *cd) argument
259 genwqe_need_err_masking(struct genwqe_dev *cd) argument
264 genwqe_tweak_hardware(struct genwqe_dev *cd) argument
292 genwqe_recovery_on_fatal_gfir_required(struct genwqe_dev *cd) argument
297 genwqe_flash_readback_fails(struct genwqe_dev *cd) argument
314 genwqe_T_psec(struct genwqe_dev *cd) argument
336 genwqe_setup_pf_jtimer(struct genwqe_dev *cd) argument
357 genwqe_setup_vf_jtimer(struct genwqe_dev *cd) argument
383 genwqe_ffdc_buffs_alloc(struct genwqe_dev *cd) argument
416 genwqe_ffdc_buffs_free(struct genwqe_dev *cd) argument
426 genwqe_read_ids(struct genwqe_dev *cd) argument
474 genwqe_start(struct genwqe_dev *cd) argument
581 genwqe_stop(struct genwqe_dev *cd) argument
607 genwqe_recover_card(struct genwqe_dev *cd, int fatal_err) argument
639 genwqe_health_check_cond(struct genwqe_dev *cd, u64 *gfir) argument
656 genwqe_fir_checking(struct genwqe_dev *cd) argument
824 genwqe_platform_recovery(struct genwqe_dev *cd) argument
867 genwqe_reload_bistream(struct genwqe_dev *cd) argument
934 struct genwqe_dev *cd = data; local
1049 genwqe_health_check_start(struct genwqe_dev *cd) argument
1070 genwqe_health_thread_running(struct genwqe_dev *cd) argument
1075 genwqe_health_check_stop(struct genwqe_dev *cd) argument
1089 genwqe_pci_setup(struct genwqe_dev *cd) argument
1159 genwqe_pci_remove(struct genwqe_dev *cd) argument
1183 struct genwqe_dev *cd; local
1239 struct genwqe_dev *cd = dev_get_drvdata(&pci_dev->dev); local
1264 struct genwqe_dev *cd; local
1292 struct genwqe_dev *cd = dev_get_drvdata(&pci_dev->dev); local
1312 struct genwqe_dev *cd = dev_get_drvdata(&pci_dev->dev); local
1330 struct genwqe_dev *cd = dev_get_drvdata(&dev->dev); local
[all...]
H A Dcard_debugfs.c45 struct genwqe_dev *cd = s->private; local
49 entries = genwqe_ffdc_buff_size(cd, uid);
60 genwqe_stop_traps(cd); /* halt the traps while dumping data */
61 genwqe_ffdc_buff_read(cd, uid, regs, entries);
62 genwqe_start_traps(cd);
92 struct genwqe_dev *cd = s->private; local
94 dbg_uidn_show(s, cd->ffdc[uid].regs, cd->ffdc[uid].entries);
121 struct genwqe_dev *cd = s->private; local
129 genwqe_stop_traps(cd);
150 struct genwqe_dev *cd = s->private; local
174 struct genwqe_dev *cd = s->private; local
195 struct genwqe_dev *cd = s->private; local
213 struct genwqe_dev *cd = s->private; local
286 struct genwqe_dev *cd = s->private; local
319 genwqe_init_debugfs(struct genwqe_dev *cd) argument
375 genqwe_exit_debugfs(struct genwqe_dev *cd) argument
[all...]
H A Dcard_base.h368 int genwqe_alloc_sync_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl,
371 int genwqe_setup_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl,
374 int genwqe_free_sync_sgl(struct genwqe_dev *cd, struct genwqe_sgl *sgl);
398 struct genwqe_dev *cd; member in struct:genwqe_file
413 int genwqe_setup_service_layer(struct genwqe_dev *cd); /* for PF only */
414 int genwqe_finish_queue(struct genwqe_dev *cd);
415 int genwqe_release_service_layer(struct genwqe_dev *cd);
424 static inline int genwqe_get_slu_id(struct genwqe_dev *cd) argument
426 return (int)((cd->slu_unitcfg >> 32) & 0xff);
429 int genwqe_ddcbs_in_flight(struct genwqe_dev *cd);
572 genwqe_is_privileged(struct genwqe_dev *cd) argument
[all...]
/linux-master/drivers/soc/fsl/
H A Ddpaa2-console.c63 static inline void adjust_end(struct console_data *cd) argument
65 u32 last_byte = readl(&cd->hdr->last_byte);
67 cd->end_of_data = cd->start_addr + LAST_BYTE(last_byte);
91 static ssize_t dpaa2_console_size(struct console_data *cd) argument
95 if (cd->cur_ptr <= cd->end_of_data)
96 size = cd->end_of_data - cd->cur_ptr;
98 size = (cd
110 struct console_data *cd; local
185 struct console_data *cd = fp->private_data; local
195 struct console_data *cd = fp->private_data; local
[all...]
/linux-master/drivers/input/touchscreen/
H A Dgoodix_berlin_core.c198 static bool goodix_berlin_is_dummy_data(struct goodix_berlin_core *cd, argument
215 static int goodix_berlin_dev_confirm(struct goodix_berlin_core *cd) argument
223 error = regmap_raw_write(cd->regmap,
229 error = regmap_raw_read(cd->regmap,
241 dev_err(cd->dev, "device confirm failed, rx_buf: %*ph\n",
247 static int goodix_berlin_power_on(struct goodix_berlin_core *cd) argument
251 error = regulator_enable(cd->iovdd);
253 dev_err(cd->dev, "Failed to enable iovdd: %d\n", error);
260 error = regulator_enable(cd->avdd);
262 dev_err(cd
291 goodix_berlin_power_off(struct goodix_berlin_core *cd) argument
298 goodix_berlin_read_version(struct goodix_berlin_core *cd) argument
319 goodix_berlin_parse_ic_info(struct goodix_berlin_core *cd, const u8 *data, u16 length) argument
359 goodix_berlin_get_ic_info(struct goodix_berlin_core *cd) argument
414 goodix_berlin_get_remaining_contacts(struct goodix_berlin_core *cd, int n) argument
434 goodix_berlin_report_state(struct goodix_berlin_core *cd, int n) argument
472 goodix_berlin_touch_handler(struct goodix_berlin_core *cd) argument
504 goodix_berlin_request_handle_reset(struct goodix_berlin_core *cd) argument
517 struct goodix_berlin_core *cd = data; local
603 goodix_berlin_input_dev_config(struct goodix_berlin_core *cd, const struct input_id *id) argument
643 struct goodix_berlin_core *cd = dev_get_drvdata(dev); local
653 struct goodix_berlin_core *cd = dev_get_drvdata(dev); local
670 struct goodix_berlin_core *cd = data; local
678 struct goodix_berlin_core *cd; local
[all...]
H A Dcyttsp4_core.c84 static int cyttsp4_load_status_regs(struct cyttsp4 *cd) argument
86 struct cyttsp4_sysinfo *si = &cd->sysinfo;
87 struct device *dev = cd->dev;
90 rc = cyttsp4_adap_read(cd, CY_REG_BASE, si->si_ofs.mode_size,
96 cyttsp4_pr_buf(dev, cd->pr_buf, si->xy_mode,
102 static int cyttsp4_handshake(struct cyttsp4 *cd, u8 mode) argument
114 rc = cyttsp4_adap_write(cd, CY_REG_BASE, sizeof(cmd), &cmd);
116 dev_err(cd->dev, "%s: bus write fail on handshake (ret=%d)\n",
122 static int cyttsp4_hw_soft_reset(struct cyttsp4 *cd) argument
125 int rc = cyttsp4_adap_write(cd, CY_REG_BAS
134 cyttsp4_hw_hard_reset(struct cyttsp4 *cd) argument
145 cyttsp4_hw_reset(struct cyttsp4 *cd) argument
164 cyttsp4_si_data_offsets(struct cyttsp4 *cd) argument
200 cyttsp4_si_get_cydata(struct cyttsp4 *cd) argument
279 cyttsp4_si_get_test_data(struct cyttsp4 *cd) argument
338 cyttsp4_si_get_pcfg_data(struct cyttsp4 *cd) argument
386 cyttsp4_si_get_opcfg_data(struct cyttsp4 *cd) argument
486 cyttsp4_si_get_ddata(struct cyttsp4 *cd) argument
513 cyttsp4_si_get_mdata(struct cyttsp4 *cd) argument
540 cyttsp4_si_get_btn_data(struct cyttsp4 *cd) argument
593 cyttsp4_si_get_op_data_ptrs(struct cyttsp4 *cd) argument
618 cyttsp4_si_put_log_data(struct cyttsp4 *cd) argument
683 cyttsp4_get_sysinfo_regs(struct cyttsp4 *cd) argument
739 cyttsp4_queue_startup_(struct cyttsp4 *cd) argument
967 cyttsp4_xy_worker(struct cyttsp4 *cd) argument
1053 cyttsp4_mt_attention(struct cyttsp4 *cd) argument
1079 struct cyttsp4 *cd = handle; local
1248 cyttsp4_start_wd_timer(struct cyttsp4 *cd) argument
1257 cyttsp4_stop_wd_timer(struct cyttsp4 *cd) argument
1272 struct cyttsp4 *cd = from_timer(cd, t, watchdog_timer); local
1281 cyttsp4_request_exclusive(struct cyttsp4 *cd, void *ownptr, int timeout_ms) argument
1323 cyttsp4_release_exclusive(struct cyttsp4 *cd, void *ownptr) argument
1339 cyttsp4_wait_bl_heartbeat(struct cyttsp4 *cd) argument
1357 cyttsp4_wait_sysinfo_mode(struct cyttsp4 *cd) argument
1377 cyttsp4_reset_and_wait(struct cyttsp4 *cd) argument
1399 cyttsp4_set_mode(struct cyttsp4 *cd, int new_mode) argument
1471 struct cyttsp4 *cd = local
1500 cyttsp4_core_sleep_(struct cyttsp4 *cd) argument
1578 cyttsp4_startup_(struct cyttsp4 *cd) argument
1681 cyttsp4_startup(struct cyttsp4 *cd) argument
1718 struct cyttsp4 *cd = container_of(work, struct cyttsp4, startup_work); local
1727 cyttsp4_free_si_ptrs(struct cyttsp4 *cd) argument
1746 cyttsp4_core_sleep(struct cyttsp4 *cd) argument
1768 cyttsp4_core_wake_(struct cyttsp4 *cd) argument
1824 cyttsp4_core_wake(struct cyttsp4 *cd) argument
1848 struct cyttsp4 *cd = dev_get_drvdata(dev); local
1864 struct cyttsp4 *cd = dev_get_drvdata(dev); local
1898 cyttsp4_setup_input_device(struct cyttsp4 *cd) argument
1969 cyttsp4_mt_probe(struct cyttsp4 *cd) argument
2017 struct cyttsp4 *cd; local
2146 cyttsp4_remove(struct cyttsp4 *cd) argument
[all...]
/linux-master/drivers/staging/fieldbus/anybuss/
H A Darcx-anybus.c50 static void do_reset(struct controller_priv *cd, u8 rst_bit, bool reset) argument
52 mutex_lock(&cd->ctrl_lock);
55 * cd->control_reg
58 cd->control_reg &= ~rst_bit;
60 cd->control_reg |= rst_bit;
61 writeb(cd->control_reg, cd->cpld_base + CPLD_CONTROL);
73 mutex_unlock(&cd->ctrl_lock);
76 static int anybuss_reset(struct controller_priv *cd, argument
81 if (cd
90 struct controller_priv *cd = dev_get_drvdata(dev); local
97 struct controller_priv *cd = dev_get_drvdata(dev); local
167 struct controller_priv *cd = dev_get_drvdata(dev); local
176 struct controller_priv *cd = dev_get_drvdata(dev); local
204 struct controller_priv *cd = rdev_get_drvdata(rdev); local
229 struct controller_priv *cd; local
329 struct controller_priv *cd = platform_get_drvdata(pdev); local
[all...]
H A Dhost.c247 typedef int (*ab_task_fn_t)(struct anybuss_host *cd,
249 typedef void (*ab_done_fn_t)(struct anybuss_host *cd);
316 static void __ab_task_finish(struct ab_task *t, struct anybuss_host *cd) argument
319 t->done_fn(cd);
324 ab_task_dequeue_finish_put(struct kfifo *q, struct anybuss_host *cd) argument
331 __ab_task_finish(t, cd);
390 static void reset_assert(struct anybuss_host *cd) argument
392 cd->reset(cd->dev, true);
395 static void reset_deassert(struct anybuss_host *cd) argument
459 struct anybuss_host *cd = data; local
481 task_fn_power_off(struct anybuss_host *cd, struct ab_task *t) argument
497 task_fn_power_on_2(struct anybuss_host *cd, struct ab_task *t) argument
513 task_fn_power_on(struct anybuss_host *cd, struct ab_task *t) argument
534 struct anybuss_host *cd = client->host; local
550 task_fn_area_3(struct anybuss_host *cd, struct ab_task *t) argument
565 task_fn_area_2(struct anybuss_host *cd, struct ab_task *t) argument
600 task_fn_area(struct anybuss_host *cd, struct ab_task *t) argument
696 task_fn_mbox_2(struct anybuss_host *cd, struct ab_task *t) argument
720 task_fn_mbox(struct anybuss_host *cd, struct ab_task *t) argument
804 _anybus_mbox_cmd(struct anybuss_host *cd, u16 cmd_num, bool is_fb_cmd, const void *msg_out, size_t msg_out_sz, void *msg_in, size_t msg_in_sz, const void *ext, size_t ext_sz) argument
862 process_q(struct anybuss_host *cd, struct kfifo *q) argument
889 process_qs(struct anybuss_host *cd) argument
899 softint_ack(struct anybuss_host *cd) argument
912 process_softint(struct anybuss_host *cd) argument
967 struct anybuss_host *cd = data; local
1012 struct anybuss_host *cd = client->host; local
1049 struct anybuss_host *cd = client->host; local
1059 struct anybuss_host *cd = client->host; local
1086 struct anybuss_host *cd = client->host; local
1111 struct anybuss_host *cd = client->host; local
1139 struct anybuss_host *cd = client->host; local
1149 struct anybuss_host *cd = client->host; local
1159 struct anybuss_host *cd = client->host; local
1268 struct anybuss_host *cd; local
1400 struct anybuss_host *cd = host; local
[all...]
/linux-master/drivers/irqchip/
H A Dirq-mst-intc.c42 struct mst_intc_chip_data *cd = irq_data_get_irq_chip_data(d); local
49 raw_spin_lock_irqsave(&cd->lock, flags);
50 val = readw_relaxed(cd->base + offset) | mask;
51 writew_relaxed(val, cd->base + offset);
52 raw_spin_unlock_irqrestore(&cd->lock, flags);
58 struct mst_intc_chip_data *cd = irq_data_get_irq_chip_data(d); local
65 raw_spin_lock_irqsave(&cd->lock, flags);
66 val = readw_relaxed(cd->base + offset) & ~mask;
67 writew_relaxed(val, cd->base + offset);
68 raw_spin_unlock_irqrestore(&cd
85 struct mst_intc_chip_data *cd = irq_data_get_irq_chip_data(d); local
128 mst_intc_polarity_save(struct mst_intc_chip_data *cd) argument
137 mst_intc_polarity_restore(struct mst_intc_chip_data *cd) argument
148 struct mst_intc_chip_data *cd; local
156 struct mst_intc_chip_data *cd; local
181 struct mst_intc_chip_data *cd = d->host_data; local
208 struct mst_intc_chip_data *cd = domain->host_data; local
249 struct mst_intc_chip_data *cd; local
[all...]
H A Dirq-imx-gpcv2.c31 static void __iomem *gpcv2_idx_to_reg(struct gpcv2_irqchip_data *cd, int i) argument
33 return cd->gpc_base + cd->cpu2wakeup + i * 4;
38 struct gpcv2_irqchip_data *cd; local
42 cd = imx_gpcv2_instance;
43 if (!cd)
47 reg = gpcv2_idx_to_reg(cd, i);
48 cd->saved_irq_mask[i] = readl_relaxed(reg);
49 writel_relaxed(cd->wakeup_sources[i], reg);
57 struct gpcv2_irqchip_data *cd; local
75 struct gpcv2_irqchip_data *cd = d->chip_data; local
97 struct gpcv2_irqchip_data *cd = d->chip_data; local
113 struct gpcv2_irqchip_data *cd = d->chip_data; local
206 struct gpcv2_irqchip_data *cd; local
[all...]
/linux-master/arch/mips/kernel/
H A Dcevt-ds1287.c93 struct clock_event_device *cd = &ds1287_clockevent; local
98 cd->event_handler(cd);
106 struct clock_event_device *cd; local
108 cd = &ds1287_clockevent;
109 cd->rating = 100;
110 cd->irq = irq;
111 clockevent_set_clock(cd, 32768);
112 cd->max_delta_ns = clockevent_delta2ns(0x7fffffff, cd);
[all...]
H A Dcevt-bcm1480.c57 static int sibyte_next_event(unsigned long delta, struct clock_event_device *cd) argument
75 struct clock_event_device *cd = dev_id; local
79 if (clockevent_state_periodic(cd))
88 cd->event_handler(cd);
100 struct clock_event_device *cd = &per_cpu(sibyte_hpt_clockevent, cpu); local
107 cd->name = name;
108 cd->features = CLOCK_EVT_FEAT_PERIODIC |
110 clockevent_set_clock(cd, V_SCD_TIMER_FREQ);
111 cd
[all...]
H A Dcevt-sb1250.c56 static int sibyte_next_event(unsigned long delta, struct clock_event_device *cd) argument
74 struct clock_event_device *cd = dev_id; local
78 if (clockevent_state_periodic(cd))
87 cd->event_handler(cd);
99 struct clock_event_device *cd = &per_cpu(sibyte_hpt_clockevent, cpu); local
107 cd->name = name;
108 cd->features = CLOCK_EVT_FEAT_PERIODIC |
110 clockevent_set_clock(cd, V_SCD_TIMER_FREQ);
111 cd
[all...]
/linux-master/fs/nfs/
H A Dcache_lib.h22 extern int nfs_cache_upcall(struct cache_detail *cd, char *entry_name);
27 extern int nfs_cache_register_net(struct net *net, struct cache_detail *cd);
28 extern void nfs_cache_unregister_net(struct net *net, struct cache_detail *cd);
30 struct cache_detail *cd);
32 struct cache_detail *cd);
/linux-master/sound/soc/au1x/
H A Ddbdma2.c78 static void au1x_pcm_queue_tx(struct au1xpsc_audio_dmadata *cd) argument
80 au1xxx_dbdma_put_source(cd->ddma_chan, cd->dma_area,
81 cd->period_bytes, DDMA_FLAGS_IE);
84 ++cd->q_period;
85 cd->dma_area += cd->period_bytes;
86 if (cd->q_period >= cd->periods) {
87 cd
92 au1x_pcm_queue_rx(struct au1xpsc_audio_dmadata *cd) argument
108 struct au1xpsc_audio_dmadata *cd = dev_id; local
121 struct au1xpsc_audio_dmadata *cd = dev_id; local
[all...]
/linux-master/drivers/scsi/
H A Dsr_vendor.c68 void sr_vendor_init(Scsi_CD *cd) argument
70 const char *vendor = cd->device->vendor;
71 const char *model = cd->device->model;
74 cd->vendor = VENDOR_SCSI3;
75 if (cd->readcd_known)
79 if (cd->device->type == TYPE_WORM) {
80 cd->vendor = VENDOR_WRITER;
83 cd->vendor = VENDOR_NEC;
95 cd->cdi.mask |= CDC_MULTI_SESSION;
98 cd
124 sr_set_blocklength(Scsi_CD *cd, int blocklength) argument
173 Scsi_CD *cd = cdi->handle; local
[all...]
H A Dsr.c148 struct scsi_cd *cd = dev_get_drvdata(dev); local
150 if (!cd) /* E.g.: runtime suspend following sr_remove() */
153 if (cd->media_present)
209 struct scsi_cd *cd = cdi->handle; local
219 events = sr_get_events(cd->device);
220 cd->get_event_changed |= events & DISK_EVENT_MEDIA_CHANGE;
228 if (cd->ignore_get_event) {
238 if (cd->device->changed) {
240 cd->device->changed = 0;
241 cd
303 struct scsi_cd *cd = scsi_cd(rq->q->disk); local
363 struct scsi_cd *cd; local
477 sr_revalidate_disk(struct scsi_cd *cd) argument
490 struct scsi_cd *cd = scsi_cd(disk); local
513 struct scsi_cd *cd = scsi_cd(disk); local
525 struct scsi_cd *cd = scsi_cd(bdev->bd_disk); local
559 struct scsi_cd *cd = disk->private_data; local
568 struct scsi_cd *cd = disk->private_data; local
592 struct scsi_cd *cd = cdi->handle; local
613 struct scsi_cd *cd; local
718 get_sectorsize(struct scsi_cd *cd) argument
799 get_capabilities(struct scsi_cd *cd) argument
913 struct scsi_cd *cd = cdi->handle; local
979 struct scsi_cd *cd = dev_get_drvdata(dev); local
[all...]
/linux-master/io_uring/
H A Dcancel.c35 * Returns true if the request matches the criteria outlined by 'cd'.
37 bool io_cancel_req_match(struct io_kiocb *req, struct io_cancel_data *cd) argument
39 bool match_user_data = cd->flags & IORING_ASYNC_CANCEL_USERDATA;
41 if (req->ctx != cd->ctx)
44 if (!(cd->flags & (IORING_ASYNC_CANCEL_FD | IORING_ASYNC_CANCEL_OP)))
47 if (cd->flags & IORING_ASYNC_CANCEL_ANY)
49 if (cd->flags & IORING_ASYNC_CANCEL_FD) {
50 if (req->file != cd->file)
53 if (cd->flags & IORING_ASYNC_CANCEL_OP) {
54 if (req->opcode != cd
71 struct io_cancel_data *cd = data; local
76 io_async_cancel_one(struct io_uring_task *tctx, struct io_cancel_data *cd) argument
103 io_try_cancel(struct io_uring_task *tctx, struct io_cancel_data *cd, unsigned issue_flags) argument
165 __io_async_cancel(struct io_cancel_data *cd, struct io_uring_task *tctx, unsigned int issue_flags) argument
203 struct io_cancel_data cd = { local
247 __io_sync_cancel(struct io_uring_task *tctx, struct io_cancel_data *cd, int fd) argument
269 struct io_cancel_data cd = { variable in typeref:struct:io_cancel_data
[all...]
/linux-master/drivers/dca/
H A Ddca-sysfs.c22 struct device *cd; local
25 cd = device_create(dca_class, dca->cd, MKDEV(0, slot + 1), NULL,
27 return PTR_ERR_OR_ZERO(cd);
37 struct device *cd; local
52 cd = device_create(dca_class, dev, MKDEV(0, 0), NULL, "dca%d", dca->id);
53 if (IS_ERR(cd)) {
57 return PTR_ERR(cd);
59 dca->cd = cd;
[all...]
/linux-master/drivers/net/dsa/
H A Ddsa_loop.h11 struct dsa_chip_data cd; member in struct:dsa_loop_pdata
/linux-master/arch/mips/alchemy/common/
H A Dtime.c49 struct clock_event_device *cd)
62 struct clock_event_device *cd = dev_id; local
63 cd->event_handler(cd);
77 struct clock_event_device *cd = &au1x_rtcmatch2_clockdev; local
119 cd->shift = 32;
120 cd->mult = div_sc(32768, NSEC_PER_SEC, cd->shift);
121 cd->max_delta_ns = clockevent_delta2ns(0xffffffff, cd);
48 au1x_rtcmatch2_set_next_event(unsigned long delta, struct clock_event_device *cd) argument
[all...]

Completed in 314 milliseconds

123456789