/kernel/linux/linux-5.10/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 in gb_hd_cport_reserve() 63 gb_hd_cport_release_reserved(struct gb_host_device *hd, u16 cport_id) gb_hd_cport_release_reserved() argument 72 gb_hd_cport_allocate(struct gb_host_device *hd, int cport_id, unsigned long flags) gb_hd_cport_allocate() argument 96 gb_hd_cport_release(struct gb_host_device *hd, u16 cport_id) gb_hd_cport_release() argument 108 struct gb_host_device *hd = to_gb_host_device(dev); gb_hd_release() local 129 struct gb_host_device *hd; gb_hd_create() local 200 gb_hd_add(struct gb_host_device *hd) gb_hd_add() argument 220 gb_hd_del(struct gb_host_device *hd) gb_hd_del() argument 234 gb_hd_shutdown(struct gb_host_device *hd) gb_hd_shutdown() argument 240 gb_hd_put(struct gb_host_device *hd) gb_hd_put() argument [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 144 _gb_connection_create(struct gb_host_device *hd, int hd_cport_id, struct gb_interface *intf, struct gb_bundle *bundle, int cport_id, gb_request_handler_t handler, unsigned long flags) _gb_connection_create() argument 228 gb_connection_create_static(struct gb_host_device *hd, u16 hd_cport_id, gb_request_handler_t handler) gb_connection_create_static() argument 281 struct gb_host_device *hd = connection->hd; gb_connection_hd_cport_enable() local 300 struct gb_host_device *hd = connection->hd; gb_connection_hd_cport_disable() local 315 struct gb_host_device *hd = connection->hd; gb_connection_hd_cport_connected() local 333 struct gb_host_device *hd = connection->hd; gb_connection_hd_cport_flush() local 351 struct gb_host_device *hd = connection->hd; gb_connection_hd_cport_quiesce() local 378 struct gb_host_device *hd = connection->hd; gb_connection_hd_cport_clear() local 401 struct gb_host_device *hd = connection->hd; gb_connection_svc_connection_create() local 557 struct gb_host_device *hd = connection->hd; gb_connection_cport_shutdown() local 909 struct gb_host_device *hd = connection->hd; gb_connection_latency_tag_enable() local 926 struct gb_host_device *hd = connection->hd; gb_connection_latency_tag_disable() local [all...] |
/kernel/linux/linux-6.6/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 in gb_hd_cport_reserve() 63 gb_hd_cport_release_reserved(struct gb_host_device *hd, u16 cport_id) gb_hd_cport_release_reserved() argument 72 gb_hd_cport_allocate(struct gb_host_device *hd, int cport_id, unsigned long flags) gb_hd_cport_allocate() argument 96 gb_hd_cport_release(struct gb_host_device *hd, u16 cport_id) gb_hd_cport_release() argument 108 struct gb_host_device *hd = to_gb_host_device(dev); gb_hd_release() local 129 struct gb_host_device *hd; gb_hd_create() local 200 gb_hd_add(struct gb_host_device *hd) gb_hd_add() argument 220 gb_hd_del(struct gb_host_device *hd) gb_hd_del() argument 234 gb_hd_shutdown(struct gb_host_device *hd) gb_hd_shutdown() argument 240 gb_hd_put(struct gb_host_device *hd) gb_hd_put() argument [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 144 _gb_connection_create(struct gb_host_device *hd, int hd_cport_id, struct gb_interface *intf, struct gb_bundle *bundle, int cport_id, gb_request_handler_t handler, unsigned long flags) _gb_connection_create() argument 228 gb_connection_create_static(struct gb_host_device *hd, u16 hd_cport_id, gb_request_handler_t handler) gb_connection_create_static() argument 281 struct gb_host_device *hd = connection->hd; gb_connection_hd_cport_enable() local 300 struct gb_host_device *hd = connection->hd; gb_connection_hd_cport_disable() local 315 struct gb_host_device *hd = connection->hd; gb_connection_hd_cport_connected() local 333 struct gb_host_device *hd = connection->hd; gb_connection_hd_cport_flush() local 351 struct gb_host_device *hd = connection->hd; gb_connection_hd_cport_quiesce() local 378 struct gb_host_device *hd = connection->hd; gb_connection_hd_cport_clear() local 401 struct gb_host_device *hd = connection->hd; gb_connection_svc_connection_create() local 557 struct gb_host_device *hd = connection->hd; gb_connection_cport_shutdown() local 909 struct gb_host_device *hd = connection->hd; gb_connection_latency_tag_enable() local 926 struct gb_host_device *hd = connection->hd; gb_connection_latency_tag_disable() local [all...] |
/kernel/linux/linux-5.10/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 in heartbeat_toggle_bit() 61 struct heartbeat_data *hd = from_timer(hd, t, timer); heartbeat_timer() local 77 struct heartbeat_data *hd; heartbeat_drv_probe() local [all...] |
/kernel/linux/linux-6.6/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 in heartbeat_toggle_bit() 61 struct heartbeat_data *hd = from_timer(hd, t, timer); heartbeat_timer() local 77 struct heartbeat_data *hd; heartbeat_drv_probe() local [all...] |
/kernel/linux/linux-5.10/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 in __clk_hfpll_init_once() 56 struct hfpll_data const *hd = h->d; __clk_hfpll_enable() local 92 struct hfpll_data const *hd = h->d; clk_hfpll_enable() local 107 struct hfpll_data const *hd = h->d; __clk_hfpll_disable() local 132 struct hfpll_data const *hd = h->d; clk_hfpll_round_rate() local 152 struct hfpll_data const *hd = h->d; clk_hfpll_set_rate() local 190 struct hfpll_data const *hd = h->d; clk_hfpll_recalc_rate() local 202 struct hfpll_data const *hd = h->d; clk_hfpll_init() local 228 struct hfpll_data const *hd = h->d; hfpll_is_enabled() local [all...] |
/kernel/linux/linux-5.10/drivers/auxdisplay/ |
H A D | hd44780.c | 42 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() 78 hd44780_write_gpio4(struct hd44780 *hd, u8 val, unsigned int rs) hd44780_write_gpio4() argument 106 struct hd44780 *hd = lcd->drvdata; hd44780_write_cmd_gpio8() local 117 struct hd44780 *hd = lcd->drvdata; hd44780_write_data_gpio8() local 134 struct hd44780 *hd = lcd->drvdata; hd44780_write_cmd_gpio4() local 146 struct hd44780 *hd = lcd->drvdata; hd44780_write_cmd_raw_gpio4() local 162 struct hd44780 *hd = lcd->drvdata; hd44780_write_data_gpio4() local 182 struct hd44780 *hd; hd44780_probe() local [all...] |
/kernel/linux/linux-6.6/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() 80 hd44780_write_gpio4(struct hd44780 *hd, u8 val, unsigned int rs) hd44780_write_gpio4() argument 108 struct hd44780 *hd = hdc->hd44780; hd44780_write_cmd_gpio8() local 119 struct hd44780 *hd = hdc->hd44780; hd44780_write_data_gpio8() local 147 struct hd44780 *hd = hdc->hd44780; hd44780_write_cmd_gpio4() local 159 struct hd44780 *hd = hdc->hd44780; hd44780_write_cmd_raw_gpio4() local 175 struct hd44780 *hd = hdc->hd44780; hd44780_write_data_gpio4() local 206 struct hd44780 *hd; hd44780_probe() local [all...] |
/kernel/linux/linux-6.6/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 in __clk_hfpll_init_once() 56 struct hfpll_data const *hd = h->d; __clk_hfpll_enable() local 95 struct hfpll_data const *hd = h->d; clk_hfpll_enable() local 110 struct hfpll_data const *hd = h->d; __clk_hfpll_disable() local 134 struct hfpll_data const *hd = h->d; clk_hfpll_determine_rate() local 155 struct hfpll_data const *hd = h->d; clk_hfpll_set_rate() local 193 struct hfpll_data const *hd = h->d; clk_hfpll_recalc_rate() local 205 struct hfpll_data const *hd = h->d; clk_hfpll_init() local 231 struct hfpll_data const *hd = h->d; hfpll_is_enabled() local [all...] |
/kernel/linux/linux-5.10/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, u1 [all...] |
/kernel/linux/linux-6.6/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, u1 [all...] |
/kernel/linux/linux-5.10/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, vtarge in mptspi_initTarget() 376 mptspi_is_raid(struct _MPT_SCSI_HOST *hd, u32 id) mptspi_is_raid() argument 400 struct _MPT_SCSI_HOST *hd = shost_priv(shost); mptspi_target_alloc() local 471 mptspi_print_write_nego(struct _MPT_SCSI_HOST *hd, struct scsi_target *starget, u32 ii) mptspi_print_write_nego() argument 496 mptspi_print_read_nego(struct _MPT_SCSI_HOST *hd, struct scsi_target *starget, u32 ii) mptspi_print_read_nego() argument 517 struct _MPT_SCSI_HOST *hd = shost_priv(shost); mptspi_read_spi_device_pg0() local 618 mptscsih_quiesce_raid(MPT_SCSI_HOST *hd, int quiesce, u8 channel, u8 id) mptscsih_quiesce_raid() argument 683 mptspi_dv_device(struct _MPT_SCSI_HOST *hd, struct scsi_device *sdev) mptspi_dv_device() argument 718 MPT_SCSI_HOST *hd = shost_priv(sdev->host); mptspi_slave_alloc() local 751 struct _MPT_SCSI_HOST *hd = shost_priv(sdev->host); mptspi_slave_configure() local 779 struct _MPT_SCSI_HOST *hd = shost_priv(shost); mptspi_qcmd() local 853 struct _MPT_SCSI_HOST *hd = shost_priv(shost); mptspi_write_spi_device_pg1() local 1063 struct _MPT_SCSI_HOST *hd = shost_priv(shost); mptspi_write_qas() local 1106 struct _MPT_SCSI_HOST *hd; global() member 1114 struct _MPT_SCSI_HOST *hd = wqw->hd; mpt_work_wrapper() local 1151 mpt_dv_raid(struct _MPT_SCSI_HOST *hd, int disk) mpt_dv_raid() argument 1173 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh); mptspi_event_process() local 1193 struct _MPT_SCSI_HOST *hd = mptspi_deny_binding() local 1260 struct _MPT_SCSI_HOST *hd = wqw->hd; mptspi_dv_renegotiate_work() local 1287 mptspi_dv_renegotiate(struct _MPT_SCSI_HOST *hd) mptspi_dv_renegotiate() argument 1316 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh); mptspi_ioc_reset() local 1332 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh); mptspi_resume() local 1355 MPT_SCSI_HOST *hd; mptspi_probe() local [all...] |
/kernel/linux/linux-6.6/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, vtarge in mptspi_initTarget() 376 mptspi_is_raid(struct _MPT_SCSI_HOST *hd, u32 id) mptspi_is_raid() argument 400 struct _MPT_SCSI_HOST *hd = shost_priv(shost); mptspi_target_alloc() local 471 mptspi_print_write_nego(struct _MPT_SCSI_HOST *hd, struct scsi_target *starget, u32 ii) mptspi_print_write_nego() argument 496 mptspi_print_read_nego(struct _MPT_SCSI_HOST *hd, struct scsi_target *starget, u32 ii) mptspi_print_read_nego() argument 517 struct _MPT_SCSI_HOST *hd = shost_priv(shost); mptspi_read_spi_device_pg0() local 618 mptscsih_quiesce_raid(MPT_SCSI_HOST *hd, int quiesce, u8 channel, u8 id) mptscsih_quiesce_raid() argument 683 mptspi_dv_device(struct _MPT_SCSI_HOST *hd, struct scsi_device *sdev) mptspi_dv_device() argument 718 MPT_SCSI_HOST *hd = shost_priv(sdev->host); mptspi_slave_alloc() local 751 struct _MPT_SCSI_HOST *hd = shost_priv(sdev->host); mptspi_slave_configure() local 779 struct _MPT_SCSI_HOST *hd = shost_priv(shost); mptspi_qcmd() local 853 struct _MPT_SCSI_HOST *hd = shost_priv(shost); mptspi_write_spi_device_pg1() local 1063 struct _MPT_SCSI_HOST *hd = shost_priv(shost); mptspi_write_qas() local 1106 struct _MPT_SCSI_HOST *hd; global() member 1114 struct _MPT_SCSI_HOST *hd = wqw->hd; mpt_work_wrapper() local 1151 mpt_dv_raid(struct _MPT_SCSI_HOST *hd, int disk) mpt_dv_raid() argument 1173 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh); mptspi_event_process() local 1193 struct _MPT_SCSI_HOST *hd = mptspi_deny_binding() local 1260 struct _MPT_SCSI_HOST *hd = wqw->hd; mptspi_dv_renegotiate_work() local 1287 mptspi_dv_renegotiate(struct _MPT_SCSI_HOST *hd) mptspi_dv_renegotiate() argument 1316 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh); mptspi_ioc_reset() local 1332 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh); mptspi_resume() local 1355 MPT_SCSI_HOST *hd; mptspi_probe() local [all...] |
/kernel/linux/linux-5.10/arch/mips/sgi-ip27/ |
H A D | ip27-irq.c | 51 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 in setup_hub_mask() 92 struct hub_irq_data *hd = irq_data_get_irq_chip_data(d); set_affinity_hub_irq() local 121 struct hub_irq_data *hd; hub_domain_alloc() local [all...] |
/kernel/linux/linux-6.6/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 in setup_hub_mask() 93 struct hub_irq_data *hd = irq_data_get_irq_chip_data(d); set_affinity_hub_irq() local 122 struct hub_irq_data *hd; hub_domain_alloc() local [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | hdmi4.c | 304 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 in hdmi_audio_startup() 574 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_shutdown() local 587 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_start() local 604 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_stop() local 621 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_config() local [all...] |
H A D | hdmi5.c | 332 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 in hdmi_audio_startup() 606 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_shutdown() local 619 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_start() local 636 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_stop() local 653 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_config() local [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/dss/ |
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 in hdmi_audio_startup() 604 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_shutdown() local 617 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_start() local 634 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_stop() local 651 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_config() local [all...] |
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 in hdmi_audio_startup() 572 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_shutdown() local 585 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_start() local 602 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_stop() local 619 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_config() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/ |
H A D | hdmi5.c | 262 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 in hdmi_audio_startup() local 517 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_shutdown() local 530 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_start() local 549 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_stop() local 567 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_config() local [all...] |
H A D | hdmi4.c | 263 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 in hdmi_audio_startup() 534 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_shutdown() local 547 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_start() local 566 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_stop() local 583 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_config() local [all...] |
/kernel/linux/linux-6.6/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 in hdmi_audio_startup() local 518 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_shutdown() local 531 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_start() local 550 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_stop() local 568 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_config() local [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 in hdmi_audio_startup() 535 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_shutdown() local 548 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_start() local 567 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_stop() local 584 struct omap_hdmi *hd = dev_get_drvdata(dev); hdmi_audio_config() local [all...] |
/kernel/linux/linux-5.10/fs/dlm/ |
H A D | util.c | 23 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 [all...] |