Home
last modified time | relevance | path

Searched full:hd (Results 1 – 25 of 966) sorted by relevance

12345678910>>...39

/kernel/linux/linux-6.6/drivers/greybus/
Dhd.c24 int gb_hd_output(struct gb_host_device *hd, void *req, u16 size, u8 cmd, in gb_hd_output() argument
27 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()
36 struct gb_host_device *hd = to_gb_host_device(dev); in bus_id_show() local
38 return sprintf(buf, "%d\n", hd->bus_id); in bus_id_show()
48 int gb_hd_cport_reserve(struct gb_host_device *hd, u16 cport_id) in gb_hd_cport_reserve() argument
50 struct ida *id_map = &hd->cport_id_map; in gb_hd_cport_reserve()
55 dev_err(&hd->dev, "failed to reserve cport %u\n", cport_id); in gb_hd_cport_reserve()
63 void gb_hd_cport_release_reserved(struct gb_host_device *hd, u16 cport_id) in gb_hd_cport_release_reserved() argument
65 struct ida *id_map = &hd->cport_id_map; in gb_hd_cport_release_reserved()
[all …]
Dconnection.c24 struct gb_host_device *hd = intf->hd; in gb_connection_cport_in_use() local
27 list_for_each_entry(connection, &hd->connections, hd_links) { in gb_connection_cport_in_use()
54 gb_connection_hd_find(struct gb_host_device *hd, u16 cport_id) in gb_connection_hd_find() argument
60 list_for_each_entry(connection, &hd->connections, hd_links) in gb_connection_hd_find()
76 void greybus_data_rcvd(struct gb_host_device *hd, u16 cport_id, in greybus_data_rcvd() argument
81 trace_gb_hd_in(hd); in greybus_data_rcvd()
83 connection = gb_connection_hd_find(hd, cport_id); in greybus_data_rcvd()
85 dev_err(&hd->dev, in greybus_data_rcvd()
122 * @hd: host device of the connection
144 _gb_connection_create(struct gb_host_device *hd, int hd_cport_id, in _gb_connection_create() argument
[all …]
/kernel/linux/linux-5.10/drivers/greybus/
Dhd.c24 int gb_hd_output(struct gb_host_device *hd, void *req, u16 size, u8 cmd, in gb_hd_output() argument
27 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()
36 struct gb_host_device *hd = to_gb_host_device(dev); in bus_id_show() local
38 return sprintf(buf, "%d\n", hd->bus_id); in bus_id_show()
48 int gb_hd_cport_reserve(struct gb_host_device *hd, u16 cport_id) in gb_hd_cport_reserve() argument
50 struct ida *id_map = &hd->cport_id_map; in gb_hd_cport_reserve()
55 dev_err(&hd->dev, "failed to reserve cport %u\n", cport_id); in gb_hd_cport_reserve()
63 void gb_hd_cport_release_reserved(struct gb_host_device *hd, u16 cport_id) in gb_hd_cport_release_reserved() argument
65 struct ida *id_map = &hd->cport_id_map; in gb_hd_cport_release_reserved()
[all …]
Dconnection.c24 struct gb_host_device *hd = intf->hd; in gb_connection_cport_in_use() local
27 list_for_each_entry(connection, &hd->connections, hd_links) { in gb_connection_cport_in_use()
54 gb_connection_hd_find(struct gb_host_device *hd, u16 cport_id) in gb_connection_hd_find() argument
60 list_for_each_entry(connection, &hd->connections, hd_links) in gb_connection_hd_find()
76 void greybus_data_rcvd(struct gb_host_device *hd, u16 cport_id, in greybus_data_rcvd() argument
81 trace_gb_hd_in(hd); in greybus_data_rcvd()
83 connection = gb_connection_hd_find(hd, cport_id); in greybus_data_rcvd()
85 dev_err(&hd->dev, in greybus_data_rcvd()
122 * @hd: host device of the connection
144 _gb_connection_create(struct gb_host_device *hd, int hd_cport_id, in _gb_connection_create() argument
[all …]
/kernel/linux/linux-6.6/arch/sh/drivers/
Dheartbeat.c32 static inline void heartbeat_toggle_bit(struct heartbeat_data *hd, in heartbeat_toggle_bit() argument
37 new = (1 << hd->bit_pos[bit]); in heartbeat_toggle_bit()
41 new &= hd->mask; in heartbeat_toggle_bit()
43 switch (hd->regsize) { in heartbeat_toggle_bit()
45 new |= ioread32(hd->base) & ~hd->mask; in heartbeat_toggle_bit()
46 iowrite32(new, hd->base); in heartbeat_toggle_bit()
49 new |= ioread16(hd->base) & ~hd->mask; in heartbeat_toggle_bit()
50 iowrite16(new, hd->base); in heartbeat_toggle_bit()
53 new |= ioread8(hd->base) & ~hd->mask; in heartbeat_toggle_bit()
54 iowrite8(new, hd->base); in heartbeat_toggle_bit()
[all …]
/kernel/linux/linux-5.10/arch/sh/drivers/
Dheartbeat.c32 static inline void heartbeat_toggle_bit(struct heartbeat_data *hd, in heartbeat_toggle_bit() argument
37 new = (1 << hd->bit_pos[bit]); in heartbeat_toggle_bit()
41 new &= hd->mask; in heartbeat_toggle_bit()
43 switch (hd->regsize) { in heartbeat_toggle_bit()
45 new |= ioread32(hd->base) & ~hd->mask; in heartbeat_toggle_bit()
46 iowrite32(new, hd->base); in heartbeat_toggle_bit()
49 new |= ioread16(hd->base) & ~hd->mask; in heartbeat_toggle_bit()
50 iowrite16(new, hd->base); in heartbeat_toggle_bit()
53 new |= ioread8(hd->base) & ~hd->mask; in heartbeat_toggle_bit()
54 iowrite8(new, hd->base); in heartbeat_toggle_bit()
[all …]
/kernel/linux/linux-5.10/drivers/clk/qcom/
Dclk-hfpll.c23 struct hfpll_data const *hd = h->d; in __clk_hfpll_init_once() local
30 if (hd->config_val) in __clk_hfpll_init_once()
31 regmap_write(regmap, hd->config_reg, hd->config_val); in __clk_hfpll_init_once()
32 regmap_write(regmap, hd->m_reg, 0); in __clk_hfpll_init_once()
33 regmap_write(regmap, hd->n_reg, 1); 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()
43 regval |= hd->user_vco_mask; in __clk_hfpll_init_once()
44 regmap_write(regmap, hd->user_reg, regval); in __clk_hfpll_init_once()
[all …]
/kernel/linux/linux-6.6/drivers/clk/qcom/
Dclk-hfpll.c23 struct hfpll_data const *hd = h->d; in __clk_hfpll_init_once() local
30 if (hd->config_val) in __clk_hfpll_init_once()
31 regmap_write(regmap, hd->config_reg, hd->config_val); in __clk_hfpll_init_once()
32 regmap_write(regmap, hd->m_reg, 0); in __clk_hfpll_init_once()
33 regmap_write(regmap, hd->n_reg, 1); 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()
43 regval |= hd->user_vco_mask; in __clk_hfpll_init_once()
44 regmap_write(regmap, hd->user_reg, regval); in __clk_hfpll_init_once()
[all …]
/kernel/linux/linux-5.10/drivers/auxdisplay/
Dhd44780.c42 struct hd44780 *hd = lcd->drvdata; in hd44780_backlight() local
44 if (hd->pins[PIN_CTRL_BL]) in hd44780_backlight()
45 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_BL], on); in hd44780_backlight()
48 static void hd44780_strobe_gpio(struct hd44780 *hd) in hd44780_strobe_gpio() argument
53 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_E], 1); in hd44780_strobe_gpio()
58 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_E], 0); in hd44780_strobe_gpio()
62 static void hd44780_write_gpio8(struct hd44780 *hd, u8 val, unsigned int rs) in hd44780_write_gpio8() argument
69 n = hd->pins[PIN_CTRL_RW] ? 10 : 9; in hd44780_write_gpio8()
72 gpiod_set_array_value_cansleep(n, &hd->pins[PIN_DATA0], NULL, values); in hd44780_write_gpio8()
74 hd44780_strobe_gpio(hd); in hd44780_write_gpio8()
[all …]
/kernel/linux/linux-6.6/drivers/auxdisplay/
Dhd44780.c44 struct hd44780 *hd = hdc->hd44780; in hd44780_backlight() local
46 if (hd->pins[PIN_CTRL_BL]) in hd44780_backlight()
47 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_BL], on); in hd44780_backlight()
50 static void hd44780_strobe_gpio(struct hd44780 *hd) in hd44780_strobe_gpio() argument
55 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_E], 1); in hd44780_strobe_gpio()
60 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_E], 0); in hd44780_strobe_gpio()
64 static void hd44780_write_gpio8(struct hd44780 *hd, u8 val, unsigned int rs) in hd44780_write_gpio8() argument
71 n = hd->pins[PIN_CTRL_RW] ? 10 : 9; in hd44780_write_gpio8()
74 gpiod_set_array_value_cansleep(n, &hd->pins[PIN_DATA0], NULL, values); in hd44780_write_gpio8()
76 hd44780_strobe_gpio(hd); in hd44780_write_gpio8()
[all …]
/kernel/linux/linux-5.10/include/linux/greybus/
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);
27 int (*cport_connected)(struct gb_host_device *hd, u16 cport_id);
28 int (*cport_flush)(struct gb_host_device *hd, u16 cport_id);
29 int (*cport_shutdown)(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);
35 int (*message_send)(struct gb_host_device *hd, u16 dest_cport_id,
[all …]
/kernel/linux/linux-6.6/include/linux/greybus/
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);
27 int (*cport_connected)(struct gb_host_device *hd, u16 cport_id);
28 int (*cport_flush)(struct gb_host_device *hd, u16 cport_id);
29 int (*cport_shutdown)(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);
35 int (*message_send)(struct gb_host_device *hd, u16 dest_cport_id,
[all …]
/kernel/linux/linux-6.6/sound/pci/hda/
DKconfig2 menu "HD-Audio"
15 tristate "HD Audio PCI"
23 This option enables the HD-audio controller. Don't forget
30 tristate "NVIDIA Tegra HD Audio"
38 This options enables support for the HD Audio controller
48 bool "Build hwdep interface for HD-audio driver"
51 Say Y here to build a hwdep interface for HD-audio driver.
58 Say Y here to enable the HD-audio codec re-configuration feature.
71 Say Y here to build a digital beep interface for HD-audio
80 Set 0 to disable the digital beep interface for HD-audio by default.
[all …]
/kernel/linux/linux-5.10/sound/pci/hda/
DKconfig2 menu "HD-Audio"
15 tristate "HD Audio PCI"
23 This option enables the HD-audio controller. Don't forget
30 tristate "NVIDIA Tegra HD Audio"
38 This options enables support for the HD Audio controller
46 tristate "Loongson HD Audio"
59 bool "Build hwdep interface for HD-audio driver"
62 Say Y here to build a hwdep interface for HD-audio driver.
69 Say Y here to enable the HD-audio codec re-configuration feature.
82 Say Y here to build a digital beep interface for HD-audio
[all …]
/kernel/linux/linux-5.10/arch/mips/sgi-ip27/
Dip27-irq.c51 struct hub_irq_data *hd = irq_data_get_irq_chip_data(d); in enable_hub_irq() local
52 unsigned long *mask = per_cpu(irq_enable_mask, hd->cpu); in enable_hub_irq()
55 __raw_writeq(mask[0], hd->irq_mask[0]); in enable_hub_irq()
56 __raw_writeq(mask[1], hd->irq_mask[1]); in enable_hub_irq()
61 struct hub_irq_data *hd = irq_data_get_irq_chip_data(d); in disable_hub_irq() local
62 unsigned long *mask = per_cpu(irq_enable_mask, hd->cpu); in disable_hub_irq()
65 __raw_writeq(mask[0], hd->irq_mask[0]); in disable_hub_irq()
66 __raw_writeq(mask[1], hd->irq_mask[1]); in disable_hub_irq()
69 static void setup_hub_mask(struct hub_irq_data *hd, const struct cpumask *mask) in setup_hub_mask() argument
79 hd->cpu = cpu; in setup_hub_mask()
[all …]
/kernel/linux/linux-6.6/arch/mips/sgi-ip27/
Dip27-irq.c52 struct hub_irq_data *hd = irq_data_get_irq_chip_data(d); in enable_hub_irq() local
53 unsigned long *mask = per_cpu(irq_enable_mask, hd->cpu); in enable_hub_irq()
56 __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()
62 struct hub_irq_data *hd = irq_data_get_irq_chip_data(d); in disable_hub_irq() local
63 unsigned long *mask = per_cpu(irq_enable_mask, hd->cpu); in disable_hub_irq()
66 __raw_writeq(mask[0], hd->irq_mask[0]); in disable_hub_irq()
67 __raw_writeq(mask[1], hd->irq_mask[1]); in disable_hub_irq()
70 static void setup_hub_mask(struct hub_irq_data *hd, const struct cpumask *mask) in setup_hub_mask() argument
80 hd->cpu = cpu; in setup_hub_mask()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi4.c304 static void hdmi_start_audio_stream(struct omap_hdmi *hd) in hdmi_start_audio_stream() argument
306 hdmi_wp_audio_enable(&hd->wp, true); in hdmi_start_audio_stream()
307 hdmi4_audio_start(&hd->core, &hd->wp); in hdmi_start_audio_stream()
310 static void hdmi_stop_audio_stream(struct omap_hdmi *hd) in hdmi_stop_audio_stream() argument
312 hdmi4_audio_stop(&hd->core, &hd->wp); in hdmi_stop_audio_stream()
313 hdmi_wp_audio_enable(&hd->wp, false); in hdmi_stop_audio_stream()
554 struct omap_hdmi *hd = dev_get_drvdata(dev); in hdmi_audio_startup() local
557 mutex_lock(&hd->lock); in hdmi_audio_startup()
559 if (!hdmi_mode_has_audio(&hd->cfg) || !hd->display_enabled) { in hdmi_audio_startup()
564 hd->audio_abort_cb = abort_cb; in hdmi_audio_startup()
[all …]
Dhdmi5.c332 static void hdmi_start_audio_stream(struct omap_hdmi *hd) in hdmi_start_audio_stream() argument
335 hdmi_wp_audio_enable(&hd->wp, true); in hdmi_start_audio_stream()
336 hdmi_wp_audio_core_req_enable(&hd->wp, true); in hdmi_start_audio_stream()
339 static void hdmi_stop_audio_stream(struct omap_hdmi *hd) in hdmi_stop_audio_stream() argument
341 hdmi_wp_audio_core_req_enable(&hd->wp, false); in hdmi_stop_audio_stream()
342 hdmi_wp_audio_enable(&hd->wp, false); in hdmi_stop_audio_stream()
343 REG_FLD_MOD(hd->wp.base, HDMI_WP_SYSCONFIG, hd->wp_idlemode, 3, 2); in hdmi_stop_audio_stream()
586 struct omap_hdmi *hd = dev_get_drvdata(dev); in hdmi_audio_startup() local
589 mutex_lock(&hd->lock); in hdmi_audio_startup()
591 if (!hdmi_mode_has_audio(&hd->cfg) || !hd->display_enabled) { in hdmi_audio_startup()
[all …]
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/dss/
Dhdmi4.c302 static void hdmi_start_audio_stream(struct omap_hdmi *hd) in hdmi_start_audio_stream() argument
304 hdmi_wp_audio_enable(&hd->wp, true); in hdmi_start_audio_stream()
305 hdmi4_audio_start(&hd->core, &hd->wp); in hdmi_start_audio_stream()
308 static void hdmi_stop_audio_stream(struct omap_hdmi *hd) in hdmi_stop_audio_stream() argument
310 hdmi4_audio_stop(&hd->core, &hd->wp); in hdmi_stop_audio_stream()
311 hdmi_wp_audio_enable(&hd->wp, false); in hdmi_stop_audio_stream()
552 struct omap_hdmi *hd = dev_get_drvdata(dev); in hdmi_audio_startup() local
555 mutex_lock(&hd->lock); in hdmi_audio_startup()
557 if (!hdmi_mode_has_audio(&hd->cfg) || !hd->display_enabled) { in hdmi_audio_startup()
562 hd->audio_abort_cb = abort_cb; in hdmi_audio_startup()
[all …]
Dhdmi5.c330 static void hdmi_start_audio_stream(struct omap_hdmi *hd) in hdmi_start_audio_stream() argument
333 hdmi_wp_audio_enable(&hd->wp, true); in hdmi_start_audio_stream()
334 hdmi_wp_audio_core_req_enable(&hd->wp, true); in hdmi_start_audio_stream()
337 static void hdmi_stop_audio_stream(struct omap_hdmi *hd) in hdmi_stop_audio_stream() argument
339 hdmi_wp_audio_core_req_enable(&hd->wp, false); in hdmi_stop_audio_stream()
340 hdmi_wp_audio_enable(&hd->wp, false); in hdmi_stop_audio_stream()
341 REG_FLD_MOD(hd->wp.base, HDMI_WP_SYSCONFIG, hd->wp_idlemode, 3, 2); in hdmi_stop_audio_stream()
584 struct omap_hdmi *hd = dev_get_drvdata(dev); in hdmi_audio_startup() local
587 mutex_lock(&hd->lock); in hdmi_audio_startup()
589 if (!hdmi_mode_has_audio(&hd->cfg) || !hd->display_enabled) { in hdmi_audio_startup()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/dss/
Dhdmi5.c263 static void hdmi_start_audio_stream(struct omap_hdmi *hd) in hdmi_start_audio_stream() argument
265 REG_FLD_MOD(hd->wp.base, HDMI_WP_SYSCONFIG, 1, 3, 2); in hdmi_start_audio_stream()
266 hdmi_wp_audio_enable(&hd->wp, true); in hdmi_start_audio_stream()
267 hdmi_wp_audio_core_req_enable(&hd->wp, true); in hdmi_start_audio_stream()
270 static void hdmi_stop_audio_stream(struct omap_hdmi *hd) in hdmi_stop_audio_stream() argument
272 hdmi_wp_audio_core_req_enable(&hd->wp, false); in hdmi_stop_audio_stream()
273 hdmi_wp_audio_enable(&hd->wp, false); in hdmi_stop_audio_stream()
274 REG_FLD_MOD(hd->wp.base, HDMI_WP_SYSCONFIG, hd->wp_idlemode, 3, 2); in hdmi_stop_audio_stream()
503 struct omap_hdmi *hd = dev_get_drvdata(dev); in hdmi_audio_startup() local
505 mutex_lock(&hd->lock); in hdmi_audio_startup()
[all …]
Dhdmi4.c264 static void hdmi_start_audio_stream(struct omap_hdmi *hd) in hdmi_start_audio_stream() argument
266 hdmi_wp_audio_enable(&hd->wp, true); in hdmi_start_audio_stream()
267 hdmi4_audio_start(&hd->core, &hd->wp); in hdmi_start_audio_stream()
270 static void hdmi_stop_audio_stream(struct omap_hdmi *hd) in hdmi_stop_audio_stream() argument
272 hdmi4_audio_stop(&hd->core, &hd->wp); in hdmi_stop_audio_stream()
273 hdmi_wp_audio_enable(&hd->wp, false); in hdmi_stop_audio_stream()
520 struct omap_hdmi *hd = dev_get_drvdata(dev); in hdmi_audio_startup() local
522 mutex_lock(&hd->lock); in hdmi_audio_startup()
524 WARN_ON(hd->audio_abort_cb != NULL); in hdmi_audio_startup()
526 hd->audio_abort_cb = abort_cb; in hdmi_audio_startup()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Dhdmi5.c262 static void hdmi_start_audio_stream(struct omap_hdmi *hd) in hdmi_start_audio_stream() argument
264 REG_FLD_MOD(hd->wp.base, HDMI_WP_SYSCONFIG, 1, 3, 2); in hdmi_start_audio_stream()
265 hdmi_wp_audio_enable(&hd->wp, true); in hdmi_start_audio_stream()
266 hdmi_wp_audio_core_req_enable(&hd->wp, true); in hdmi_start_audio_stream()
269 static void hdmi_stop_audio_stream(struct omap_hdmi *hd) in hdmi_stop_audio_stream() argument
271 hdmi_wp_audio_core_req_enable(&hd->wp, false); in hdmi_stop_audio_stream()
272 hdmi_wp_audio_enable(&hd->wp, false); in hdmi_stop_audio_stream()
273 REG_FLD_MOD(hd->wp.base, HDMI_WP_SYSCONFIG, hd->wp_idlemode, 3, 2); in hdmi_stop_audio_stream()
502 struct omap_hdmi *hd = dev_get_drvdata(dev); in hdmi_audio_startup() local
504 mutex_lock(&hd->lock); in hdmi_audio_startup()
[all …]
Dhdmi4.c263 static void hdmi_start_audio_stream(struct omap_hdmi *hd) in hdmi_start_audio_stream() argument
265 hdmi_wp_audio_enable(&hd->wp, true); in hdmi_start_audio_stream()
266 hdmi4_audio_start(&hd->core, &hd->wp); in hdmi_start_audio_stream()
269 static void hdmi_stop_audio_stream(struct omap_hdmi *hd) in hdmi_stop_audio_stream() argument
271 hdmi4_audio_stop(&hd->core, &hd->wp); in hdmi_stop_audio_stream()
272 hdmi_wp_audio_enable(&hd->wp, false); in hdmi_stop_audio_stream()
519 struct omap_hdmi *hd = dev_get_drvdata(dev); in hdmi_audio_startup() local
521 mutex_lock(&hd->lock); in hdmi_audio_startup()
523 WARN_ON(hd->audio_abort_cb != NULL); in hdmi_audio_startup()
525 hd->audio_abort_cb = abort_cb; in hdmi_audio_startup()
[all …]
/kernel/linux/linux-5.10/fs/dlm/
Dutil.c23 static void header_out(struct dlm_header *hd) in header_out() argument
25 hd->h_version = cpu_to_le32(hd->h_version); in header_out()
26 hd->h_lockspace = cpu_to_le32(hd->h_lockspace); in header_out()
27 hd->h_nodeid = cpu_to_le32(hd->h_nodeid); in header_out()
28 hd->h_length = cpu_to_le16(hd->h_length); in header_out()
31 static void header_in(struct dlm_header *hd) in header_in() argument
33 hd->h_version = le32_to_cpu(hd->h_version); in header_in()
34 hd->h_lockspace = le32_to_cpu(hd->h_lockspace); in header_in()
35 hd->h_nodeid = le32_to_cpu(hd->h_nodeid); in header_in()
36 hd->h_length = le16_to_cpu(hd->h_length); in header_in()

12345678910>>...39