/linux-6.3-rc2/drivers/isdn/hardware/mISDN/ |
A D | hfcmulti.c | 258 #define HFC_outb(hc, reg, val) (hc->HFC_outb(hc, reg, val)) argument 260 #define HFC_inb(hc, reg) (hc->HFC_inb(hc, reg)) argument 261 #define HFC_inb_nodebug(hc, reg) (hc->HFC_inb_nodebug(hc, reg)) argument 262 #define HFC_inw(hc, reg) (hc->HFC_inw(hc, reg)) argument 263 #define HFC_inw_nodebug(hc, reg) (hc->HFC_inw_nodebug(hc, reg)) argument 264 #define HFC_wait(hc) (hc->HFC_wait(hc)) argument 265 #define HFC_wait_nodebug(hc) (hc->HFC_wait_nodebug(hc)) argument 1188 hc->max_trans = hc->Zlen; in init_chip() 2084 hc->write_fifo(hc, hc->silence_data, poll >> 1); in hfcmulti_tx() 4332 free_irq(hc->irq, hc); in init_card() [all …]
|
A D | hfc_multi_8xx.h | 103 hc->pci_dev = NULL; in setup_embedded() 130 hc->xhfc_origmembase = XHFC_MEMBASE + XHFC_OFFSET * hc->id; in setup_embedded() 131 hc->xhfc_membase = (u_char *)ioremap(hc->xhfc_origmembase, in setup_embedded() 139 hc->xhfc_memaddr = (u_long *)(hc->xhfc_membase + 4); in setup_embedded() 140 hc->xhfc_memdata = (u_long *)(hc->xhfc_membase); in setup_embedded() 144 (u_long)hc->xhfc_membase, hc->xhfc_origmembase, in setup_embedded() 145 (u_long)hc->xhfc_memaddr, (u_long)hc->xhfc_memdata); in setup_embedded() 159 hc->pb_irqmsk = (PB_XHFC_IRQ1 << hc->id); in setup_embedded() 160 hc->immap->im_cpm.cp_pbpar &= ~(hc->pb_irqmsk); in setup_embedded() 161 hc->immap->im_cpm.cp_pbodr &= ~(hc->pb_irqmsk); in setup_embedded() [all …]
|
A D | hfcpci.c | 142 Write_hfc(hc, HFCPCI_INT_M2, hc->hw.int_m2); in enable_hwirq() 149 Write_hfc(hc, HFCPCI_INT_M2, hc->hw.int_m2); in disable_hwirq() 181 Write_hfc(hc, HFCPCI_CLKDEL, hc->hw.clkdel); in hfcpci_setmode() 185 Write_hfc(hc, HFCPCI_SCTRL, hc->hw.sctrl); in hfcpci_setmode() 210 Write_hfc(hc, HFCPCI_CIRM, hc->hw.cirm); in reset_hfcpci() 214 Write_hfc(hc, HFCPCI_CIRM, hc->hw.cirm); in reset_hfcpci() 240 Write_hfc(hc, HFCPCI_TRM, hc->hw.trm); in reset_hfcpci() 242 Write_hfc(hc, HFCPCI_CTMT, hc->hw.ctmt); in reset_hfcpci() 1750 hc->irq, hc->irqcnt); in init_card() 1775 free_irq(hc->irq, hc); in init_card() [all …]
|
A D | hfc_multi.h | 151 void (*HFC_outb)(struct hfc_multi *hc, u_char reg, 155 u_char (*HFC_inb)(struct hfc_multi *hc, u_char reg, 159 u_short (*HFC_inw)(struct hfc_multi *hc, u_char reg, 163 void (*HFC_wait)(struct hfc_multi *hc, 165 void (*HFC_wait_nodebug)(struct hfc_multi *hc, 168 void (*HFC_outb)(struct hfc_multi *hc, u_char reg, 172 u_char (*HFC_inb)(struct hfc_multi *hc, u_char reg); 174 u_short (*HFC_inw)(struct hfc_multi *hc, u_char reg); 176 void (*HFC_wait)(struct hfc_multi *hc); 177 void (*HFC_wait_nodebug)(struct hfc_multi *hc); [all …]
|
/linux-6.3-rc2/net/dccp/ccids/ |
A D | ccid2.c | 50 hc->tx_seqh = hc->tx_seqt = seqp; in ccid2_hc_tx_alloc_seq() 61 hc->tx_seqbuf[hc->tx_seqbufc] = seqp; in ccid2_hc_tx_alloc_seq() 150 hc->tx_ssthresh = hc->tx_cwnd / 2; in ccid2_hc_tx_rto_expire() 157 hc->tx_seqt = hc->tx_seqh; in ccid2_hc_tx_rto_expire() 259 if (hc->tx_pipe > hc->tx_cwnd_used) in ccid2_hc_tx_packet_sent() 260 hc->tx_cwnd_used = hc->tx_pipe; in ccid2_hc_tx_packet_sent() 375 hc->tx_rttvar = hc->tx_mdev_max; in ccid2_rtt_estimator() 400 hc->tx_mdev_max = hc->tx_mdev; in ccid2_rtt_estimator() 428 hc->tx_rto = (hc->tx_srtt >> 3) + hc->tx_rttvar; in ccid2_rtt_estimator() 564 if (hc->tx_seqh == hc->tx_seqt) in ccid2_hc_tx_packet_recv() [all …]
|
A D | ccid3.c | 88 hc->tx_t_ipi = scaled_div32(((u64)hc->tx_s) << 6, hc->tx_x); in ccid3_update_send_interval() 135 hc->tx_x = max(hc->tx_x, (((__u64)hc->tx_s) << 6) / TFRC_T_MBI); in ccid3_hc_tx_update_x() 140 hc->tx_x = max(hc->tx_x, in ccid3_hc_tx_update_x() 166 hc->tx_s = tfrc_ewma(hc->tx_s, len, 9); in ccid3_hc_tx_update_s() 220 hc->tx_x = max(hc->tx_x / 2, in ccid3_hc_tx_no_feedback_timer() 239 hc->tx_x_recv = hc->tx_x_calc; in ccid3_hc_tx_no_feedback_timer() 316 hc->tx_x = hc->tx_s; in ccid3_hc_tx_send_packet() 345 hc->tx_t_nom = ktime_add_us(hc->tx_t_nom, hc->tx_t_ipi); in ccid3_hc_tx_send_packet() 416 hc->tx_x_calc = tfrc_calc_x(hc->tx_s, hc->tx_rtt, hc->tx_p); in ccid3_hc_tx_packet_recv() 423 hc->tx_s, hc->tx_p, hc->tx_x_calc, in ccid3_hc_tx_packet_recv() [all …]
|
A D | ccid2.h | 90 static inline bool ccid2_cwnd_network_limited(struct ccid2_hc_tx_sock *hc) in ccid2_cwnd_network_limited() argument 92 return hc->tx_pipe >= hc->tx_cwnd; in ccid2_cwnd_network_limited()
|
/linux-6.3-rc2/drivers/isdn/mISDN/ |
A D | l1oip_core.c | 452 struct dchannel *dch = hc->chan[hc->d_idx].dch; in l1oip_socket_parse() 694 hc->sendmsg.msg_name = &hc->sin_remote; in l1oip_socket_thread() 824 struct l1oip *hc = from_timer(hc, t, keep_tl); in l1oip_keepalive() local 832 struct l1oip *hc = from_timer(hc, t, in l1oip_timeout() local 948 hc->remoteport = hc->localport; in channel_dctrl() 1247 if (hc->registered && hc->chan[hc->d_idx].dch) in release_card() 1330 if (hc->ondemand && !hc->id) { in init_card() 1363 hc->remoteport = hc->localport; in init_card() 1367 hc->localport, hc->remoteip >> 24, in init_card() 1370 hc->remoteport, hc->ondemand); in init_card() [all …]
|
/linux-6.3-rc2/drivers/acpi/ |
A D | sbshc.c | 100 if (wait_event_timeout(hc->wait, hc->done, msecs_to_jiffies(timeout))) in wait_transaction_complete() 111 if (!hc) { in acpi_smbus_transaction() 117 hc->done = false; in acpi_smbus_transaction() 205 if (hc->callback) in acpi_smbus_callback() 206 hc->callback(hc->context); in acpi_smbus_callback() 218 hc->done = true; in smbus_alarm() 264 if (!hc) in acpi_smbus_hc_add() 274 acpi_ec_add_query_handler(hc->ec, hc->query_bit, NULL, smbus_alarm, hc); in acpi_smbus_hc_add() 276 hc->offset, hc->query_bit); in acpi_smbus_hc_add() 291 acpi_ec_remove_query_handler(hc->ec, hc->query_bit); in acpi_smbus_hc_remove() [all …]
|
A D | sbshc.h | 26 extern int acpi_smbus_read(struct acpi_smb_hc *hc, u8 protocol, u8 address, 28 extern int acpi_smbus_write(struct acpi_smb_hc *hc, u8 protocol, u8 slave_address, 30 extern int acpi_smbus_register_callback(struct acpi_smb_hc *hc, 32 extern int acpi_smbus_unregister_callback(struct acpi_smb_hc *hc);
|
A D | sbs.c | 88 struct acpi_smb_hc *hc; member 344 result = acpi_smbus_read(battery->sbs->hc, in acpi_battery_get_info() 365 result = acpi_smbus_read(battery->sbs->hc, in acpi_battery_get_state() 381 return acpi_smbus_read(battery->sbs->hc, SMBUS_READ_WORD, in acpi_battery_get_alarm() 395 ret = acpi_smbus_read(sbs->hc, SMBUS_READ_WORD, ACPI_SBS_MANAGER, in acpi_battery_set_alarm() 402 ret = acpi_smbus_write(sbs->hc, SMBUS_WRITE_WORD, in acpi_battery_set_alarm() 480 result = acpi_smbus_read(battery->sbs->hc, SMBUS_READ_WORD, in acpi_battery_read() 486 acpi_smbus_write(battery->sbs->hc, SMBUS_WRITE_WORD, in acpi_battery_read() 635 sbs->hc = acpi_driver_data(acpi_dev_parent(device)); in acpi_sbs_add() 660 acpi_smbus_register_callback(sbs->hc, acpi_sbs_callback, sbs); in acpi_sbs_add() [all …]
|
/linux-6.3-rc2/drivers/md/ |
A D | dm-ioctl.c | 203 if (!hc) { in __get_dev_cell() 208 return hc; in __get_dev_cell() 221 hc = kmalloc(sizeof(*hc), GFP_KERNEL); in alloc_cell() 222 if (!hc) in alloc_cell() 243 hc->name_set = hc->uuid_set = false; in alloc_cell() 246 return hc; in alloc_cell() 251 if (hc) { in free_cell() 278 if (hc) { in dm_hash_insert() 453 if (hc) { in dm_hash_rename() 580 val = hc->uuid ? hc->uuid : ""; in filter_device() [all …]
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | hpet.c | 424 strncpy(hc->name, "hpet", sizeof(hc->name)); in hpet_legacy_clockevent_register() 640 hc->name, hc)) in hpet_setup_msi_irq() 644 irq_set_affinity(hc->irq, cpumask_of(hc->cpu)); in hpet_setup_msi_irq() 647 pr_debug("%s irq %u for MSI\n", hc->name, hc->irq); in hpet_setup_msi_irq() 675 if (hc->mode != HPET_MODE_CLOCKEVT || hc->in_use) in hpet_get_unused_clockevent() 687 if (hc) in hpet_cpuhp_online() 696 if (!hc) in hpet_cpuhp_dead() 698 free_irq(hc->irq, hc); in hpet_cpuhp_dead() 733 irq = hpet_assign_irq(hpet_domain, hc, hc->num); in hpet_select_clockevents() 1050 hc = kcalloc(channels, sizeof(*hc), GFP_KERNEL); in hpet_enable() [all …]
|
/linux-6.3-rc2/drivers/usb/host/ |
A D | ohci-mem.c | 82 td = hc->td_hash [TD_HASH_FUNC(td_dma)]; in dma_to_td() 94 struct usb_hcd *hcd = ohci_to_hcd(hc); in td_alloc() 103 td->hwNextTD = cpu_to_hc32 (hc, dma); in td_alloc() 111 td_free (struct ohci_hcd *hc, struct td *td) in td_free() argument 114 struct usb_hcd *hcd = ohci_to_hcd(hc); in td_free() 121 ohci_dbg (hc, "no hash for td %p\n", td); in td_free() 127 dma_pool_free(hc->td_cache, td, td->td_dma); in td_free() 138 struct usb_hcd *hcd = ohci_to_hcd(hc); in ed_alloc() 153 ed_free (struct ohci_hcd *hc, struct ed *ed) in ed_free() argument 155 struct usb_hcd *hcd = ohci_to_hcd(hc); in ed_free() [all …]
|
A D | ohci.h | 709 #define read_roothub(hc, register, mask) ({ \ argument 710 u32 temp = ohci_readl (hc, &hc->regs->roothub.register); \ 712 hc->rh_state = OHCI_RH_HALTED; \ 713 else if (hc->flags & OHCI_QUIRK_AMD756) \ 715 temp = ohci_readl (hc, &hc->regs->roothub.register); \ 718 static inline u32 roothub_a (struct ohci_hcd *hc) in roothub_a() argument 719 { return read_roothub (hc, a, 0xfc0fe000); } in roothub_a() 720 static inline u32 roothub_b (struct ohci_hcd *hc) in roothub_b() argument 721 { return ohci_readl (hc, &hc->regs->roothub.b); } in roothub_b() 722 static inline u32 roothub_status (struct ohci_hcd *hc) in roothub_status() argument [all …]
|
/linux-6.3-rc2/arch/x86/kvm/ |
A D | hyperv.c | 1877 return kvm_hv_get_hc_data(kvm, hc, hc->rep_cnt, hc->rep_cnt, entries); in kvm_hv_get_tlb_flush_entries() 2027 &hc->xmm[0], sizeof(hc->xmm[0])); in kvm_hv_flush_tlb() 2064 hc->consumed_xmm_halves += hc->var_cnt; in kvm_hv_flush_tlb() 2367 &hc->ingpa, sizeof(hc->ingpa)); in kvm_hvcall_signal_event() 2499 hc.code = hc.param & 0xffff; in kvm_hv_hypercall() 2504 hc.rep = !!(hc.rep_cnt || hc.rep_idx); in kvm_hv_hypercall() 2506 trace_kvm_hv_hypercall(hc.code, hc.fast, hc.var_cnt, hc.rep_cnt, in kvm_hv_hypercall() 2507 hc.rep_idx, hc.ingpa, hc.outgpa); in kvm_hv_hypercall() 2532 if (unlikely(hc.rep || hc.var_cnt)) { in kvm_hv_hypercall() 2539 if (unlikely(hc.rep || hc.var_cnt)) { in kvm_hv_hypercall() [all …]
|
/linux-6.3-rc2/net/dccp/ |
A D | trace.h | 38 struct ccid3_hc_tx_sock *hc = NULL; 41 hc = ccid3_hc_tx_sk(sk); 53 if (hc) { 54 __entry->tx_s = hc->tx_s; 55 __entry->tx_rtt = hc->tx_rtt; 56 __entry->tx_p = hc->tx_p; 57 __entry->tx_x_calc = hc->tx_x_calc; 58 __entry->tx_x_recv = hc->tx_x_recv >> 6; 59 __entry->tx_x = hc->tx_x >> 6; 60 __entry->tx_t_ipi = hc->tx_t_ipi;
|
/linux-6.3-rc2/tools/testing/selftests/kvm/x86_64/ |
A D | kvm_pv_test.c | 60 #define TEST_HCALL(hc) { .nr = hc, .name = #hc } argument 62 #define PR_HCALL(hc) ucall(UCALL_PR_HCALL, 1, hc) argument 74 static void test_hcall(struct hcall_data *hc) in test_hcall() argument 78 PR_HCALL(hc); in test_hcall() 79 r = kvm_hypercall(hc->nr, 0, 0, 0, 0); in test_hcall() 107 struct hcall_data *hc = (struct hcall_data *)uc->args[0]; in pr_hcall() local 109 pr_info("testing hcall: %s (%lu)\n", hc->name, hc->nr); in pr_hcall()
|
/linux-6.3-rc2/fs/ocfs2/cluster/ |
A D | heartbeat.h | 52 void o2hb_setup_callback(struct o2hb_callback_func *hc, 58 struct o2hb_callback_func *hc); 60 struct o2hb_callback_func *hc);
|
A D | heartbeat.c | 2240 INIT_LIST_HEAD(&hc->hc_item); in o2hb_setup_callback() 2241 hc->hc_func = func; in o2hb_setup_callback() 2242 hc->hc_data = data; in o2hb_setup_callback() 2243 hc->hc_priority = priority; in o2hb_setup_callback() 2244 hc->hc_type = type; in o2hb_setup_callback() 2245 hc->hc_magic = O2HB_CB_MAGIC; in o2hb_setup_callback() 2390 struct o2hb_callback_func *hc) in o2hb_register_callback() argument 2397 BUG_ON(!list_empty(&hc->hc_item)); in o2hb_register_callback() 2421 if (list_empty(&hc->hc_item)) in o2hb_register_callback() 2442 if (list_empty(&hc->hc_item)) in o2hb_unregister_callback() [all …]
|
/linux-6.3-rc2/drivers/scsi/sym53c8xx_2/ |
A D | sym_malloc.c | 221 int hc = VTOB_HASH_CODE(vaddr); in ___get_dma_mem_cluster() local 222 vbp->next = mp->vtob[hc]; in ___get_dma_mem_cluster() 223 mp->vtob[hc] = vbp; in ___get_dma_mem_cluster() 236 int hc = VTOB_HASH_CODE(m); in ___free_dma_mem_cluster() local 238 vbpp = &mp->vtob[hc]; in ___free_dma_mem_cluster() 348 int hc = VTOB_HASH_CODE(m); in __vtobus() local 356 vp = mp->vtob[hc]; in __vtobus()
|
/linux-6.3-rc2/drivers/media/platform/amphion/ |
A D | vpu_malone.c | 349 struct vpu_dec_ctrl *hc; in vpu_malone_init_rpc() local 360 hc = shared->priv; in vpu_malone_init_rpc() 390 hc->codec_param = rpc->virt + offset; in vpu_malone_init_rpc() 395 hc->jpg = rpc->virt + offset; in vpu_malone_init_rpc() 400 hc->seq_mem = rpc->virt + offset; in vpu_malone_init_rpc() 405 hc->pic_mem = rpc->virt + offset; in vpu_malone_init_rpc() 410 hc->gop_mem = rpc->virt + offset; in vpu_malone_init_rpc() 415 hc->qmeter_mem = rpc->virt + offset; in vpu_malone_init_rpc() 421 hc->dbglog_mem = rpc->virt + offset; in vpu_malone_init_rpc() 472 hc->buf_addr[i] = regs_base + offset; in vpu_malone_set_system_cfg() [all …]
|
/linux-6.3-rc2/Documentation/admin-guide/device-mapper/ |
A D | persistent-data.rst | 34 dm-block-manager.[hc] 45 dm-transaction-manager.[hc] 59 dm-space-map-metadata.[hc] 60 dm-space-map-disk.[hc] 72 dm-btree.[hc]
|
/linux-6.3-rc2/fs/gfs2/ |
A D | dir.c | 339 __be64 *hc; in gfs2_dir_get_hash_table() local 344 if (hc) in gfs2_dir_get_hash_table() 345 return hc; in gfs2_dir_get_hash_table() 363 kvfree(hc); in gfs2_dir_get_hash_table() 370 hc = NULL; in gfs2_dir_get_hash_table() 373 kvfree(hc); in gfs2_dir_get_hash_table() 386 __be64 *hc; in gfs2_dir_hash_inval() local 393 kvfree(hc); in gfs2_dir_hash_inval() 1152 __be64 *hc; in dir_double_exhash() local 1177 *h++ = *hc; in dir_double_exhash() [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/thermal/ |
A D | qcom-spmi-adc-tm-hc.yaml | 4 $id: http://devicetree.org/schemas/thermal/qcom-spmi-adc-tm-hc.yaml# 13 const: qcom,spmi-adc-tm-hc 134 compatible = "qcom,spmi-adc-tm-hc";
|