| /linux/net/dccp/ccids/ |
| H A D | ccid2.c | |
| H A D | ccid3.c | |
| H A D | ccid2.h | |
| /linux/drivers/acpi/ |
| H A D | sbshc.c | 87 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 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 | 86 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/md/ |
| H A D | dm-ioctl.c | 96 struct hash_cell *hc = container_of(n, struct hash_cell, name_node); in __get_name_cell() local 99 c = strcmp(hc->name, str); in __get_name_cell() 101 dm_get(hc->md); in __get_name_cell() 102 return hc; in __get_name_cell() 115 struct hash_cell *hc = container_of(n, struct hash_cell, uuid_node); in __get_uuid_cell() local 118 c = strcmp(hc->uuid, str); in __get_uuid_cell() 120 dm_get(hc->md); in __get_uuid_cell() 121 return hc; in __get_uuid_cell() 129 static void __unlink_name(struct hash_cell *hc) in __unlink_name() argument 131 if (hc in __unlink_name() 137 __unlink_uuid(struct hash_cell * hc) __unlink_uuid() argument 157 struct hash_cell *hc = container_of(*n, struct hash_cell, name_node); __link_name() local 182 struct hash_cell *hc = container_of(*n, struct hash_cell, uuid_node); __link_uuid() local 198 struct hash_cell *hc; __get_dev_cell() local 221 struct hash_cell *hc; alloc_cell() local 251 free_cell(struct hash_cell * hc) free_cell() argument 267 dm_ima_init_context(struct hash_cell * hc,struct dm_ima_context * context,bool need_idx) dm_ima_init_context() argument 293 struct hash_cell *hc; dm_ima_need_measure() local 320 dm_ima_init_context(struct hash_cell * hc,struct dm_ima_context * context,bool neex_idx) dm_ima_init_context() argument 340 struct hash_cell *cell, *hc; dm_hash_insert() local 384 __hash_remove(struct hash_cell * hc) __hash_remove() argument 416 struct hash_cell *hc; dm_hash_remove_all() local 483 __set_cell_uuid(struct hash_cell * hc,char * new_uuid) __set_cell_uuid() argument 496 __change_cell_name(struct hash_cell * hc,char * new_name) __change_cell_name() argument 519 struct hash_cell *hc; dm_hash_rename() local 667 filter_device(struct hash_cell * hc,const char * pfx_name,const char * pfx_uuid) filter_device() argument 694 struct hash_cell *hc; list_devices() local 871 struct hash_cell *hc; dm_get_inactive_table() local 996 struct hash_cell *hc = NULL; __find_device_hash_cell() local 1045 struct hash_cell *hc; find_device() local 1059 struct hash_cell *hc; dev_remove() local 1241 struct hash_cell *hc; do_resume() local 1621 struct hash_cell *hc; table_load() local 1715 struct hash_cell *hc; table_clear() local 2335 struct hash_cell *hc; dm_copy_name_and_uuid() local [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 …]
|
| H A D | ohci-hub.c | 17 #define dbg_port(hc,label,num,value) \ argument 18 ohci_dbg (hc, \
|
| H A D | ohci-q.c | 14 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 D | trace.h | |
| /linux/tools/testing/selftests/kvm/x86/ |
| H 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/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/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/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 | 338 #define hypercall_update(hc) static_call_update(hv_hypercall, hc) argument 343 #define hypercall_update(hc) (void)hc argument
|
| /linux/drivers/ata/ |
| H A D | sata_mv.c | 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() 1278 dev_dbg(&pdev->dev, "%s: HC regs (HC %i):\n", __func__, hc); in mv_dump_all_regs() 3150 unsigned int hc) in mv5_reset_one_hc() argument 3152 void __iomem *hc_mmio = mv_hc_base(mmio, hc); in mv5_reset_one_hc() 3171 unsigned int hc, port; in mv5_reset_hc() local 3173 for (hc = 0; hc < n_hc; hc++) { in mv5_reset_hc() [all …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | pm8998.dtsi | 95 compatible = "qcom,spmi-adc-tm-hc";
|
| H A D | monaco.dtsi | 4811 reg-names = "hc",
|
| /linux/Documentation/bpf/ |
| H A D | prog_flow_dissector.rst | 126 implementation and ``tools/testing/selftests/bpf/flow_dissector_load.[hc]``
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-sdx65.dtsi | 473 reg-names = "hc";
|