Home
last modified time | relevance | path

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

/drivers/tty/
Dn_tty.c110 struct n_tty_data *ldata = tty->disc_data; in tty_put_user() local
112 tty_audit_add_data(tty, &x, 1, ldata->icanon); in tty_put_user()
128 struct n_tty_data *ldata = tty->disc_data; in n_tty_set_room() local
137 left = N_TTY_BUF_SIZE - ldata->read_cnt * 3 - 1; in n_tty_set_room()
139 left = N_TTY_BUF_SIZE - ldata->read_cnt - 1; in n_tty_set_room()
148 left = ldata->icanon && !ldata->canon_data; in n_tty_set_room()
166 static void put_tty_queue_nolock(unsigned char c, struct n_tty_data *ldata) in put_tty_queue_nolock() argument
168 if (ldata->read_cnt < N_TTY_BUF_SIZE) { in put_tty_queue_nolock()
169 ldata->read_buf[ldata->read_head] = c; in put_tty_queue_nolock()
170 ldata->read_head = (ldata->read_head + 1) & (N_TTY_BUF_SIZE-1); in put_tty_queue_nolock()
[all …]
/drivers/rtc/
Drtc-pl031.c97 struct pl031_local *ldata = dev_get_drvdata(dev); in pl031_alarm_irq_enable() local
101 writel(RTC_BIT_AI, ldata->base + RTC_ICR); in pl031_alarm_irq_enable()
103 imsc = readl(ldata->base + RTC_IMSC); in pl031_alarm_irq_enable()
106 writel(imsc | RTC_BIT_AI, ldata->base + RTC_IMSC); in pl031_alarm_irq_enable()
108 writel(imsc & ~RTC_BIT_AI, ldata->base + RTC_IMSC); in pl031_alarm_irq_enable()
171 struct pl031_local *ldata = dev_get_drvdata(dev); in pl031_stv2_read_time() local
173 pl031_stv2_time_to_tm(readl(ldata->base + RTC_DR), in pl031_stv2_read_time()
174 readl(ldata->base + RTC_YDR), tm); in pl031_stv2_read_time()
183 struct pl031_local *ldata = dev_get_drvdata(dev); in pl031_stv2_set_time() local
188 writel(bcd_year, ldata->base + RTC_YLR); in pl031_stv2_set_time()
[all …]
/drivers/isdn/capi/
Dkcapi.c1023 capiloaddata ldata; in old_capi_manufacturer() local
1117 ldata.firmware.user = 1; in old_capi_manufacturer()
1118 ldata.firmware.data = ldef.t4file.data; in old_capi_manufacturer()
1119 ldata.firmware.len = ldef.t4file.len; in old_capi_manufacturer()
1120 ldata.configuration.user = 1; in old_capi_manufacturer()
1121 ldata.configuration.data = ldef.t4config.data; in old_capi_manufacturer()
1122 ldata.configuration.len = ldef.t4config.len; in old_capi_manufacturer()
1131 retval = ctr->load_firmware(ctr, &ldata); in old_capi_manufacturer()
/drivers/media/rc/
Dite-cir.c181 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/
Dvc032x.c2974 u8 ldata, mdata, hdata; in read_sensor_register() local
2993 ldata = gspca_dev->usb_buf[0]; in read_sensor_register()
2998 if (hdata != 0 && mdata != 0 && ldata != 0) in read_sensor_register()
3000 hdata, mdata, ldata); in read_sensor_register()
/drivers/scsi/ibmvscsi/
Dibmvstgt.c90 return (struct vio_port *) target->ldata; in target_to_port()
849 target->ldata = vport; in ibmvstgt_probe()
898 struct vio_port *vport = target->ldata; in ibmvstgt_remove()
/drivers/video/
Dtgafb.c1016 u32 fdata, ldata; local
1019 ldata = ((width & 2047) - 1) | align;
1025 __raw_writel(ldata, fb_base + pos + j*Bpp);
/drivers/scsi/lpfc/
Dlpfc_sli.c6675 uint32_t word0, ldata; in lpfc_sli_issue_mbox_s3() local
6910 ldata = *((uint32_t *)mbx); in lpfc_sli_issue_mbox_s3()
6912 writel(ldata, to_slim); in lpfc_sli_issue_mbox_s3()
9203 uint32_t ldata; in lpfc_sli_pcimem_bcopy() local
9207 ldata = *src; in lpfc_sli_pcimem_bcopy()
9208 ldata = le32_to_cpu(ldata); in lpfc_sli_pcimem_bcopy()
9209 *dest = ldata; in lpfc_sli_pcimem_bcopy()
9231 uint32_t ldata; in lpfc_sli_bemem_bcopy() local
9235 ldata = *src; in lpfc_sli_bemem_bcopy()
9236 ldata = be32_to_cpu(ldata); in lpfc_sli_bemem_bcopy()
[all …]