Home
last modified time | relevance | path

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

123

/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.c113 const struct gb_host_device *hd; in greybus_uevent() local
121 hd = to_gb_host_device(dev); in greybus_uevent()
124 hd = module->hd; in greybus_uevent()
128 hd = intf->hd; in greybus_uevent()
133 hd = intf->hd; in greybus_uevent()
138 hd = intf->hd; in greybus_uevent()
141 hd = svc->hd; in greybus_uevent()
147 if (add_uevent_var(env, "BUS=%u", hd->bus_id)) in greybus_uevent()
181 struct gb_host_device *hd; in greybus_shutdown() local
183 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()
472 struct gb_host_device *hd = operation->connection->hd; in gb_operation_response_alloc() local
524 struct gb_host_device *hd = connection->hd; in gb_operation_create_common() local
624 struct gb_host_device *hd = connection->hd; in gb_operation_get_payload_size_max() local
891 dev_err(&connection->hd->dev, in greybus_message_sent()
929 dev_err(&connection->hd->dev, in gb_connection_recv_request()
1162 dev_err(&connection->hd->dev, in gb_operation_sync_timeout()
[all …]
A Dinterface.c128 struct gb_svc *svc = intf->hd->svc; in gb_interface_route_create()
174 struct gb_svc *svc = intf->hd->svc; in gb_interface_route_destroy()
362 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 …]
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 Dsvc.c891 struct gb_host_device *hd = svc->hd; in gb_svc_interface_lookup() local
896 list_for_each_entry(module, &hd->modules, hd_node) { in gb_svc_interface_lookup()
911 struct gb_host_device *hd = svc->hd; in gb_svc_module_lookup() local
914 list_for_each_entry(module, &hd->modules, hd_node) { in gb_svc_module_lookup()
959 struct gb_host_device *hd = svc->hd; in gb_svc_process_module_inserted() local
999 list_add(&module->hd_node, &hd->modules); in gb_svc_process_module_inserted()
1313 struct gb_svc *gb_svc_create(struct gb_host_device *hd) in gb_svc_create() argument
1327 svc->dev.parent = &hd->dev; in gb_svc_create()
1334 dev_set_name(&svc->dev, "%d-svc", hd->bus_id); in gb_svc_create()
1338 svc->hd = hd; in gb_svc_create()
[all …]
/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()
42 if (hd->user_vco_mask && rate > hd->low_vco_max_rate) in __clk_hfpll_init_once()
48 if (hd->l_val) in __clk_hfpll_init_once()
49 regmap_write(regmap, hd->l_reg, hd->l_val); in __clk_hfpll_init_once()
51 if (hd->droop_reg) in __clk_hfpll_init_once()
52 regmap_write(regmap, hd->droop_reg, hd->droop_val); in __clk_hfpll_init_once()
79 if (hd->status_reg) in __clk_hfpll_enable()
141 req->rate = clamp(req->rate, hd->min_rate, hd->max_rate); in clk_hfpll_determine_rate()
[all …]
/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()
169 hd44780_strobe_gpio(hd); in hd44780_write_cmd_raw_gpio4()
206 struct hd44780 *hd; in hd44780_probe() local
229 hd = kzalloc(sizeof(*hd), GFP_KERNEL); in hd44780_probe()
230 if (!hd) in hd44780_probe()
234 hdc->hd44780 = hd; in hd44780_probe()
[all …]
/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 …]
/drivers/video/fbdev/omap2/omapfb/dss/
A Dhdmi4.c306 hdmi4_audio_start(&hd->core, &hd->wp); in hdmi_start_audio_stream()
311 hdmi4_audio_stop(&hd->core, &hd->wp); in hdmi_stop_audio_stream()
556 mutex_lock(&hd->lock); in hdmi_audio_startup()
558 if (!hdmi_mode_has_audio(&hd->cfg) || !hd->display_enabled) { in hdmi_audio_startup()
566 mutex_unlock(&hd->lock); in hdmi_audio_startup()
575 mutex_lock(&hd->lock); in hdmi_audio_shutdown()
579 mutex_unlock(&hd->lock); in hdmi_audio_shutdown()
593 if (hd->display_enabled) in hdmi_audio_start()
623 mutex_lock(&hd->lock); in hdmi_audio_config()
625 if (!hdmi_mode_has_audio(&hd->cfg) || !hd->display_enabled) { in hdmi_audio_config()
[all …]
A Dhdmi5.c342 REG_FLD_MOD(hd->wp.base, HDMI_WP_SYSCONFIG, hd->wp_idlemode, 3, 2); in hdmi_stop_audio_stream()
588 mutex_lock(&hd->lock); in hdmi_audio_startup()
590 if (!hdmi_mode_has_audio(&hd->cfg) || !hd->display_enabled) { in hdmi_audio_startup()
598 mutex_unlock(&hd->lock); in hdmi_audio_startup()
607 mutex_lock(&hd->lock); in hdmi_audio_shutdown()
611 mutex_unlock(&hd->lock); in hdmi_audio_shutdown()
625 if (hd->display_enabled) in hdmi_audio_start()
642 if (hd->display_enabled) in hdmi_audio_stop()
655 mutex_lock(&hd->lock); in hdmi_audio_config()
657 if (!hdmi_mode_has_audio(&hd->cfg) || !hd->display_enabled) { in hdmi_audio_config()
[all …]
/drivers/message/fusion/
A Dmptspi.c404 if (hd == NULL) in mptspi_target_alloc()
407 ioc = hd->ioc; in mptspi_target_alloc()
1116 struct _MPT_SCSI_HOST *hd = wqw->hd; in mpt_work_wrapper() local
1165 wqw->hd = hd; in mpt_dv_raid()
1262 struct _MPT_SCSI_HOST *hd = wqw->hd; in mptspi_dv_renegotiate_work() local
1271 if (hd->spi_pending) { in mptspi_dv_renegotiate_work()
1297 wqw->hd = hd; in mptspi_dv_renegotiate()
1357 MPT_SCSI_HOST *hd; in mptspi_probe() local
1492 hd = shost_priv(sh); in mptspi_probe()
1493 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()
1328 ioc = hd->ioc; in mptscsih_qcmd()
1683 MPT_SCSI_HOST *hd; in mptscsih_abort() local
1701 ioc = hd->ioc; in mptscsih_abort()
1806 MPT_SCSI_HOST *hd; in mptscsih_dev_reset() local
1819 ioc = hd->ioc; in mptscsih_dev_reset()
1872 ioc = hd->ioc; in mptscsih_bus_reset()
[all …]
A Dmptfc.c189 MPT_SCSI_HOST *hd; in mptfc_block_error_handler() local
196 hd = shost_priv(shost); in mptfc_block_error_handler()
197 ioc = hd->ioc; in mptfc_block_error_handler()
236 hd->ioc->name, shost->host_no, in mptfc_abort()
636 MPT_SCSI_HOST *hd; in mptfc_sdev_init() local
649 hd = shost_priv(sdev->host); in mptfc_sdev_init()
650 ioc = hd->ioc; in mptfc_sdev_init()
1208 MPT_SCSI_HOST *hd; in mptfc_probe() local
1324 hd = shost_priv(sh); in mptfc_probe()
1325 hd->ioc = ioc; in mptfc_probe()
[all …]
/drivers/gpu/drm/omapdrm/dss/
A Dhdmi5.c274 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.c267 hdmi4_audio_start(&hd->core, &hd->wp); in hdmi_start_audio_stream()
272 hdmi4_audio_stop(&hd->core, &hd->wp); in hdmi_stop_audio_stream()
529 mutex_lock(&hd->lock); in hdmi_audio_startup()
535 mutex_unlock(&hd->lock); in hdmi_audio_startup()
544 mutex_lock(&hd->lock); in hdmi_audio_shutdown()
548 mutex_unlock(&hd->lock); in hdmi_audio_shutdown()
566 hd->audio_playing = true; in hdmi_audio_start()
581 if (hd->display_enabled) in hdmi_audio_stop()
594 mutex_lock(&hd->lock); in hdmi_audio_config()
597 ret = hdmi4_audio_config(&hd->core, &hd->wp, dss_audio, in hdmi_audio_config()
[all …]
/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 …]
/drivers/scsi/
A Dwd33c93.c2029 hd->disconnect = x; in wd33c93_write_info()
2032 hd->default_sx_per = in wd33c93_write_info()
2044 hd->dma_mode = in wd33c93_write_info()
2048 if (x != hd->fast) in wd33c93_write_info()
2049 set_resync(hd, 0xff); in wd33c93_write_info()
2050 hd->fast = x; in wd33c93_write_info()
2053 set_resync(hd, x ^ hd->no_sync); in wd33c93_write_info()
2054 hd->no_sync = x; in wd33c93_write_info()
2083 hd->clock_freq, hd->no_sync, hd->no_dma, hd->dma_mode, hd->fast); in wd33c93_show_info()
2104 hd->int_cnt, hd->dma_cnt, hd->pio_cnt); in wd33c93_show_info()
[all …]
A Dsgiwd93.c70 void fill_hpc_entries(struct ip22_hostdata *hd, struct scsi_cmnd *cmd, int din) in fill_hpc_entries() argument
79 physaddr = dma_map_single(hd->dev, addr, len, DMA_DIR(din)); in fill_hpc_entries()
81 hcp = hd->cpu; in fill_hpc_entries()
103 dma_sync_single_for_device(hd->dev, hd->dma, in fill_hpc_entries()
104 (unsigned long)(hcp + 1) - (unsigned long)hd->cpu, in fill_hpc_entries()
/drivers/media/cec/usb/extron-da-hd-4k-plus/
A DMakefile1 extron-da-hd-4k-plus-cec-objs := extron-da-hd-4k-plus.o cec-splitter.o
2 obj-$(CONFIG_USB_EXTRON_DA_HD_4K_PLUS_CEC) := extron-da-hd-4k-plus-cec.o
/drivers/gpu/drm/radeon/
A Dradeon_uvd.c841 unsigned *sd, unsigned *hd) in radeon_uvd_count_handles() argument
846 *hd = 0; in radeon_uvd_count_handles()
853 ++(*hd); in radeon_uvd_count_handles()
867 &rdev->pm.dpm.hd); in radeon_uvd_idle_work_handler()
886 unsigned hd = 0, sd = 0; in radeon_uvd_note_usage() local
887 radeon_uvd_count_handles(rdev, &sd, &hd); in radeon_uvd_note_usage()
889 (rdev->pm.dpm.hd != hd)) { in radeon_uvd_note_usage()
891 rdev->pm.dpm.hd = hd; in radeon_uvd_note_usage()
/drivers/video/fbdev/matrox/
A Dmatroxfb_misc.c193 unsigned int hd, hs, he, hbe, ht; in matroxfb_vgaHWinit() local
241 hd = m->HDisplay >> 3; in matroxfb_vgaHWinit()
250 hd >>= 1; in matroxfb_vgaHWinit()
259 hd <<= 1; in matroxfb_vgaHWinit()
265 hd = hd - 1; in matroxfb_vgaHWinit()
291 ((hd & 0x100) >> 7) | /* blanking */ in matroxfb_vgaHWinit()
306 hw->CRTC[1] = hd; in matroxfb_vgaHWinit()
307 hw->CRTC[2] = hd; in matroxfb_vgaHWinit()

Completed in 83 milliseconds

123