Home
last modified time | relevance | path

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

/linux-5.19.10/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 …]
/linux-5.19.10/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 …]
/linux-5.19.10/arch/x86/kernel/ !
Dkexec-bzimage64.c334 struct bzimage64_data *ldata; in bzImage64_load() local
497 ldata = kzalloc(sizeof(struct bzimage64_data), GFP_KERNEL); in bzImage64_load()
498 if (!ldata) { in bzImage64_load()
508 ldata->bootparams_buf = params; in bzImage64_load()
509 return ldata; in bzImage64_load()
519 struct bzimage64_data *ldata = loader_data; in bzImage64_cleanup() local
521 if (!ldata) in bzImage64_cleanup()
524 kfree(ldata->bootparams_buf); in bzImage64_cleanup()
525 ldata->bootparams_buf = NULL; in bzImage64_cleanup()
/linux-5.19.10/arch/alpha/kernel/ !
Derr_common.c34 unsigned long *ldata = data; in mchk_dump_mem() local
37 for (i = 0; (i * sizeof(*ldata)) < length; i++) { in mchk_dump_mem()
42 (unsigned)(i * sizeof(*ldata)), ldata[i], in mchk_dump_mem()
/linux-5.19.10/sound/soc/meson/ !
Dmeson-card-utils.c47 void **ldata; in meson_card_reallocate_links() local
55 ldata = krealloc(priv->link_data, in meson_card_reallocate_links()
58 if (!ldata) in meson_card_reallocate_links()
62 priv->link_data = ldata; in meson_card_reallocate_links()
/linux-5.19.10/drivers/scsi/ibmvscsi_tgt/ !
Dlibsrp.h94 void *ldata; member
Dibmvscsi_tgt.c3194 struct scsi_info *vscsi = target->ldata; in ibmvscsis_rdma()
3476 vscsi->target.ldata = vscsi; in ibmvscsis_probe()
/linux-5.19.10/kernel/ !
Dkexec_file.c194 void *ldata; in kimage_file_prepare_segments() local
249 ldata = arch_kexec_kernel_image_load(image); in kimage_file_prepare_segments()
251 if (IS_ERR(ldata)) { in kimage_file_prepare_segments()
252 ret = PTR_ERR(ldata); in kimage_file_prepare_segments()
256 image->image_loader_data = ldata; in kimage_file_prepare_segments()
/linux-5.19.10/drivers/media/rc/ !
Dite-cir.c137 unsigned long *ldata; in ite_decode_bytes() local
144 ldata = (unsigned long *)data; in ite_decode_bytes()
146 next_one = find_next_bit_le(ldata, size, 0); in ite_decode_bytes()
154 next_zero = find_next_zero_bit_le(ldata, size, next_one + 1); in ite_decode_bytes()
160 next_one = find_next_bit_le(ldata, size, next_zero + 1); in ite_decode_bytes()
/linux-5.19.10/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()
/linux-5.19.10/drivers/video/fbdev/ !
Dtgafb.c1014 u32 fdata, ldata; local
1017 ldata = ((width & 2047) - 1) | align;
1023 __raw_writel(ldata, fb_base + pos + j*Bpp);
/linux-5.19.10/Documentation/isdn/ !
Dinterface_capi.rst111 ``int (*load_firmware)(struct capi_ctr *ctrlr, capiloaddata *ldata)``
/linux-5.19.10/drivers/scsi/lpfc/ !
Dlpfc_sli.c9114 uint32_t word0, ldata; in lpfc_sli_issue_mbox_s3() local
9350 ldata = *((uint32_t *)mbx); in lpfc_sli_issue_mbox_s3()
9352 writel(ldata, to_slim); in lpfc_sli_issue_mbox_s3()
11830 uint32_t ldata; in lpfc_sli_pcimem_bcopy() local
11834 ldata = *src; in lpfc_sli_pcimem_bcopy()
11835 ldata = le32_to_cpu(ldata); in lpfc_sli_pcimem_bcopy()
11836 *dest = ldata; in lpfc_sli_pcimem_bcopy()
11858 uint32_t ldata; in lpfc_sli_bemem_bcopy() local
11862 ldata = *src; in lpfc_sli_bemem_bcopy()
11863 ldata = be32_to_cpu(ldata); in lpfc_sli_bemem_bcopy()
[all …]