| /drivers/scsi/ |
| A D | hpsa.c | 1227 if (h == NULL || h->pdev == NULL || h->scsi_host == NULL) in hpsa_show_dev_msg() 1449 h->dev[i] = h->dev[i+1]; in hpsa_scsi_remove_entry() 1477 h->dev[j] = h->dev[j+1]; in fixup_botched_add() 2576 h = cp->h; in complete_scsi_command() 5539 c->h = h; in hpsa_cmd_init() 5628 struct ctlr_info *h = c->h; in hpsa_command_resubmit_worker() local 7713 h->chainsize = h->maxsgentries - h->max_cmd_sg_entries; in hpsa_find_board_params() 8078 &h->q[h->intr_mode]); in hpsa_free_irqs() 8079 h->q[h->intr_mode] = 0; in hpsa_free_irqs() 8139 &h->q[h->intr_mode]); in hpsa_request_irqs() [all …]
|
| A D | hpsa.h | 31 void (*submit_command)(struct ctlr_info *h, 34 bool (*intr_pending)(struct ctlr_info *h); 447 h->interrupts_enabled = 1; in SA5_intr_mask() 451 h->interrupts_enabled = 0; in SA5_intr_mask() 464 h->interrupts_enabled = 1; in SA5B_intr_mask() 468 h->interrupts_enabled = 0; in SA5B_intr_mask() 478 h->interrupts_enabled = 1; in SA5_performant_intr_mask() 482 h->interrupts_enabled = 0; in SA5_performant_intr_mask() 495 if (unlikely(!(h->pdev->msi_enabled || h->msix_vectors))) { in SA5_performant_completed() 551 readl(h->vaddr + SA5_INTR_STATUS); in SA5_intr_pending() [all …]
|
| /drivers/media/dvb-core/ |
| A D | dvb_net.c | 338 h->priv->ts_count, h->ts[0], in dvb_net_ule_new_ts_cell() 359 h->from_where = h->ts + 4; in dvb_net_ule_new_ts_cell() 379 h->from_where = &h->ts[5] + h->ts[4]; in dvb_net_ule_ts_pusi() 380 h->ts_remain -= 1 + h->ts[4]; in dvb_net_ule_ts_pusi() 471 h->ts[4], h->ts_remain); in dvb_net_ule_new_ts() 479 h->from_where += h->ts[4]; in dvb_net_ule_new_ts() 480 h->ts_remain -= h->ts[4]; in dvb_net_ule_new_ts() 782 for (h.ts = h.buf, h.ts_end = h.buf + h.buf_len; in dvb_net_ule() 812 skb_put_data(h.priv->ule_skb, h.from_where, h.how_much); in dvb_net_ule() 814 h.ts_remain -= h.how_much; in dvb_net_ule() [all …]
|
| /drivers/s390/crypto/ |
| A D | pkey_base.c | 53 if (h == handler) { in pkey_handler_register() 104 return h; in pkey_handler_get_keybased() 124 return h; in pkey_handler_get_keytypebased() 161 if (h && h->key_to_protkey) { in pkey_handler_key_to_protkey() 192 htmp[n++] = h; in pkey_handler_slowpath_key_to_protkey() 199 h = htmp[i]; in pkey_handler_slowpath_key_to_protkey() 221 if (h && h->gen_key) { in pkey_handler_gen_key() 243 if (h && h->clr_to_key) { in pkey_handler_clr_to_key() 263 if (h && h->verify_key) { in pkey_handler_verify_key() 281 if (h && h->apqns_for_key) in pkey_handler_apqns_for_key() [all …]
|
| /drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
| A D | vpstate.c | 44 if (!h) in nvbios_vpstate_parse() 51 h->version = nvbios_rd08(b, h->offset); in nvbios_vpstate_parse() 54 h->hlen = nvbios_rd08(b, h->offset + 0x1); in nvbios_vpstate_parse() 55 h->elen = nvbios_rd08(b, h->offset + 0x2); in nvbios_vpstate_parse() 56 h->slen = nvbios_rd08(b, h->offset + 0x3); in nvbios_vpstate_parse() 57 h->scount = nvbios_rd08(b, h->offset + 0x4); in nvbios_vpstate_parse() 58 h->ecount = nvbios_rd08(b, h->offset + 0x5); in nvbios_vpstate_parse() 60 h->base_id = nvbios_rd08(b, h->offset + 0x0f); in nvbios_vpstate_parse() 66 h->tdp_id = nvbios_rd08(b, h->offset + 0x11); in nvbios_vpstate_parse() 81 if (!e || !h || idx > h->ecount) in nvbios_vpstate_entry() [all …]
|
| /drivers/media/pci/zoran/ |
| A D | videocodec.c | 55 if (!h) { in videocodec_attach() 60 while (h) { in videocodec_attach() 98 h = h->next; in videocodec_attach() 126 if (!h) { in videocodec_detach() 160 h = h->next; in videocodec_detach() 188 if (!h) { in videocodec_register() 193 h = h->next; // find the end in videocodec_register() 245 h = h->next; in videocodec_unregister() 262 h->codec->name, h->codec->type, in videocodec_debugfs_show() 263 h->codec->flags, h->codec->magic); in videocodec_debugfs_show() [all …]
|
| /drivers/regulator/ |
| A D | irq_helpers.c | 60 d = &h->desc; in regulator_notifier_isr_work() 61 rid = &h->rdata; in regulator_notifier_isr_work() 165 d = &h->desc; in regulator_notifier_isr() 292 h->rdata.data = h->desc.data; in init_rdev_state() 349 h = devm_kzalloc(dev, sizeof(*h), GFP_KERNEL); in regulator_irq_helper() 350 if (!h) in regulator_irq_helper() 353 h->irq = irq; in regulator_irq_helper() 370 IRQF_ONESHOT | irq_flags, h->desc.name, h); in regulator_irq_helper() 377 return h; in regulator_irq_helper() 395 free_irq(h->irq, h); in regulator_irq_helper_cancel() [all …]
|
| /drivers/net/ethernet/hisilicon/hns3/ |
| A D | hns3_dcbnl.c | 14 if (h->kinfo.dcb_ops->ieee_getets) in hns3_dcbnl_ieee_getets() 15 return h->kinfo.dcb_ops->ieee_getets(h, ets); in hns3_dcbnl_ieee_getets() 28 return h->kinfo.dcb_ops->ieee_setets(h, ets); in hns3_dcbnl_ieee_setets() 41 return h->kinfo.dcb_ops->ieee_getpfc(h, pfc); in hns3_dcbnl_ieee_getpfc() 54 return h->kinfo.dcb_ops->ieee_setpfc(h, pfc); in hns3_dcbnl_ieee_setpfc() 67 return h->kinfo.dcb_ops->ieee_setapp(h, app); in hns3_dcbnl_ieee_setapp() 80 return h->kinfo.dcb_ops->ieee_delapp(h, app); in hns3_dcbnl_ieee_delapp() 90 if (h->kinfo.dcb_ops->getdcbx) in hns3_dcbnl_getdcbx() 91 return h->kinfo.dcb_ops->getdcbx(h); in hns3_dcbnl_getdcbx() 101 if (h->kinfo.dcb_ops->setdcbx) in hns3_dcbnl_setdcbx() [all …]
|
| A D | hns3_ethtool.c | 102 ret = h->ae_algo->ops->set_loopback(h, loop, en); in hns3_lp_setup() 352 h->ae_algo->ops->halt_autoneg(h, true); in hns3_selftest_prepare() 365 h->ae_algo->ops->halt_autoneg(h, false); in hns3_selftest_restore() 370 h->ae_algo->ops->enable_vlan_filter(h, true); in hns3_selftest_restore() 616 h->ae_algo->ops->update_stats(h); in hns3_get_stats() 622 h->ae_algo->ops->get_stats(h, p); in hns3_get_stats() 662 return h->ae_algo->ops->get_status(h); in hns3_get_link() 929 return h->ae_algo->ops->get_rss_key_size(h); in hns3_get_rss_key_size() 1070 ops->reset_event(h->pdev, h); in hns3_set_reset() 1353 h->ae_algo->ops->get_channels(h, ch); in hns3_get_channels() [all …]
|
| /drivers/media/test-drivers/visl/ |
| A D | visl-trace-vp9.h | 130 TP_ARGS(h), 132 TP_fast_assign(__entry->h = *h;), 154 __entry->h.tx8, 158 __entry->h.tx16, 162 __entry->h.tx32, 190 __entry->h.y_mode, 206 TP_ARGS(h), 208 TP_fast_assign(__entry->h = *h;), 211 __entry->h.coef, 272 TP_ARGS(h) [all …]
|
| /drivers/acpi/ |
| A D | acpi_configfs.c | 81 if (IS_ERR(h)) in acpi_table_aml_read() 85 memcpy(data, h, h->length); in acpi_table_aml_read() 87 return h->length; in acpi_table_aml_read() 103 if (IS_ERR(h)) in acpi_table_signature_show() 113 if (IS_ERR(h)) in acpi_table_length_show() 123 if (IS_ERR(h)) in acpi_table_revision_show() 133 if (IS_ERR(h)) in acpi_table_oem_id_show() 143 if (IS_ERR(h)) in acpi_table_oem_table_id_show() 153 if (IS_ERR(h)) in acpi_table_oem_revision_show() 164 if (IS_ERR(h)) in acpi_table_asl_compiler_id_show() [all …]
|
| /drivers/scsi/device_handler/ |
| A D | scsi_dh_rdac.c | 457 list_add_rcu(&h->node, &h->ctlr->dh_list); in initialize_controller() 495 (char *) h->ctlr->array_name, h->ctlr->index, in mode_select_handle_sense() 571 (char *)h->ctlr->array_name, h->ctlr->index); in send_mode_select() 579 (char *) h->ctlr->array_name, h->ctlr->index); in send_mode_select() 679 (char *) h->ctlr->array_name, h->ctlr->index, in rdac_check_sense() 744 h = kzalloc(sizeof(*h) , GFP_KERNEL); in rdac_bus_attach() 745 if (!h) in rdac_bus_attach() 768 RDAC_NAME, h->lun, mode[(int)h->mode], in rdac_bus_attach() 780 kfree(h); in rdac_bus_attach() 788 if (h->ctlr && h->ctlr->ms_queued) in rdac_bus_detach() [all …]
|
| A D | scsi_dh_hp_sw.c | 106 ret = tur_done(sdev, h, &sshdr); in hp_sw_tur() 214 ret = hp_sw_tur(sdev, h); in hp_sw_activate() 217 ret = hp_sw_start_stop(h); in hp_sw_activate() 226 struct hp_sw_dh_data *h; in hp_sw_bus_attach() local 229 h = kzalloc(sizeof(*h), GFP_KERNEL); in hp_sw_bus_attach() 230 if (!h) in hp_sw_bus_attach() 233 h->retries = HP_SW_RETRIES; in hp_sw_bus_attach() 234 h->sdev = sdev; in hp_sw_bus_attach() 236 ret = hp_sw_tur(sdev, h); in hp_sw_bus_attach() 248 sdev->handler_data = h; in hp_sw_bus_attach() [all …]
|
| A D | scsi_dh_alua.c | 370 if (h->pg) { in alua_check_vpd() 701 if (!h->sdev) in alua_rtpg() 750 if (!h->sdev) in alua_rtpg() 855 if (!h->sdev) in alua_rtpg_select_sdev() 864 sdev = h->sdev; in alua_rtpg_select_sdev() 1027 if (h && rcu_dereference(h->pg) == pg) { in alua_rtpg_queue() 1242 h = kzalloc(sizeof(*h) , GFP_KERNEL); in alua_bus_attach() 1243 if (!h) in alua_bus_attach() 1248 h->sdev = sdev; in alua_bus_attach() 1259 kfree(h); in alua_bus_attach() [all …]
|
| /drivers/media/i2c/ |
| A D | saa6752hs.c | 367 h->video_bitrate_peak->val < h->video_bitrate->val) in saa6752hs_try_ctrl() 368 h->video_bitrate_peak->val = h->video_bitrate->val; in saa6752hs_try_ctrl() 630 h->standard = std; in saa6752hs_s_std() 662 struct saa6752hs_state *h; in saa6752hs_probe() local 671 h = devm_kzalloc(&client->dev, sizeof(*h), GFP_KERNEL); in saa6752hs_probe() 672 if (h == NULL) in saa6752hs_probe() 674 sd = &h->sd; in saa6752hs_probe() 680 h->has_ac3 = 0; in saa6752hs_probe() 682 h->has_ac3 = 1; in saa6752hs_probe() 687 hdl = &h->hdl; in saa6752hs_probe() [all …]
|
| /drivers/clk/qcom/ |
| A D | clk-hfpll.c | 22 struct clk_hfpll *h = to_clk_hfpll(hw); in __clk_hfpll_init_once() local 23 struct hfpll_data const *hd = h->d; in __clk_hfpll_init_once() 24 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_init_once() 26 if (likely(h->init_done)) in __clk_hfpll_init_once() 54 h->init_done = true; in __clk_hfpll_init_once() 60 struct hfpll_data const *hd = h->d; in __clk_hfpll_enable() 99 struct hfpll_data const *hd = h->d; in clk_hfpll_enable() 103 spin_lock_irqsave(&h->lock, flags); in clk_hfpll_enable() 114 struct hfpll_data const *hd = h->d; in __clk_hfpll_disable() 131 __clk_hfpll_disable(h); in clk_hfpll_disable() [all …]
|
| /drivers/gpu/drm/vboxvideo/ |
| A D | vbox_hgsmi.c | 50 struct hgsmi_buffer_header *h; in hgsmi_buffer_alloc() local 57 if (!h) in hgsmi_buffer_alloc() 60 t = (struct hgsmi_buffer_tail *)((u8 *)h + sizeof(*h) + size); in hgsmi_buffer_alloc() 63 h->data_size = size; in hgsmi_buffer_alloc() 64 h->channel = channel; in hgsmi_buffer_alloc() 65 h->channel_info = channel_info; in hgsmi_buffer_alloc() 66 memset(&h->u.header_data, 0, sizeof(h->u.header_data)); in hgsmi_buffer_alloc() 69 t->checksum = hgsmi_checksum(offset, h, t); in hgsmi_buffer_alloc() 71 return (u8 *)h + sizeof(*h); in hgsmi_buffer_alloc() 76 struct hgsmi_buffer_header *h = in hgsmi_buffer_free() local [all …]
|
| /drivers/gpu/drm/i915/gvt/ |
| A D | firmware.c | 61 struct gvt_firmware_header *h; in expose_firmware_sysfs() local 72 h = firmware; in expose_firmware_sysfs() 74 h->magic = VGT_MAGIC; in expose_firmware_sysfs() 75 h->version = FIRMWARE_VERSION; in expose_firmware_sysfs() 78 h->mmio_size = info->mmio_size; in expose_firmware_sysfs() 79 h->mmio_offset = h->cfg_space_offset + h->cfg_space_size; in expose_firmware_sysfs() 87 p = firmware + h->mmio_offset; in expose_firmware_sysfs() 135 struct gvt_firmware_header *h; in verify_firmware() local 190 struct gvt_firmware_header *h; in intel_gvt_load_firmware() local 240 h->cfg_space_size); in intel_gvt_load_firmware() [all …]
|
| /drivers/net/ethernet/hisilicon/hns/ |
| A D | hns_ethtool.c | 53 if (h->dev && h->dev->ops && h->dev->ops->get_status) in hns_nic_get_link() 54 link_stat = link_stat && h->dev->ops->get_status(h); in hns_nic_get_link() 128 if (!h->dev || !h->dev->ops || !h->dev->ops->get_info) in hns_nic_get_link_ksettings() 311 ret = h->dev->ops->set_loopback(h, in __lb_setup() 315 ret = h->dev->ops->set_loopback(h, in __lb_setup() 329 h->dev->ops->set_promisc_mode(h, 1); in __lb_setup() 351 ret = h->dev->ops->start ? h->dev->ops->start(h) : 0; in __lb_up() 362 h->dev->ops->adjust_link(h, speed, duplex); in __lb_up() 530 h->q_num, h->q_num * 2 - 1, in __lb_run_test() 566 h->dev->ops->stop(h); in __lb_down() [all …]
|
| A D | hns_enet.c | 965 return u > c ? (h > c && h <= u) : (h > c || h <= u); in is_valid_clean_head() 1371 ret = h->dev->ops->start ? h->dev->ops->start(h) : 0; in hns_nic_net_up() 1772 ret = h->dev->ops->set_mtu(h, new_mtu); in hns_nic_change_mtu() 1832 return h->dev->ops->add_uc_addr(h, addr); in hns_nic_uc_sync() 1844 return h->dev->ops->rm_uc_addr(h, addr); in hns_nic_uc_unsync() 1867 if (h->dev->ops->clr_mc_addr(h)) in hns_set_multicast_list() 1884 h->dev->ops->set_promisc_mode(h, 1); in hns_nic_set_rx_mode() 1886 h->dev->ops->set_promisc_mode(h, 0); in hns_nic_set_rx_mode() 2062 h->dev->ops->update_led_status(h); in hns_nic_service_task() 2134 rd->ring = &h->qs[i - h->q_num]->rx_ring; in hns_nic_init_ring_data() [all …]
|
| /drivers/scsi/aic7xxx/ |
| A 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 54 -p $(obj)/aic7xxx_reg_print.c -i aic7xxx_osm.h 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): $(objtree)/$(obj)/aic7xxx_seq.h 72 -p $(obj)/aic79xx_reg_print.c -i aic79xx_osm.h 77 $(aicasm-79xx-opts-y) -o $(obj)/aic79xx_seq.h \ [all …]
|
| /drivers/gpu/drm/i915/selftests/ |
| A D | lib_sw_fence.c | 95 struct heap_fence *h = container_of(fence, typeof(*h), fence); in heap_fence_notify() local 102 heap_fence_put(&h->fence); in heap_fence_notify() 110 struct heap_fence *h; in heap_fence_create() local 112 h = kmalloc(sizeof(*h), gfp); in heap_fence_create() 113 if (!h) in heap_fence_create() 117 refcount_set(&h->ref.refcount, 2); in heap_fence_create() 119 return &h->fence; in heap_fence_create() 124 struct heap_fence *h = container_of(ref, typeof(*h), ref); in heap_fence_release() local 126 i915_sw_fence_fini(&h->fence); in heap_fence_release() 128 kfree_rcu(h, rcu); in heap_fence_release() [all …]
|
| /drivers/gpu/drm/radeon/ |
| A D | Makefile | 7 …h r100_reg_safe.h r200_reg_safe.h rv515_reg_safe.h r300_reg_safe.h r420_reg_safe.h rs600_reg_safe.… 12 $(obj)/%_reg_safe.h: $(src)/reg_srcs/% $(obj)/mkregtable FORCE 15 $(obj)/r100.o: $(obj)/r100_reg_safe.h $(obj)/rn50_reg_safe.h 17 $(obj)/r200.o: $(obj)/r200_reg_safe.h 19 $(obj)/rv515.o: $(obj)/rv515_reg_safe.h 21 $(obj)/r300.o: $(obj)/r300_reg_safe.h 23 $(obj)/r420.o: $(obj)/r420_reg_safe.h 25 $(obj)/rs600.o: $(obj)/rs600_reg_safe.h 27 $(obj)/r600_cs.o: $(obj)/r600_reg_safe.h 29 $(obj)/evergreen_cs.o: $(obj)/evergreen_reg_safe.h $(obj)/cayman_reg_safe.h
|
| /drivers/char/ipmi/ |
| A D | ipmi_si_hotmod.c | 104 struct ipmi_plat_data *h) in parse_hotmod_str() argument 110 h->iftype = IPMI_PLAT_IF_SI; in parse_hotmod_str() 119 h->type = ival; in parse_hotmod_str() 124 h->space = ival; in parse_hotmod_str() 131 rv = kstrtoul(curr, 0, &h->addr); in parse_hotmod_str() 179 h->addr_source = SI_HOTMOD; in parse_hotmod_str() 188 struct ipmi_plat_data h; in hotmod_handler() local 205 memset(&h, 0, sizeof(h)); in hotmod_handler() 206 rv = parse_hotmod_str(curr, &op, &h); in hotmod_handler() 213 &h); in hotmod_handler() [all …]
|
| /drivers/sh/intc/ |
| A 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() 93 return intc_get_field_from_handle(__raw_readl(ptr), h); in test_32() 100 __raw_writeb(intc_set_field_from_handle(0, data, h), ptr); in write_8() 109 __raw_writew(intc_set_field_from_handle(0, data, h), ptr); in write_16() 118 __raw_writel(intc_set_field_from_handle(0, data, h), ptr); in write_32() 130 value = intc_set_field_from_handle(__raw_readb(ptr), data, h); in modify_8() 144 value = intc_set_field_from_handle(__raw_readw(ptr), data, h); in modify_16() [all …]
|