Searched refs:ldata (Results 1 – 7 of 7) sorted by relevance
/drivers/tty/ |
D | n_tty.c | 133 static inline size_t read_cnt(struct n_tty_data *ldata) in read_cnt() argument 135 return ldata->read_head - ldata->read_tail; in read_cnt() 138 static inline unsigned char read_buf(struct n_tty_data *ldata, size_t i) in read_buf() argument 140 return ldata->read_buf[i & (N_TTY_BUF_SIZE - 1)]; in read_buf() 143 static inline unsigned char *read_buf_addr(struct n_tty_data *ldata, size_t i) in read_buf_addr() argument 145 return &ldata->read_buf[i & (N_TTY_BUF_SIZE - 1)]; in read_buf_addr() 148 static inline unsigned char echo_buf(struct n_tty_data *ldata, size_t i) in echo_buf() argument 151 return ldata->echo_buf[i & (N_TTY_BUF_SIZE - 1)]; in echo_buf() 154 static inline unsigned char *echo_buf_addr(struct n_tty_data *ldata, size_t i) in echo_buf_addr() argument 156 return &ldata->echo_buf[i & (N_TTY_BUF_SIZE - 1)]; in echo_buf_addr() [all …]
|
/drivers/rtc/ |
D | rtc-pl031.c | 98 struct pl031_local *ldata = dev_get_drvdata(dev); in pl031_alarm_irq_enable() local 102 writel(RTC_BIT_AI, ldata->base + RTC_ICR); in pl031_alarm_irq_enable() 104 imsc = readl(ldata->base + RTC_IMSC); in pl031_alarm_irq_enable() 107 writel(imsc | RTC_BIT_AI, ldata->base + RTC_IMSC); in pl031_alarm_irq_enable() 109 writel(imsc & ~RTC_BIT_AI, ldata->base + RTC_IMSC); in pl031_alarm_irq_enable() 172 struct pl031_local *ldata = dev_get_drvdata(dev); in pl031_stv2_read_time() local 174 pl031_stv2_time_to_tm(readl(ldata->base + RTC_DR), in pl031_stv2_read_time() 175 readl(ldata->base + RTC_YDR), tm); in pl031_stv2_read_time() 184 struct pl031_local *ldata = dev_get_drvdata(dev); in pl031_stv2_set_time() local 189 writel(bcd_year, ldata->base + RTC_YLR); in pl031_stv2_set_time() [all …]
|
/drivers/isdn/capi/ |
D | kcapi.c | 1028 capiloaddata ldata; in old_capi_manufacturer() local 1123 ldata.firmware.user = 1; in old_capi_manufacturer() 1124 ldata.firmware.data = ldef.t4file.data; in old_capi_manufacturer() 1125 ldata.firmware.len = ldef.t4file.len; in old_capi_manufacturer() 1126 ldata.configuration.user = 1; in old_capi_manufacturer() 1127 ldata.configuration.data = ldef.t4config.data; in old_capi_manufacturer() 1128 ldata.configuration.len = ldef.t4config.len; in old_capi_manufacturer() 1137 retval = ctr->load_firmware(ctr, &ldata); in old_capi_manufacturer()
|
/drivers/media/rc/ |
D | ite-cir.c | 181 unsigned long *ldata; in ite_decode_bytes() local 189 ldata = (unsigned long *)data; in ite_decode_bytes() 191 next_one = find_next_bit_le(ldata, size, 0); in ite_decode_bytes() 200 next_zero = find_next_zero_bit_le(ldata, size, next_one + 1); in ite_decode_bytes() 207 find_next_bit_le(ldata, in ite_decode_bytes()
|
/drivers/media/usb/gspca/ |
D | vc032x.c | 2979 u8 ldata, mdata, hdata; in read_sensor_register() local 2998 ldata = gspca_dev->usb_buf[0]; in read_sensor_register() 3003 if (hdata != 0 && mdata != 0 && ldata != 0) in read_sensor_register() 3005 hdata, mdata, ldata); in read_sensor_register()
|
/drivers/video/fbdev/ |
D | tgafb.c | 1013 u32 fdata, ldata; local 1016 ldata = ((width & 2047) - 1) | align; 1022 __raw_writel(ldata, fb_base + pos + j*Bpp);
|
/drivers/scsi/lpfc/ |
D | lpfc_sli.c | 6918 uint32_t word0, ldata; in lpfc_sli_issue_mbox_s3() local 7153 ldata = *((uint32_t *)mbx); in lpfc_sli_issue_mbox_s3() 7155 writel(ldata, to_slim); in lpfc_sli_issue_mbox_s3() 9492 uint32_t ldata; in lpfc_sli_pcimem_bcopy() local 9496 ldata = *src; in lpfc_sli_pcimem_bcopy() 9497 ldata = le32_to_cpu(ldata); in lpfc_sli_pcimem_bcopy() 9498 *dest = ldata; in lpfc_sli_pcimem_bcopy() 9520 uint32_t ldata; in lpfc_sli_bemem_bcopy() local 9524 ldata = *src; in lpfc_sli_bemem_bcopy() 9525 ldata = be32_to_cpu(ldata); in lpfc_sli_bemem_bcopy() [all …]
|