| /linux/drivers/isdn/hardware/mISDN/ |
| H A D | hfcmulti.c | 242 #define HFC_outb(hc, reg, val) \ argument 243 (hc->HFC_outb(hc, reg, val, __func__, __LINE__)) 244 #define HFC_outb_nodebug(hc, reg, val) \ argument 245 (hc->HFC_outb_nodebug(hc, reg, val, __func__, __LINE__)) 246 #define HFC_inb(hc, reg) \ argument 247 (hc->HFC_inb(hc, reg, __func__, __LINE__)) 248 #define HFC_inb_nodebug(hc, reg) \ argument 249 (hc->HFC_inb_nodebug(hc, reg, __func__, __LINE__)) 250 #define HFC_inw(hc, reg) \ argument 251 (hc->HFC_inw(hc, reg, __func__, __LINE__)) [all …]
|
| H A 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 …]
|
| H A D | hfcpci.c | 141 enable_hwirq(struct hfc_pci *hc) in enable_hwirq() argument 143 hc->hw.int_m2 |= HFCPCI_IRQ_ENABLE; in enable_hwirq() 144 Write_hfc(hc, HFCPCI_INT_M2, hc->hw.int_m2); in enable_hwirq() 148 disable_hwirq(struct hfc_pci *hc) in disable_hwirq() argument 150 hc->hw.int_m2 &= ~((u_char)HFCPCI_IRQ_ENABLE); in disable_hwirq() 151 Write_hfc(hc, HFCPCI_INT_M2, hc->hw.int_m2); in disable_hwirq() 158 release_io_hfcpci(struct hfc_pci *hc) in release_io_hfcpci() argument 161 pci_write_config_word(hc->pdev, PCI_COMMAND, 0); in release_io_hfcpci() 162 timer_delete(&hc->hw.timer); in release_io_hfcpci() 163 dma_free_coherent(&hc->pdev->dev, 0x8000, hc->hw.fifos, in release_io_hfcpci() [all …]
|
| H A 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/net/dccp/ccids/ |
| H A D | ccid2.c | |
| H A D | ccid3.c | |
| H A D | ccid2.h | |
| /linux/drivers/isdn/mISDN/ |
| H A D | l1oip_core.c | 265 l1oip_socket_send(struct l1oip *hc, u8 localcodec, u8 channel, u32 chanmask, in l1oip_socket_send() argument 279 if (time_before(hc->keep_tl.expires, jiffies + 5 * HZ) && !hc->shutdown) in l1oip_socket_send() 280 mod_timer(&hc->keep_tl, jiffies + L1OIP_KEEPALIVE * HZ); in l1oip_socket_send() 282 hc->keep_tl.expires = jiffies + L1OIP_KEEPALIVE * HZ; in l1oip_socket_send() 288 if (!hc->sin_remote.sin_addr.s_addr || !hc->sin_remote.sin_port) { in l1oip_socket_send() 297 | (hc->pri ? 0x20 : 0x00) /* type */ in l1oip_socket_send() 298 | (hc->id ? 0x10 : 0x00) /* id */ in l1oip_socket_send() 300 if (hc->id) { in l1oip_socket_send() 301 *p++ = hc->id >> 24; /* id */ in l1oip_socket_send() 302 *p++ = hc->id >> 16; in l1oip_socket_send() [all …]
|
| /linux/drivers/acpi/ |
| H A D | sbshc.c | 90 static inline int smb_hc_read(struct acpi_smb_hc *hc, u8 address, u8 *data) in smb_hc_read() argument 92 return ec_read(hc->offset + address, data); in smb_hc_read() 95 static inline int smb_hc_write(struct acpi_smb_hc *hc, u8 address, u8 data) in smb_hc_write() argument 97 return ec_write(hc->offset + address, data); in smb_hc_write() 100 static int wait_transaction_complete(struct acpi_smb_hc *hc, int timeout) in wait_transaction_complete() argument 102 if (wait_event_timeout(hc->wait, hc->done, msecs_to_jiffies(timeout))) in wait_transaction_complete() 107 static int acpi_smbus_transaction(struct acpi_smb_hc *hc, u8 protocol, in acpi_smbus_transaction() argument 113 if (!hc) { in acpi_smbus_transaction() 118 mutex_lock(&hc->lock); in acpi_smbus_transaction() 119 hc->done = false; in acpi_smbus_transaction() [all …]
|
| H 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);
|
| H A 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() 486 result = acpi_smbus_read(battery->sbs->hc, SMBUS_READ_WORD, in acpi_battery_read() [all …]
|
| /linux/arch/x86/kernel/ |
| H A D | hpet.c | 209 struct hpet_channel *hc = hpet_base.channels + i; in hpet_reserve_platform_timers() local 212 hd.hd_irq[i] = hc->irq; in hpet_reserve_platform_timers() 214 switch (hc->mode) { in hpet_reserve_platform_timers() 217 hc->mode = HPET_MODE_DEVICE; in hpet_reserve_platform_timers() 221 hpet_reserve_timer(&hd, hc->num); in hpet_reserve_platform_timers() 234 struct hpet_channel *hc = hpet_base.channels + i; in hpet_select_device_channel() local 237 if (hc->mode == HPET_MODE_UNUSED) { in hpet_select_device_channel() 238 hc->mode = HPET_MODE_DEVICE; in hpet_select_device_channel() 400 static void hpet_init_clockevent(struct hpet_channel *hc, unsigned int rating) in hpet_init_clockevent() argument 402 struct clock_event_device *evt = &hc->evt; in hpet_init_clockevent() [all …]
|
| /linux/drivers/md/ |
| H A D | dm-ioctl.c | 94 struct hash_cell *hc = container_of(n, struct hash_cell, name_node); in __get_name_cell() local 97 c = strcmp(hc->name, str); in __get_name_cell() 99 dm_get(hc->md); in __get_name_cell() 100 return hc; in __get_name_cell() 113 struct hash_cell *hc = container_of(n, struct hash_cell, uuid_node); in __get_uuid_cell() local 116 c = strcmp(hc->uuid, str); in __get_uuid_cell() 118 dm_get(hc->md); in __get_uuid_cell() 119 return hc; in __get_uuid_cell() 127 static void __unlink_name(struct hash_cell *hc) in __unlink_name() argument 129 if (hc->name_set) { in __unlink_name() [all …]
|
| /linux/drivers/usb/host/ |
| H A 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 …]
|
| H 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/arch/x86/kvm/ |
| H A D | hyperv.c | 1884 static int kvm_hv_get_hc_data(struct kvm *kvm, struct kvm_hv_hcall *hc, in kvm_hv_get_hc_data() argument 1895 if (hc->fast) { in kvm_hv_get_hc_data() 1900 if (orig_cnt > 2 * HV_HYPERCALL_MAX_XMM_REGISTERS - hc->consumed_xmm_halves) in kvm_hv_get_hc_data() 1904 j = i + hc->consumed_xmm_halves; in kvm_hv_get_hc_data() 1906 data[i] = sse128_hi(hc->xmm[j / 2]); in kvm_hv_get_hc_data() 1908 data[i] = sse128_lo(hc->xmm[j / 2]); in kvm_hv_get_hc_data() 1913 return kvm_read_guest(kvm, hc->ingpa + hc->data_offset, data, in kvm_hv_get_hc_data() 1917 static u64 kvm_get_sparse_vp_set(struct kvm *kvm, struct kvm_hv_hcall *hc, in kvm_get_sparse_vp_set() argument 1920 if (hc->var_cnt > HV_MAX_SPARSE_VCPU_BANKS) in kvm_get_sparse_vp_set() 1924 return kvm_hv_get_hc_data(kvm, hc, hc->var_cnt, KVM_HV_MAX_SPARSE_VCPU_SET_BITS, in kvm_get_sparse_vp_set() [all …]
|
| /linux/net/dccp/ |
| H A D | trace.h | |
| /linux/drivers/scsi/sym53c8xx_2/ |
| H 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/fs/ocfs2/cluster/ |
| H 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);
|
| H A D | heartbeat.c | 2242 void o2hb_setup_callback(struct o2hb_callback_func *hc, in o2hb_setup_callback() argument 2248 INIT_LIST_HEAD(&hc->hc_item); in o2hb_setup_callback() 2249 hc->hc_func = func; in o2hb_setup_callback() 2250 hc->hc_data = data; in o2hb_setup_callback() 2251 hc->hc_priority = priority; in o2hb_setup_callback() 2252 hc->hc_type = type; in o2hb_setup_callback() 2253 hc->hc_magic = O2HB_CB_MAGIC; in o2hb_setup_callback() 2398 struct o2hb_callback_func *hc) in o2hb_register_callback() argument 2404 BUG_ON(hc->hc_magic != O2HB_CB_MAGIC); in o2hb_register_callback() 2405 BUG_ON(!list_empty(&hc->hc_item)); in o2hb_register_callback() [all …]
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H 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/fs/gfs2/ |
| H A D | dir.c | 340 __be64 *hc; in gfs2_dir_get_hash_table() local 344 hc = ip->i_hash_cache; in gfs2_dir_get_hash_table() 345 if (hc) in gfs2_dir_get_hash_table() 346 return hc; in gfs2_dir_get_hash_table() 355 hc = kmalloc(hsize, GFP_NOFS | __GFP_NOWARN); in gfs2_dir_get_hash_table() 356 if (hc == NULL) in gfs2_dir_get_hash_table() 357 hc = __vmalloc(hsize, GFP_NOFS); in gfs2_dir_get_hash_table() 359 if (hc == NULL) in gfs2_dir_get_hash_table() 362 ret = gfs2_dir_read_data(ip, hc, hsize); in gfs2_dir_get_hash_table() 364 kvfree(hc); in gfs2_dir_get_hash_table() [all …]
|
| /linux/drivers/android/binder/ |
| H A D | freeze.rs | 169 let hc = reader.read::<BinderHandleCookie>()?; in request_freeze_notif() localVariable 170 let handle = hc.handle; in request_freeze_notif() 171 let cookie = FreezeCookie(hc.cookie); in request_freeze_notif() 272 let hc = reader.read::<BinderHandleCookie>()?; in clear_freeze_notif() localVariable 273 let handle = hc.handle; in clear_freeze_notif() 274 let cookie = FreezeCookie(hc.cookie); in clear_freeze_notif()
|
| /linux/drivers/usb/dwc2/ |
| H A D | hcd.h | 575 static inline bool dbg_hc(struct dwc2_host_chan *hc) { return true; } in dbg_hc() argument 580 static inline bool dbg_hc(struct dwc2_host_chan *hc) in dbg_hc() argument 582 return hc->ep_type == USB_ENDPOINT_XFER_BULK || in dbg_hc() 583 hc->ep_type == USB_ENDPOINT_XFER_CONTROL; in dbg_hc()
|
| /linux/arch/x86/kernel/cpu/ |
| H A D | mshyperv.c | 331 #define hypercall_update(hc) static_call_update(hv_hypercall, hc) argument 336 #define hypercall_update(hc) (void)hc argument
|