Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/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 const 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))
/linux-6.3-rc2/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-6.3-rc2/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()
138 rate = clamp(rate, hd->min_rate, hd->max_rate); in clk_hfpll_round_rate()
170 if (hd->user_reg && hd->user_vco_mask) { in clk_hfpll_set_rate()
[all …]
/linux-6.3-rc2/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 …]
A Dhd44780_common.c348 struct hd44780_common *hd; in hd44780_common_alloc() local
350 hd = kzalloc(sizeof(*hd), GFP_KERNEL); in hd44780_common_alloc()
351 if (!hd) in hd44780_common_alloc()
354 hd->ifwidth = 8; in hd44780_common_alloc()
355 hd->bwidth = DEFAULT_LCD_BWIDTH; in hd44780_common_alloc()
356 hd->hwidth = DEFAULT_LCD_HWIDTH; in hd44780_common_alloc()
357 return hd; in hd44780_common_alloc()
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/video/fbdev/omap2/omapfb/dss/
A Dhdmi4.c305 hdmi4_audio_start(&hd->core, &hd->wp); in hdmi_start_audio_stream()
310 hdmi4_audio_stop(&hd->core, &hd->wp); in hdmi_stop_audio_stream()
555 mutex_lock(&hd->lock); in hdmi_audio_startup()
557 if (!hdmi_mode_has_audio(&hd->cfg) || !hd->display_enabled) { in hdmi_audio_startup()
565 mutex_unlock(&hd->lock); in hdmi_audio_startup()
574 mutex_lock(&hd->lock); in hdmi_audio_shutdown()
578 mutex_unlock(&hd->lock); in hdmi_audio_shutdown()
592 if (hd->display_enabled) in hdmi_audio_start()
622 mutex_lock(&hd->lock); in hdmi_audio_config()
624 if (!hdmi_mode_has_audio(&hd->cfg) || !hd->display_enabled) { in hdmi_audio_config()
[all …]
A Dhdmi5.c341 REG_FLD_MOD(hd->wp.base, HDMI_WP_SYSCONFIG, hd->wp_idlemode, 3, 2); in hdmi_stop_audio_stream()
587 mutex_lock(&hd->lock); in hdmi_audio_startup()
589 if (!hdmi_mode_has_audio(&hd->cfg) || !hd->display_enabled) { in hdmi_audio_startup()
597 mutex_unlock(&hd->lock); in hdmi_audio_startup()
606 mutex_lock(&hd->lock); in hdmi_audio_shutdown()
610 mutex_unlock(&hd->lock); in hdmi_audio_shutdown()
624 if (hd->display_enabled) in hdmi_audio_start()
641 if (hd->display_enabled) in hdmi_audio_stop()
654 mutex_lock(&hd->lock); in hdmi_audio_config()
656 if (!hdmi_mode_has_audio(&hd->cfg) || !hd->display_enabled) { in hdmi_audio_config()
[all …]
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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()
505 mutex_lock(&hd->lock); in hdmi_audio_startup()
511 mutex_unlock(&hd->lock); in hdmi_audio_startup()
520 mutex_lock(&hd->lock); in hdmi_audio_shutdown()
521 hd->audio_abort_cb = NULL; in hdmi_audio_shutdown()
524 mutex_unlock(&hd->lock); in hdmi_audio_shutdown()
542 hd->audio_playing = true; in hdmi_audio_start()
558 if (hd->display_enabled) in hdmi_audio_stop()
571 mutex_lock(&hd->lock); in hdmi_audio_config()
574 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()
522 mutex_lock(&hd->lock); in hdmi_audio_startup()
528 mutex_unlock(&hd->lock); in hdmi_audio_startup()
537 mutex_lock(&hd->lock); in hdmi_audio_shutdown()
541 mutex_unlock(&hd->lock); in hdmi_audio_shutdown()
559 hd->audio_playing = true; in hdmi_audio_start()
574 if (hd->display_enabled) in hdmi_audio_stop()
587 mutex_lock(&hd->lock); in hdmi_audio_config()
590 ret = hdmi4_audio_config(&hd->core, &hd->wp, dss_audio, in hdmi_audio_config()
[all …]
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/include/drm/
A Ddrm_modes.h134 #define DRM_MODE(nm, t, c, hd, hss, hse, ht, hsk, vd, vss, vse, vt, vs, f) \ argument
136 .hdisplay = (hd), .hsync_start = (hss), .hsync_end = (hse), \
149 #define __DRM_MODE_INIT(pix, hd, vd, hd_mm, vd_mm) \ argument
151 .hdisplay = (hd), .hsync_start = (hd), .hsync_end = (hd), \
152 .htotal = (hd), .vdisplay = (vd), .vsync_start = (vd), \
167 #define DRM_MODE_INIT(hz, hd, vd, hd_mm, vd_mm) \ argument
168 __DRM_MODE_INIT((hd) * (vd) * (hz) / 1000 /* kHz */, hd, vd, hd_mm, vd_mm)
180 #define DRM_SIMPLE_MODE(hd, vd, hd_mm, vd_mm) \ argument
181 __DRM_MODE_INIT(1 /* pass validation */, hd, vd, hd_mm, vd_mm)
/linux-6.3-rc2/drivers/scsi/
A Dwd33c93.c2031 hd->disconnect = x; in wd33c93_write_info()
2034 hd->default_sx_per = in wd33c93_write_info()
2046 hd->dma_mode = in wd33c93_write_info()
2050 if (x != hd->fast) in wd33c93_write_info()
2051 set_resync(hd, 0xff); in wd33c93_write_info()
2052 hd->fast = x; in wd33c93_write_info()
2055 set_resync(hd, x ^ hd->no_sync); in wd33c93_write_info()
2056 hd->no_sync = x; in wd33c93_write_info()
2085 hd->clock_freq, hd->no_sync, hd->no_dma, hd->dma_mode, hd->fast); in wd33c93_show_info()
2106 hd->int_cnt, hd->dma_cnt, hd->pio_cnt); in wd33c93_show_info()
[all …]
/linux-6.3-rc2/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
1768 llc->hd.flags |= SMC_LLC_FLAG_RESP; in smc_llc_rmt_conf_rkey()
[all …]

Completed in 61 milliseconds

1234