/linux-4.19.296/drivers/auxdisplay/ |
D | hd44780.c | 43 struct hd44780 *hd = lcd->drvdata; in hd44780_backlight() local 45 if (hd->pins[PIN_CTRL_BL]) in hd44780_backlight() 46 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_BL], on); in hd44780_backlight() 49 static void hd44780_strobe_gpio(struct hd44780 *hd) in hd44780_strobe_gpio() argument 54 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_E], 1); in hd44780_strobe_gpio() 59 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_E], 0); in hd44780_strobe_gpio() 63 static void hd44780_write_gpio8(struct hd44780 *hd, u8 val, unsigned int rs) in hd44780_write_gpio8() argument 72 if (hd->pins[PIN_CTRL_RW]) { in hd44780_write_gpio8() 78 gpiod_set_array_value_cansleep(n, &hd->pins[PIN_DATA0], values); in hd44780_write_gpio8() 80 hd44780_strobe_gpio(hd); in hd44780_write_gpio8() [all …]
|
/linux-4.19.296/fs/dlm/ |
D | util.c | 25 static void header_out(struct dlm_header *hd) in header_out() argument 27 hd->h_version = cpu_to_le32(hd->h_version); in header_out() 28 hd->h_lockspace = cpu_to_le32(hd->h_lockspace); in header_out() 29 hd->h_nodeid = cpu_to_le32(hd->h_nodeid); in header_out() 30 hd->h_length = cpu_to_le16(hd->h_length); in header_out() 33 static void header_in(struct dlm_header *hd) in header_in() argument 35 hd->h_version = le32_to_cpu(hd->h_version); in header_in() 36 hd->h_lockspace = le32_to_cpu(hd->h_lockspace); in header_in() 37 hd->h_nodeid = le32_to_cpu(hd->h_nodeid); in header_in() 38 hd->h_length = le16_to_cpu(hd->h_length); in header_in()
|
D | lock.c | 5038 struct dlm_header *hd = &p->header; in dlm_receive_buffer() local 5042 switch (hd->h_cmd) { in dlm_receive_buffer() 5052 log_print("invalid h_cmd %d from %u", hd->h_cmd, nodeid); in dlm_receive_buffer() 5056 if (hd->h_nodeid != nodeid) { in dlm_receive_buffer() 5058 hd->h_nodeid, nodeid, hd->h_lockspace); in dlm_receive_buffer() 5062 ls = dlm_find_lockspace_global(hd->h_lockspace); in dlm_receive_buffer() 5067 hd->h_lockspace, nodeid, hd->h_cmd, type); in dlm_receive_buffer() 5070 if (hd->h_cmd == DLM_RCOM && type == DLM_RCOM_STATUS) in dlm_receive_buffer() 5079 if (hd->h_cmd == DLM_MSG) in dlm_receive_buffer()
|
/linux-4.19.296/drivers/message/fusion/ |
D | mptspi.c | 108 mptspi_setTargetNegoParms(MPT_SCSI_HOST *hd, VirtTarget *target, in mptspi_setTargetNegoParms() argument 111 MPT_ADAPTER *ioc = hd->ioc; in mptspi_setTargetNegoParms() 254 mptspi_writeIOCPage4(MPT_SCSI_HOST *hd, u8 channel , u8 id) in mptspi_writeIOCPage4() argument 256 MPT_ADAPTER *ioc = hd->ioc; in mptspi_writeIOCPage4() 333 mptspi_initTarget(MPT_SCSI_HOST *hd, VirtTarget *vtarget, in mptspi_initTarget() argument 348 if ((sdev->type == TYPE_PROCESSOR) && (hd->ioc->spi_data.Saf_Te)) { in mptspi_initTarget() 352 mptspi_writeIOCPage4(hd, vtarget->channel, vtarget->id); in mptspi_initTarget() 363 mptspi_writeIOCPage4(hd, vtarget->channel, vtarget->id); in mptspi_initTarget() 367 mptspi_setTargetNegoParms(hd, vtarget, sdev); in mptspi_initTarget() 381 mptspi_is_raid(struct _MPT_SCSI_HOST *hd, u32 id) in mptspi_is_raid() argument [all …]
|
D | mptscsih.c | 95 static void mptscsih_copy_sense_data(struct scsi_cmnd *sc, MPT_SCSI_HOST *hd, MPT_FRAME_HDR *mf, SC… 97 int mptscsih_IssueTaskMgmt(MPT_SCSI_HOST *hd, u8 type, u8 channel, u8 id, 108 static int mptscsih_do_cmd(MPT_SCSI_HOST *hd, INTERNAL_CMD *iocmd); 109 static void mptscsih_synchronize_cache(MPT_SCSI_HOST *hd, VirtDevice *vdevice); 589 MPT_SCSI_HOST *hd; in mptscsih_io_done() local 596 hd = shost_priv(ioc->sh); in mptscsih_io_done() 686 mptscsih_copy_sense_data(sc, hd, mf, pScsiReply); in mptscsih_io_done() 724 if (hd->sel_timeout[pScsiReq->TargetID] < 0xFFFF) in mptscsih_io_done() 725 hd->sel_timeout[pScsiReq->TargetID]++; in mptscsih_io_done() 1028 mptscsih_flush_running_cmds(MPT_SCSI_HOST *hd) in mptscsih_flush_running_cmds() argument [all …]
|
D | mptscsih.h | 117 extern int mptscsih_IssueTaskMgmt(MPT_SCSI_HOST *hd, u8 type, u8 channel, 137 extern void mptscsih_flush_running_cmds(MPT_SCSI_HOST *hd);
|
D | mptfc.c | 191 MPT_SCSI_HOST *hd; in mptfc_block_error_handler() local 200 hd = shost_priv(SCpnt->device->host); in mptfc_block_error_handler() 201 ioc = hd->ioc; in mptfc_block_error_handler() 600 MPT_SCSI_HOST *hd; in mptfc_slave_alloc() local 613 hd = shost_priv(sdev->host); in mptfc_slave_alloc() 614 ioc = hd->ioc; in mptfc_slave_alloc() 1173 MPT_SCSI_HOST *hd; in mptfc_probe() local 1289 hd = shost_priv(sh); in mptfc_probe() 1290 hd->ioc = ioc; in mptfc_probe() 1305 hd->last_queue_full = 0; in mptfc_probe() [all …]
|
D | mptsas.c | 338 MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptsas_cleanup_fw_event_q() local 341 if (!list_empty(&hd->target_reset_list)) { in mptsas_cleanup_fw_event_q() 343 &hd->target_reset_list, list) { in mptsas_cleanup_fw_event_q() 1113 MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptsas_target_reset_queue() local 1138 list_add_tail(&target_reset_list->list, &hd->target_reset_list); in mptsas_target_reset_queue() 1160 MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptsas_schedule_target_reset() local 1161 struct list_head *head = &hd->target_reset_list; in mptsas_schedule_target_reset() 1195 MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptsas_taskmgmt_complete() local 1196 struct list_head *head = &hd->target_reset_list; in mptsas_taskmgmt_complete() 1289 MPT_SCSI_HOST *hd; in mptsas_ioc_reset() local [all …]
|
D | mptctl.c | 2449 MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptctl_hp_hostinfo() local 2451 if (hd && (cim_rev == 1)) { in mptctl_hp_hostinfo() 2562 MPT_SCSI_HOST *hd = NULL; in mptctl_hp_targetinfo() local 2673 hd = shost_priv(ioc->sh); in mptctl_hp_targetinfo() 2674 if (hd != NULL) in mptctl_hp_targetinfo() 2675 karg.select_timeouts = hd->sel_timeout[karg.hdr.id]; in mptctl_hp_targetinfo()
|
D | mptbase.h | 598 typedef void (*MPT_FLUSH_RUNNING_CMDS)(MPT_SCSI_HOST *hd);
|
D | mptbase.c | 364 MPT_SCSI_HOST *hd; in mpt_fault_reset_work() local 383 hd = shost_priv(ioc->sh); in mpt_fault_reset_work() 384 ioc->schedule_dead_ioc_flush_running_cmds(hd); in mpt_fault_reset_work()
|
/linux-4.19.296/include/drm/tinydrm/ |
D | tinydrm.h | 86 #define TINYDRM_MODE(hd, vd, hd_mm, vd_mm) \ argument 87 .hdisplay = (hd), \ 88 .hsync_start = (hd), \ 89 .hsync_end = (hd), \ 90 .htotal = (hd), \
|
/linux-4.19.296/block/partitions/ |
D | check.c | 115 static struct parsed_partitions *allocate_partitions(struct gendisk *hd) in allocate_partitions() argument 124 nr = disk_max_parts(hd); in allocate_partitions() 143 check_partition(struct gendisk *hd, struct block_device *bdev) in check_partition() argument 148 state = allocate_partitions(hd); in check_partition() 159 disk_name(hd, 0, state->name); in check_partition()
|
/linux-4.19.296/block/ |
D | genhd.c | 1348 struct hd_struct *hd; in diskstats_show() local 1362 while ((hd = disk_part_iter_next(&piter))) { in diskstats_show() 1364 part_round_stats(gp->queue, cpu, hd); in diskstats_show() 1366 part_in_flight(gp->queue, hd, inflight); in diskstats_show() 1372 MAJOR(part_devt(hd)), MINOR(part_devt(hd)), in diskstats_show() 1373 disk_name(gp, hd->partno, buf), in diskstats_show() 1374 part_stat_read(hd, ios[STAT_READ]), in diskstats_show() 1375 part_stat_read(hd, merges[STAT_READ]), in diskstats_show() 1376 part_stat_read(hd, sectors[STAT_READ]), in diskstats_show() 1377 (unsigned int)part_stat_read_msecs(hd, STAT_READ), in diskstats_show() [all …]
|
D | partition-generic.c | 35 char *disk_name(struct gendisk *hd, int partno, char *buf) in disk_name() argument 38 snprintf(buf, BDEVNAME_SIZE, "%s", hd->disk_name); in disk_name() 39 else if (isdigit(hd->disk_name[strlen(hd->disk_name)-1])) in disk_name() 40 snprintf(buf, BDEVNAME_SIZE, "%sp%d", hd->disk_name, partno); in disk_name() 42 snprintf(buf, BDEVNAME_SIZE, "%s%d", hd->disk_name, partno); in disk_name()
|
/linux-4.19.296/include/linux/ |
D | hpet.h | 103 static inline void hpet_reserve_timer(struct hpet_data *hd, int timer) in hpet_reserve_timer() argument 105 hd->hd_state |= (1 << timer); in hpet_reserve_timer()
|
D | genhd.h | 602 extern char *disk_name (struct gendisk *hd, int partno, char *buf);
|
/linux-4.19.296/drivers/media/rc/keymaps/ |
D | Makefile | 9 rc-ati-tv-wonder-hd-600.o \ 81 rc-pinnacle-pctv-hd.o \ 101 rc-terratec-cinergy-s2-hd.o \
|
/linux-4.19.296/include/drm/ |
D | drm_modes.h | 134 #define DRM_MODE(nm, t, c, hd, hss, hse, ht, hsk, vd, vss, vse, vt, vs, f) \ argument 136 .hdisplay = (hd), .hsync_start = (hss), .hsync_end = (hse), \
|
/linux-4.19.296/include/linux/mfd/ |
D | si476x-core.h | 363 bool hd; member
|
/linux-4.19.296/lib/ |
D | vsprintf.c | 690 struct gendisk *hd = bdev->bd_disk; in bdev_name() local 692 buf = string(buf, end, hd->disk_name, spec); in bdev_name() 694 if (isdigit(hd->disk_name[strlen(hd->disk_name)-1])) { in bdev_name()
|
/linux-4.19.296/drivers/media/radio/ |
D | radio-si476x.c | 541 .hd = false, in si476x_radio_pretune() 743 args.hd = false; in si476x_radio_s_frequency()
|