Home
last modified time | relevance | path

Searched refs:ldata (Results 1 – 8 of 8) sorted by relevance

/drivers/tty/
Dn_tty.c132 static inline size_t read_cnt(struct n_tty_data *ldata) in read_cnt() argument
134 return ldata->read_head - ldata->read_tail; in read_cnt()
137 static inline unsigned char read_buf(struct n_tty_data *ldata, size_t i) in read_buf() argument
139 return ldata->read_buf[i & (N_TTY_BUF_SIZE - 1)]; in read_buf()
142 static inline unsigned char *read_buf_addr(struct n_tty_data *ldata, size_t i) in read_buf_addr() argument
144 return &ldata->read_buf[i & (N_TTY_BUF_SIZE - 1)]; in read_buf_addr()
147 static inline unsigned char echo_buf(struct n_tty_data *ldata, size_t i) in echo_buf() argument
150 return ldata->echo_buf[i & (N_TTY_BUF_SIZE - 1)]; in echo_buf()
153 static inline unsigned char *echo_buf_addr(struct n_tty_data *ldata, size_t i) in echo_buf_addr() argument
155 return &ldata->echo_buf[i & (N_TTY_BUF_SIZE - 1)]; in echo_buf_addr()
[all …]
/drivers/rtc/
Drtc-pl031.c96 struct pl031_local *ldata = dev_get_drvdata(dev); in pl031_alarm_irq_enable() local
100 writel(RTC_BIT_AI, ldata->base + RTC_ICR); in pl031_alarm_irq_enable()
102 imsc = readl(ldata->base + RTC_IMSC); in pl031_alarm_irq_enable()
105 writel(imsc | RTC_BIT_AI, ldata->base + RTC_IMSC); in pl031_alarm_irq_enable()
107 writel(imsc & ~RTC_BIT_AI, ldata->base + RTC_IMSC); in pl031_alarm_irq_enable()
168 struct pl031_local *ldata = dev_get_drvdata(dev); in pl031_stv2_read_time() local
170 pl031_stv2_time_to_tm(readl(ldata->base + RTC_DR), in pl031_stv2_read_time()
171 readl(ldata->base + RTC_YDR), tm); in pl031_stv2_read_time()
180 struct pl031_local *ldata = dev_get_drvdata(dev); in pl031_stv2_set_time() local
185 writel(bcd_year, ldata->base + RTC_YLR); in pl031_stv2_set_time()
[all …]
/drivers/scsi/ibmvscsi_tgt/
Dlibsrp.h94 void *ldata; member
Dibmvscsi_tgt.c3205 struct scsi_info *vscsi = target->ldata; in ibmvscsis_rdma()
3487 vscsi->target.ldata = vscsi; in ibmvscsis_probe()
/drivers/media/rc/
Dite-cir.c165 unsigned long *ldata; in ite_decode_bytes() local
173 ldata = (unsigned long *)data; in ite_decode_bytes()
175 next_one = find_next_bit_le(ldata, size, 0); in ite_decode_bytes()
184 next_zero = find_next_zero_bit_le(ldata, size, next_one + 1); in ite_decode_bytes()
191 find_next_bit_le(ldata, in ite_decode_bytes()
/drivers/media/usb/gspca/
Dvc032x.c2967 u8 ldata, mdata, hdata; in read_sensor_register() local
2986 ldata = gspca_dev->usb_buf[0]; in read_sensor_register()
2991 if (hdata != 0 && mdata != 0 && ldata != 0) in read_sensor_register()
2993 hdata, mdata, ldata); in read_sensor_register()
/drivers/video/fbdev/
Dtgafb.c1018 u32 fdata, ldata; local
1021 ldata = ((width & 2047) - 1) | align;
1027 __raw_writel(ldata, fb_base + pos + j*Bpp);
/drivers/scsi/lpfc/
Dlpfc_sli.c8252 uint32_t word0, ldata; in lpfc_sli_issue_mbox_s3() local
8488 ldata = *((uint32_t *)mbx); in lpfc_sli_issue_mbox_s3()
8490 writel(ldata, to_slim); in lpfc_sli_issue_mbox_s3()
11100 uint32_t ldata; in lpfc_sli_pcimem_bcopy() local
11104 ldata = *src; in lpfc_sli_pcimem_bcopy()
11105 ldata = le32_to_cpu(ldata); in lpfc_sli_pcimem_bcopy()
11106 *dest = ldata; in lpfc_sli_pcimem_bcopy()
11128 uint32_t ldata; in lpfc_sli_bemem_bcopy() local
11132 ldata = *src; in lpfc_sli_bemem_bcopy()
11133 ldata = be32_to_cpu(ldata); in lpfc_sli_bemem_bcopy()
[all …]