Searched refs:hd (Results 1 - 25 of 76) sorted by last modified time

1234

/linux-master/kernel/trace/
H A Dring_buffer.c1258 struct list_head *hd; local
1263 list_for_each(hd, cpu_buffer->pages)
1264 rb_list_head_clear(hd);
/linux-master/include/linux/
H A Dgreybus.h27 #include <linux/greybus/hd.h>
116 static inline bool cport_id_valid(struct gb_host_device *hd, u16 cport_id) argument
118 return cport_id != CPORT_ID_BAD && cport_id < hd->num_cports;
/linux-master/drivers/staging/greybus/
H A Dgbphy.c81 const struct gb_host_device *hd = intf->hd; local
83 if (add_uevent_var(env, "BUS=%u", hd->bus_id))
/linux-master/drivers/greybus/
H A Dsvc.c891 struct gb_host_device *hd = svc->hd; local
896 list_for_each_entry(module, &hd->modules, hd_node) {
911 struct gb_host_device *hd = svc->hd; local
914 list_for_each_entry(module, &hd->modules, hd_node) {
959 struct gb_host_device *hd = svc->hd; local
987 module = gb_module_create(hd, module_id, num_interfaces);
999 list_add(&module->hd_node, &hd
1313 gb_svc_create(struct gb_host_device *hd) argument
1375 struct gb_host_device *hd = svc->hd; local
[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 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 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 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...]
/linux-master/fs/dlm/
H A Dlock.c4793 const struct dlm_header *hd = &p->header; local
4797 switch (hd->h_cmd) {
4805 log_print("invalid h_cmd %d from %u", hd->h_cmd, nodeid);
4809 if (le32_to_cpu(hd->h_nodeid) != nodeid) {
4811 le32_to_cpu(hd->h_nodeid), nodeid,
4812 le32_to_cpu(hd->u.h_lockspace));
4816 ls = dlm_find_lockspace_global(le32_to_cpu(hd->u.h_lockspace));
4821 le32_to_cpu(hd->u.h_lockspace), nodeid,
4822 hd->h_cmd, type);
4825 if (hd
[all...]
/linux-master/drivers/scsi/aacraid/
H A Daachba.c115 } __attribute__((packed)) hd; member in struct:__anon402
133 } __attribute__((packed)) hd; member in struct:__anon405
3051 mpd.hd.data_length = sizeof(mpd.hd) - 1;
3053 mpd.hd.med_type = 0;
3057 mpd.hd.dev_par = 0;
3060 mpd.hd.dev_par = 0x10;
3062 mpd.hd.bd_length = 0; /* Block descriptor length */
3064 mpd.hd.bd_length = sizeof(mpd.bd);
3065 mpd.hd
[all...]
/linux-master/drivers/message/fusion/
H A Dmptfc.c188 MPT_SCSI_HOST *hd; local
195 hd = shost_priv(shost);
196 ioc = hd->ioc;
228 MPT_SCSI_HOST __maybe_unused *hd = shost_priv(shost); local
233 dfcprintk (hd->ioc, printk(MYIOC_s_DEBUG_FMT
235 hd->ioc->name, shost->host_no,
247 MPT_SCSI_HOST __maybe_unused *hd = shost_priv(shost); local
252 dfcprintk (hd->ioc, printk(MYIOC_s_DEBUG_FMT
254 hd->ioc->name, shost->host_no,
265 MPT_SCSI_HOST __maybe_unused *hd local
635 MPT_SCSI_HOST *hd; local
1207 MPT_SCSI_HOST *hd; local
[all...]
/linux-master/tools/perf/util/
H A Dsort.c1349 return repsep_snprintf(bf, size, "%-*hd", width,
2647 static struct perf_hpp_fmt *__hpp_dimension__alloc_hpp(struct hpp_dimension *hd, argument
2652 fmt = memdup(hd->fmt, sizeof(*fmt));
3291 static int __hpp_dimension__add(struct hpp_dimension *hd, argument
3297 if (hd->taken)
3300 fmt = __hpp_dimension__alloc_hpp(hd, level);
3304 hd->taken = 1;
3323 struct hpp_dimension *hd)
3327 if (hd->taken)
3330 fmt = __hpp_dimension__alloc_hpp(hd,
3322 __hpp_dimension__add_output(struct perf_hpp_list *list, struct hpp_dimension *hd) argument
3412 struct hpp_dimension *hd = &hpp_sort_dimensions[i]; local
3760 struct hpp_dimension *hd = &hpp_sort_dimensions[i]; local
[all...]
/linux-master/include/drm/
H A Ddrm_modes.h134 #define DRM_MODE(nm, t, c, hd, hss, hse, ht, hsk, vd, vss, vse, vt, vs, f) \
136 .hdisplay = (hd), .hsync_start = (hss), .hsync_end = (hse), \
149 #define __DRM_MODE_INIT(pix, hd, vd, hd_mm, vd_mm) \
151 .hdisplay = (hd), .hsync_start = (hd), .hsync_end = (hd), \
152 .htotal = (hd), .vdisplay = (vd), .vsync_start = (vd), \
159 * @hd: Horizontal resolution, width
167 #define DRM_MODE_INIT(hz, hd, vd, hd_mm, vd_mm) \
168 __DRM_MODE_INIT((hd) * (v
[all...]
/linux-master/drivers/gpu/drm/radeon/
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...]
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.h1579 unsigned hd; member in struct:radeon_dpm
/linux-master/drivers/gpu/drm/omapdrm/dss/
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...]
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...]
/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...]
/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/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/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/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...]

Completed in 389 milliseconds

1234