/linux-6.1.9/drivers/isdn/hardware/mISDN/ |
D | hfcmulti.c | 241 #define HFC_outb(hc, reg, val) \ argument 242 (hc->HFC_outb(hc, reg, val, __func__, __LINE__)) 243 #define HFC_outb_nodebug(hc, reg, val) \ argument 244 (hc->HFC_outb_nodebug(hc, reg, val, __func__, __LINE__)) 245 #define HFC_inb(hc, reg) \ argument 246 (hc->HFC_inb(hc, reg, __func__, __LINE__)) 247 #define HFC_inb_nodebug(hc, reg) \ argument 248 (hc->HFC_inb_nodebug(hc, reg, __func__, __LINE__)) 249 #define HFC_inw(hc, reg) \ argument 250 (hc->HFC_inw(hc, reg, __func__, __LINE__)) [all …]
|
D | hfc_multi_8xx.h | 19 HFC_outb_embsd(struct hfc_multi *hc, u_char reg, u_char val, in HFC_outb_embsd() argument 22 HFC_outb_embsd(struct hfc_multi *hc, u_char reg, u_char val) in HFC_outb_embsd() 25 hc->immap->im_ioport.iop_padat |= PA_XHFC_A0; in HFC_outb_embsd() 26 writeb(reg, hc->xhfc_memaddr); in HFC_outb_embsd() 27 hc->immap->im_ioport.iop_padat &= ~(PA_XHFC_A0); in HFC_outb_embsd() 28 writeb(val, hc->xhfc_memdata); in HFC_outb_embsd() 32 HFC_inb_embsd(struct hfc_multi *hc, u_char reg, const char *function, int line) in HFC_inb_embsd() argument 34 HFC_inb_embsd(struct hfc_multi *hc, u_char reg) in HFC_inb_embsd() 37 hc->immap->im_ioport.iop_padat |= PA_XHFC_A0; in HFC_inb_embsd() 38 writeb(reg, hc->xhfc_memaddr); in HFC_inb_embsd() [all …]
|
D | hfcpci.c | 139 enable_hwirq(struct hfc_pci *hc) in enable_hwirq() argument 141 hc->hw.int_m2 |= HFCPCI_IRQ_ENABLE; in enable_hwirq() 142 Write_hfc(hc, HFCPCI_INT_M2, hc->hw.int_m2); in enable_hwirq() 146 disable_hwirq(struct hfc_pci *hc) in disable_hwirq() argument 148 hc->hw.int_m2 &= ~((u_char)HFCPCI_IRQ_ENABLE); in disable_hwirq() 149 Write_hfc(hc, HFCPCI_INT_M2, hc->hw.int_m2); in disable_hwirq() 156 release_io_hfcpci(struct hfc_pci *hc) in release_io_hfcpci() argument 159 pci_write_config_word(hc->pdev, PCI_COMMAND, 0); in release_io_hfcpci() 160 del_timer(&hc->hw.timer); in release_io_hfcpci() 161 dma_free_coherent(&hc->pdev->dev, 0x8000, hc->hw.fifos, in release_io_hfcpci() [all …]
|
D | hfc_multi.h | 151 void (*HFC_outb)(struct hfc_multi *hc, u_char reg, 153 void (*HFC_outb_nodebug)(struct hfc_multi *hc, u_char reg, 155 u_char (*HFC_inb)(struct hfc_multi *hc, u_char reg, 157 u_char (*HFC_inb_nodebug)(struct hfc_multi *hc, u_char reg, 159 u_short (*HFC_inw)(struct hfc_multi *hc, u_char reg, 161 u_short (*HFC_inw_nodebug)(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, 170 void (*HFC_outb_nodebug)(struct hfc_multi *hc, u_char reg, [all …]
|
/linux-6.1.9/net/dccp/ccids/ |
D | ccid2.c | 25 static int ccid2_hc_tx_alloc_seq(struct ccid2_hc_tx_sock *hc) in ccid2_hc_tx_alloc_seq() argument 31 if (hc->tx_seqbufc >= (sizeof(hc->tx_seqbuf) / in ccid2_hc_tx_alloc_seq() 49 if (hc->tx_seqbufc == 0) in ccid2_hc_tx_alloc_seq() 50 hc->tx_seqh = hc->tx_seqt = seqp; in ccid2_hc_tx_alloc_seq() 53 hc->tx_seqh->ccid2s_next = seqp; in ccid2_hc_tx_alloc_seq() 54 seqp->ccid2s_prev = hc->tx_seqh; in ccid2_hc_tx_alloc_seq() 56 hc->tx_seqt->ccid2s_prev = &seqp[CCID2_SEQBUF_LEN - 1]; in ccid2_hc_tx_alloc_seq() 57 seqp[CCID2_SEQBUF_LEN - 1].ccid2s_next = hc->tx_seqt; in ccid2_hc_tx_alloc_seq() 61 hc->tx_seqbuf[hc->tx_seqbufc] = seqp; in ccid2_hc_tx_alloc_seq() 62 hc->tx_seqbufc++; in ccid2_hc_tx_alloc_seq() [all …]
|
D | ccid3.c | 53 struct ccid3_hc_tx_sock *hc = ccid3_hc_tx_sk(sk); in ccid3_hc_tx_set_state() local 54 enum ccid3_hc_tx_states oldstate = hc->tx_state; in ccid3_hc_tx_set_state() 60 hc->tx_state = state; in ccid3_hc_tx_set_state() 74 const struct ccid3_hc_tx_sock *hc = ccid3_hc_tx_sk(sk); in rfc3390_initial_rate() local 75 const __u32 w_init = clamp_t(__u32, 4380U, 2 * hc->tx_s, 4 * hc->tx_s); in rfc3390_initial_rate() 77 return scaled_div(w_init << 6, hc->tx_rtt); in rfc3390_initial_rate() 86 static void ccid3_update_send_interval(struct ccid3_hc_tx_sock *hc) in ccid3_update_send_interval() argument 88 hc->tx_t_ipi = scaled_div32(((u64)hc->tx_s) << 6, hc->tx_x); in ccid3_update_send_interval() 90 DCCP_BUG_ON(hc->tx_t_ipi == 0); in ccid3_update_send_interval() 91 ccid3_pr_debug("t_ipi=%u, s=%u, X=%u\n", hc->tx_t_ipi, in ccid3_update_send_interval() [all …]
|
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.1.9/drivers/isdn/mISDN/ |
D | l1oip_core.c | 264 l1oip_socket_send(struct l1oip *hc, u8 localcodec, u8 channel, u32 chanmask, in l1oip_socket_send() argument 278 if (time_before(hc->keep_tl.expires, jiffies + 5 * HZ) && !hc->shutdown) in l1oip_socket_send() 279 mod_timer(&hc->keep_tl, jiffies + L1OIP_KEEPALIVE * HZ); in l1oip_socket_send() 281 hc->keep_tl.expires = jiffies + L1OIP_KEEPALIVE * HZ; in l1oip_socket_send() 287 if (!hc->sin_remote.sin_addr.s_addr || !hc->sin_remote.sin_port) { in l1oip_socket_send() 296 | (hc->pri ? 0x20 : 0x00) /* type */ in l1oip_socket_send() 297 | (hc->id ? 0x10 : 0x00) /* id */ in l1oip_socket_send() 299 if (hc->id) { in l1oip_socket_send() 300 *p++ = hc->id >> 24; /* id */ in l1oip_socket_send() 301 *p++ = hc->id >> 16; in l1oip_socket_send() [all …]
|
/linux-6.1.9/drivers/acpi/ |
D | sbshc.c | 88 static inline int smb_hc_read(struct acpi_smb_hc *hc, u8 address, u8 *data) in smb_hc_read() argument 90 return ec_read(hc->offset + address, data); in smb_hc_read() 93 static inline int smb_hc_write(struct acpi_smb_hc *hc, u8 address, u8 data) in smb_hc_write() argument 95 return ec_write(hc->offset + address, data); in smb_hc_write() 98 static int wait_transaction_complete(struct acpi_smb_hc *hc, int timeout) in wait_transaction_complete() argument 100 if (wait_event_timeout(hc->wait, hc->done, msecs_to_jiffies(timeout))) in wait_transaction_complete() 105 static int acpi_smbus_transaction(struct acpi_smb_hc *hc, u8 protocol, in acpi_smbus_transaction() argument 111 if (!hc) { in acpi_smbus_transaction() 116 mutex_lock(&hc->lock); in acpi_smbus_transaction() 117 hc->done = false; in acpi_smbus_transaction() [all …]
|
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);
|
D | sbs.c | 88 struct acpi_smb_hc *hc; member 332 result = acpi_smbus_read(sbs->hc, SMBUS_READ_WORD, ACPI_SBS_MANAGER, in acpi_manager_get_info() 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() 409 ret = acpi_smbus_write(sbs->hc, SMBUS_WRITE_WORD, ACPI_SBS_BATTERY, in acpi_battery_set_alarm() 420 result = acpi_smbus_read(sbs->hc, SMBUS_READ_WORD, ACPI_SBS_CHARGER, in acpi_ac_get_present() 480 result = acpi_smbus_read(battery->sbs->hc, SMBUS_READ_WORD, in acpi_battery_read() [all …]
|
/linux-6.1.9/drivers/md/ |
D | dm-ioctl.c | 89 struct hash_cell *hc = container_of(n, struct hash_cell, name_node); in __get_name_cell() local 90 int c = strcmp(hc->name, str); in __get_name_cell() 92 dm_get(hc->md); in __get_name_cell() 93 return hc; in __get_name_cell() 106 struct hash_cell *hc = container_of(n, struct hash_cell, uuid_node); in __get_uuid_cell() local 107 int c = strcmp(hc->uuid, str); in __get_uuid_cell() 109 dm_get(hc->md); in __get_uuid_cell() 110 return hc; in __get_uuid_cell() 118 static void __unlink_name(struct hash_cell *hc) in __unlink_name() argument 120 if (hc->name_set) { in __unlink_name() [all …]
|
/linux-6.1.9/arch/x86/kernel/ |
D | hpet.c | 207 struct hpet_channel *hc = hpet_base.channels + i; in hpet_reserve_platform_timers() local 210 hd.hd_irq[i] = hc->irq; in hpet_reserve_platform_timers() 212 switch (hc->mode) { in hpet_reserve_platform_timers() 215 hc->mode = HPET_MODE_DEVICE; in hpet_reserve_platform_timers() 219 hpet_reserve_timer(&hd, hc->num); in hpet_reserve_platform_timers() 232 struct hpet_channel *hc = hpet_base.channels + i; in hpet_select_device_channel() local 235 if (hc->mode == HPET_MODE_UNUSED) { in hpet_select_device_channel() 236 hc->mode = HPET_MODE_DEVICE; in hpet_select_device_channel() 398 static void hpet_init_clockevent(struct hpet_channel *hc, unsigned int rating) in hpet_init_clockevent() argument 400 struct clock_event_device *evt = &hc->evt; in hpet_init_clockevent() [all …]
|
/linux-6.1.9/drivers/usb/host/ |
D | ohci-mem.c | 77 dma_to_td (struct ohci_hcd *hc, dma_addr_t td_dma) in dma_to_td() argument 82 td = hc->td_hash [TD_HASH_FUNC(td_dma)]; in dma_to_td() 90 td_alloc (struct ohci_hcd *hc, gfp_t mem_flags) in td_alloc() argument 94 struct usb_hcd *hcd = ohci_to_hcd(hc); in td_alloc() 100 td = dma_pool_zalloc(hc->td_cache, mem_flags, &dma); 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 113 struct td **prev = &hc->td_hash [TD_HASH_FUNC (td->td_dma)]; in td_free() 114 struct usb_hcd *hcd = ohci_to_hcd(hc); in td_free() 120 else if ((td->hwINFO & cpu_to_hc32(hc, TD_DONE)) != 0) in td_free() [all …]
|
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.1.9/arch/x86/kvm/ |
D | hyperv.c | 1752 static u64 kvm_get_sparse_vp_set(struct kvm *kvm, struct kvm_hv_hcall *hc, in kvm_get_sparse_vp_set() argument 1759 if (hc->var_cnt > 64) in kvm_get_sparse_vp_set() 1763 var_cnt = min_t(u16, hc->var_cnt, KVM_HV_MAX_SPARSE_VCPU_SET_BITS); in kvm_get_sparse_vp_set() 1765 if (hc->fast) { in kvm_get_sparse_vp_set() 1770 if (hc->var_cnt > 2 * HV_HYPERCALL_MAX_XMM_REGISTERS - consumed_xmm_halves) in kvm_get_sparse_vp_set() 1775 sparse_banks[i] = sse128_hi(hc->xmm[j / 2]); in kvm_get_sparse_vp_set() 1777 sparse_banks[i] = sse128_lo(hc->xmm[j / 2]); in kvm_get_sparse_vp_set() 1782 return kvm_read_guest(kvm, hc->ingpa + offset, sparse_banks, in kvm_get_sparse_vp_set() 1786 static u64 kvm_hv_flush_tlb(struct kvm_vcpu *vcpu, struct kvm_hv_hcall *hc) in kvm_hv_flush_tlb() argument 1804 if (hc->code == HVCALL_FLUSH_VIRTUAL_ADDRESS_LIST || in kvm_hv_flush_tlb() [all …]
|
/linux-6.1.9/net/dccp/ |
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.1.9/tools/testing/selftests/kvm/x86_64/ |
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.1.9/fs/ocfs2/cluster/ |
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);
|
D | heartbeat.c | 2236 void o2hb_setup_callback(struct o2hb_callback_func *hc, in o2hb_setup_callback() argument 2242 INIT_LIST_HEAD(&hc->hc_item); in o2hb_setup_callback() 2243 hc->hc_func = func; in o2hb_setup_callback() 2244 hc->hc_data = data; in o2hb_setup_callback() 2245 hc->hc_priority = priority; in o2hb_setup_callback() 2246 hc->hc_type = type; in o2hb_setup_callback() 2247 hc->hc_magic = O2HB_CB_MAGIC; in o2hb_setup_callback() 2392 struct o2hb_callback_func *hc) in o2hb_register_callback() argument 2398 BUG_ON(hc->hc_magic != O2HB_CB_MAGIC); in o2hb_register_callback() 2399 BUG_ON(!list_empty(&hc->hc_item)); in o2hb_register_callback() [all …]
|
/linux-6.1.9/drivers/scsi/sym53c8xx_2/ |
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.1.9/drivers/media/platform/amphion/ |
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() 465 struct vpu_dec_ctrl *hc = shared->priv; in vpu_malone_set_system_cfg() local [all …]
|
/linux-6.1.9/Documentation/admin-guide/device-mapper/ |
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.1.9/fs/gfs2/ |
D | dir.c | 339 __be64 *hc; in gfs2_dir_get_hash_table() local 343 hc = ip->i_hash_cache; in gfs2_dir_get_hash_table() 344 if (hc) in gfs2_dir_get_hash_table() 345 return hc; in gfs2_dir_get_hash_table() 354 hc = kmalloc(hsize, GFP_NOFS | __GFP_NOWARN); in gfs2_dir_get_hash_table() 355 if (hc == NULL) in gfs2_dir_get_hash_table() 356 hc = __vmalloc(hsize, GFP_NOFS); in gfs2_dir_get_hash_table() 358 if (hc == NULL) in gfs2_dir_get_hash_table() 361 ret = gfs2_dir_read_data(ip, hc, hsize); in gfs2_dir_get_hash_table() 363 kvfree(hc); in gfs2_dir_get_hash_table() [all …]
|
/linux-6.1.9/Documentation/devicetree/bindings/thermal/ |
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";
|