/openbmc/linux/drivers/greybus/ |
H A D | hd.c | 24 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 …]
|
H A D | connection.c | 24 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 …]
|
H A D | es2.c | 78 * @hd: pointer to our gb_host_device structure 103 struct gb_host_device *hd; member 136 static inline struct es2_ap_dev *hd_to_es2(struct gb_host_device *hd) in hd_to_es2() argument 138 return (struct es2_ap_dev *)&hd->hd_priv; in hd_to_es2() 217 static int output(struct gb_host_device *hd, void *req, u16 size, u8 cmd, in output() argument 220 struct es2_ap_dev *es2 = hd_to_es2(hd); in output() 390 static int message_send(struct gb_host_device *hd, u16 cport_id, in message_send() argument 393 struct es2_ap_dev *es2 = hd_to_es2(hd); in message_send() 405 if (!cport_id_valid(hd, cport_id)) { in message_send() 455 struct gb_host_device *hd = message->operation->connection->hd; in message_cancel() local [all …]
|
H A D | core.c | 83 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 …]
|
/openbmc/linux/arch/sh/drivers/ |
H A D | heartbeat.c | 32 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 …]
|
/openbmc/linux/drivers/clk/qcom/ |
H A D | clk-hfpll.c | 23 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 …]
|
/openbmc/linux/drivers/auxdisplay/ |
H A D | hd44780.c | 44 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 …]
|
/openbmc/linux/include/linux/greybus/ |
H A D | hd.h | 21 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 …]
|
/openbmc/linux/sound/pci/hda/ |
H A D | Kconfig | 2 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 …]
|
/openbmc/u-boot/drivers/dma/ |
H A D | keystone_nav.c | 100 void qm_push(struct qm_host_desc *hd, u32 qnum) in qm_push() argument 104 cpu_to_bus((u32 *)hd, sizeof(struct qm_host_desc)/4); in qm_push() 105 regd = (u32)hd | ((sizeof(struct qm_host_desc) >> 4) - 1); in qm_push() 109 void qm_buff_push(struct qm_host_desc *hd, u32 qnum, in qm_buff_push() argument 112 hd->orig_buff_len = buff_len; in qm_buff_push() 113 hd->buff_len = buff_len; in qm_buff_push() 114 hd->orig_buff_ptr = (u32)buff_ptr; in qm_buff_push() 115 hd->buff_ptr = (u32)buff_ptr; in qm_buff_push() 116 qm_push(hd, qnum); in qm_buff_push() 137 struct qm_host_desc *hd; in queue_close() local [all …]
|
/openbmc/linux/arch/mips/sgi-ip27/ |
H A D | ip27-irq.c | 52 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 …]
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | hdmi4.c | 302 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 …]
|
H A D | hdmi5.c | 330 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 …]
|
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/ |
H A D | hdmi5.c | 263 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 …]
|
H A D | hdmi4.c | 264 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 …]
|
/openbmc/linux/drivers/message/fusion/ |
H A D | mptspi.c | 100 * @hd: Pointer to a SCSI Host Structure 108 mptspi_setTargetNegoParms(MPT_SCSI_HOST *hd, VirtTarget *target, in mptspi_setTargetNegoParms() argument 111 MPT_ADAPTER *ioc = hd->ioc; in mptspi_setTargetNegoParms() 244 * @hd: Pointer to a SCSI Host Structure 254 mptspi_writeIOCPage4(MPT_SCSI_HOST *hd, u8 channel , u8 id) in mptspi_writeIOCPage4() argument 256 MPT_ADAPTER *ioc = hd->ioc; in mptspi_writeIOCPage4() 316 * @hd: Pointer to MPT_SCSI_HOST structure 328 mptspi_initTarget(MPT_SCSI_HOST *hd, VirtTarget *vtarget, in mptspi_initTarget() argument 343 if ((sdev->type == TYPE_PROCESSOR) && (hd->ioc->spi_data.Saf_Te)) { in mptspi_initTarget() 347 mptspi_writeIOCPage4(hd, vtarget->channel, vtarget->id); in mptspi_initTarget() [all …]
|
/openbmc/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_param.c | 166 {{ 0x01, AA "10/HD" }, 168 { 0x03, AA "10/FD, 10/HD" }, 169 { 0x04, AA "100/HD" }, 170 { 0x05, AA "100/HD, 10/HD" }, 171 { 0x06, AA "100/HD, 10/FD" }, 172 { 0x07, AA "100/HD, 10/FD, 10/HD" }, 174 { 0x09, AA "100/FD, 10/HD" }, 176 { 0x0b, AA "100/FD, 10/FD, 10/HD" }, 177 { 0x0c, AA "100/FD, 100/HD" }, 178 { 0x0d, AA "100/FD, 100/HD, 10/HD" }, [all …]
|
/openbmc/linux/drivers/md/ |
H A D | dm-clone-target.c | 609 * Search hash table for a hydration with hd->region_nr == region_nr 616 struct dm_clone_region_hydration *hd; in __hash_find() local 618 hlist_for_each_entry(hd, &bucket->head, h) { in __hash_find() 619 if (hd->region_nr == region_nr) in __hash_find() 620 return hd; in __hash_find() 632 struct dm_clone_region_hydration *hd) in __insert_region_hydration() argument 634 hlist_add_head(&hd->h, &bucket->head); in __insert_region_hydration() 646 struct dm_clone_region_hydration *hd) in __find_or_insert_region_hydration() argument 650 hd2 = __hash_find(bucket, hd->region_nr); in __find_or_insert_region_hydration() 654 __insert_region_hydration(bucket, hd); in __find_or_insert_region_hydration() [all …]
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | audio_apbridgea.c | 24 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 …]
|
/openbmc/linux/arch/mips/sgi-ip30/ |
H A D | ip30-irq.c | 146 struct heart_irq_data *hd = irq_data_get_irq_chip_data(d); in ip30_mask_heart_irq() local 147 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() 155 struct heart_irq_data *hd = irq_data_get_irq_chip_data(d); in ip30_mask_and_ack_heart_irq() local 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() 165 struct heart_irq_data *hd = irq_data_get_irq_chip_data(d); in ip30_unmask_heart_irq() local 166 unsigned long *mask = &per_cpu(irq_enable_mask, hd->cpu); in ip30_unmask_heart_irq() 169 heart_write(*mask, &heart_regs->imr[hd->cpu]); in ip30_unmask_heart_irq() 175 struct heart_irq_data *hd = irq_data_get_irq_chip_data(d); in ip30_set_heart_irq_affinity() local [all …]
|
/openbmc/openbmc/meta-security/recipes-ids/suricata/files/ |
H A D | CVE-2024-38535_pre.patch | 237 Ok((remainder, hd)) => { 239 - assert_eq!(hd.name, ":method".as_bytes().to_vec()); 240 - assert_eq!(hd.value, "GET".as_bytes().to_vec()); 241 + assert_eq!(hd.name, ":method".as_bytes().to_vec().into()); 242 + assert_eq!(hd.value, "GET".as_bytes().to_vec().into()); 248 Ok((remainder, hd)) => { 250 - assert_eq!(hd.name, "accept".as_bytes().to_vec()); 251 - assert_eq!(hd.value, "*/*".as_bytes().to_vec()); 252 + assert_eq!(hd.name, "accept".as_bytes().to_vec().into()); 253 + assert_eq!(hd.value, "*/*".as_bytes().to_vec().into()); [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_param.c | 594 {{ 0x01, AA "10/HD" }, in e1000_check_copper_options() 596 { 0x03, AA "10/FD, 10/HD" }, in e1000_check_copper_options() 597 { 0x04, AA "100/HD" }, in e1000_check_copper_options() 598 { 0x05, AA "100/HD, 10/HD" }, in e1000_check_copper_options() 599 { 0x06, AA "100/HD, 10/FD" }, in e1000_check_copper_options() 600 { 0x07, AA "100/HD, 10/FD, 10/HD" }, in e1000_check_copper_options() 602 { 0x09, AA "100/FD, 10/HD" }, in e1000_check_copper_options() 604 { 0x0b, AA "100/FD, 10/FD, 10/HD" }, in e1000_check_copper_options() 605 { 0x0c, AA "100/FD, 100/HD" }, in e1000_check_copper_options() 606 { 0x0d, AA "100/FD, 100/HD, 10/HD" }, in e1000_check_copper_options() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/dvb-apps/files/dvb-scan-table/dvb-t/ |
H A D | es-Almeria | 14 [Canal 36: Atreseries HD, Energy HD, Real Madrid TV] 38 [Canal 41: Antena 3, Antena 3HD, laSexta, laSecta HD, Neox, Nova] 50 [Canal 44: Telecinco, Telecinco HD, Cuatro, Cuatro HD, FDF, Divinity] 62 [Canal 47: TDP, TDP HD 9Kiss TV, 10, Radio Clasica HQ, Radio 3 HQ, Radio Exterior RNE Kiss FM, Cana… 74 [Canal 57: La 1, La 1 HD, La 2, 24h, Clan, Radio, Radio 5]
|
H A D | es-Asturias | 2 [Canal 22: Atreseries HD, Energy HD, Real Madrid TV, Be Mad] 40 [Canal 28: Telecinco, Telecinco HD, Cuatro, Cuatro HD, FDF, Divinity] 52 [Canal 32: Antena 3, Antena 3 HD, laSexta, laSexta HD, Neox, Nova] 90 [Canal 39: La 1, La 1 HD, La 2, 24h, Clan, Radio Nacional, Radio 5] 102 [Canal 42: TDP, TDP HD, KISS, TEN, Radio Clásica HQ, Radio 3 HQ, Radio Exterior RNE, Kiss FM] 142 [Canal 45: TPA7, TPA8, TPA HD, RPA, Radio Langreo]
|
/openbmc/linux/sound/hda/ |
H A D | hdac_stream.c | 3 * HD-audio stream operations 52 * @bus: HD-audio core bus 67 /* following is from HD audio spec */ in snd_hdac_get_stream_stripe_ctl() 86 * @bus: HD-audio core bus 87 * @azx_dev: HD-audio core stream object to initialize 126 * @azx_dev: HD-audio core stream to start 165 * @azx_dev: HD-audio core stream to stop 179 * @azx_dev: HD-audio core stream to stop 195 * @bus: HD-audio core bus 208 * @bus: HD-audio core bus [all …]
|