Searched refs:td_info (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/platform/x86/
H A Dintel_mid_thermal.c179 struct thermal_device_info *td_info = tzd->devdata; mid_read_temp() local
186 addr = td_info->chnl_addr; mid_read_temp()
216 ret = adc_to_temp(td_info->direct, adc_val, &curr_temp); mid_read_temp()
218 *temp = td_info->curr_temp = curr_temp; mid_read_temp()
405 struct thermal_device_info *td_info = initialize_sensor() local
408 if (!td_info) initialize_sensor()
412 td_info->chnl_addr = ADC_DATA_START_ADDR + 2 * (channel_index + index); initialize_sensor()
415 td_info->direct = 1; initialize_sensor()
416 return td_info; initialize_sensor()
498 struct thermal_device_info *td_info = initialize_sensor(i); mid_thermal_probe() local
500 if (!td_info) { mid_thermal_probe()
505 0, 0, td_info, &tzd_ops, NULL, 0, 0); mid_thermal_probe()
507 kfree(td_info); mid_thermal_probe()
/linux-4.1.27/drivers/staging/vt6655/
H A Drxtx.c1034 PDEVICE_TD_INFO td_info = pHeadTD->pTDInfo; s_cbFillTxBufHead() local
1035 struct sk_buff *skb = td_info->skb; s_cbFillTxBufHead()
1039 (struct vnt_tx_fifo_head *)td_info->buf; s_cbFillTxBufHead()
1182 td_info->mic_hdr = pMICHDR; s_cbFillTxBufHead()
1281 PDEVICE_TD_INFO td_info = head_td->pTDInfo; vnt_generate_fifo_header() local
1288 (struct vnt_tx_fifo_head *)td_info->buf; vnt_generate_fifo_header()
1409 tx_key, skb, tx_body_size, td_info->mic_hdr); vnt_generate_fifo_header()
/linux-4.1.27/drivers/net/ethernet/via/
H A Dvia-velocity.c1764 struct velocity_td_info *td_info = &(vptr->tx.infos[q][n]); velocity_free_td_ring_entry() local
1767 if (td_info == NULL) velocity_free_td_ring_entry()
1770 if (td_info->skb) { velocity_free_td_ring_entry()
1771 for (i = 0; i < td_info->nskb_dma; i++) { velocity_free_td_ring_entry()
1772 if (td_info->skb_dma[i]) { velocity_free_td_ring_entry()
1773 dma_unmap_single(vptr->dev, td_info->skb_dma[i], velocity_free_td_ring_entry()
1774 td_info->skb->len, DMA_TO_DEVICE); velocity_free_td_ring_entry()
1775 td_info->skb_dma[i] = 0; velocity_free_td_ring_entry()
1778 dev_kfree_skb(td_info->skb); velocity_free_td_ring_entry()
1779 td_info->skb = NULL; velocity_free_td_ring_entry()

Completed in 229 milliseconds