/linux/sound/parisc/ |
H A D | harmony.c | 95 harmony_read(struct snd_harmony *h, unsigned r) in harmony_read() argument 97 return __raw_readl(h->iobase + r); in harmony_read() 101 harmony_write(struct snd_harmony *h, unsigned r, unsigned long v) in harmony_write() argument 103 __raw_writel(v, h->iobase + r); in harmony_write() 107 harmony_wait_for_control(struct snd_harmony *h) in harmony_wait_for_control() argument 109 while (harmony_read(h, HARMONY_CNTL) & HARMONY_CNTL_C) ; in harmony_wait_for_control() 113 harmony_reset(struct snd_harmony *h) in harmony_reset() argument 115 harmony_write(h, HARMONY_RESET, 1); in harmony_reset() 117 harmony_write(h, HARMONY_RESET, 0); in harmony_reset() 121 harmony_disable_interrupts(struct snd_harmony *h) in harmony_disable_interrupts() argument [all …]
|
/linux/net/dccp/ccids/lib/ |
H A D | packet_history.c | 110 void tfrc_rx_hist_add_packet(struct tfrc_rx_hist *h, in tfrc_rx_hist_add_packet() argument 114 struct tfrc_rx_hist_entry *entry = tfrc_rx_hist_last_rcv(h); in tfrc_rx_hist_add_packet() 120 int tfrc_rx_hist_duplicate(struct tfrc_rx_hist *h, struct sk_buff *skb) in tfrc_rx_hist_duplicate() argument 125 if (dccp_delta_seqno(tfrc_rx_hist_loss_prev(h)->tfrchrx_seqno, seq) <= 0) in tfrc_rx_hist_duplicate() 128 for (i = 1; i <= h->loss_count; i++) in tfrc_rx_hist_duplicate() 129 if (tfrc_rx_hist_entry(h, i)->tfrchrx_seqno == seq) in tfrc_rx_hist_duplicate() 135 static void tfrc_rx_hist_swap(struct tfrc_rx_hist *h, const u8 a, const u8 b) in tfrc_rx_hist_swap() argument 137 const u8 idx_a = tfrc_rx_hist_index(h, a), in tfrc_rx_hist_swap() 138 idx_b = tfrc_rx_hist_index(h, b); in tfrc_rx_hist_swap() 140 swap(h->ring[idx_a], h->ring[idx_b]); in tfrc_rx_hist_swap() [all …]
|
/linux/include/asm-generic/ |
H A D | Kbuild | 7 mandatory-y += atomic.h 8 mandatory-y += archrandom.h 9 mandatory-y += barrier.h 10 mandatory-y += bitops.h 11 mandatory-y += bug.h 12 mandatory-y += cacheflush.h 13 mandatory-y += cfi.h 14 mandatory-y += checksum.h 15 mandatory-y += compat.h 16 mandatory-y += current.h [all …]
|
/linux/drivers/scsi/ |
H A D | hpsa.c | 238 static int hpsa_add_sas_host(struct ctlr_info *h); 239 static void hpsa_delete_sas_host(struct ctlr_info *h); 244 *hpsa_find_device_by_sas_rphy(struct ctlr_info *h, 257 static int hpsa_passthru_ioctl(struct ctlr_info *h, 259 static int hpsa_big_passthru_ioctl(struct ctlr_info *h, 267 static void cmd_free(struct ctlr_info *h, struct CommandList *c); 268 static struct CommandList *cmd_alloc(struct ctlr_info *h); 269 static void cmd_tagged_free(struct ctlr_info *h, struct CommandList *c); 270 static struct CommandList *cmd_tagged_alloc(struct ctlr_info *h, 272 static int fill_cmd(struct CommandList *c, u8 cmd, struct ctlr_info *h, [all …]
|
H A D | hpsa.h | 31 void (*submit_command)(struct ctlr_info *h, 33 void (*set_intr_mask)(struct ctlr_info *h, unsigned long val); 34 bool (*intr_pending)(struct ctlr_info *h); 35 unsigned long (*command_completed)(struct ctlr_info *h, u8 q); 420 static void SA5_submit_command(struct ctlr_info *h, in SA5_submit_command() argument 423 writel(c->busaddr, h->vaddr + SA5_REQUEST_PORT_OFFSET); in SA5_submit_command() 424 (void) readl(h->vaddr + SA5_SCRATCHPAD_OFFSET); in SA5_submit_command() 427 static void SA5_submit_command_no_read(struct ctlr_info *h, in SA5_submit_command_no_read() argument 430 writel(c->busaddr, h->vaddr + SA5_REQUEST_PORT_OFFSET); in SA5_submit_command_no_read() 433 static void SA5_submit_command_ioaccel2(struct ctlr_info *h, in SA5_submit_command_ioaccel2() argument [all …]
|
/linux/drivers/media/dvb-core/ |
H A D | dvb_net.c | 316 static int dvb_net_ule_new_ts_cell(struct dvb_net_ule_handle *h) in dvb_net_ule_new_ts_cell() argument 323 memcpy(ule_where, h->ts, TS_SZ); in dvb_net_ule_new_ts_cell() 335 if ((h->ts[0] != TS_SYNC) || (h->ts[1] & TS_TEI) || in dvb_net_ule_new_ts_cell() 336 ((h->ts[3] & TS_SC) != 0)) { in dvb_net_ule_new_ts_cell() 338 h->priv->ts_count, h->ts[0], in dvb_net_ule_new_ts_cell() 339 (h->ts[1] & TS_TEI) >> 7, in dvb_net_ule_new_ts_cell() 340 (h->ts[3] & TS_SC) >> 6); in dvb_net_ule_new_ts_cell() 343 if (h->priv->ule_skb) { in dvb_net_ule_new_ts_cell() 344 dev_kfree_skb(h->priv->ule_skb); in dvb_net_ule_new_ts_cell() 346 h->dev->stats.rx_errors++; in dvb_net_ule_new_ts_cell() [all …]
|
/linux/Documentation/hwmon/ |
H A D | w83795.rst | 40 13 VSEN1 (VCORE1) 10h in0 41 14 VSEN2 (VCORE2) 11h in1 42 15 VSEN3 (VCORE3) 12h in2 43 16 VSEN4 13h in3 44 17 VSEN5 14h in4 45 18 VSEN6 15h in5 46 19 VSEN7 16h in6 47 20 VSEN8 17h in7 48 21 VSEN9 18h in8 49 22 VSEN10 19h in9 [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | vpstate.c | 42 nvbios_vpstate_parse(struct nvkm_bios *b, struct nvbios_vpstate_header *h) in nvbios_vpstate_parse() argument 44 if (!h) in nvbios_vpstate_parse() 47 h->offset = nvbios_vpstate_offset(b); in nvbios_vpstate_parse() 48 if (!h->offset) in nvbios_vpstate_parse() 51 h->version = nvbios_rd08(b, h->offset); in nvbios_vpstate_parse() 52 switch (h->version) { 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() [all …]
|
/linux/drivers/s390/crypto/ |
H A D | pkey_base.c | 38 const struct pkey_handler *h; in pkey_handler_register() local 51 list_for_each_entry_rcu(h, &handler_list, list) { in pkey_handler_register() 52 if (h == handler) { in pkey_handler_register() 95 const struct pkey_handler *h; in pkey_handler_get_keybased() local 98 list_for_each_entry_rcu(h, &handler_list, list) { in pkey_handler_get_keybased() 99 if (!try_module_get(h->module)) in pkey_handler_get_keybased() 101 if (h->is_supported_key(key, keylen)) { in pkey_handler_get_keybased() 103 return h; in pkey_handler_get_keybased() 105 module_put(h->module); in pkey_handler_get_keybased() 115 const struct pkey_handler *h; in pkey_handler_get_keytypebased() local [all …]
|
/linux/include/uapi/asm-generic/ |
H A D | Kbuild | 6 mandatory-y += auxvec.h 7 mandatory-y += bitsperlong.h 8 mandatory-y += bpf_perf_event.h 9 mandatory-y += byteorder.h 10 mandatory-y += errno.h 11 mandatory-y += fcntl.h 12 mandatory-y += ioctl.h 13 mandatory-y += ioctls.h 14 mandatory-y += ipcbuf.h 15 mandatory-y += mman.h [all …]
|
/linux/drivers/media/pci/zoran/ |
H A D | videocodec.c | 39 struct codec_list *h = codeclist_top; in videocodec_attach() local 55 if (!h) { in videocodec_attach() 60 while (h) { in videocodec_attach() 63 if ((master->flags & h->codec->flags) == master->flags) { in videocodec_attach() 64 zrdev_dbg(zr, "%s: try '%s'\n", __func__, h->codec->name); in videocodec_attach() 66 codec = kmemdup(h->codec, sizeof(struct videocodec), GFP_KERNEL); in videocodec_attach() 71 snprintf(codec->name + res, sizeof(codec->name) - res, "[%d]", h->attached); in videocodec_attach() 81 a = h->list; in videocodec_attach() 83 h->list = ptr; in videocodec_attach() 90 h->codec->name); in videocodec_attach() [all …]
|
/linux/arch/um/include/asm/ |
H A D | Kbuild | 2 generic-y += bug.h 3 generic-y += compat.h 4 generic-y += device.h 5 generic-y += dma-mapping.h 6 generic-y += emergency-restart.h 7 generic-y += exec.h 8 generic-y += extable.h 9 generic-y += ftrace.h 10 generic-y += hw_irq.h 11 generic-y += irq_regs.h [all …]
|
/linux/drivers/regulator/ |
H A D | irq_helpers.c | 51 struct regulator_irq *h; in regulator_notifier_isr_work() local 58 h = container_of(work, struct regulator_irq, in regulator_notifier_isr_work() 60 d = &h->desc; in regulator_notifier_isr_work() 61 rid = &h->rdata; in regulator_notifier_isr_work() 65 if (d->fatal_cnt && h->retry_cnt > d->fatal_cnt) { in regulator_notifier_isr_work() 90 h->retry_cnt++; in regulator_notifier_isr_work() 112 h->retry_cnt++; in regulator_notifier_isr_work() 140 h->retry_cnt = 0; in regulator_notifier_isr_work() 143 enable_irq(h->irq); in regulator_notifier_isr_work() 149 mod_delayed_work(system_wq, &h->isr_work, in regulator_notifier_isr_work() [all …]
|
/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_dcbnl.c | 9 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_ieee_getets() local 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() 22 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_ieee_setets() local 27 if (h->kinfo.dcb_ops->ieee_setets) in hns3_dcbnl_ieee_setets() 28 return h->kinfo.dcb_ops->ieee_setets(h, ets); in hns3_dcbnl_ieee_setets() 35 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_ieee_getpfc() local 40 if (h->kinfo.dcb_ops->ieee_getpfc) in hns3_dcbnl_ieee_getpfc() 41 return h->kinfo.dcb_ops->ieee_getpfc(h, pfc); in hns3_dcbnl_ieee_getpfc() 48 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_ieee_setpfc() local [all …]
|
/linux/usr/include/ |
H A D | Makefile | 26 no-header-test += asm/ucontext.h 27 no-header-test += drm/vmwgfx_drm.h 28 no-header-test += linux/am437x-vpfe.h 29 no-header-test += linux/coda.h 30 no-header-test += linux/cyclades.h 31 no-header-test += linux/errqueue.h 32 no-header-test += linux/hdlc/ioctl.h 33 no-header-test += linux/ivtv.h 34 no-header-test += linux/matroxfb.h 35 no-header-test += linux/omap3isp.h [all …]
|
/linux/Documentation/userspace-api/media/ |
H A D | Makefile | 10 FILES = ca.h.rst dmx.h.rst frontend.h.rst net.h.rst \ 11 videodev2.h.rst media.h.rst cec.h.rst lirc.h.rst 24 $(BUILDDIR)/ca.h.rst: ${UAPI}/dvb/ca.h ${PARSER} $(SRC_DIR)/ca.h.rst.exceptions 27 $(BUILDDIR)/dmx.h.rst: ${UAPI}/dvb/dmx.h ${PARSER} $(SRC_DIR)/dmx.h.rst.exceptions 30 $(BUILDDIR)/frontend.h.rst: ${UAPI}/dvb/frontend.h ${PARSER} $(SRC_DIR)/frontend.h.rst.exceptions 33 $(BUILDDIR)/net.h.rst: ${UAPI}/dvb/net.h ${PARSER} $(SRC_DIR)/net.h.rst.exceptions 36 $(BUILDDIR)/videodev2.h.rst: ${UAPI}/videodev2.h ${PARSER} $(SRC_DIR)/videodev2.h.rst.exceptions 39 $(BUILDDIR)/media.h.rst: ${UAPI}/media.h ${PARSER} $(SRC_DIR)/media.h.rst.exceptions 42 $(BUILDDIR)/cec.h.rst: ${UAPI}/cec.h ${PARSER} $(SRC_DIR)/cec.h.rst.exceptions 45 $(BUILDDIR)/lirc.h.rst: ${UAPI}/lirc.h ${PARSER} $(SRC_DIR)/lirc.h.rst.exceptions
|
/linux/mm/ |
H A D | hugetlb.c | 86 static int hugetlb_acct_memory(struct hstate *h, long delta); 133 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, in hugepage_new_subpool() argument 145 spool->hstate = h; in hugepage_new_subpool() 148 if (min_hpages != -1 && hugetlb_acct_memory(h, min_hpages)) { in hugepage_new_subpool() 469 struct hstate *h, in record_hugetlb_cgroup_uncharge_info() argument 476 &h_cg->rsvd_hugepage[hstate_index(h)]; in record_hugetlb_cgroup_uncharge_info() 490 resv->pages_per_hpage = pages_per_huge_page(h); in record_hugetlb_cgroup_uncharge_info() 494 VM_BUG_ON(resv->pages_per_hpage != pages_per_huge_page(h)); in record_hugetlb_cgroup_uncharge_info() 551 long to, struct hstate *h, struct hugetlb_cgroup *cg, in hugetlb_resv_map_add() argument 558 record_hugetlb_cgroup_uncharge_info(cg, h, map, nrg); in hugetlb_resv_map_add() [all …]
|
/linux/drivers/media/test-drivers/visl/ |
H A D | visl-trace-vp9.h | 129 TP_PROTO(const struct v4l2_ctrl_vp9_compressed_hdr *h), 130 TP_ARGS(h), 131 TP_STRUCT__entry(__field_struct(struct v4l2_ctrl_vp9_compressed_hdr, h)), 132 TP_fast_assign(__entry->h = *h;), 147 __print_symbolic(__entry->h.tx_mode, 154 __entry->h.tx8, 155 sizeof(__entry->h.tx8), 158 __entry->h.tx16, 159 sizeof(__entry->h.tx16), 162 __entry->h.tx32, [all …]
|
/linux/net/xfrm/ |
H A D | xfrm_hash.h | 89 unsigned int h = family ^ reqid; in __xfrm_dst_hash() local 92 h ^= __xfrm4_daddr_saddr_hash(daddr, saddr); in __xfrm_dst_hash() 95 h ^= __xfrm6_daddr_saddr_hash(daddr, saddr); in __xfrm_dst_hash() 98 return (h ^ (h >> 16)) & hmask; in __xfrm_dst_hash() 106 unsigned int h = family; in __xfrm_src_hash() local 109 h ^= __xfrm4_daddr_saddr_hash(daddr, saddr); in __xfrm_src_hash() 112 h ^= __xfrm6_daddr_saddr_hash(daddr, saddr); in __xfrm_src_hash() 115 return (h ^ (h >> 16)) & hmask; in __xfrm_src_hash() 122 unsigned int h = (__force u32)spi ^ proto; in __xfrm_spi_hash() local 125 h ^= __xfrm4_addr_hash(daddr); in __xfrm_spi_hash() [all …]
|
/linux/tools/perf/util/ |
H A D | srccode.c | 92 struct srcfile *h; in find_srcfile() local 97 hlist_for_each_entry (h, &srcfile_htab[hval], hash_nd) { in find_srcfile() 98 if (!strcmp(fn, h->fn)) { in find_srcfile() 100 list_move(&h->nd, &srcfile_list); in find_srcfile() 101 return h; in find_srcfile() 109 h = list_entry(srcfile_list.prev, struct srcfile, nd); in find_srcfile() 110 free_srcfile(h); in find_srcfile() 119 h = malloc(sizeof(struct srcfile)); in find_srcfile() 120 if (!h) in find_srcfile() 123 h->fn = strdup(fn); in find_srcfile() [all …]
|
/linux/arch/x86/entry/syscalls/ |
H A D | Makefile | 27 $(uapi)/unistd_32.h: abis := i386 28 $(uapi)/unistd_32.h: $(syscall32) $(syshdr) FORCE 31 $(out)/unistd_32_ia32.h: abis := i386 32 $(out)/unistd_32_ia32.h: prefix := ia32_ 33 $(out)/unistd_32_ia32.h: $(syscall32) $(syshdr) FORCE 36 $(uapi)/unistd_x32.h: abis := common,x32 37 $(uapi)/unistd_x32.h: offset := __X32_SYSCALL_BIT 38 $(uapi)/unistd_x32.h: $(syscall64) $(syshdr) FORCE 41 $(uapi)/unistd_64.h: abis := common,64 42 $(uapi)/unistd_64.h: $(syscall64) $(syshdr) FORCE [all …]
|
/linux/Documentation/gpu/imagination/ |
H A D | uapi.rst | 4 The sources associated with this section can be found in ``pvr_drm.h``. 6 .. kernel-doc:: include/uapi/drm/pvr_drm.h 11 .. kernel-doc:: include/uapi/drm/pvr_drm.h 14 .. kernel-doc:: include/uapi/drm/pvr_drm.h 19 .. kernel-doc:: include/uapi/drm/pvr_drm.h 22 .. kernel-doc:: include/uapi/drm/pvr_drm.h 27 .. kernel-doc:: include/uapi/drm/pvr_drm.h 30 .. kernel-doc:: include/uapi/drm/pvr_drm.h 33 .. kernel-doc:: include/uapi/drm/pvr_drm.h 36 .. kernel-doc:: include/uapi/drm/pvr_drm.h [all …]
|
/linux/drivers/acpi/ |
H A D | acpi_configfs.c | 79 struct acpi_table_header *h = get_header(cfg); in acpi_table_aml_read() local 81 if (IS_ERR(h)) in acpi_table_aml_read() 82 return PTR_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() 101 struct acpi_table_header *h = get_header(cfg); in acpi_table_signature_show() local 103 if (IS_ERR(h)) in acpi_table_signature_show() 104 return PTR_ERR(h); in acpi_table_signature_show() 106 return sysfs_emit(str, "%.*s\n", ACPI_NAMESEG_SIZE, h->signature); in acpi_table_signature_show() 111 struct acpi_table_header *h = get_header(cfg); in acpi_table_length_show() local [all …]
|
/linux/tools/lib/subcmd/ |
H A D | parse-options.h | 118 #define OPT_ARGUMENT(l, h) { .type = OPTION_ARGUMENT, .long_name = (l), .help = (h) } argument 119 #define OPT_GROUP(h) { .type = OPTION_GROUP, .help = (h) } argument 120 …ne OPT_BIT(s, l, v, h, b) { .type = OPTION_BIT, .short_name = (s), .long_name = (l), .value =… argument 121 …PT_BOOLEAN(s, l, v, h) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), .value =… argument 122 …EAN_FLAG(s, l, v, h, f) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), .value … argument 123 #define OPT_BOOLEAN_SET(s, l, v, os, h) \ argument 125 .value = check_vtype(v, bool *), .help = (h), \ 127 …e OPT_INCR(s, l, v, h) { .type = OPTION_INCR, .short_name = (s), .long_name = (l), .value =… argument 128 …_UINT(s, l, v, h, i) { .type = OPTION_SET_UINT, .short_name = (s), .long_name = (l), .value = che… argument 129 #define OPT_SET_PTR(s, l, v, h, p) { .type = OPTION_SET_PTR, .short_name = (s), .long_name = (l), … argument [all …]
|
/linux/tools/include/nolibc/ |
H A D | Makefile | 27 arch_file := arch-$(nolibc_arch).h 29 compiler.h \ 30 crt.h \ 31 ctype.h \ 32 errno.h \ 33 nolibc.h \ 34 signal.h \ 35 stackprotector.h \ 36 std.h \ 37 stdarg.h \ [all …]
|