Searched refs:hc (Results 1 - 25 of 32) sorted by relevance

12

/linux-master/net/dccp/ccids/
H A Dccid2.c25 static int ccid2_hc_tx_alloc_seq(struct ccid2_hc_tx_sock *hc) argument
31 if (hc->tx_seqbufc >= (sizeof(hc->tx_seqbuf) /
49 if (hc->tx_seqbufc == 0)
50 hc->tx_seqh = hc->tx_seqt = seqp;
53 hc->tx_seqh->ccid2s_next = seqp;
54 seqp->ccid2s_prev = hc->tx_seqh;
56 hc->tx_seqt->ccid2s_prev = &seqp[CCID2_SEQBUF_LEN - 1];
57 seqp[CCID2_SEQBUF_LEN - 1].ccid2s_next = hc
94 struct ccid2_hc_tx_sock *hc = ccid2_hc_tx_sk(sk); local
129 struct ccid2_hc_tx_sock *hc = from_timer(hc, t, tx_rtotimer); local
192 ccid2_update_used_window(struct ccid2_hc_tx_sock *hc, u32 new_wnd) argument
200 struct ccid2_hc_tx_sock *hc = ccid2_hc_tx_sk(sk); local
219 struct ccid2_hc_tx_sock *hc = ccid2_hc_tx_sk(sk); local
241 struct ccid2_hc_tx_sock *hc = ccid2_hc_tx_sk(sk); local
366 struct ccid2_hc_tx_sock *hc = ccid2_hc_tx_sk(sk); local
437 struct ccid2_hc_tx_sock *hc = ccid2_hc_tx_sk(sk); local
482 struct ccid2_hc_tx_sock *hc = ccid2_hc_tx_sk(sk); local
500 struct ccid2_hc_tx_sock *hc = ccid2_hc_tx_sk(sk); local
514 struct ccid2_hc_tx_sock *hc = ccid2_hc_tx_sk(sk); local
720 struct ccid2_hc_tx_sock *hc = ccid_priv(ccid); local
752 struct ccid2_hc_tx_sock *hc = ccid2_hc_tx_sk(sk); local
765 struct ccid2_hc_rx_sock *hc = ccid2_hc_rx_sk(sk); local
[all...]
H A Dccid3.c53 struct ccid3_hc_tx_sock *hc = ccid3_hc_tx_sk(sk); local
54 enum ccid3_hc_tx_states oldstate = hc->tx_state;
60 hc->tx_state = state;
74 const struct ccid3_hc_tx_sock *hc = ccid3_hc_tx_sk(sk); local
75 const __u32 w_init = clamp_t(__u32, 4380U, 2 * hc->tx_s, 4 * hc->tx_s);
77 return scaled_div(w_init << 6, hc->tx_rtt);
82 * @hc: socket to have the send interval updated
86 static void ccid3_update_send_interval(struct ccid3_hc_tx_sock *hc) argument
88 hc
95 ccid3_hc_tx_idle_rtt(struct ccid3_hc_tx_sock *hc, ktime_t now) argument
116 struct ccid3_hc_tx_sock *hc = ccid3_hc_tx_sk(sk); local
162 ccid3_hc_tx_update_s(struct ccid3_hc_tx_sock *hc, int len) argument
176 ccid3_hc_tx_update_win_count(struct ccid3_hc_tx_sock *hc, ktime_t now) argument
191 struct ccid3_hc_tx_sock *hc = from_timer(hc, t, tx_no_feedback_timer); local
275 struct ccid3_hc_tx_sock *hc = ccid3_hc_tx_sk(sk); local
351 struct ccid3_hc_tx_sock *hc = ccid3_hc_tx_sk(sk); local
361 struct ccid3_hc_tx_sock *hc = ccid3_hc_tx_sk(sk); local
460 struct ccid3_hc_tx_sock *hc = ccid3_hc_tx_sk(sk); local
496 struct ccid3_hc_tx_sock *hc = ccid_priv(ccid); local
508 struct ccid3_hc_tx_sock *hc = ccid3_hc_tx_sk(sk); local
523 const struct ccid3_hc_tx_sock *hc = ccid3_hc_tx_sk(sk); local
579 struct ccid3_hc_rx_sock *hc = ccid3_hc_rx_sk(sk); local
593 struct ccid3_hc_rx_sock *hc = ccid3_hc_rx_sk(sk); local
640 const struct ccid3_hc_rx_sock *hc = ccid3_hc_rx_sk(sk); local
674 struct ccid3_hc_rx_sock *hc = ccid3_hc_rx_sk(sk); local
709 struct ccid3_hc_rx_sock *hc = ccid3_hc_rx_sk(sk); local
793 struct ccid3_hc_rx_sock *hc = ccid_priv(ccid); local
802 struct ccid3_hc_rx_sock *hc = ccid3_hc_rx_sk(sk); local
818 const struct ccid3_hc_rx_sock *hc = ccid3_hc_rx_sk(sk); local
[all...]
H A Dccid2.h90 static inline bool ccid2_cwnd_network_limited(struct ccid2_hc_tx_sock *hc) argument
92 return hc->tx_pipe >= hc->tx_cwnd;
/linux-master/drivers/isdn/hardware/mISDN/
H A Dhfc_multi_8xx.h19 HFC_outb_embsd(struct hfc_multi *hc, u_char reg, u_char val, argument
22 HFC_outb_embsd(struct hfc_multi *hc, u_char reg, u_char val)
25 hc->immap->im_ioport.iop_padat |= PA_XHFC_A0;
26 writeb(reg, hc->xhfc_memaddr);
27 hc->immap->im_ioport.iop_padat &= ~(PA_XHFC_A0);
28 writeb(val, hc->xhfc_memdata);
32 HFC_inb_embsd(struct hfc_multi *hc, u_char reg, const char *function, int line) argument
34 HFC_inb_embsd(struct hfc_multi *hc, u_char reg)
37 hc->immap->im_ioport.iop_padat |= PA_XHFC_A0;
38 writeb(reg, hc
44 HFC_inw_embsd(struct hfc_multi *hc, u_char reg, const char *function, int line) argument
56 HFC_wait_embsd(struct hfc_multi *hc, const char *function, int line) argument
70 write_fifo_embsd(struct hfc_multi *hc, u_char *data, int len) argument
84 read_fifo_embsd(struct hfc_multi *hc, u_char *data, int len) argument
97 setup_embedded(struct hfc_multi *hc, struct hm_map *m) argument
[all...]
H A Dhfcmulti.c241 #define HFC_outb(hc, reg, val) \
242 (hc->HFC_outb(hc, reg, val, __func__, __LINE__))
243 #define HFC_outb_nodebug(hc, reg, val) \
244 (hc->HFC_outb_nodebug(hc, reg, val, __func__, __LINE__))
245 #define HFC_inb(hc, reg) \
246 (hc->HFC_inb(hc, reg, __func__, __LINE__))
247 #define HFC_inb_nodebug(hc, re
275 HFC_outb_pcimem(struct hfc_multi *hc, u_char reg, u_char val, const char *function, int line) argument
285 HFC_inb_pcimem(struct hfc_multi *hc, u_char reg, const char *function, int line) argument
294 HFC_inw_pcimem(struct hfc_multi *hc, u_char reg, const char *function, int line) argument
303 HFC_wait_pcimem(struct hfc_multi *hc, const char *function, int line) argument
315 HFC_outb_regio(struct hfc_multi *hc, u_char reg, u_char val, const char *function, int line) argument
326 HFC_inb_regio(struct hfc_multi *hc, u_char reg, const char *function, int line) argument
336 HFC_inw_regio(struct hfc_multi *hc, u_char reg, const char *function, int line) argument
346 HFC_wait_regio(struct hfc_multi *hc, const char *function, int line) argument
358 HFC_outb_debug(struct hfc_multi *hc, u_char reg, u_char val, const char *function, int line) argument
386 HFC_inb_debug(struct hfc_multi *hc, u_char reg, const char *function, int line) argument
416 HFC_inw_debug(struct hfc_multi *hc, u_char reg, const char *function, int line) argument
438 HFC_wait_debug(struct hfc_multi *hc, const char *function, int line) argument
448 write_fifo_regio(struct hfc_multi *hc, u_char *data, int len) argument
469 write_fifo_pcimem(struct hfc_multi *hc, u_char *data, int len) argument
492 read_fifo_regio(struct hfc_multi *hc, u_char *data, int len) argument
514 read_fifo_pcimem(struct hfc_multi *hc, u_char *data, int len) argument
536 enable_hwirq(struct hfc_multi *hc) argument
543 disable_hwirq(struct hfc_multi *hc) argument
566 readpcibridge(struct hfc_multi *hc, unsigned char address) argument
594 writepcibridge(struct hfc_multi *hc, unsigned char address, unsigned char data) argument
624 cpld_set_reg(struct hfc_multi *hc, unsigned char reg) argument
631 cpld_write_reg(struct hfc_multi *hc, unsigned char reg, unsigned char val) argument
643 vpm_write_address(struct hfc_multi *hc, unsigned short addr) argument
809 vpm_echocan_on(struct hfc_multi *hc, int ch, int taps) argument
841 vpm_echocan_off(struct hfc_multi *hc, int ch) argument
883 struct hfc_multi *hc, *next, *pcmmaster = NULL; local
983 plxsd_checksync(struct hfc_multi *hc, int rm) argument
1009 release_io_hfcmulti(struct hfc_multi *hc) argument
1077 init_chip(struct hfc_multi *hc) argument
1551 hfcmulti_watchdog(struct hfc_multi *hc) argument
1572 hfcmulti_leds(struct hfc_multi *hc) argument
1794 hfcmulti_dtmf(struct hfc_multi *hc) argument
1901 hfcmulti_tx(struct hfc_multi *hc, int ch) argument
2147 hfcmulti_rx(struct hfc_multi *hc, int ch) argument
2354 handle_timer_irq(struct hfc_multi *hc) argument
2531 ph_state_irq(struct hfc_multi *hc, u_char r_irq_statech) argument
2598 fifo_irq(struct hfc_multi *hc, int block) argument
2652 struct hfc_multi *hc = dev_id; local
2826 mode_hfcmulti(struct hfc_multi *hc, int ch, int protocol, int slot_tx, int bank_tx, int slot_rx, int bank_rx) argument
3145 hfcmulti_pcm(struct hfc_multi *hc, int ch, int slot_tx, int bank_tx, int slot_rx, int bank_rx) argument
3164 hfcmulti_conf(struct hfc_multi *hc, int ch, int num) argument
3188 struct hfc_multi *hc = dch->hw; local
3299 struct hfc_multi *hc = dch->hw; local
3415 struct hfc_multi *hc = bch->hw; local
3431 struct hfc_multi *hc = bch->hw; local
3530 struct hfc_multi *hc = bch->hw; local
3658 struct hfc_multi *hc = bch->hw; local
3694 struct hfc_multi *hc; local
3823 struct hfc_multi *hc = dch->hw; local
4015 open_dchannel(struct hfc_multi *hc, struct dchannel *dch, struct channel_req *rq) argument
4056 open_bchannel(struct hfc_multi *hc, struct dchannel *dch, struct channel_req *rq) argument
4092 struct hfc_multi *hc = dch->hw; local
4145 struct hfc_multi *hc = dch->hw; local
4203 struct hfc_multi *hc = priv; local
4218 init_card(struct hfc_multi *hc) argument
4315 setup_pci(struct hfc_multi *hc, struct pci_dev *pdev, const struct pci_device_id *ent) argument
4487 release_port(struct hfc_multi *hc, struct dchannel *dch) argument
4602 release_card(struct hfc_multi *hc) argument
4661 init_e1_port_hw(struct hfc_multi *hc, struct hm_map *m) argument
4770 init_e1_port(struct hfc_multi *hc, struct hm_map *m, int pt) argument
4844 init_multi_port(struct hfc_multi *hc, int pt) argument
4966 struct hfc_multi *hc; local
[all...]
H A Dhfcpci.c139 enable_hwirq(struct hfc_pci *hc) argument
141 hc->hw.int_m2 |= HFCPCI_IRQ_ENABLE;
142 Write_hfc(hc, HFCPCI_INT_M2, hc->hw.int_m2);
146 disable_hwirq(struct hfc_pci *hc) argument
148 hc->hw.int_m2 &= ~((u_char)HFCPCI_IRQ_ENABLE);
149 Write_hfc(hc, HFCPCI_INT_M2, hc->hw.int_m2);
156 release_io_hfcpci(struct hfc_pci *hc) argument
159 pci_write_config_word(hc
170 hfcpci_setmode(struct hfc_pci *hc) argument
193 reset_hfcpci(struct hfc_pci *hc) argument
293 struct hfc_pci *hc = from_timer(hc, t, hw.timer); local
307 Sel_BCS(struct hfc_pci *hc, int channel) argument
323 hfcpci_clear_fifo_rx(struct hfc_pci *hc, int fifo) argument
352 hfcpci_clear_fifo_tx(struct hfc_pci *hc, int fifo) argument
452 receive_dmsg(struct hfc_pci *hc) argument
600 struct hfc_pci *hc = bch->hw; local
662 hfcpci_fill_dfifo(struct hfc_pci *hc) argument
741 struct hfc_pci *hc = bch->hw; local
940 struct hfc_pci *hc = dch->hw; local
957 struct hfc_pci *hc = dch->hw; local
1035 struct hfc_pci *hc = dch->hw; local
1053 struct hfc_pci *hc = dch->hw; local
1143 struct hfc_pci *hc = dev_id; local
1239 struct hfc_pci *hc = bch->hw; local
1432 struct hfc_pci *hc = bch->hw; local
1507 struct hfc_pci *hc = bch->hw; local
1528 struct hfc_pci *hc = bch->hw; local
1577 struct hfc_pci *hc = dch->hw; local
1665 struct hfc_pci *hc = bch->hw; local
1708 inithfcpci(struct hfc_pci *hc) argument
1719 init_card(struct hfc_pci *hc) argument
1780 channel_ctrl(struct hfc_pci *hc, struct mISDN_ctrl_req *cq) argument
1878 open_dchannel(struct hfc_pci *hc, struct mISDNchannel *ch, struct channel_req *rq) argument
1930 open_bchannel(struct hfc_pci *hc, struct channel_req *rq) argument
1956 struct hfc_pci *hc = dch->hw; local
1992 setup_hw(struct hfc_pci *hc) argument
2057 release_card(struct hfc_pci *hc) argument
2274 struct hfc_pci *hc = dev_get_drvdata(dev); local
[all...]
H A Dhfc_multi.h151 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_cha
[all...]
/linux-master/drivers/acpi/
H A Dsbshc.c88 static inline int smb_hc_read(struct acpi_smb_hc *hc, u8 address, u8 *data) argument
90 return ec_read(hc->offset + address, data);
93 static inline int smb_hc_write(struct acpi_smb_hc *hc, u8 address, u8 data) argument
95 return ec_write(hc->offset + address, data);
98 static int wait_transaction_complete(struct acpi_smb_hc *hc, int timeout) argument
100 if (wait_event_timeout(hc->wait, hc->done, msecs_to_jiffies(timeout)))
105 static int acpi_smbus_transaction(struct acpi_smb_hc *hc, u8 protocol, argument
111 if (!hc) {
116 mutex_lock(&hc
162 acpi_smbus_read(struct acpi_smb_hc *hc, u8 protocol, u8 address, u8 command, u8 *data) argument
170 acpi_smbus_write(struct acpi_smb_hc *hc, u8 protocol, u8 address, u8 command, u8 *data, u8 length) argument
178 acpi_smbus_register_callback(struct acpi_smb_hc *hc, smbus_alarm_callback callback, void *context) argument
190 acpi_smbus_unregister_callback(struct acpi_smb_hc *hc) argument
204 struct acpi_smb_hc *hc = context; local
211 struct acpi_smb_hc *hc = context; local
249 struct acpi_smb_hc *hc; local
285 struct acpi_smb_hc *hc; local
[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.c88 struct acpi_smb_hc *hc; member in struct:acpi_sbs
332 result = acpi_smbus_read(sbs->hc, SMBUS_READ_WORD, ACPI_SBS_MANAGER,
344 result = acpi_smbus_read(battery->sbs->hc,
365 result = acpi_smbus_read(battery->sbs->hc,
381 return acpi_smbus_read(battery->sbs->hc, SMBUS_READ_WORD,
395 ret = acpi_smbus_read(sbs->hc, SMBUS_READ_WORD, ACPI_SBS_MANAGER,
402 ret = acpi_smbus_write(sbs->hc, SMBUS_WRITE_WORD,
409 ret = acpi_smbus_write(sbs->hc, SMBUS_WRITE_WORD, ACPI_SBS_BATTERY,
420 result = acpi_smbus_read(sbs->hc, SMBUS_READ_WORD, ACPI_SBS_CHARGER,
480 result = acpi_smbus_read(battery->sbs->hc, SMBUS_READ_WOR
[all...]
/linux-master/drivers/isdn/mISDN/
H A Dl1oip_core.c202 When the thread opened a socket, the hc->socket descriptor is set. Whenever a
203 packet shall be sent to the socket, the hc->socket must be checked whether not
204 NULL. To prevent change in socket descriptor, the hc->socket_lock must be used.
264 l1oip_socket_send(struct l1oip *hc, u8 localcodec, u8 channel, u32 chanmask, argument
278 if (time_before(hc->keep_tl.expires, jiffies + 5 * HZ) && !hc->shutdown)
279 mod_timer(&hc->keep_tl, jiffies + L1OIP_KEEPALIVE * HZ);
281 hc->keep_tl.expires = jiffies + L1OIP_KEEPALIVE * HZ;
287 if (!hc->sin_remote.sin_addr.s_addr || !hc
350 l1oip_socket_recv(struct l1oip *hc, u8 remotecodec, u8 channel, u16 timebase, u8 *buf, int len) argument
444 l1oip_socket_parse(struct l1oip *hc, struct sockaddr_in *sin, u8 *buf, int len) argument
634 struct l1oip *hc = (struct l1oip *)data; local
754 l1oip_socket_close(struct l1oip *hc) argument
779 l1oip_socket_open(struct l1oip *hc) argument
807 struct l1oip *hc = container_of(work, struct l1oip, workq); local
824 struct l1oip *hc = from_timer(hc, t, keep_tl); local
832 struct l1oip *hc = from_timer(hc, t, local
870 struct l1oip *hc = dch->hw; local
936 struct l1oip *hc = dch->hw; local
978 open_dchannel(struct l1oip *hc, struct dchannel *dch, struct channel_req *rq) argument
1005 open_bchannel(struct l1oip *hc, struct dchannel *dch, struct channel_req *rq) argument
1035 struct l1oip *hc = dch->hw; local
1089 struct l1oip *hc = bch->hw; local
1233 release_card(struct l1oip *hc) argument
1273 struct l1oip *hc, *next; local
1286 init_card(struct l1oip *hc, int pri, int bundle) argument
1438 struct l1oip *hc; local
[all...]
/linux-master/drivers/usb/host/
H A Dohci-mem.c77 dma_to_td (struct ohci_hcd *hc, dma_addr_t td_dma) argument
82 td = hc->td_hash [TD_HASH_FUNC(td_dma)];
90 td_alloc (struct ohci_hcd *hc, gfp_t mem_flags) argument
94 struct usb_hcd *hcd = ohci_to_hcd(hc);
100 td = dma_pool_zalloc(hc->td_cache, mem_flags, &dma);
102 /* in case hc fetches it, make it look dead */
103 td->hwNextTD = cpu_to_hc32 (hc, dma);
111 td_free (struct ohci_hcd *hc, struct td *td) argument
113 struct td **prev = &hc->td_hash [TD_HASH_FUNC (td->td_dma)];
114 struct usb_hcd *hcd = ohci_to_hcd(hc);
134 ed_alloc(struct ohci_hcd *hc, gfp_t mem_flags) argument
153 ed_free(struct ohci_hcd *hc, struct ed *ed) argument
[all...]
H A Dohci.h38 __hc32 hwHeadP; /* head of TD list (hc r/w) */
58 #define ED_UNLINK 0x01 /* being unlinked from hc */
59 #define ED_OPER 0x02 /* IS linked to hc */
372 * hcd adds to schedule for a live hc any time, but removals finish
404 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...]
/linux-master/drivers/md/
H A Ddm-ioctl.c94 struct hash_cell *hc = container_of(n, struct hash_cell, name_node); local
97 c = strcmp(hc->name, str);
99 dm_get(hc->md);
100 return hc;
113 struct hash_cell *hc = container_of(n, struct hash_cell, uuid_node); local
116 c = strcmp(hc->uuid, str);
118 dm_get(hc->md);
119 return hc;
127 static void __unlink_name(struct hash_cell *hc) argument
129 if (hc
135 __unlink_uuid(struct hash_cell *hc) argument
155 struct hash_cell *hc = container_of(*n, struct hash_cell, name_node); local
180 struct hash_cell *hc = container_of(*n, struct hash_cell, uuid_node); local
196 struct hash_cell *hc; local
219 struct hash_cell *hc; local
249 free_cell(struct hash_cell *hc) argument
264 struct hash_cell *cell, *hc; local
308 __hash_remove(struct hash_cell *hc) argument
340 struct hash_cell *hc; local
394 __set_cell_uuid(struct hash_cell *hc, char *new_uuid) argument
407 __change_cell_name(struct hash_cell *hc, char *new_name) argument
430 struct hash_cell *hc; local
567 filter_device(struct hash_cell *hc, const char *pfx_name, const char *pfx_uuid) argument
594 struct hash_cell *hc; local
791 struct hash_cell *hc; local
916 struct hash_cell *hc = NULL; local
965 struct hash_cell *hc; local
979 struct hash_cell *hc; local
1153 struct hash_cell *hc; local
1499 struct hash_cell *hc; local
1585 struct hash_cell *hc; local
2207 struct hash_cell *hc; local
[all...]
/linux-master/net/dccp/
H A Dtrace.h38 struct ccid3_hc_tx_sock *hc = NULL;
41 hc = ccid3_hc_tx_sk(sk);
53 if (hc) {
54 __entry->tx_s = hc->tx_s;
55 __entry->tx_rtt = hc->tx_rtt;
56 __entry->tx_p = hc->tx_p;
57 __entry->tx_x_calc = hc->tx_x_calc;
58 __entry->tx_x_recv = hc->tx_x_recv >> 6;
59 __entry->tx_x = hc->tx_x >> 6;
60 __entry->tx_t_ipi = hc
[all...]
/linux-master/arch/x86/kernel/
H A Dhpet.c207 struct hpet_channel *hc = hpet_base.channels + i; local
210 hd.hd_irq[i] = hc->irq;
212 switch (hc->mode) {
215 hc->mode = HPET_MODE_DEVICE;
219 hpet_reserve_timer(&hd, hc->num);
232 struct hpet_channel *hc = hpet_base.channels + i; local
235 if (hc->mode == HPET_MODE_UNUSED) {
236 hc->mode = HPET_MODE_DEVICE;
398 static void hpet_init_clockevent(struct hpet_channel *hc, unsigned int rating) argument
400 struct clock_event_device *evt = &hc
417 hpet_legacy_clockevent_register(struct hpet_channel *hc) argument
475 struct hpet_channel *hc = irq_data_get_irq_handler_data(data); local
485 struct hpet_channel *hc = irq_data_get_irq_handler_data(data); local
493 hpet_msi_write(struct hpet_channel *hc, struct msi_msg *msg) argument
595 hpet_assign_irq(struct irq_domain *domain, struct hpet_channel *hc, int dev_num) argument
611 struct hpet_channel *hc = clockevent_to_channel(evt); local
624 struct hpet_channel *hc = data; local
636 hpet_setup_msi_irq(struct hpet_channel *hc) argument
653 init_one_hpet_msi_clockevent(struct hpet_channel *hc, int cpu) argument
673 struct hpet_channel *hc = hpet_base.channels + i; local
685 struct hpet_channel *hc = hpet_get_unused_clockevent(); local
694 struct hpet_channel *hc = per_cpu(cpu_hpet_channel, cpu); local
721 struct hpet_channel *hc = hpet_base.channels + i; local
1004 struct hpet_channel *hc; local
[all...]
/linux-master/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);
H A Dheartbeat.c2244 void o2hb_setup_callback(struct o2hb_callback_func *hc, argument
2250 INIT_LIST_HEAD(&hc->hc_item);
2251 hc->hc_func = func;
2252 hc->hc_data = data;
2253 hc->hc_priority = priority;
2254 hc->hc_type = type;
2255 hc->hc_magic = O2HB_CB_MAGIC;
2400 struct o2hb_callback_func *hc)
2406 BUG_ON(hc->hc_magic != O2HB_CB_MAGIC);
2407 BUG_ON(!list_empty(&hc
2399 o2hb_register_callback(const char *region_uuid, struct o2hb_callback_func *hc) argument
2443 o2hb_unregister_callback(const char *region_uuid, struct o2hb_callback_func *hc) argument
[all...]
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dkvm_pv_test.c60 #define TEST_HCALL(hc) { .nr = hc, .name = #hc }
62 #define PR_HCALL(hc) ucall(UCALL_PR_HCALL, 1, hc)
74 static void test_hcall(struct hcall_data *hc) argument
78 PR_HCALL(hc);
79 r = kvm_hypercall(hc->nr, 0, 0, 0, 0);
107 struct hcall_data *hc = (struct hcall_data *)uc->args[0]; local
109 pr_info("testing hcall: %s (%lu)\n", hc
[all...]
/linux-master/arch/x86/kvm/
H A Dhyperv.c1882 static int kvm_hv_get_hc_data(struct kvm *kvm, struct kvm_hv_hcall *hc, argument
1893 if (hc->fast) {
1898 if (orig_cnt > 2 * HV_HYPERCALL_MAX_XMM_REGISTERS - hc->consumed_xmm_halves)
1902 j = i + hc->consumed_xmm_halves;
1904 data[i] = sse128_hi(hc->xmm[j / 2]);
1906 data[i] = sse128_lo(hc->xmm[j / 2]);
1911 return kvm_read_guest(kvm, hc->ingpa + hc->data_offset, data,
1915 static u64 kvm_get_sparse_vp_set(struct kvm *kvm, struct kvm_hv_hcall *hc, argument
1918 if (hc
1926 kvm_hv_get_tlb_flush_entries(struct kvm *kvm, struct kvm_hv_hcall *hc, u64 entries[]) argument
2001 kvm_hv_flush_tlb(struct kvm_vcpu *vcpu, struct kvm_hv_hcall *hc) argument
2217 kvm_hv_send_ipi(struct kvm_vcpu *vcpu, struct kvm_hv_hcall *hc) argument
2404 kvm_hvcall_signal_event(struct kvm_vcpu *vcpu, struct kvm_hv_hcall *hc) argument
2445 is_xmm_fast_hypercall(struct kvm_hv_hcall *hc) argument
2459 kvm_hv_hypercall_read_xmm(struct kvm_hv_hcall *hc) argument
2522 struct kvm_hv_hcall hc; local
[all...]
/linux-master/drivers/scsi/sym53c8xx_2/
H A Dsym_malloc.c221 int hc = VTOB_HASH_CODE(vaddr); local
222 vbp->next = mp->vtob[hc];
223 mp->vtob[hc] = vbp;
236 int hc = VTOB_HASH_CODE(m); local
238 vbpp = &mp->vtob[hc];
348 int hc = VTOB_HASH_CODE(m); local
356 vp = mp->vtob[hc];
/linux-master/drivers/media/platform/amphion/
H A Dvpu_malone.c349 struct vpu_dec_ctrl *hc; local
360 hc = shared->priv;
390 hc->codec_param = rpc->virt + offset;
395 hc->jpg = rpc->virt + offset;
400 hc->seq_mem = rpc->virt + offset;
405 hc->pic_mem = rpc->virt + offset;
410 hc->gop_mem = rpc->virt + offset;
415 hc->qmeter_mem = rpc->virt + offset;
421 hc->dbglog_mem = rpc->virt + offset;
465 struct vpu_dec_ctrl *hc local
497 struct vpu_dec_ctrl *hc = shared->priv; local
515 struct vpu_dec_ctrl *hc = shared->priv; local
545 struct vpu_dec_ctrl *hc = shared->priv; local
644 struct vpu_dec_ctrl *hc = shared->priv; local
1098 struct vpu_dec_ctrl *hc = shared->priv; local
1616 struct vpu_dec_ctrl *hc = shared->priv; local
[all...]
/linux-master/fs/gfs2/
H A Ddir.c339 __be64 *hc; local
343 hc = ip->i_hash_cache;
344 if (hc)
345 return hc;
354 hc = kmalloc(hsize, GFP_NOFS | __GFP_NOWARN);
355 if (hc == NULL)
356 hc = __vmalloc(hsize, GFP_NOFS);
358 if (hc == NULL)
361 ret = gfs2_dir_read_data(ip, hc, hsize);
363 kvfree(hc);
386 __be64 *hc; local
1152 __be64 *hc; local
[all...]
/linux-master/drivers/usb/dwc2/
H A Dhcd.h575 static inline bool dbg_hc(struct dwc2_host_chan *hc) { return true; } argument
580 static inline bool dbg_hc(struct dwc2_host_chan *hc) argument
582 return hc->ep_type == USB_ENDPOINT_XFER_BULK ||
583 hc->ep_type == USB_ENDPOINT_XFER_CONTROL;
/linux-master/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) argument
865 return (base + SATAHC0_REG_BASE + (hc * MV_SATAHC_REG_SZ));
1259 int start_port, num_ports, p, start_hc, num_hcs, hc; local
1276 for (hc = start_hc; hc < start_hc + num_hcs; hc++) {
1277 hc_base = mv_hc_base(mmio_base, hc);
3148 mv5_reset_one_hc(struct mv_host_priv *hpriv, void __iomem *mmio, unsigned int hc) argument
3170 unsigned int hc, port; local
3888 int rc = 0, n_hc, port, hc; local
[all...]

Completed in 346 milliseconds

12