Searched refs:hd_info (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/block/
H A Dhd.c129 static struct hd_i_struct hd_info[] = { HD_TYPE }; variable in typeref:struct:hd_i_struct
130 static int NR_HD = ARRAY_SIZE(hd_info);
132 static struct hd_i_struct hd_info[MAX_HD]; variable in typeref:struct:hd_i_struct
182 if (hd_info[0].head != 0) hd_setup()
184 hd_info[hdind].head = ints[2]; hd_setup()
185 hd_info[hdind].sect = ints[3]; hd_setup()
186 hd_info[hdind].cyl = ints[1]; hd_setup()
187 hd_info[hdind].wpcom = 0; hd_setup()
188 hd_info[hdind].lzone = ints[1]; hd_setup()
189 hd_info[hdind].ctl = (ints[2] > 8 ? 8 : 0); hd_setup()
358 outb_p(hd_info[0].ctl & 0x0f, HD_CMD); reset_controller()
381 struct hd_i_struct *disk = &hd_info[i]; reset_hd()
737 struct hd_i_struct *p = &hd_info[drive]; hd_init()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dsdio.c1509 struct brcmf_sdio_hdrinfo *hd_info) brcmf_sdio_hdpack()
1514 brcmf_sdio_update_hwhdr(header, hd_info->len); brcmf_sdio_hdpack()
1518 hdrval = (hd_info->len - hdr_offset) | (hd_info->lastfrm << 24); brcmf_sdio_hdpack()
1520 hdrval = (u16)hd_info->tail_pad << 16; brcmf_sdio_hdpack()
1525 hdrval = hd_info->seq_num; brcmf_sdio_hdpack()
1526 hdrval |= (hd_info->channel << SDPCM_CHANNEL_SHIFT) & brcmf_sdio_hdpack()
1528 hdrval |= (hd_info->dat_offset << SDPCM_DOFFSET_SHIFT) & brcmf_sdio_hdpack()
2221 struct brcmf_sdio_hdrinfo hd_info = {0}; brcmf_sdio_txpkt_prep() local
2244 hd_info.len = pkt_next->len; skb_queue_walk()
2245 hd_info.lastfrm = skb_queue_is_last(pktq, pkt_next); skb_queue_walk()
2251 hd_info.tail_pad = (u16)ret; skb_queue_walk()
2255 hd_info.channel = chan; skb_queue_walk()
2256 hd_info.dat_offset = head_pad + bus->tx_hdrlen; skb_queue_walk()
2257 hd_info.seq_num = txseq++; skb_queue_walk()
2260 brcmf_sdio_hdpack(bus, pkt_next->data, &hd_info); skb_queue_walk()
2265 brcmf_dbg_hex_dump(true, pkt_next->data, hd_info.len, skb_queue_walk()
2425 struct brcmf_sdio_hdrinfo hd_info = {0}; brcmf_sdio_tx_ctrlframe() local
2453 hd_info.len = len - pad; brcmf_sdio_tx_ctrlframe()
2454 hd_info.channel = SDPCM_CONTROL_CHANNEL; brcmf_sdio_tx_ctrlframe()
2455 hd_info.dat_offset = doff + bus->tx_hdrlen; brcmf_sdio_tx_ctrlframe()
2456 hd_info.seq_num = bus->tx_seq; brcmf_sdio_tx_ctrlframe()
2457 hd_info.lastfrm = true; brcmf_sdio_tx_ctrlframe()
2458 hd_info.tail_pad = pad; brcmf_sdio_tx_ctrlframe()
2459 brcmf_sdio_hdpack(bus, frame, &hd_info); brcmf_sdio_tx_ctrlframe()
1508 brcmf_sdio_hdpack(struct brcmf_sdio *bus, u8 *header, struct brcmf_sdio_hdrinfo *hd_info) brcmf_sdio_hdpack() argument

Completed in 129 milliseconds