/drivers/block/ |
D | cciss.c | 174 static int rebuild_lun_table(ctlr_info_t *h, int first_time, int via_ioctl); 175 static int deregister_disk(ctlr_info_t *h, int drv_index, 178 static void cciss_read_capacity(ctlr_info_t *h, int logvol, 180 static void cciss_read_capacity_16(ctlr_info_t *h, int logvol, 182 static void cciss_geometry_inquiry(ctlr_info_t *h, int logvol, 187 static int cciss_enter_simple_mode(struct ctlr_info *h); 188 static void start_io(ctlr_info_t *h); 189 static int sendcmd_withirq(ctlr_info_t *h, __u8 cmd, void *buff, size_t size, 192 static int sendcmd_withirq_core(ctlr_info_t *h, CommandList_struct *c, 194 static int process_sendcmd_error(ctlr_info_t *h, CommandList_struct *c); [all …]
|
D | smart1,2.h | 42 static void smart4_submit_command(ctlr_info_t *h, cmdlist_t *c) in smart4_submit_command() argument 44 writel(c->busaddr, h->vaddr + S42XX_REQUEST_PORT_OFFSET); in smart4_submit_command() 52 static void smart4_intr_mask(ctlr_info_t *h, unsigned long val) in smart4_intr_mask() argument 56 writel(0, h->vaddr + S42XX_REPLY_INTR_MASK_OFFSET); in smart4_intr_mask() 60 h->vaddr + S42XX_REPLY_INTR_MASK_OFFSET); in smart4_intr_mask() 69 static unsigned long smart4_fifo_full(ctlr_info_t *h) in smart4_fifo_full() argument 72 return (!readl(h->vaddr + S42XX_REQUEST_PORT_OFFSET)); in smart4_fifo_full() 79 static unsigned long smart4_completed(ctlr_info_t *h) in smart4_completed() argument 82 = readl(h->vaddr + S42XX_REPLY_PORT_OFFSET); in smart4_completed() 90 writel(0, h->vaddr + S42XX_REPLY_PORT_OFFSET); in smart4_completed() [all …]
|
D | cciss.h | 25 void (*submit_command)(ctlr_info_t *h, CommandList_struct *c); 26 void (*set_intr_mask)(ctlr_info_t *h, unsigned long val); 27 unsigned long (*fifo_full)(ctlr_info_t *h); 28 bool (*intr_pending)(ctlr_info_t *h); 29 unsigned long (*command_completed)(ctlr_info_t *h); 220 static void SA5_submit_command( ctlr_info_t *h, CommandList_struct *c) in SA5_submit_command() argument 224 h->ctlr, c->busaddr); in SA5_submit_command() 226 writel(c->busaddr, h->vaddr + SA5_REQUEST_PORT_OFFSET); in SA5_submit_command() 227 readl(h->vaddr + SA5_SCRATCHPAD_OFFSET); in SA5_submit_command() 228 h->commands_outstanding++; in SA5_submit_command() [all …]
|
D | cciss_scsi.c | 47 static int fill_cmd(ctlr_info_t *h, CommandList_struct *c, __u8 cmd, void *buff, 52 static CommandList_struct *cmd_alloc(ctlr_info_t *h); 53 static CommandList_struct *cmd_special_alloc(ctlr_info_t *h); 54 static void cmd_free(ctlr_info_t *h, CommandList_struct *c); 55 static void cmd_special_free(ctlr_info_t *h, CommandList_struct *c); 63 static int cciss_scsi_queue_command (struct Scsi_Host *h, 126 #define CPQ_TAPE_LOCK(h, flags) spin_lock_irqsave( \ argument 127 &h->scsi_ctlr->lock, flags); 128 #define CPQ_TAPE_UNLOCK(h, flags) spin_unlock_irqrestore( \ argument 129 &h->scsi_ctlr->lock, flags); [all …]
|
/drivers/scsi/ |
D | hpsa.c | 214 static int hpsa_add_sas_host(struct ctlr_info *h); 215 static void hpsa_delete_sas_host(struct ctlr_info *h); 220 *hpsa_find_device_by_sas_rphy(struct ctlr_info *h, 238 static void cmd_free(struct ctlr_info *h, struct CommandList *c); 239 static struct CommandList *cmd_alloc(struct ctlr_info *h); 240 static void cmd_tagged_free(struct ctlr_info *h, struct CommandList *c); 241 static struct CommandList *cmd_tagged_alloc(struct ctlr_info *h, 243 static int fill_cmd(struct CommandList *c, u8 cmd, struct ctlr_info *h, 246 static void hpsa_free_cmd_pool(struct ctlr_info *h); 250 static int hpsa_scsi_queue_command(struct Scsi_Host *h, struct scsi_cmnd *cmd); [all …]
|
D | hpsa.h | 30 void (*submit_command)(struct ctlr_info *h, 32 void (*set_intr_mask)(struct ctlr_info *h, unsigned long val); 33 bool (*intr_pending)(struct ctlr_info *h); 34 unsigned long (*command_completed)(struct ctlr_info *h, u8 q); 412 static void SA5_submit_command(struct ctlr_info *h, in SA5_submit_command() argument 415 writel(c->busaddr, h->vaddr + SA5_REQUEST_PORT_OFFSET); in SA5_submit_command() 416 (void) readl(h->vaddr + SA5_SCRATCHPAD_OFFSET); in SA5_submit_command() 419 static void SA5_submit_command_no_read(struct ctlr_info *h, in SA5_submit_command_no_read() argument 422 writel(c->busaddr, h->vaddr + SA5_REQUEST_PORT_OFFSET); in SA5_submit_command_no_read() 425 static void SA5_submit_command_ioaccel2(struct ctlr_info *h, in SA5_submit_command_ioaccel2() argument [all …]
|
/drivers/staging/lustre/lustre/obdclass/ |
D | lustre_handles.c | 59 void class_handle_hash(struct portals_handle *h, in class_handle_hash() argument 64 LASSERT(h); in class_handle_hash() 65 LASSERT(list_empty(&h->h_link)); in class_handle_hash() 83 h->h_cookie = handle_base; in class_handle_hash() 86 h->h_ops = ops; in class_handle_hash() 87 spin_lock_init(&h->h_lock); in class_handle_hash() 89 bucket = &handle_hash[h->h_cookie & HANDLE_HASH_MASK]; in class_handle_hash() 91 list_add_rcu(&h->h_link, &bucket->head); in class_handle_hash() 92 h->h_in = 1; in class_handle_hash() 96 h, h->h_cookie); in class_handle_hash() [all …]
|
/drivers/media/pci/zoran/ |
D | videocodec.c | 79 struct codec_list *h = codeclist_top; in videocodec_attach() local 93 if (!h) { in videocodec_attach() 100 while (h) { in videocodec_attach() 103 if ((master->flags & h->codec->flags) == master->flags) { in videocodec_attach() 105 h->codec->name); in videocodec_attach() 107 if (!try_module_get(h->codec->owner)) in videocodec_attach() 110 codec = kmemdup(h->codec, sizeof(struct videocodec), in videocodec_attach() 121 "[%d]", h->attached); in videocodec_attach() 136 a = h->list; in videocodec_attach() 138 h->list = ptr; in videocodec_attach() [all …]
|
/drivers/scsi/device_handler/ |
D | scsi_dh_hp_sw.c | 106 static int hp_sw_tur(struct scsi_device *sdev, struct hp_sw_dh_data *h) in hp_sw_tur() argument 122 req->sense = h->sense; in hp_sw_tur() 129 ret = tur_done(sdev, h->sense); in hp_sw_tur() 137 h->path_state = HP_SW_PATH_ACTIVE; in hp_sw_tur() 145 h->path_state = HP_SW_PATH_PASSIVE; in hp_sw_tur() 197 struct hp_sw_dh_data *h = req->end_io_data; in start_stop_endio() local 202 sdev_printk(KERN_WARNING, h->sdev, in start_stop_endio() 210 err = start_done(h->sdev, h->sense); in start_stop_endio() 213 if (--h->retry_cnt) { in start_stop_endio() 215 err = hp_sw_start_stop(h); in start_stop_endio() [all …]
|
D | scsi_dh_rdac.c | 230 struct rdac_dh_data *h; member 296 struct rdac_dh_data *h, struct list_head *list) in rdac_failover_get() argument 304 if (h->ctlr->use_ms10) { in rdac_failover_get() 308 rdac_pg = &h->ctlr->mode_select.expanded; in rdac_failover_get() 320 rdac_pg = &h->ctlr->mode_select.legacy; in rdac_failover_get() 332 lun_table[qdata->h->lun] = 0x81; in rdac_failover_get() 336 rq = get_rdac_req(sdev, &h->ctlr->mode_select, data_size, WRITE); in rdac_failover_get() 341 if (h->ctlr->use_ms10) { in rdac_failover_get() 351 rq->sense = h->sense; in rdac_failover_get() 404 unsigned int len, struct rdac_dh_data *h) in submit_inquiry() argument [all …]
|
D | scsi_dh_alua.c | 333 static int alua_check_vpd(struct scsi_device *sdev, struct alua_dh_data *h, in alua_check_vpd() argument 371 spin_lock(&h->pg_lock); in alua_check_vpd() 372 old_pg = h->pg; in alua_check_vpd() 375 if (h->pg) { in alua_check_vpd() 377 list_del_rcu(&h->node); in alua_check_vpd() 380 rcu_assign_pointer(h->pg, pg); in alua_check_vpd() 388 list_add_rcu(&h->node, &pg->dh_list); in alua_check_vpd() 391 alua_rtpg_queue(h->pg, sdev, NULL, true); in alua_check_vpd() 392 spin_unlock(&h->pg_lock); in alua_check_vpd() 645 struct alua_dh_data *h; in alua_rtpg() local [all …]
|
/drivers/staging/skein/ |
D | skein_base.c | 31 ctx->h.hash_bit_len = hash_bit_len; /* output hash bit count */ in skein_256_init() 101 ctx->h.hash_bit_len = 8 * sizeof(ctx->x); in skein_256_init_ext() 118 ctx->h.hash_bit_len = hash_bit_len; in skein_256_init_ext() 147 skein_assert_ret(ctx->h.b_cnt <= SKEIN_256_BLOCK_BYTES, SKEIN_FAIL); in skein_256_update() 150 if (msg_byte_cnt + ctx->h.b_cnt > SKEIN_256_BLOCK_BYTES) { in skein_256_update() 152 if (ctx->h.b_cnt) { in skein_256_update() 154 n = SKEIN_256_BLOCK_BYTES - ctx->h.b_cnt; in skein_256_update() 158 memcpy(&ctx->b[ctx->h.b_cnt], msg, n); in skein_256_update() 161 ctx->h.b_cnt += n; in skein_256_update() 163 skein_assert(ctx->h.b_cnt == SKEIN_256_BLOCK_BYTES); in skein_256_update() [all …]
|
/drivers/media/i2c/ |
D | saa6752hs.c | 321 struct saa6752hs_state *h) in saa6752hs_set_bitrate() argument 323 struct saa6752hs_mpeg_params *params = &h->params; in saa6752hs_set_bitrate() 372 struct saa6752hs_state *h = in saa6752hs_try_ctrl() local 379 h->video_bitrate_peak->val < h->video_bitrate->val) in saa6752hs_try_ctrl() 380 h->video_bitrate_peak->val = h->video_bitrate->val; in saa6752hs_try_ctrl() 388 struct saa6752hs_state *h = in saa6752hs_s_ctrl() local 390 struct saa6752hs_mpeg_params *params = &h->params; in saa6752hs_s_ctrl() 425 params->vi_bitrate = h->video_bitrate->val / 1000; in saa6752hs_s_ctrl() 426 params->vi_bitrate_peak = h->video_bitrate_peak->val / 1000; in saa6752hs_s_ctrl() 427 v4l2_ctrl_activate(h->video_bitrate_peak, in saa6752hs_s_ctrl() [all …]
|
/drivers/acpi/ |
D | acpi_configfs.c | 77 struct acpi_table_header *h = get_header(cfg); in acpi_table_aml_read() local 79 if (!h) in acpi_table_aml_read() 83 memcpy(data, h, h->length); in acpi_table_aml_read() 85 return h->length; in acpi_table_aml_read() 99 struct acpi_table_header *h = get_header(cfg); in acpi_table_signature_show() local 101 if (!h) in acpi_table_signature_show() 104 return sprintf(str, "%.*s\n", ACPI_NAME_SIZE, h->signature); in acpi_table_signature_show() 109 struct acpi_table_header *h = get_header(cfg); in acpi_table_length_show() local 111 if (!h) in acpi_table_length_show() 114 return sprintf(str, "%d\n", h->length); in acpi_table_length_show() [all …]
|
/drivers/gpu/drm/radeon/ |
D | Makefile | 8 …h r100_reg_safe.h r200_reg_safe.h rv515_reg_safe.h r300_reg_safe.h r420_reg_safe.h rs600_reg_safe.… 13 $(obj)/rn50_reg_safe.h: $(src)/reg_srcs/rn50 $(obj)/mkregtable 16 $(obj)/r100_reg_safe.h: $(src)/reg_srcs/r100 $(obj)/mkregtable 19 $(obj)/r200_reg_safe.h: $(src)/reg_srcs/r200 $(obj)/mkregtable 22 $(obj)/rv515_reg_safe.h: $(src)/reg_srcs/rv515 $(obj)/mkregtable 25 $(obj)/r300_reg_safe.h: $(src)/reg_srcs/r300 $(obj)/mkregtable 28 $(obj)/r420_reg_safe.h: $(src)/reg_srcs/r420 $(obj)/mkregtable 31 $(obj)/rs600_reg_safe.h: $(src)/reg_srcs/rs600 $(obj)/mkregtable 34 $(obj)/r600_reg_safe.h: $(src)/reg_srcs/r600 $(obj)/mkregtable 37 $(obj)/evergreen_reg_safe.h: $(src)/reg_srcs/evergreen $(obj)/mkregtable [all …]
|
/drivers/scsi/aic7xxx/aicasm/ |
D | Makefile | 3 .SUFFIXES= .l .y .c .h 9 GENHDRS= aicdb.h $(YSRCS:.y=.h) 38 aicdb.h: 40 echo "#include <db4/db_185.h>" > aicdb.h; \ 42 echo "#include <db3/db_185.h>" > aicdb.h; \ 44 echo "#include <db2/db_185.h>" > aicdb.h; \ 46 echo "#include <db1/db_185.h>" > aicdb.h; \ 48 echo "#include <db/db_185.h>" > aicdb.h; \ 50 echo "#include <db_185.h>" > aicdb.h; \ 61 aicasm_gram.c: aicasm_gram.h [all …]
|
/drivers/scsi/aic7xxx/ |
D | Makefile | 42 clean-files := aic7xxx_seq.h aic7xxx_reg.h aic7xxx_reg_print.c 43 clean-files += aic79xx_seq.h aic79xx_reg.h aic79xx_reg_print.c 47 $(addprefix $(obj)/,$(aic7xxx-y)): $(obj)/aic7xxx_seq.h $(obj)/aic7xxx_reg.h 48 $(addprefix $(obj)/,$(aic79xx-y)): $(obj)/aic79xx_seq.h $(obj)/aic79xx_reg.h 50 aic7xxx-gen-$(CONFIG_AIC7XXX_BUILD_FIRMWARE) := $(obj)/aic7xxx_reg.h 54 -p $(obj)/aic7xxx_reg_print.c -i aic7xxx_osm.h 57 $(obj)/aic7xxx_seq.h: $(src)/aic7xxx.seq $(src)/aic7xxx.reg $(obj)/aicasm/aicasm 58 $(obj)/aicasm/aicasm -I$(src) -r $(obj)/aic7xxx_reg.h \ 59 $(aicasm-7xxx-opts-y) -o $(obj)/aic7xxx_seq.h \ 62 $(aic7xxx-gen-y): $(obj)/aic7xxx_seq.h [all …]
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_ethtool.c | 47 struct hnae_handle *h; in hns_nic_get_link() local 49 h = priv->ae_handle; in hns_nic_get_link() 58 if (h->dev && h->dev->ops && h->dev->ops->get_status) in hns_nic_get_link() 59 link_stat = link_stat && h->dev->ops->get_status(h); in hns_nic_get_link() 122 struct hnae_handle *h; in hns_nic_get_link_ksettings() local 132 h = priv->ae_handle; in hns_nic_get_link_ksettings() 133 if (!h->dev || !h->dev->ops || !h->dev->ops->get_info) in hns_nic_get_link_ksettings() 136 ret = h->dev->ops->get_info(h, NULL, &speed, &duplex); in hns_nic_get_link_ksettings() 164 supported |= h->if_support; in hns_nic_get_link_ksettings() 165 if (h->phy_if == PHY_INTERFACE_MODE_SGMII) { in hns_nic_get_link_ksettings() [all …]
|
D | hns_enet.c | 850 static int is_valid_clean_head(struct hnae_ring *ring, int h) in is_valid_clean_head() argument 855 if (unlikely(h > ring->desc_num)) in is_valid_clean_head() 860 assert(u != c && h != c); /* must be checked before call this func */ in is_valid_clean_head() 862 return u > c ? (h > c && h <= u) : (h > c || h <= u); in is_valid_clean_head() 1020 struct hnae_handle *h = priv->ae_handle; in hns_nic_adjust_link() local 1024 h->dev->ops->adjust_link(h, ndev->phydev->speed, in hns_nic_adjust_link() 1028 state = state && h->dev->ops->get_status(h); in hns_nic_adjust_link() 1049 int hns_nic_init_phy(struct net_device *ndev, struct hnae_handle *h) in hns_nic_init_phy() argument 1051 struct phy_device *phy_dev = h->phy_dev; in hns_nic_init_phy() 1054 if (!h->phy_dev) in hns_nic_init_phy() [all …]
|
/drivers/sh/intc/ |
D | access.c | 75 static unsigned long test_8(unsigned long addr, unsigned long h, in test_8() argument 79 return intc_get_field_from_handle(__raw_readb(ptr), h); in test_8() 82 static unsigned long test_16(unsigned long addr, unsigned long h, in test_16() argument 86 return intc_get_field_from_handle(__raw_readw(ptr), h); in test_16() 89 static unsigned long test_32(unsigned long addr, unsigned long h, in test_32() argument 93 return intc_get_field_from_handle(__raw_readl(ptr), h); in test_32() 96 static unsigned long write_8(unsigned long addr, unsigned long h, in write_8() argument 100 __raw_writeb(intc_set_field_from_handle(0, data, h), ptr); in write_8() 105 static unsigned long write_16(unsigned long addr, unsigned long h, in write_16() argument 109 __raw_writew(intc_set_field_from_handle(0, data, h), ptr); in write_16() [all …]
|
/drivers/media/platform/mtk-vcodec/ |
D | mtk_vcodec_util.h | 52 #define mtk_vcodec_debug(h, fmt, args...) \ argument 56 ((struct mtk_vcodec_ctx *)h->ctx)->id, \ 60 #define mtk_vcodec_err(h, fmt, args...) \ argument 62 ((struct mtk_vcodec_ctx *)h->ctx)->id, __func__, ##args) 64 #define mtk_vcodec_debug_enter(h) mtk_vcodec_debug(h, "+") argument 65 #define mtk_vcodec_debug_leave(h) mtk_vcodec_debug(h, "-") argument 74 #define mtk_vcodec_debug(h, fmt, args...) argument 75 #define mtk_vcodec_err(h, fmt, args...) argument 76 #define mtk_vcodec_debug_enter(h) argument 77 #define mtk_vcodec_debug_leave(h) argument
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_osdep.h | 60 #define i40e_allocate_dma_mem(h, m, unused, s, a) \ argument 61 i40e_allocate_dma_mem_d(h, m, s, a) 62 #define i40e_free_dma_mem(h, m) i40e_free_dma_mem_d(h, m) argument 69 #define i40e_allocate_virt_mem(h, m, s) i40e_allocate_virt_mem_d(h, m, s) argument 70 #define i40e_free_virt_mem(h, m) i40e_free_virt_mem_d(h, m) argument 72 #define i40e_debug(h, m, s, ...) \ argument 74 if (((m) & (h)->debug_mask)) \ 76 (h)->bus.device, (h)->bus.func, \
|
/drivers/message/fusion/lsi/ |
D | mpi_history.txt | 15 mpi.h 01.05.16 01.05.15 16 mpi_ioc.h 01.05.16 01.05.15 17 mpi_cnfg.h 01.05.18 01.05.17 18 mpi_init.h 01.05.09 01.05.09 19 mpi_targ.h 01.05.06 01.05.06 20 mpi_fc.h 01.05.01 01.05.01 21 mpi_lan.h 01.05.01 01.05.01 22 mpi_raid.h 01.05.05 01.05.05 23 mpi_tool.h 01.05.03 01.05.03 24 mpi_inb.h 01.05.01 01.05.01 [all …]
|
/drivers/net/wireless/ath/ath9k/ |
D | calib.c | 87 struct ath9k_nfcal_hist *h; in ath9k_hw_update_nfcal_hist_buffer() local 92 h = cal->nfCalHist; in ath9k_hw_update_nfcal_hist_buffer() 100 h[i].nfCalBuffer[h[i].currIndex] = nfarray[i]; in ath9k_hw_update_nfcal_hist_buffer() 102 if (++h[i].currIndex >= ATH9K_NF_CAL_HIST_MAX) in ath9k_hw_update_nfcal_hist_buffer() 103 h[i].currIndex = 0; in ath9k_hw_update_nfcal_hist_buffer() 105 if (h[i].invalidNFcount > 0) { in ath9k_hw_update_nfcal_hist_buffer() 106 h[i].invalidNFcount--; in ath9k_hw_update_nfcal_hist_buffer() 107 h[i].privNF = nfarray[i]; in ath9k_hw_update_nfcal_hist_buffer() 109 h[i].privNF = in ath9k_hw_update_nfcal_hist_buffer() 110 ath9k_hw_get_nf_hist_mid(h[i].nfCalBuffer); in ath9k_hw_update_nfcal_hist_buffer() [all …]
|
/drivers/md/bcache/ |
D | util.h | 60 #define heap_swap(h, i, j) swap((h)->data[i], (h)->data[j]) argument 62 #define heap_sift(h, i, cmp) \ argument 66 for (; _j * 2 + 1 < (h)->used; _j = _r) { \ 68 if (_r + 1 < (h)->used && \ 69 cmp((h)->data[_r], (h)->data[_r + 1])) \ 72 if (cmp((h)->data[_r], (h)->data[_j])) \ 74 heap_swap(h, _r, _j); \ 78 #define heap_sift_down(h, i, cmp) \ argument 82 if (cmp((h)->data[i], (h)->data[p])) \ 84 heap_swap(h, i, p); \ [all …]
|