Home
last modified time | relevance | path

Searched refs:hc (Results 1 – 25 of 29) sorted by relevance

12

/linux/net/dccp/ccids/
H A Dccid2.c
H A Dccid3.c
H A Dccid2.h
/linux/drivers/acpi/
H A Dsbshc.c87 static inline int smb_hc_read(struct acpi_smb_hc *hc, u8 address, u8 *data) in smb_hc_read() argument
89 return ec_read(hc->offset + address, data); in smb_hc_read()
92 static inline int smb_hc_write(struct acpi_smb_hc *hc, u8 address, u8 data) in smb_hc_write() argument
94 return ec_write(hc->offset + address, data); in smb_hc_write()
97 static int wait_transaction_complete(struct acpi_smb_hc *hc, int timeout) in wait_transaction_complete() argument
99 if (wait_event_timeout(hc->wait, hc->done, msecs_to_jiffies(timeout))) in wait_transaction_complete()
104 static int acpi_smbus_transaction(struct acpi_smb_hc *hc, u8 protocol, in acpi_smbus_transaction() argument
110 if (!hc) { in acpi_smbus_transaction()
115 mutex_lock(&hc->lock); in acpi_smbus_transaction()
116 hc->done = false; in acpi_smbus_transaction()
[all …]
H A Dsbshc.h26 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 Dsbs.c86 struct acpi_smb_hc *hc; member
330 result = acpi_smbus_read(sbs->hc, SMBUS_READ_WORD, ACPI_SBS_MANAGER, in acpi_manager_get_info()
342 result = acpi_smbus_read(battery->sbs->hc, in acpi_battery_get_info()
363 result = acpi_smbus_read(battery->sbs->hc, in acpi_battery_get_state()
379 return acpi_smbus_read(battery->sbs->hc, SMBUS_READ_WORD, in acpi_battery_get_alarm()
393 ret = acpi_smbus_read(sbs->hc, SMBUS_READ_WORD, ACPI_SBS_MANAGER, in acpi_battery_set_alarm()
400 ret = acpi_smbus_write(sbs->hc, SMBUS_WRITE_WORD, in acpi_battery_set_alarm()
407 ret = acpi_smbus_write(sbs->hc, SMBUS_WRITE_WORD, ACPI_SBS_BATTERY, in acpi_battery_set_alarm()
418 result = acpi_smbus_read(sbs->hc, SMBUS_READ_WORD, ACPI_SBS_CHARGER, in acpi_ac_get_present()
484 result = acpi_smbus_read(battery->sbs->hc, SMBUS_READ_WORD, in acpi_battery_read()
[all …]
/linux/drivers/usb/host/
H A Dohci-mem.c77 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 Dohci.h709 #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 …]
H A Dohci-hub.c17 #define dbg_port(hc,label,num,value) \ argument
18 ohci_dbg (hc, \
H A Dohci-dbg.c168 #define dbg_port_sw(hc,num,value,next,size) \ argument
169 ohci_dbg_sw (hc, next, size, \
H A Dohci-q.c14 static void urb_free_priv (struct ohci_hcd *hc, urb_priv_t *urb_priv) in urb_free_priv() argument
25 td_free (hc, td); in urb_free_priv()
/linux/net/dccp/
H A Dtrace.h
/linux/tools/testing/selftests/kvm/x86/
H A Dkvm_pv_test.c60 #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/drivers/scsi/sym53c8xx_2/
H A Dsym_malloc.c221 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 Dheartbeat.h52 void o2hb_setup_callback(struct o2hb_callback_func *hc,
58 struct o2hb_callback_func *hc);
60 struct o2hb_callback_func *hc);
/linux/Documentation/admin-guide/device-mapper/
H A Dpersistent-data.rst34 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 Ddir.c340 __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()
387 __be64 *hc; gfs2_dir_hash_inval() local
1153 __be64 *hc; dir_double_exhash() local
[all...]
/linux/drivers/android/binder/
H A Dfreeze.rs169 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 Dhcd.h575 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 Dmshyperv.c338 #define hypercall_update(hc) static_call_update(hv_hypercall, hc)
343 #define hypercall_update(hc) (void)hc
337 hypercall_update(hc) global() argument
342 hypercall_update(hc) global() argument
/linux/drivers/ata/
H A Dsata_mv.c144 /* Determine hc from 0-7 port: hc = port >> MV_PORT_HC_SHIFT */
147 /* Determine hc port from 0-7 port: hardport = port & MV_PORT_MASK */
863 static inline void __iomem *mv_hc_base(void __iomem *base, unsigned int hc) in mv_hc_base() argument
865 return (base + SATAHC0_REG_BASE + (hc * MV_SATAHC_REG_SZ)); in mv_hc_base()
1259 int start_port, num_ports, p, start_hc, num_hcs, hc; in mv_dump_all_regs() local
1276 for (hc = start_hc; hc < start_hc + num_hcs; hc++) { in mv_dump_all_regs()
1277 hc_base = mv_hc_base(mmio_base, hc); in mv_dump_all_regs()
3149 mv5_reset_one_hc(struct mv_host_priv * hpriv,void __iomem * mmio,unsigned int hc) mv5_reset_one_hc() argument
3170 unsigned int hc, port; mv5_reset_hc() local
3888 int rc = 0, n_hc, port, hc; mv_init_host() local
[all...]
/linux/drivers/accessibility/speakup/
H A Dmain.c1667 int hc, d; in speak_highlight() local
1672 hc = get_highlight_color(vc); in speak_highlight()
1673 if (hc != -1) { in speak_highlight()
1676 if (speakup_console[vc_num]->ht.ry[hc] != vc->state.y) in speak_highlight()
1680 spkup_write(speakup_console[vc_num]->ht.highbuf[hc], in speak_highlight()
1681 speakup_console[vc_num]->ht.highsize[hc]); in speak_highlight()
1682 spk_pos = spk_cp = speakup_console[vc_num]->ht.rpos[hc]; in speak_highlight()
1683 spk_x = spk_cx = speakup_console[vc_num]->ht.rx[hc]; in speak_highlight()
1684 spk_y = spk_cy = speakup_console[vc_num]->ht.ry[hc]; in speak_highlight()
/linux/arch/arm64/boot/dts/qcom/
H A Dpm8998.dtsi95 compatible = "qcom,spmi-adc-tm-hc";
/linux/Documentation/bpf/
H A Dprog_flow_dissector.rst126 implementation and ``tools/testing/selftests/bpf/flow_dissector_load.[hc]``
/linux/arch/s390/kvm/
H A Ddat.c684 pgste.hc |= old_skey.c; in dat_set_storage_key()
738 pgste.hc |= prev.c; in dat_cond_set_storage_key()

12