Searched refs:hd (Results 1 - 25 of 76) sorted by path

1234

/linux-master/arch/mips/sgi-ip27/
H A Dip27-irq.c54 struct hub_irq_data *hd = irq_data_get_irq_chip_data(d); local
55 unsigned long *mask = per_cpu(irq_enable_mask, hd->cpu);
58 __raw_writeq(mask[0], hd->irq_mask[0]);
59 __raw_writeq(mask[1], hd->irq_mask[1]);
64 struct hub_irq_data *hd = irq_data_get_irq_chip_data(d); local
65 unsigned long *mask = per_cpu(irq_enable_mask, hd->cpu);
68 __raw_writeq(mask[0], hd->irq_mask[0]);
69 __raw_writeq(mask[1], hd->irq_mask[1]);
72 static void setup_hub_mask(struct hub_irq_data *hd, const struct cpumask *mask) argument
82 hd
95 struct hub_irq_data *hd = irq_data_get_irq_chip_data(d); local
124 struct hub_irq_data *hd; local
[all...]
/linux-master/arch/mips/sgi-ip30/
H A Dip30-irq.c146 struct heart_irq_data *hd = irq_data_get_irq_chip_data(d); local
147 unsigned long *mask = &per_cpu(irq_enable_mask, hd->cpu);
150 heart_write(*mask, &heart_regs->imr[hd->cpu]);
155 struct heart_irq_data *hd = irq_data_get_irq_chip_data(d); local
156 unsigned long *mask = &per_cpu(irq_enable_mask, hd->cpu);
159 heart_write(*mask, &heart_regs->imr[hd->cpu]);
165 struct heart_irq_data *hd = irq_data_get_irq_chip_data(d); local
166 unsigned long *mask = &per_cpu(irq_enable_mask, hd->cpu);
169 heart_write(*mask, &heart_regs->imr[hd->cpu]);
175 struct heart_irq_data *hd local
206 struct heart_irq_data *hd; local
[all...]
/linux-master/arch/sh/drivers/
H A Dheartbeat.c32 static inline void heartbeat_toggle_bit(struct heartbeat_data *hd, argument
37 new = (1 << hd->bit_pos[bit]);
41 new &= hd->mask;
43 switch (hd->regsize) {
45 new |= ioread32(hd->base) & ~hd->mask;
46 iowrite32(new, hd->base);
49 new |= ioread16(hd->base) & ~hd->mask;
50 iowrite16(new, hd
61 struct heartbeat_data *hd = from_timer(hd, t, timer); local
77 struct heartbeat_data *hd; local
[all...]
/linux-master/arch/x86/kernel/
H A Dhpet.c190 struct hpet_data hd; local
193 memset(&hd, 0, sizeof(hd));
194 hd.hd_phys_address = hpet_address;
195 hd.hd_address = hpet_virt_address;
196 hd.hd_nirqs = hpet_base.nr_channels;
203 hd.hd_irq[0] = HPET_LEGACY_8254;
204 hd.hd_irq[1] = HPET_LEGACY_RTC;
210 hd.hd_irq[i] = hc->irq;
219 hpet_reserve_timer(&hd, h
[all...]
/linux-master/block/
H A Dgenhd.c1237 struct block_device *hd; local
1251 xa_for_each(&gp->part_tbl, idx, hd) {
1252 if (bdev_is_partition(hd) && !bdev_nr_sectors(hd))
1255 inflight = blk_mq_in_flight(gp->queue, hd);
1257 inflight = part_in_flight(hd);
1261 update_io_ticks(hd, jiffies, true);
1264 part_stat_read_all(hd, &stat);
1272 MAJOR(hd->bd_dev), MINOR(hd
[all...]
/linux-master/block/partitions/
H A Dcore.c88 static struct parsed_partitions *allocate_partitions(struct gendisk *hd) argument
114 static struct parsed_partitions *check_partition(struct gendisk *hd) argument
119 state = allocate_partitions(hd);
129 state->disk = hd;
130 snprintf(state->name, BDEVNAME_SIZE, "%s", hd->disk_name);
/linux-master/drivers/auxdisplay/
H A Dhd44780.c44 struct hd44780 *hd = hdc->hd44780; local
46 if (hd->pins[PIN_CTRL_BL])
47 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_BL], on);
50 static void hd44780_strobe_gpio(struct hd44780 *hd) argument
55 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_E], 1);
60 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_E], 0);
64 static void hd44780_write_gpio8(struct hd44780 *hd, u8 val, unsigned int rs) argument
71 n = hd->pins[PIN_CTRL_RW] ? 10 : 9;
74 gpiod_set_array_value_cansleep(n, &hd->pins[PIN_DATA0], NULL, values);
76 hd44780_strobe_gpio(hd);
80 hd44780_write_gpio4(struct hd44780 *hd, u8 val, unsigned int rs) argument
108 struct hd44780 *hd = hdc->hd44780; local
119 struct hd44780 *hd = hdc->hd44780; local
147 struct hd44780 *hd = hdc->hd44780; local
159 struct hd44780 *hd = hdc->hd44780; local
175 struct hd44780 *hd = hdc->hd44780; local
206 struct hd44780 *hd; local
[all...]
H A Dhd44780_common.c356 struct hd44780_common *hd; local
358 hd = kzalloc(sizeof(*hd), GFP_KERNEL);
359 if (!hd)
362 hd->ifwidth = 8;
363 hd->bwidth = DEFAULT_LCD_BWIDTH;
364 hd->hwidth = DEFAULT_LCD_HWIDTH;
365 return hd;
/linux-master/drivers/clk/qcom/
H A Dclk-hfpll.c23 struct hfpll_data const *hd = h->d; local
30 if (hd->config_val)
31 regmap_write(regmap, hd->config_reg, hd->config_val);
32 regmap_write(regmap, hd->m_reg, 0);
33 regmap_write(regmap, hd->n_reg, 1);
35 if (hd->user_reg) {
36 u32 regval = hd->user_val;
42 if (hd->user_vco_mask && rate > hd
60 struct hfpll_data const *hd = h->d; local
99 struct hfpll_data const *hd = h->d; local
114 struct hfpll_data const *hd = h->d; local
138 struct hfpll_data const *hd = h->d; local
159 struct hfpll_data const *hd = h->d; local
197 struct hfpll_data const *hd = h->d; local
209 struct hfpll_data const *hd = h->d; local
235 struct hfpll_data const *hd = h->d; local
[all...]
/linux-master/drivers/gpu/drm/i2c/
H A Dch7006_mode.c105 #define __MODE(f, hd, vd, ht, vt, hsynp, vsynp, \
108 .name = #hd "x" #vd, \
112 .hdisplay = hd, \
134 #define MODE(f, hd, vd, ht, vt, hsynp, vsynp, \
136 __MODE(f, hd, vd, ht, vt, hsynp, vsynp, subc, scale, \
137 scale_mask, norm_mask, hd, vd)
/linux-master/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi4.c264 static void hdmi_start_audio_stream(struct omap_hdmi *hd) argument
266 hdmi_wp_audio_enable(&hd->wp, true);
267 hdmi4_audio_start(&hd->core, &hd->wp);
270 static void hdmi_stop_audio_stream(struct omap_hdmi *hd) argument
272 hdmi4_audio_stop(&hd->core, &hd->wp);
273 hdmi_wp_audio_enable(&hd->wp, false);
528 struct omap_hdmi *hd = dev_get_drvdata(dev); local
530 mutex_lock(&hd
543 struct omap_hdmi *hd = dev_get_drvdata(dev); local
556 struct omap_hdmi *hd = dev_get_drvdata(dev); local
575 struct omap_hdmi *hd = dev_get_drvdata(dev); local
592 struct omap_hdmi *hd = dev_get_drvdata(dev); local
[all...]
H A Dhdmi5.c263 static void hdmi_start_audio_stream(struct omap_hdmi *hd) argument
265 REG_FLD_MOD(hd->wp.base, HDMI_WP_SYSCONFIG, 1, 3, 2);
266 hdmi_wp_audio_enable(&hd->wp, true);
267 hdmi_wp_audio_core_req_enable(&hd->wp, true);
270 static void hdmi_stop_audio_stream(struct omap_hdmi *hd) argument
272 hdmi_wp_audio_core_req_enable(&hd->wp, false);
273 hdmi_wp_audio_enable(&hd->wp, false);
274 REG_FLD_MOD(hd->wp.base, HDMI_WP_SYSCONFIG, hd->wp_idlemode, 3, 2);
503 struct omap_hdmi *hd local
518 struct omap_hdmi *hd = dev_get_drvdata(dev); local
531 struct omap_hdmi *hd = dev_get_drvdata(dev); local
550 struct omap_hdmi *hd = dev_get_drvdata(dev); local
568 struct omap_hdmi *hd = dev_get_drvdata(dev); local
[all...]
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon.h1579 unsigned hd; member in struct:radeon_dpm
H A Dradeon_pm.c1193 enable |= rdev->pm.dpm.hd > 0;
1203 if ((rdev->pm.dpm.sd == 1) && (rdev->pm.dpm.hd == 0))
1205 else if ((rdev->pm.dpm.sd == 2) && (rdev->pm.dpm.hd == 0))
1207 else if ((rdev->pm.dpm.sd == 0) && (rdev->pm.dpm.hd == 1))
1209 else if ((rdev->pm.dpm.sd == 0) && (rdev->pm.dpm.hd == 2))
H A Dradeon_uvd.c836 * @hd: number of HD streams
841 unsigned *sd, unsigned *hd)
846 *hd = 0;
853 ++(*hd);
867 &rdev->pm.dpm.hd);
886 unsigned hd = 0, sd = 0; local
887 radeon_uvd_count_handles(rdev, &sd, &hd);
889 (rdev->pm.dpm.hd != hd)) {
891 rdev->pm.dpm.hd
840 radeon_uvd_count_handles(struct radeon_device *rdev, unsigned *sd, unsigned *hd) argument
[all...]
/linux-master/drivers/greybus/
H A DMakefile5 hd.o \
H A Dconnection.c24 struct gb_host_device *hd = intf->hd; local
27 list_for_each_entry(connection, &hd->connections, hd_links) {
54 gb_connection_hd_find(struct gb_host_device *hd, u16 cport_id) argument
60 list_for_each_entry(connection, &hd->connections, hd_links)
76 void greybus_data_rcvd(struct gb_host_device *hd, u16 cport_id, argument
81 trace_gb_hd_in(hd);
83 connection = gb_connection_hd_find(hd, cport_id);
85 dev_err(&hd->dev,
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) argument
228 gb_connection_create_static(struct gb_host_device *hd, u16 hd_cport_id, gb_request_handler_t handler) argument
281 struct gb_host_device *hd = connection->hd; local
300 struct gb_host_device *hd = connection->hd; local
315 struct gb_host_device *hd = connection->hd; local
333 struct gb_host_device *hd = connection->hd; local
351 struct gb_host_device *hd = connection->hd; local
378 struct gb_host_device *hd = connection->hd; local
401 struct gb_host_device *hd = connection->hd; local
557 struct gb_host_device *hd = connection->hd; local
909 struct gb_host_device *hd = connection->hd; local
926 struct gb_host_device *hd = connection->hd; local
[all...]
H A Dcore.c113 const struct gb_host_device *hd; local
121 hd = to_gb_host_device(dev);
124 hd = module->hd;
128 hd = intf->hd;
133 hd = intf->hd;
138 hd = intf->hd;
181 struct gb_host_device *hd; local
[all...]
H A Des2.c78 * @hd: pointer to our gb_host_device structure
103 struct gb_host_device *hd; member in struct:es2_ap_dev
136 static inline struct es2_ap_dev *hd_to_es2(struct gb_host_device *hd) argument
138 return (struct es2_ap_dev *)&hd->hd_priv;
217 static int output(struct gb_host_device *hd, void *req, u16 size, u8 cmd, argument
220 struct es2_ap_dev *es2 = hd_to_es2(hd);
390 static int message_send(struct gb_host_device *hd, u16 cport_id, argument
393 struct es2_ap_dev *es2 = hd_to_es2(hd);
405 if (!cport_id_valid(hd, cport_id)) {
455 struct gb_host_device *hd local
488 es2_cport_allocate(struct gb_host_device *hd, int cport_id, unsigned long flags) argument
528 es2_cport_release(struct gb_host_device *hd, u16 cport_id) argument
541 cport_enable(struct gb_host_device *hd, u16 cport_id, unsigned long flags) argument
583 es2_cport_connected(struct gb_host_device *hd, u16 cport_id) argument
602 es2_cport_flush(struct gb_host_device *hd, u16 cport_id) argument
620 es2_cport_shutdown(struct gb_host_device *hd, u16 cport_id, u8 phase, unsigned int timeout) argument
646 es2_cport_quiesce(struct gb_host_device *hd, u16 cport_id, size_t peer_space, unsigned int timeout) argument
675 es2_cport_clear(struct gb_host_device *hd, u16 cport_id) argument
693 latency_tag_enable(struct gb_host_device *hd, u16 cport_id) argument
711 latency_tag_disable(struct gb_host_device *hd, u16 cport_id) argument
815 struct gb_host_device *hd = urb->context; local
859 struct gb_host_device *hd = message->operation->connection->hd; local
1248 struct gb_host_device *hd; local
[all...]
H A Dgb-beagleplay.c17 #include <linux/greybus/hd.h>
357 * @hd: pointer to greybus host device
367 static int gb_message_send(struct gb_host_device *hd, u16 cport, struct gb_message *msg, gfp_t mask) argument
369 struct gb_beagleplay *bg = dev_get_drvdata(&hd->dev);
373 dev_dbg(&hd->dev, "Sending greybus message with Operation %u, Type: %X on Cport %u",
377 return dev_err_probe(&hd->dev, -E2BIG, "Greybus message too big");
H 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))
H A Dhd.c24 int gb_hd_output(struct gb_host_device *hd, void *req, u16 size, u8 cmd, argument
27 if (!hd || !hd->driver || !hd->driver->output)
29 return hd->driver->output(hd, req, size, cmd, async);
36 struct gb_host_device *hd = to_gb_host_device(dev); local
38 return sprintf(buf, "%d\n", hd->bus_id);
48 int gb_hd_cport_reserve(struct gb_host_device *hd, u16 cport_id) argument
50 struct ida *id_map = &hd
63 gb_hd_cport_release_reserved(struct gb_host_device *hd, u16 cport_id) argument
72 gb_hd_cport_allocate(struct gb_host_device *hd, int cport_id, unsigned long flags) argument
96 gb_hd_cport_release(struct gb_host_device *hd, u16 cport_id) argument
108 struct gb_host_device *hd = to_gb_host_device(dev); local
129 struct gb_host_device *hd; local
200 gb_hd_add(struct gb_host_device *hd) argument
220 gb_hd_del(struct gb_host_device *hd) argument
234 gb_hd_shutdown(struct gb_host_device *hd) argument
240 gb_hd_put(struct gb_host_device *hd) argument
[all...]
H A Dinterface.c51 return gb_svc_dme_peer_get(intf->hd->svc, intf->interface_id,
128 struct gb_svc *svc = intf->hd->svc;
174 struct gb_svc *svc = intf->hd->svc;
362 struct gb_host_device *hd = intf->hd; local
380 ret = gb_svc_dme_peer_get(hd->svc, intf->interface_id, attr,
434 return gb_svc_dme_peer_set(hd->svc, intf->interface_id, attr,
463 ret = gb_svc_pwrmon_intf_sample_get(intf->hd->svc, intf->interface_id,
482 ret = gb_svc_pwrmon_intf_sample_get(intf->hd->svc, intf->interface_id,
501 ret = gb_svc_pwrmon_intf_sample_get(intf->hd
788 struct gb_host_device *hd = module->hd; local
[all...]
H A Dmodule.c41 ret = gb_svc_intf_eject(module->hd->svc, module->module_id);
89 struct gb_module *gb_module_create(struct gb_host_device *hd, u8 module_id, argument
101 module->hd = hd;
105 module->dev.parent = &hd->dev;
109 module->dev.dma_mask = hd->dev.dma_mask;
111 dev_set_name(&module->dev, "%d-%u", hd->bus_id, module_id);
H A Doperation.c220 return connection->hd->driver->message_send(connection->hd,
231 struct gb_host_device *hd = message->operation->connection->hd; local
233 hd->driver->message_cancel(message);
245 dev_err(&connection->hd->dev,
254 dev_err(&connection->hd->dev,
309 static void gb_operation_message_init(struct gb_host_device *hd, argument
361 gb_operation_message_alloc(struct gb_host_device *hd, u8 type, argument
368 if (message_size > hd
471 struct gb_host_device *hd = operation->connection->hd; local
523 struct gb_host_device *hd = connection->hd; local
623 struct gb_host_device *hd = connection->hd; local
871 greybus_message_sent(struct gb_host_device *hd, struct gb_message *message, int status) argument
[all...]

Completed in 311 milliseconds

1234