Home
last modified time | relevance | path

Searched refs:hd (Results 1 – 25 of 102) sorted by relevance

12345

/linux/drivers/greybus/
A Dhd.c27 if (!hd || !hd->driver || !hd->driver->output) in gb_hd_output()
29 return hd->driver->output(hd, req, size, cmd, async); in gb_hd_output()
79 return hd->driver->cport_allocate(hd, cport_id, flags); in gb_hd_cport_allocate()
99 hd->driver->cport_release(hd, cport_id); in gb_hd_cport_release()
116 kfree(hd); in gb_hd_release()
162 if (!hd) in gb_hd_create()
167 kfree(hd); in gb_hd_create()
183 hd->dev.dma_mask = hd->dev.parent->dma_mask; in gb_hd_create()
185 dev_set_name(&hd->dev, "greybus%d", hd->bus_id); in gb_hd_create()
189 hd->svc = gb_svc_create(hd); in gb_hd_create()
[all …]
A Dconnection.c24 struct gb_host_device *hd = intf->hd; in gb_connection_cport_in_use() local
176 connection->hd = hd; in _gb_connection_create()
281 struct gb_host_device *hd = connection->hd; in gb_connection_hd_cport_enable() local
300 struct gb_host_device *hd = connection->hd; in gb_connection_hd_cport_disable() local
315 struct gb_host_device *hd = connection->hd; in gb_connection_hd_cport_connected() local
333 struct gb_host_device *hd = connection->hd; in gb_connection_hd_cport_flush() local
351 struct gb_host_device *hd = connection->hd; in gb_connection_hd_cport_quiesce() local
378 struct gb_host_device *hd = connection->hd; in gb_connection_hd_cport_clear() local
401 struct gb_host_device *hd = connection->hd; in gb_connection_svc_connection_create() local
557 struct gb_host_device *hd = connection->hd; in gb_connection_cport_shutdown() local
[all …]
A Des2.c103 struct gb_host_device *hd; member
455 struct gb_host_device *hd = message->operation->connection->hd; in message_cancel() local
808 gb_hd_put(es2->hd); in es2_destroy()
859 struct gb_host_device *hd = message->operation->connection->hd; in cport_out_callback() local
1272 if (IS_ERR(hd)) { in ap_probe()
1274 return PTR_ERR(hd); in ap_probe()
1277 es2 = hd_to_es2(hd); in ap_probe()
1278 es2->hd = hd; in ap_probe()
1417 retval = gb_hd_add(hd); in ap_probe()
1428 gb_hd_del(hd); in ap_probe()
[all …]
A Dcore.c83 struct gb_host_device *hd; in greybus_uevent() local
91 hd = to_gb_host_device(dev); in greybus_uevent()
94 hd = module->hd; in greybus_uevent()
98 hd = intf->hd; in greybus_uevent()
103 hd = intf->hd; in greybus_uevent()
108 hd = intf->hd; in greybus_uevent()
111 hd = svc->hd; in greybus_uevent()
117 if (add_uevent_var(env, "BUS=%u", hd->bus_id)) in greybus_uevent()
151 struct gb_host_device *hd; in greybus_shutdown() local
153 hd = to_gb_host_device(dev); in greybus_shutdown()
[all …]
A Doperation.c220 return connection->hd->driver->message_send(connection->hd, in gb_message_send()
231 struct gb_host_device *hd = message->operation->connection->hd; in gb_message_cancel() local
245 dev_err(&connection->hd->dev, in gb_operation_request_handle()
254 dev_err(&connection->hd->dev, in gb_operation_request_handle()
471 struct gb_host_device *hd = operation->connection->hd; in gb_operation_response_alloc() local
523 struct gb_host_device *hd = connection->hd; in gb_operation_create_common() local
623 struct gb_host_device *hd = connection->hd; in gb_operation_get_payload_size_max() local
890 dev_err(&connection->hd->dev, in greybus_message_sent()
928 dev_err(&connection->hd->dev, in gb_connection_recv_request()
1161 dev_err(&connection->hd->dev, in gb_operation_sync_timeout()
[all …]
A Dmodule.c41 ret = gb_svc_intf_eject(module->hd->svc, module->module_id); in eject_store()
89 struct gb_module *gb_module_create(struct gb_host_device *hd, u8 module_id, in gb_module_create() argument
101 module->hd = hd; in gb_module_create()
105 module->dev.parent = &hd->dev; in gb_module_create()
109 module->dev.dma_mask = hd->dev.dma_mask; in gb_module_create()
111 dev_set_name(&module->dev, "%d-%u", hd->bus_id, module_id); in gb_module_create()
A Dgreybus_trace.h179 __entry->hd_bus_id = connection->hd->bus_id;
388 __entry->hd_bus_id = module->hd->bus_id;
431 TP_PROTO(struct gb_host_device *hd),
433 TP_ARGS(hd),
442 __entry->bus_id = hd->bus_id;
443 __entry->num_cports = hd->num_cports;
444 __entry->buffer_size_max = hd->buffer_size_max;
454 TP_PROTO(struct gb_host_device *hd), \
455 TP_ARGS(hd))
A Dinterface.c128 struct gb_svc *svc = intf->hd->svc; in gb_interface_route_create()
175 struct gb_svc *svc = intf->hd->svc; in gb_interface_route_destroy()
363 struct gb_host_device *hd = intf->hd; in gb_interface_read_and_clear_init_status() local
736 struct gb_svc *svc = intf->hd->svc; in gb_interface_resume()
789 struct gb_host_device *hd = module->hd; in gb_interface_create() local
796 intf->hd = hd; /* XXX refcount? */ in gb_interface_create()
827 struct gb_svc *svc = intf->hd->svc; in gb_interface_vsys_set()
843 struct gb_svc *svc = intf->hd->svc; in gb_interface_refclk_set()
859 struct gb_svc *svc = intf->hd->svc; in gb_interface_unipro_set()
876 struct gb_svc *svc = intf->hd->svc; in gb_interface_activate_operation()
[all …]
/linux/arch/sh/drivers/
A Dheartbeat.c41 new &= hd->mask; in heartbeat_toggle_bit()
45 new |= ioread32(hd->base) & ~hd->mask; in heartbeat_toggle_bit()
49 new |= ioread16(hd->base) & ~hd->mask; in heartbeat_toggle_bit()
53 new |= ioread8(hd->base) & ~hd->mask; in heartbeat_toggle_bit()
61 struct heartbeat_data *hd = from_timer(hd, t, timer); in heartbeat_timer() local
64 heartbeat_toggle_bit(hd, bit, hd->flags & HEARTBEAT_INVERTED); in heartbeat_timer()
95 if (unlikely(!hd)) in heartbeat_drv_probe()
104 kfree(hd); in heartbeat_drv_probe()
114 hd->mask = 0; in heartbeat_drv_probe()
116 hd->mask |= (1 << hd->bit_pos[i]); in heartbeat_drv_probe()
[all …]
/linux/drivers/clk/qcom/
A Dclk-hfpll.c30 if (hd->config_val) in __clk_hfpll_init_once()
31 regmap_write(regmap, hd->config_reg, hd->config_val); in __clk_hfpll_init_once()
35 if (hd->user_reg) { in __clk_hfpll_init_once()
36 u32 regval = hd->user_val; in __clk_hfpll_init_once()
42 if (hd->user_vco_mask && rate > hd->low_vco_max_rate) in __clk_hfpll_init_once()
47 if (hd->droop_reg) in __clk_hfpll_init_once()
48 regmap_write(regmap, hd->droop_reg, hd->droop_val); in __clk_hfpll_init_once()
75 if (hd->status_reg) { in __clk_hfpll_enable()
135 rate = clamp(rate, hd->min_rate, hd->max_rate); in clk_hfpll_round_rate()
167 if (hd->user_reg && hd->user_vco_mask) { in clk_hfpll_set_rate()
[all …]
/linux/drivers/auxdisplay/
A Dhd44780.c44 struct hd44780 *hd = hdc->hd44780; in hd44780_backlight() local
46 if (hd->pins[PIN_CTRL_BL]) in hd44780_backlight()
76 hd44780_strobe_gpio(hd); in hd44780_write_gpio8()
93 hd44780_strobe_gpio(hd); in hd44780_write_gpio4()
102 hd44780_strobe_gpio(hd); in hd44780_write_gpio4()
110 hd44780_write_gpio8(hd, cmd, 0); in hd44780_write_cmd_gpio8()
169 hd44780_strobe_gpio(hd); in hd44780_write_cmd_raw_gpio4()
206 struct hd44780 *hd; in hd44780_probe() local
234 if (!hd) in hd44780_probe()
237 hdc->hd44780 = hd; in hd44780_probe()
[all …]
/linux/include/linux/greybus/
A Dhd.h21 int (*cport_allocate)(struct gb_host_device *hd, int cport_id,
23 void (*cport_release)(struct gb_host_device *hd, u16 cport_id);
24 int (*cport_enable)(struct gb_host_device *hd, u16 cport_id,
26 int (*cport_disable)(struct gb_host_device *hd, u16 cport_id);
28 int (*cport_flush)(struct gb_host_device *hd, u16 cport_id);
31 int (*cport_quiesce)(struct gb_host_device *hd, u16 cport_id,
33 int (*cport_clear)(struct gb_host_device *hd, u16 cport_id);
75 int gb_hd_add(struct gb_host_device *hd);
76 void gb_hd_del(struct gb_host_device *hd);
77 void gb_hd_shutdown(struct gb_host_device *hd);
[all …]
/linux/arch/mips/sgi-ip27/
A Dip27-irq.c56 __raw_writeq(mask[0], hd->irq_mask[0]); in enable_hub_irq()
57 __raw_writeq(mask[1], hd->irq_mask[1]); in enable_hub_irq()
80 hd->cpu = cpu; in setup_hub_mask()
95 if (!hd) in set_affinity_hub_irq()
101 setup_hub_mask(hd, mask); in set_affinity_hub_irq()
122 struct hub_irq_data *hd; in hub_domain_alloc() local
130 hd = kzalloc(sizeof(*hd), GFP_KERNEL); in hub_domain_alloc()
131 if (!hd) in hub_domain_alloc()
136 kfree(hd); in hub_domain_alloc()
144 setup_hub_mask(hd, &hub->h_cpus); in hub_domain_alloc()
[all …]
/linux/drivers/video/fbdev/omap2/omapfb/dss/
A Dhdmi4.c307 hdmi4_audio_start(&hd->core, &hd->wp); in hdmi_start_audio_stream()
312 hdmi4_audio_stop(&hd->core, &hd->wp); in hdmi_stop_audio_stream()
557 mutex_lock(&hd->lock); in hdmi_audio_startup()
559 if (!hdmi_mode_has_audio(&hd->cfg) || !hd->display_enabled) { in hdmi_audio_startup()
567 mutex_unlock(&hd->lock); in hdmi_audio_startup()
576 mutex_lock(&hd->lock); in hdmi_audio_shutdown()
580 mutex_unlock(&hd->lock); in hdmi_audio_shutdown()
594 if (hd->display_enabled) in hdmi_audio_start()
624 mutex_lock(&hd->lock); in hdmi_audio_config()
626 if (!hdmi_mode_has_audio(&hd->cfg) || !hd->display_enabled) { in hdmi_audio_config()
[all …]
A Dhdmi5.c343 REG_FLD_MOD(hd->wp.base, HDMI_WP_SYSCONFIG, hd->wp_idlemode, 3, 2); in hdmi_stop_audio_stream()
589 mutex_lock(&hd->lock); in hdmi_audio_startup()
591 if (!hdmi_mode_has_audio(&hd->cfg) || !hd->display_enabled) { in hdmi_audio_startup()
599 mutex_unlock(&hd->lock); in hdmi_audio_startup()
608 mutex_lock(&hd->lock); in hdmi_audio_shutdown()
612 mutex_unlock(&hd->lock); in hdmi_audio_shutdown()
626 if (hd->display_enabled) in hdmi_audio_start()
643 if (hd->display_enabled) in hdmi_audio_stop()
656 mutex_lock(&hd->lock); in hdmi_audio_config()
658 if (!hdmi_mode_has_audio(&hd->cfg) || !hd->display_enabled) { in hdmi_audio_config()
[all …]
/linux/drivers/message/fusion/
A Dmptspi.c404 if (hd == NULL) in mptspi_target_alloc()
407 ioc = hd->ioc; in mptspi_target_alloc()
1114 struct _MPT_SCSI_HOST *hd = wqw->hd; in mpt_work_wrapper() local
1163 wqw->hd = hd; in mpt_dv_raid()
1260 struct _MPT_SCSI_HOST *hd = wqw->hd; in mptspi_dv_renegotiate_work() local
1269 if (hd->spi_pending) { in mptspi_dv_renegotiate_work()
1295 wqw->hd = hd; in mptspi_dv_renegotiate()
1355 MPT_SCSI_HOST *hd; in mptspi_probe() local
1490 hd = shost_priv(sh); in mptspi_probe()
1491 hd->ioc = ioc; in mptspi_probe()
[all …]
A Dmptscsih.c589 MPT_SCSI_HOST *hd; in mptscsih_io_done() local
1156 ioc = hd->ioc; in mptscsih_report_queue_full()
1180 hd = NULL; in mptscsih_remove()
1198 if (hd) in mptscsih_remove()
1329 ioc = hd->ioc; in mptscsih_qcmd()
1684 MPT_SCSI_HOST *hd; in mptscsih_abort() local
1702 ioc = hd->ioc; in mptscsih_abort()
1807 MPT_SCSI_HOST *hd; in mptscsih_dev_reset() local
1820 ioc = hd->ioc; in mptscsih_dev_reset()
1880 ioc = hd->ioc; in mptscsih_bus_reset()
[all …]
/linux/drivers/md/
A Ddm-clone-target.c620 return hd; in __hash_find()
656 return hd; in __find_or_insert_region_hydration()
673 return hd; in alloc_hydration()
678 mempool_free(hd, &hd->clone->hydration_pool); in free_hydration()
687 hd->status = 0; in hydration_init()
750 bio_list_add(&hd->deferred_bios, hd->overwrite_bio); in hydration_complete()
886 if (hd) { in hydrate_bio_region()
920 if (hd2 != hd) { in hydrate_bio_region()
990 hd = NULL; in __batch_hydration()
1001 if (!hd) in __batch_hydration()
[all …]
/linux/drivers/gpu/drm/omapdrm/dss/
A Dhdmi5.c273 REG_FLD_MOD(hd->wp.base, HDMI_WP_SYSCONFIG, hd->wp_idlemode, 3, 2); in hdmi_stop_audio_stream()
504 mutex_lock(&hd->lock); in hdmi_audio_startup()
510 mutex_unlock(&hd->lock); in hdmi_audio_startup()
519 mutex_lock(&hd->lock); in hdmi_audio_shutdown()
520 hd->audio_abort_cb = NULL; in hdmi_audio_shutdown()
523 mutex_unlock(&hd->lock); in hdmi_audio_shutdown()
541 hd->audio_playing = true; in hdmi_audio_start()
557 if (hd->display_enabled) in hdmi_audio_stop()
570 mutex_lock(&hd->lock); in hdmi_audio_config()
573 ret = hdmi5_audio_config(&hd->core, &hd->wp, dss_audio, in hdmi_audio_config()
[all …]
A Dhdmi4.c266 hdmi4_audio_start(&hd->core, &hd->wp); in hdmi_start_audio_stream()
271 hdmi4_audio_stop(&hd->core, &hd->wp); in hdmi_stop_audio_stream()
521 mutex_lock(&hd->lock); in hdmi_audio_startup()
527 mutex_unlock(&hd->lock); in hdmi_audio_startup()
536 mutex_lock(&hd->lock); in hdmi_audio_shutdown()
540 mutex_unlock(&hd->lock); in hdmi_audio_shutdown()
558 hd->audio_playing = true; in hdmi_audio_start()
573 if (hd->display_enabled) in hdmi_audio_stop()
586 mutex_lock(&hd->lock); in hdmi_audio_config()
589 ret = hdmi4_audio_config(&hd->core, &hd->wp, dss_audio, in hdmi_audio_config()
[all …]
/linux/fs/dlm/
A Dutil.c23 void header_out(struct dlm_header *hd) in header_out() argument
25 hd->h_version = cpu_to_le32(hd->h_version); in header_out()
27 hd->u.h_lockspace = cpu_to_le32(hd->u.h_lockspace); in header_out()
28 hd->h_nodeid = cpu_to_le32(hd->h_nodeid); in header_out()
29 hd->h_length = cpu_to_le16(hd->h_length); in header_out()
32 void header_in(struct dlm_header *hd) in header_in() argument
34 hd->h_version = le32_to_cpu(hd->h_version); in header_in()
36 hd->u.h_lockspace = le32_to_cpu(hd->u.h_lockspace); in header_in()
37 hd->h_nodeid = le32_to_cpu(hd->h_nodeid); in header_in()
38 hd->h_length = le16_to_cpu(hd->h_length); in header_in()
/linux/arch/mips/sgi-ip30/
A Dip30-irq.c147 unsigned long *mask = &per_cpu(irq_enable_mask, hd->cpu); in ip30_mask_heart_irq()
150 heart_write(*mask, &heart_regs->imr[hd->cpu]); in ip30_mask_heart_irq()
156 unsigned long *mask = &per_cpu(irq_enable_mask, hd->cpu); in ip30_mask_and_ack_heart_irq()
159 heart_write(*mask, &heart_regs->imr[hd->cpu]); in ip30_mask_and_ack_heart_irq()
169 heart_write(*mask, &heart_regs->imr[hd->cpu]); in ip30_unmask_heart_irq()
177 if (!hd) in ip30_set_heart_irq_affinity()
183 hd->cpu = cpumask_first_and(mask, cpu_online_mask); in ip30_set_heart_irq_affinity()
206 struct heart_irq_data *hd; in heart_domain_alloc() local
212 hd = kzalloc(sizeof(*hd), GFP_KERNEL); in heart_domain_alloc()
213 if (!hd) in heart_domain_alloc()
[all …]
/linux/drivers/staging/greybus/
A Daudio_apbridgea.c24 return gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_set_config()
45 return gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_register_cport()
62 ret = gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_unregister_cport()
80 return gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_set_tx_data_size()
93 return gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_prepare_tx()
107 return gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_start_tx()
119 return gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_stop_tx()
132 return gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_shutdown_tx()
146 return gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_set_rx_data_size()
159 return gb_hd_output(connection->hd, &req, sizeof(req), in gb_audio_apbridgea_prepare_rx()
[all …]
/linux/drivers/scsi/
A Dwd33c93.c2084 hd->disconnect = x; in wd33c93_write_info()
2087 hd->default_sx_per = in wd33c93_write_info()
2099 hd->dma_mode = in wd33c93_write_info()
2103 if (x != hd->fast) in wd33c93_write_info()
2104 set_resync(hd, 0xff); in wd33c93_write_info()
2105 hd->fast = x; in wd33c93_write_info()
2108 set_resync(hd, x ^ hd->no_sync); in wd33c93_write_info()
2109 hd->no_sync = x; in wd33c93_write_info()
2138 hd->clock_freq, hd->no_sync, hd->no_dma, hd->dma_mode, hd->fast); in wd33c93_show_info()
2159 hd->int_cnt, hd->dma_cnt, hd->pio_cnt); in wd33c93_show_info()
[all …]
/linux/net/smc/
A Dsmc_llc.c48 struct smc_llc_hdr hd; member
64 struct smc_llc_hdr hd; member
106 struct smc_llc_hdr hd; member
116 struct smc_llc_hdr hd; member
128 struct smc_llc_hdr hd; member
135 struct smc_llc_hdr hd; member
155 struct smc_llc_hdr hd; member
165 struct smc_llc_hdr hd; member
174 struct smc_llc_hdr hd; member
1761 llc->hd.flags |= SMC_LLC_FLAG_RESP; in smc_llc_rmt_conf_rkey()
[all …]

Completed in 80 milliseconds

12345