| /drivers/isdn/hardware/mISDN/ |
| A D | hfcmulti.c | 259 #define HFC_outb(hc, reg, val) (hc->HFC_outb(hc, reg, val)) argument 261 #define HFC_inb(hc, reg) (hc->HFC_inb(hc, reg)) argument 262 #define HFC_inb_nodebug(hc, reg) (hc->HFC_inb_nodebug(hc, reg)) argument 263 #define HFC_inw(hc, reg) (hc->HFC_inw(hc, reg)) argument 264 #define HFC_inw_nodebug(hc, reg) (hc->HFC_inw_nodebug(hc, reg)) argument 265 #define HFC_wait(hc) (hc->HFC_wait(hc)) argument 266 #define HFC_wait_nodebug(hc) (hc->HFC_wait_nodebug(hc)) argument 1158 hc->max_trans = hc->Zlen; in init_chip() 2054 hc->write_fifo(hc, hc->silence_data, poll >> 1); in hfcmulti_tx() 4303 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 | 143 Write_hfc(hc, HFCPCI_INT_M2, hc->hw.int_m2); in enable_hwirq() 150 Write_hfc(hc, HFCPCI_INT_M2, hc->hw.int_m2); in disable_hwirq() 182 Write_hfc(hc, HFCPCI_CLKDEL, hc->hw.clkdel); in hfcpci_setmode() 186 Write_hfc(hc, HFCPCI_SCTRL, hc->hw.sctrl); in hfcpci_setmode() 211 Write_hfc(hc, HFCPCI_CIRM, hc->hw.cirm); in reset_hfcpci() 215 Write_hfc(hc, HFCPCI_CIRM, hc->hw.cirm); in reset_hfcpci() 241 Write_hfc(hc, HFCPCI_TRM, hc->hw.trm); in reset_hfcpci() 243 Write_hfc(hc, HFCPCI_CTMT, hc->hw.ctmt); in reset_hfcpci() 1751 hc->irq, hc->irqcnt); in init_card() 1776 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 …]
|
| A D | hfcsusb.c | 350 dchannel_sched_event(&hc->dch, D_CLEARBUSY); in hfcusb_l2l1D()
|
| /drivers/isdn/mISDN/ |
| A D | l1oip_core.c | 453 struct dchannel *dch = hc->chan[hc->d_idx].dch; in l1oip_socket_parse() 695 hc->sendmsg.msg_name = &hc->sin_remote; in l1oip_socket_thread() 757 struct dchannel *dch = hc->chan[hc->d_idx].dch; in l1oip_socket_close() 833 struct l1oip *hc = timer_container_of(hc, t, in l1oip_timeout() local 949 hc->remoteport = hc->localport; in channel_dctrl() 1248 if (hc->registered && hc->chan[hc->d_idx].dch) in release_card() 1331 if (hc->ondemand && !hc->id) { in init_card() 1364 hc->remoteport = hc->localport; in init_card() 1368 hc->localport, hc->remoteip >> 24, in init_card() 1371 hc->remoteport, hc->ondemand); in init_card() [all …]
|
| /drivers/acpi/ |
| A D | sbshc.c | 101 if (wait_event_timeout(hc->wait, hc->done, msecs_to_jiffies(timeout))) in wait_transaction_complete() 112 if (!hc) { in acpi_smbus_transaction() 118 hc->done = false; in acpi_smbus_transaction() 206 if (hc->callback) in acpi_smbus_callback() 207 hc->callback(hc->context); in acpi_smbus_callback() 219 hc->done = true; in smbus_alarm() 259 if (!hc) in acpi_smbus_hc_add() 269 acpi_ec_add_query_handler(hc->ec, hc->query_bit, NULL, smbus_alarm, hc); in acpi_smbus_hc_add() 271 hc->offset, hc->query_bit); in acpi_smbus_hc_add() 284 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 | 87 struct acpi_smb_hc *hc; member 343 result = acpi_smbus_read(battery->sbs->hc, in acpi_battery_get_info() 364 result = acpi_smbus_read(battery->sbs->hc, in acpi_battery_get_state() 380 return acpi_smbus_read(battery->sbs->hc, SMBUS_READ_WORD, in acpi_battery_get_alarm() 394 ret = acpi_smbus_read(sbs->hc, SMBUS_READ_WORD, ACPI_SBS_MANAGER, in acpi_battery_set_alarm() 401 ret = acpi_smbus_write(sbs->hc, SMBUS_WRITE_WORD, in acpi_battery_set_alarm() 485 result = acpi_smbus_read(battery->sbs->hc, SMBUS_READ_WORD, in acpi_battery_read() 497 acpi_smbus_write(battery->sbs->hc, SMBUS_WRITE_WORD, in acpi_battery_read() 645 sbs->hc = acpi_driver_data(acpi_dev_parent(device)); in acpi_sbs_add() 670 acpi_smbus_register_callback(sbs->hc, acpi_sbs_callback, sbs); in acpi_sbs_add() [all …]
|
| /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() 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() 970 if (hc) in find_device() [all …]
|
| /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 …]
|
| A D | ohci-hub.c | 17 #define dbg_port(hc,label,num,value) \ argument 18 ohci_dbg (hc, \
|
| A D | ohci-dbg.c | 168 #define dbg_port_sw(hc,num,value,next,size) \ argument 169 ohci_dbg_sw (hc, next, size, \
|
| 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()
|
| /drivers/media/platform/amphion/ |
| A D | vpu_malone.c | 357 struct vpu_dec_ctrl *hc; in vpu_malone_init_rpc() local 368 hc = shared->priv; in vpu_malone_init_rpc() 398 hc->codec_param = rpc->virt + offset; in vpu_malone_init_rpc() 403 hc->jpg = rpc->virt + offset; in vpu_malone_init_rpc() 408 hc->seq_mem = rpc->virt + offset; in vpu_malone_init_rpc() 413 hc->pic_mem = rpc->virt + offset; in vpu_malone_init_rpc() 418 hc->gop_mem = rpc->virt + offset; in vpu_malone_init_rpc() 423 hc->qmeter_mem = rpc->virt + offset; in vpu_malone_init_rpc() 429 hc->dbglog_mem = rpc->virt + offset; in vpu_malone_init_rpc() 480 hc->buf_addr[i] = regs_base + offset; in vpu_malone_set_system_cfg() [all …]
|
| /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()
|
| /drivers/usb/dwc2/ |
| 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()
|
| /drivers/ata/ |
| A D | sata_mv.c | 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 unsigned int hc) in mv5_reset_one_hc() argument 3151 void __iomem *hc_mmio = mv_hc_base(mmio, hc); in mv5_reset_one_hc() 3170 unsigned int hc, port; in mv5_reset_hc() local 3172 for (hc = 0; hc < n_hc; hc++) { in mv5_reset_hc() 3175 (hc * MV_PORTS_PER_HC) + port); in mv5_reset_hc() 3177 mv5_reset_one_hc(hpriv, mmio, hc); in mv5_reset_hc() 3888 int rc = 0, n_hc, port, hc; in mv_init_host() local 3931 for (hc = 0; hc < n_hc; hc++) { in mv_init_host() [all …]
|
| /drivers/accessibility/speakup/ |
| A D | main.c | 1667 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()
|
| /drivers/scsi/ |
| A D | ncr53c8xx.c | 388 int hc = VTOB_HASH_CODE(vp); in ___dma_getp() local 391 vbp->next = mp->vtob[hc]; in ___dma_getp() 392 mp->vtob[hc] = vbp; in ___dma_getp() 405 int hc = VTOB_HASH_CODE(m); in ___dma_freep() local 407 vbpp = &mp->vtob[hc]; in ___dma_freep() 491 int hc = VTOB_HASH_CODE(m); in __vtobus() local 498 vp = mp->vtob[hc]; in __vtobus()
|