/drivers/isdn/hardware/mISDN/ |
H A D | hfc_multi_8xx.h | 18 HFC_outb_embsd(struct hfc_multi *hc, u_char reg, u_char val, argument 21 HFC_outb_embsd(struct hfc_multi *hc, u_char reg, u_char val) 24 hc->immap->im_ioport.iop_padat |= PA_XHFC_A0; 25 writeb(reg, hc->xhfc_memaddr); 26 hc->immap->im_ioport.iop_padat &= ~(PA_XHFC_A0); 27 writeb(val, hc->xhfc_memdata); 31 HFC_inb_embsd(struct hfc_multi *hc, u_char reg, const char *function, int line) argument 33 HFC_inb_embsd(struct hfc_multi *hc, u_char reg) 36 hc->immap->im_ioport.iop_padat |= PA_XHFC_A0; 37 writeb(reg, hc 43 HFC_inw_embsd(struct hfc_multi *hc, u_char reg, const char *function, int line) argument 55 HFC_wait_embsd(struct hfc_multi *hc, const char *function, int line) argument 69 write_fifo_embsd(struct hfc_multi *hc, u_char *data, int len) argument 83 read_fifo_embsd(struct hfc_multi *hc, u_char *data, int len) argument 96 setup_embedded(struct hfc_multi *hc, struct hm_map *m) argument [all...] |
H A D | hfcmulti.c | 255 #define HFC_outb(hc, reg, val) \ 256 (hc->HFC_outb(hc, reg, val, __func__, __LINE__)) 257 #define HFC_outb_nodebug(hc, reg, val) \ 258 (hc->HFC_outb_nodebug(hc, reg, val, __func__, __LINE__)) 259 #define HFC_inb(hc, reg) \ 260 (hc->HFC_inb(hc, reg, __func__, __LINE__)) 261 #define HFC_inb_nodebug(hc, re 289 HFC_outb_pcimem(struct hfc_multi *hc, u_char reg, u_char val, const char *function, int line) argument 299 HFC_inb_pcimem(struct hfc_multi *hc, u_char reg, const char *function, int line) argument 308 HFC_inw_pcimem(struct hfc_multi *hc, u_char reg, const char *function, int line) argument 317 HFC_wait_pcimem(struct hfc_multi *hc, const char *function, int line) argument 329 HFC_outb_regio(struct hfc_multi *hc, u_char reg, u_char val, const char *function, int line) argument 340 HFC_inb_regio(struct hfc_multi *hc, u_char reg, const char *function, int line) argument 350 HFC_inw_regio(struct hfc_multi *hc, u_char reg, const char *function, int line) argument 360 HFC_wait_regio(struct hfc_multi *hc, const char *function, int line) argument 372 HFC_outb_debug(struct hfc_multi *hc, u_char reg, u_char val, const char *function, int line) argument 400 HFC_inb_debug(struct hfc_multi *hc, u_char reg, const char *function, int line) argument 430 HFC_inw_debug(struct hfc_multi *hc, u_char reg, const char *function, int line) argument 452 HFC_wait_debug(struct hfc_multi *hc, const char *function, int line) argument 462 write_fifo_regio(struct hfc_multi *hc, u_char *data, int len) argument 483 write_fifo_pcimem(struct hfc_multi *hc, u_char *data, int len) argument 506 read_fifo_regio(struct hfc_multi *hc, u_char *data, int len) argument 528 read_fifo_pcimem(struct hfc_multi *hc, u_char *data, int len) argument 550 enable_hwirq(struct hfc_multi *hc) argument 557 disable_hwirq(struct hfc_multi *hc) argument 580 readpcibridge(struct hfc_multi *hc, unsigned char address) argument 608 writepcibridge(struct hfc_multi *hc, unsigned char address, unsigned char data) argument 638 cpld_set_reg(struct hfc_multi *hc, unsigned char reg) argument 645 cpld_write_reg(struct hfc_multi *hc, unsigned char reg, unsigned char val) argument 657 cpld_read_reg(struct hfc_multi *hc, unsigned char reg) argument 674 vpm_write_address(struct hfc_multi *hc, unsigned short addr) argument 854 vpm_echocan_on(struct hfc_multi *hc, int ch, int taps) argument 886 vpm_echocan_off(struct hfc_multi *hc, int ch) argument 928 struct hfc_multi *hc, *next, *pcmmaster = NULL; local 1028 plxsd_checksync(struct hfc_multi *hc, int rm) argument 1054 release_io_hfcmulti(struct hfc_multi *hc) argument 1122 init_chip(struct hfc_multi *hc) argument 1596 hfcmulti_watchdog(struct hfc_multi *hc) argument 1617 hfcmulti_leds(struct hfc_multi *hc) argument 1839 hfcmulti_dtmf(struct hfc_multi *hc) argument 1946 hfcmulti_tx(struct hfc_multi *hc, int ch) argument 2192 hfcmulti_rx(struct hfc_multi *hc, int ch) argument 2400 handle_timer_irq(struct hfc_multi *hc) argument 2577 ph_state_irq(struct hfc_multi *hc, u_char r_irq_statech) argument 2644 fifo_irq(struct hfc_multi *hc, int block) argument 2698 struct hfc_multi *hc = dev_id; local 2859 hfcmulti_dbusy_timer(struct hfc_multi *hc) argument 2874 mode_hfcmulti(struct hfc_multi *hc, int ch, int protocol, int slot_tx, int bank_tx, int slot_rx, int bank_rx) argument 3193 hfcmulti_pcm(struct hfc_multi *hc, int ch, int slot_tx, int bank_tx, int slot_rx, int bank_rx) argument 3212 hfcmulti_conf(struct hfc_multi *hc, int ch, int num) argument 3236 struct hfc_multi *hc = dch->hw; local 3344 struct hfc_multi *hc = dch->hw; local 3456 struct hfc_multi *hc = bch->hw; local 3472 struct hfc_multi *hc = bch->hw; local 3571 struct hfc_multi *hc = bch->hw; local 3699 struct hfc_multi *hc = bch->hw; local 3735 struct hfc_multi *hc; local 3864 struct hfc_multi *hc = dch->hw; local 4060 open_dchannel(struct hfc_multi *hc, struct dchannel *dch, struct channel_req *rq) argument 4101 open_bchannel(struct hfc_multi *hc, struct dchannel *dch, struct channel_req *rq) argument 4137 struct hfc_multi *hc = dch->hw; local 4190 struct hfc_multi *hc = dch->hw; local 4248 struct hfc_multi *hc = priv; local 4263 init_card(struct hfc_multi *hc) argument 4360 setup_pci(struct hfc_multi *hc, struct pci_dev *pdev, const struct pci_device_id *ent) argument 4531 release_port(struct hfc_multi *hc, struct dchannel *dch) argument 4646 release_card(struct hfc_multi *hc) argument 4705 init_e1_port_hw(struct hfc_multi *hc, struct hm_map *m) argument 4814 init_e1_port(struct hfc_multi *hc, struct hm_map *m, int pt) argument 4888 init_multi_port(struct hfc_multi *hc, int pt) argument 5010 struct hfc_multi *hc; local [all...] |
H A D | hfcpci.c | 153 enable_hwirq(struct hfc_pci *hc) argument 155 hc->hw.int_m2 |= HFCPCI_IRQ_ENABLE; 156 Write_hfc(hc, HFCPCI_INT_M2, hc->hw.int_m2); 160 disable_hwirq(struct hfc_pci *hc) argument 162 hc->hw.int_m2 &= ~((u_char)HFCPCI_IRQ_ENABLE); 163 Write_hfc(hc, HFCPCI_INT_M2, hc->hw.int_m2); 170 release_io_hfcpci(struct hfc_pci *hc) argument 173 pci_write_config_word(hc 183 hfcpci_setmode(struct hfc_pci *hc) argument 206 reset_hfcpci(struct hfc_pci *hc) argument 304 hfcpci_Timer(struct hfc_pci *hc) argument 319 Sel_BCS(struct hfc_pci *hc, int channel) argument 335 hfcpci_clear_fifo_rx(struct hfc_pci *hc, int fifo) argument 364 hfcpci_clear_fifo_tx(struct hfc_pci *hc, int fifo) argument 464 receive_dmsg(struct hfc_pci *hc) argument 613 struct hfc_pci *hc = bch->hw; local 675 hfcpci_fill_dfifo(struct hfc_pci *hc) argument 754 struct hfc_pci *hc = bch->hw; local 953 struct hfc_pci *hc = dch->hw; local 970 struct hfc_pci *hc = dch->hw; local 1048 struct hfc_pci *hc = dch->hw; local 1066 struct hfc_pci *hc = dch->hw; local 1158 struct hfc_pci *hc = dev_id; local 1244 hfcpci_dbusy_timer(struct hfc_pci *hc) argument 1254 struct hfc_pci *hc = bch->hw; local 1446 struct hfc_pci *hc = bch->hw; local 1521 struct hfc_pci *hc = bch->hw; local 1542 struct hfc_pci *hc = bch->hw; local 1591 struct hfc_pci *hc = dch->hw; local 1674 struct hfc_pci *hc = bch->hw; local 1717 inithfcpci(struct hfc_pci *hc) argument 1730 init_card(struct hfc_pci *hc) argument 1791 channel_ctrl(struct hfc_pci *hc, struct mISDN_ctrl_req *cq) argument 1889 open_dchannel(struct hfc_pci *hc, struct mISDNchannel *ch, struct channel_req *rq) argument 1941 open_bchannel(struct hfc_pci *hc, struct channel_req *rq) argument 1967 struct hfc_pci *hc = dch->hw; local 2003 setup_hw(struct hfc_pci *hc) argument 2056 release_card(struct hfc_pci *hc) argument 2273 struct hfc_pci *hc = dev_get_drvdata(dev); local [all...] |
H A D | hfc_multi.h | 150 void (*HFC_outb)(struct hfc_multi *hc, u_char reg, 152 void (*HFC_outb_nodebug)(struct hfc_multi *hc, u_char reg, 154 u_char (*HFC_inb)(struct hfc_multi *hc, u_char reg, 156 u_char (*HFC_inb_nodebug)(struct hfc_multi *hc, u_char reg, 158 u_short (*HFC_inw)(struct hfc_multi *hc, u_char reg, 160 u_short (*HFC_inw_nodebug)(struct hfc_multi *hc, u_char reg, 162 void (*HFC_wait)(struct hfc_multi *hc, 164 void (*HFC_wait_nodebug)(struct hfc_multi *hc, 167 void (*HFC_outb)(struct hfc_multi *hc, u_char reg, 169 void (*HFC_outb_nodebug)(struct hfc_multi *hc, u_cha [all...] |
H A D | hfcsusb.c | 356 dchannel_sched_event(&hc->dch, D_CLEARBUSY);
|
/drivers/acpi/ |
H A D | sbshc.c | 90 static inline int smb_hc_read(struct acpi_smb_hc *hc, u8 address, u8 *data) argument 92 return ec_read(hc->offset + address, data); 95 static inline int smb_hc_write(struct acpi_smb_hc *hc, u8 address, u8 data) argument 97 return ec_write(hc->offset + address, data); 100 static inline int smb_check_done(struct acpi_smb_hc *hc) argument 103 smb_hc_read(hc, ACPI_SMB_STATUS, &status.raw); 107 static int wait_transaction_complete(struct acpi_smb_hc *hc, int timeout) argument 109 if (wait_event_timeout(hc->wait, smb_check_done(hc), 117 if (smb_check_done(hc)) 123 acpi_smbus_transaction(struct acpi_smb_hc *hc, u8 protocol, u8 address, u8 command, u8 *data, u8 length) argument 179 acpi_smbus_read(struct acpi_smb_hc *hc, u8 protocol, u8 address, u8 command, u8 *data) argument 187 acpi_smbus_write(struct acpi_smb_hc *hc, u8 protocol, u8 address, u8 command, u8 *data, u8 length) argument 195 acpi_smbus_register_callback(struct acpi_smb_hc *hc, smbus_alarm_callback callback, void *context) argument 207 acpi_smbus_unregister_callback(struct acpi_smb_hc *hc) argument 220 struct acpi_smb_hc *hc = context; local 227 struct acpi_smb_hc *hc = context; local 264 struct acpi_smb_hc *hc; local 300 struct acpi_smb_hc *hc; local [all...] |
H A D | sbshc.h | 27 extern int acpi_smbus_read(struct acpi_smb_hc *hc, u8 protocol, u8 address, 29 extern int acpi_smbus_write(struct acpi_smb_hc *hc, u8 protocol, u8 slave_address, 31 extern int acpi_smbus_register_callback(struct acpi_smb_hc *hc, 33 extern int acpi_smbus_unregister_callback(struct acpi_smb_hc *hc);
|
H A D | sbs.c | 109 struct acpi_smb_hc *hc; member in struct:acpi_sbs 346 result = acpi_smbus_read(sbs->hc, SMBUS_READ_WORD, ACPI_SBS_MANAGER, 358 result = acpi_smbus_read(battery->sbs->hc, 379 result = acpi_smbus_read(battery->sbs->hc, 395 return acpi_smbus_read(battery->sbs->hc, SMBUS_READ_WORD, 409 ret = acpi_smbus_read(sbs->hc, SMBUS_READ_WORD, ACPI_SBS_MANAGER, 416 ret = acpi_smbus_write(sbs->hc, SMBUS_WRITE_WORD, 423 ret = acpi_smbus_write(sbs->hc, SMBUS_WRITE_WORD, ACPI_SBS_BATTERY, 434 result = acpi_smbus_read(sbs->hc, SMBUS_READ_WORD, ACPI_SBS_CHARGER, 490 result = acpi_smbus_read(battery->sbs->hc, SMBUS_READ_WOR [all...] |
/drivers/isdn/mISDN/ |
H A D | l1oip_core.c | 216 When the thread opened a socket, the hc->socket descriptor is set. Whenever a 217 packet shall be sent to the socket, the hc->socket must be checked wheter not 218 NULL. To prevent change in socket descriptor, the hc->socket_lock must be used. 276 l1oip_socket_send(struct l1oip *hc, u8 localcodec, u8 channel, u32 chanmask, argument 290 if (time_before(hc->keep_tl.expires, jiffies + 5 * HZ)) 291 mod_timer(&hc->keep_tl, jiffies + L1OIP_KEEPALIVE * HZ); 293 hc->keep_tl.expires = jiffies + L1OIP_KEEPALIVE * HZ; 299 if (!hc->sin_remote.sin_addr.s_addr || !hc->sin_remote.sin_port) { 308 | (hc 362 l1oip_socket_recv(struct l1oip *hc, u8 remotecodec, u8 channel, u16 timebase, u8 *buf, int len) argument 462 l1oip_socket_parse(struct l1oip *hc, struct sockaddr_in *sin, u8 *buf, int len) argument 650 struct l1oip *hc = (struct l1oip *)data; local 775 l1oip_socket_close(struct l1oip *hc) argument 800 l1oip_socket_open(struct l1oip *hc) argument 828 struct l1oip *hc = container_of(work, struct l1oip, workq); local 845 struct l1oip *hc = (struct l1oip *)data; local 853 struct l1oip *hc = (struct l1oip *)data; local 890 struct l1oip *hc = dch->hw; local 952 struct l1oip *hc = dch->hw; local 994 open_dchannel(struct l1oip *hc, struct dchannel *dch, struct channel_req *rq) argument 1021 open_bchannel(struct l1oip *hc, struct dchannel *dch, struct channel_req *rq) argument 1051 struct l1oip *hc = dch->hw; local 1105 struct l1oip *hc = bch->hw; local 1245 release_card(struct l1oip *hc) argument 1287 struct l1oip *hc, *next; local 1300 init_card(struct l1oip *hc, int pri, int bundle) argument 1456 struct l1oip *hc; local [all...] |
/drivers/usb/host/ |
H A D | ohci-mem.c | 73 dma_to_td (struct ohci_hcd *hc, dma_addr_t td_dma) argument 78 td = hc->td_hash [TD_HASH_FUNC(td_dma)]; 86 td_alloc (struct ohci_hcd *hc, gfp_t mem_flags) argument 91 td = dma_pool_alloc (hc->td_cache, mem_flags, &dma); 93 /* in case hc fetches it, make it look dead */ 95 td->hwNextTD = cpu_to_hc32 (hc, dma); 103 td_free (struct ohci_hcd *hc, struct td *td) argument 105 struct td **prev = &hc->td_hash [TD_HASH_FUNC (td->td_dma)]; 111 else if ((td->hwINFO & cpu_to_hc32(hc, TD_DONE)) != 0) 112 ohci_dbg (hc, "n 120 ed_alloc(struct ohci_hcd *hc, gfp_t mem_flags) argument 135 ed_free(struct ohci_hcd *hc, struct ed *ed) argument [all...] |
H A D | ohci.h | 37 __hc32 hwHeadP; /* head of TD list (hc r/w) */ 57 #define ED_UNLINK 0x01 /* being unlinked from hc */ 58 #define ED_OPER 0x02 /* IS linked to hc */ 371 * hcd adds to schedule for a live hc any time, but removals finish 401 u32 hc_control; /* copy of hc control reg */ 709 #define read_roothub(hc, register, mask) ({ \ 710 u32 temp = ohci_readl (hc, &hc->regs->roothub.register); \ 712 hc->rh_state = OHCI_RH_HALTED; \ 713 else if (hc 718 roothub_a(struct ohci_hcd *hc) argument 720 roothub_b(struct ohci_hcd *hc) argument 722 roothub_status(struct ohci_hcd *hc) argument 724 roothub_portstatus(struct ohci_hcd *hc, int i) argument [all...] |
H A D | Makefile | 73 obj-$(CONFIG_USB_HWA_HCD) += hwa-hc.o
|
H A D | ohci-hub.c | 16 #define dbg_port(hc,label,num,value) \ 17 ohci_dbg (hc, \
|
H A D | ohci-dbg.c | 167 #define dbg_port_sw(hc,num,value,next,size) \ 168 ohci_dbg_sw (hc, next, size, \
|
H A D | ohci-q.c | 13 static void urb_free_priv (struct ohci_hcd *hc, urb_priv_t *urb_priv) argument 24 td_free (hc, td); 528 * tempted to die part way through. (and to force the hc to flush 771 if (tdINFO & TD_CC) /* hc didn't touch? */ 941 /* get TD from hc's singly linked list, and 1013 /* ED's now officially unlinked, hc doesn't see */ 1054 /* patch pointer hc uses */ 1175 /* ... hc may need waking-up */
|
/drivers/md/ |
H A D | dm-ioctl.c | 113 struct hash_cell *hc; local 116 list_for_each_entry (hc, _name_buckets + h, name_list) 117 if (!strcmp(hc->name, str)) { 118 dm_get(hc->md); 119 return hc; 127 struct hash_cell *hc; local 130 list_for_each_entry (hc, _uuid_buckets + h, uuid_list) 131 if (!strcmp(hc->uuid, str)) { 132 dm_get(hc->md); 133 return hc; 142 struct hash_cell *hc; local 163 struct hash_cell *hc; local 194 free_cell(struct hash_cell *hc) argument 209 struct hash_cell *cell, *hc; local 253 __hash_remove(struct hash_cell *hc) argument 282 struct hash_cell *hc; local 336 __set_cell_uuid(struct hash_cell *hc, char *new_uuid) argument 349 __change_cell_name(struct hash_cell *hc, char *new_name) argument 372 struct hash_cell *hc; local 504 struct hash_cell *hc; local 647 struct hash_cell *hc; local 768 struct hash_cell *hc = NULL; local 811 struct hash_cell *hc; local 825 struct hash_cell *hc; local 998 struct hash_cell *hc; local 1270 struct hash_cell *hc; local 1354 struct hash_cell *hc; local 1933 struct hash_cell *hc; local [all...] |
/drivers/scsi/sym53c8xx_2/ |
H A D | sym_malloc.c | 234 int hc = VTOB_HASH_CODE(vaddr); local 235 vbp->next = mp->vtob[hc]; 236 mp->vtob[hc] = vbp; 249 int hc = VTOB_HASH_CODE(m); local 251 vbpp = &mp->vtob[hc]; 361 int hc = VTOB_HASH_CODE(m); local 369 vp = mp->vtob[hc];
|
/drivers/usb/wusbcore/ |
H A D | Makefile | 22 wa-hc.o \
|
/drivers/usb/dwc2/ |
H A D | hcd.h | 507 static inline bool dbg_hc(struct dwc2_host_chan *hc) { return true; } argument 512 static inline bool dbg_hc(struct dwc2_host_chan *hc) argument 514 return hc->ep_type == USB_ENDPOINT_XFER_BULK || 515 hc->ep_type == USB_ENDPOINT_XFER_CONTROL;
|
/drivers/ata/ |
H A D | sata_mv.c | 157 /* Determine hc from 0-7 port: hc = port >> MV_PORT_HC_SHIFT */ 160 /* Determine hc port from 0-7 port: hardport = port & MV_PORT_MASK */ 898 static inline void __iomem *mv_hc_base(void __iomem *base, unsigned int hc) argument 900 return (base + SATAHC0_REG_BASE + (hc * MV_SATAHC_REG_SZ)); 1295 int start_port, num_ports, p, start_hc, num_hcs, hc; local 1318 for (hc = start_hc; hc < start_hc + num_hcs; hc++) { 1319 hc_base = mv_hc_base(mmio_base, hc); 3185 mv5_reset_one_hc(struct mv_host_priv *hpriv, void __iomem *mmio, unsigned int hc) argument 3206 unsigned int hc, port; local 3928 int rc = 0, n_hc, port, hc; local [all...] |
/drivers/staging/speakup/ |
H A D | main.c | 1622 int hc, d; local 1627 hc = get_highlight_color(vc); 1628 if (hc != -1) { 1631 if (speakup_console[vc_num]->ht.ry[hc] != vc->vc_y) 1635 spkup_write(speakup_console[vc_num]->ht.highbuf[hc], 1636 speakup_console[vc_num]->ht.highsize[hc]); 1637 spk_pos = spk_cp = speakup_console[vc_num]->ht.rpos[hc]; 1638 spk_x = spk_cx = speakup_console[vc_num]->ht.rx[hc]; 1639 spk_y = spk_cy = speakup_console[vc_num]->ht.ry[hc];
|
/drivers/scsi/ |
H A D | ncr53c8xx.c | 395 int hc = VTOB_HASH_CODE(vp); local 398 vbp->next = mp->vtob[hc]; 399 mp->vtob[hc] = vbp; 412 int hc = VTOB_HASH_CODE(m); local 414 vbpp = &mp->vtob[hc]; 498 int hc = VTOB_HASH_CODE(m); local 505 vp = mp->vtob[hc];
|