Home
last modified time | relevance | path

Searched refs:da (Results 1 – 25 of 274) sorted by relevance

1234567891011

/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Ddynack.c125 struct ath_dynack *da = &ah->dynack; in ath_dynack_compute_ackto() local
129 list_for_each_entry(an, &da->nodes, list) in ath_dynack_compute_ackto()
133 if (to && da->ackto != to) { in ath_dynack_compute_ackto()
135 da->ackto = to; in ath_dynack_compute_ackto()
147 struct ath_dynack *da = &ah->dynack; in ath_dynack_compute_to() local
157 while (da->st_rbf.h_rb != da->st_rbf.t_rb && in ath_dynack_compute_to()
158 da->ack_rbf.h_rb != da->ack_rbf.t_rb) { in ath_dynack_compute_to()
159 ack_ts = da->ack_rbf.tstamp[da->ack_rbf.h_rb]; in ath_dynack_compute_to()
160 st_ts = &da->st_rbf.ts[da->st_rbf.h_rb]; in ath_dynack_compute_to()
161 dst = da->st_rbf.addr[da->st_rbf.h_rb].h_dest; in ath_dynack_compute_to()
[all …]
/linux-6.1.9/fs/nfsd/
Dflexfilelayout.c83 struct pnfs_ff_device_addr *da; in nfsd4_ff_proc_getdeviceinfo() local
88 da = kzalloc(sizeof(struct pnfs_ff_device_addr), GFP_KERNEL); in nfsd4_ff_proc_getdeviceinfo()
89 if (!da) in nfsd4_ff_proc_getdeviceinfo()
92 gdp->gd_device = da; in nfsd4_ff_proc_getdeviceinfo()
94 da->version = 3; in nfsd4_ff_proc_getdeviceinfo()
95 da->minor_version = 0; in nfsd4_ff_proc_getdeviceinfo()
97 da->rsize = svc_max_payload(rqstp); in nfsd4_ff_proc_getdeviceinfo()
98 da->wsize = da->rsize; in nfsd4_ff_proc_getdeviceinfo()
107 snprintf(da->netaddr.netid, FF_NETID_LEN + 1, "tcp"); in nfsd4_ff_proc_getdeviceinfo()
108 da->netaddr.netid_len = 3; in nfsd4_ff_proc_getdeviceinfo()
[all …]
Dflexfilelayoutxdr.c82 struct pnfs_ff_device_addr *da = gdp->gd_device; in nfsd4_ff_encode_getdeviceinfo() local
89 addr_len = 16 + da->netaddr.netid_len + da->netaddr.addr_len; in nfsd4_ff_encode_getdeviceinfo()
104 p = xdr_encode_opaque(p, da->netaddr.netid, da->netaddr.netid_len); in nfsd4_ff_encode_getdeviceinfo()
105 p = xdr_encode_opaque(p, da->netaddr.addr, da->netaddr.addr_len); in nfsd4_ff_encode_getdeviceinfo()
109 *p++ = cpu_to_be32(da->version); in nfsd4_ff_encode_getdeviceinfo()
110 *p++ = cpu_to_be32(da->minor_version); in nfsd4_ff_encode_getdeviceinfo()
111 *p++ = cpu_to_be32(da->rsize); in nfsd4_ff_encode_getdeviceinfo()
112 *p++ = cpu_to_be32(da->wsize); in nfsd4_ff_encode_getdeviceinfo()
113 *p++ = cpu_to_be32(da->tightly_coupled); in nfsd4_ff_encode_getdeviceinfo()
/linux-6.1.9/drivers/iommu/
Domap-iommu.c231 static u32 iommu_report_fault(struct omap_iommu *obj, u32 *da) in iommu_report_fault() argument
238 *da = 0; in iommu_report_fault()
243 *da = fault_addr; in iommu_report_fault()
308 if (e->da & ~(get_cam_va_mask(e->pgsz))) { in iotlb_alloc_cr()
310 e->da); in iotlb_alloc_cr()
318 cr->cam = (e->da & MMU_CAM_VATAG_MASK) | e->prsvd | e->pgsz | e->valid; in iotlb_alloc_cr()
407 static void flush_iotlb_page(struct omap_iommu *obj, u32 da) in flush_iotlb_page() argument
424 if ((start <= da) && (da < start + bytes)) { in flush_iotlb_page()
426 __func__, start, da, bytes); in flush_iotlb_page()
435 dev_dbg(obj->dev, "%s: no page for %08x\n", __func__, da); in flush_iotlb_page()
[all …]
Domap-iopgtable.h90 #define iopgd_index(da) (((da) >> IOPGD_SHIFT) & (PTRS_PER_IOPGD - 1)) argument
91 #define iopgd_offset(obj, da) ((obj)->iopgd + iopgd_index(da)) argument
97 #define iopte_index(da) (((da) >> IOPTE_SHIFT) & (PTRS_PER_IOPTE - 1)) argument
98 #define iopte_offset(iopgd, da) (iopgd_page_vaddr(iopgd) + iopte_index(da)) argument
/linux-6.1.9/fs/nfs/
Dpnfs_nfs.c666 struct nfs4_pnfs_ds_addr *da = kzalloc(sizeof(*da), gfp_flags); in nfs4_pnfs_ds_addr_alloc() local
667 if (da) in nfs4_pnfs_ds_addr_alloc()
668 INIT_LIST_HEAD(&da->da_node); in nfs4_pnfs_ds_addr_alloc()
669 return da; in nfs4_pnfs_ds_addr_alloc()
672 static void nfs4_pnfs_ds_addr_free(struct nfs4_pnfs_ds_addr *da) in nfs4_pnfs_ds_addr_free() argument
674 kfree(da->da_remotestr); in nfs4_pnfs_ds_addr_free()
675 kfree(da->da_netid); in nfs4_pnfs_ds_addr_free()
676 kfree(da); in nfs4_pnfs_ds_addr_free()
681 struct nfs4_pnfs_ds_addr *da; in destroy_ds() local
690 da = list_first_entry(&ds->ds_addrs, in destroy_ds()
[all …]
/linux-6.1.9/fs/ksmbd/
Dndr.c170 int ndr_encode_dos_attr(struct ndr *n, struct xattr_dos_attrib *da) in ndr_encode_dos_attr() argument
181 if (da->version == 3) { in ndr_encode_dos_attr()
182 snprintf(hex_attr, 10, "0x%x", da->attr); in ndr_encode_dos_attr()
190 ret = ndr_write_int16(n, da->version); in ndr_encode_dos_attr()
194 ret = ndr_write_int32(n, da->version); in ndr_encode_dos_attr()
198 ret = ndr_write_int32(n, da->flags); in ndr_encode_dos_attr()
202 ret = ndr_write_int32(n, da->attr); in ndr_encode_dos_attr()
206 if (da->version == 3) { in ndr_encode_dos_attr()
207 ret = ndr_write_int32(n, da->ea_size); in ndr_encode_dos_attr()
210 ret = ndr_write_int64(n, da->size); in ndr_encode_dos_attr()
[all …]
/linux-6.1.9/sound/soc/codecs/
Dmax9850.c118 u8 sf, da; in max9850_hw_params() local
135 da = 0; in max9850_hw_params()
138 da = 0x2; in max9850_hw_params()
141 da = 0x3; in max9850_hw_params()
146 snd_soc_component_update_bits(component, MAX9850_DIGITAL_AUDIO, 0x3, da); in max9850_hw_params()
174 u8 da = 0; in max9850_set_dai_fmt() local
179 da |= MAX9850_MASTER; in max9850_set_dai_fmt()
190 da |= MAX9850_DLY; in max9850_set_dai_fmt()
193 da |= MAX9850_RTJ; in max9850_set_dai_fmt()
206 da |= MAX9850_BCINV | MAX9850_INV; in max9850_set_dai_fmt()
[all …]
/linux-6.1.9/fs/nfs/filelayout/
Dfilelayoutdev.c77 struct nfs4_pnfs_ds_addr *da; in nfs4_fl_alloc_deviceid_node() local
161 da = nfs4_decode_mp_ds_addr(server->nfs_client->cl_net, in nfs4_fl_alloc_deviceid_node()
163 if (da) in nfs4_fl_alloc_deviceid_node()
164 list_add_tail(&da->da_node, &dsaddrs); in nfs4_fl_alloc_deviceid_node()
178 da = list_first_entry(&dsaddrs, in nfs4_fl_alloc_deviceid_node()
181 list_del_init(&da->da_node); in nfs4_fl_alloc_deviceid_node()
182 kfree(da->da_remotestr); in nfs4_fl_alloc_deviceid_node()
183 kfree(da); in nfs4_fl_alloc_deviceid_node()
192 da = list_first_entry(&dsaddrs, struct nfs4_pnfs_ds_addr, in nfs4_fl_alloc_deviceid_node()
194 list_del_init(&da->da_node); in nfs4_fl_alloc_deviceid_node()
[all …]
/linux-6.1.9/drivers/hwmon/
Demc2103.c175 temp_show(struct device *dev, struct device_attribute *da, char *buf) in temp_show() argument
177 int nr = to_sensor_dev_attr(da)->index; in temp_show()
185 temp_min_show(struct device *dev, struct device_attribute *da, char *buf) in temp_min_show() argument
187 int nr = to_sensor_dev_attr(da)->index; in temp_min_show()
194 temp_max_show(struct device *dev, struct device_attribute *da, char *buf) in temp_max_show() argument
196 int nr = to_sensor_dev_attr(da)->index; in temp_max_show()
203 temp_fault_show(struct device *dev, struct device_attribute *da, char *buf) in temp_fault_show() argument
205 int nr = to_sensor_dev_attr(da)->index; in temp_fault_show()
212 temp_min_alarm_show(struct device *dev, struct device_attribute *da, in temp_min_alarm_show() argument
215 int nr = to_sensor_dev_attr(da)->index; in temp_min_alarm_show()
[all …]
Dvia686a.c411 static ssize_t in_show(struct device *dev, struct device_attribute *da, in in_show() argument
414 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show()
419 static ssize_t in_min_show(struct device *dev, struct device_attribute *da, in in_min_show() argument
422 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show()
427 static ssize_t in_max_show(struct device *dev, struct device_attribute *da, in in_max_show() argument
430 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show()
435 static ssize_t in_min_store(struct device *dev, struct device_attribute *da, in in_min_store() argument
438 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store()
454 static ssize_t in_max_store(struct device *dev, struct device_attribute *da, in in_max_store() argument
457 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store()
[all …]
Dtc654.c195 static ssize_t fan_show(struct device *dev, struct device_attribute *da, in fan_show() argument
198 int nr = to_sensor_dev_attr(da)->index; in fan_show()
213 static ssize_t fan_min_show(struct device *dev, struct device_attribute *da, in fan_min_show() argument
216 int nr = to_sensor_dev_attr(da)->index; in fan_min_show()
226 static ssize_t fan_min_store(struct device *dev, struct device_attribute *da, in fan_min_store() argument
229 int nr = to_sensor_dev_attr(da)->index; in fan_min_store()
250 static ssize_t fan_alarm_show(struct device *dev, struct device_attribute *da, in fan_alarm_show() argument
253 int nr = to_sensor_dev_attr(da)->index; in fan_alarm_show()
271 struct device_attribute *da, char *buf) in fan_pulses_show() argument
273 int nr = to_sensor_dev_attr(da)->index; in fan_pulses_show()
[all …]
Dlm78.c142 static ssize_t in_show(struct device *dev, struct device_attribute *da, in in_show() argument
145 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show()
150 static ssize_t in_min_show(struct device *dev, struct device_attribute *da, in in_min_show() argument
153 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show()
158 static ssize_t in_max_show(struct device *dev, struct device_attribute *da, in in_max_show() argument
161 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show()
166 static ssize_t in_min_store(struct device *dev, struct device_attribute *da, in in_min_store() argument
169 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store()
186 static ssize_t in_max_store(struct device *dev, struct device_attribute *da, in in_max_store() argument
189 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store()
[all …]
Dlm73.c62 static ssize_t temp_store(struct device *dev, struct device_attribute *da, in temp_store() argument
65 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_store()
81 static ssize_t temp_show(struct device *dev, struct device_attribute *da, in temp_show() argument
84 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_show()
98 static ssize_t convrate_store(struct device *dev, struct device_attribute *da, in convrate_store() argument
133 static ssize_t convrate_show(struct device *dev, struct device_attribute *da, in convrate_show() argument
144 struct device_attribute *da, char *buf) in maxmin_alarm_show() argument
146 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in maxmin_alarm_show()
Dsis5595.c266 static ssize_t in_show(struct device *dev, struct device_attribute *da, in in_show() argument
270 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show()
275 static ssize_t in_min_show(struct device *dev, struct device_attribute *da, in in_min_show() argument
279 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show()
284 static ssize_t in_max_show(struct device *dev, struct device_attribute *da, in in_max_show() argument
288 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show()
293 static ssize_t in_min_store(struct device *dev, struct device_attribute *da, in in_min_store() argument
297 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store()
313 static ssize_t in_max_store(struct device *dev, struct device_attribute *da, in in_max_store() argument
317 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store()
[all …]
Dds1621.c224 static ssize_t temp_show(struct device *dev, struct device_attribute *da, in temp_show() argument
227 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_show()
233 static ssize_t temp_store(struct device *dev, struct device_attribute *da, in temp_store() argument
236 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_store()
253 static ssize_t alarms_show(struct device *dev, struct device_attribute *da, in alarms_show() argument
260 static ssize_t alarm_show(struct device *dev, struct device_attribute *da, in alarm_show() argument
263 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in alarm_show()
269 struct device_attribute *da, char *buf) in update_interval_show() argument
276 struct device_attribute *da, in update_interval_store() argument
/linux-6.1.9/drivers/target/
Dtarget_core_configfs.c555 struct se_dev_attrib *da = to_attrib(item); \
562 da->_name = val; \
576 struct se_dev_attrib *da = to_attrib(item); \
583 da->_name = flag; \
628 struct se_dev_attrib *da = to_attrib(item); in emulate_model_alias_store() local
629 struct se_device *dev = da->da_dev; in emulate_model_alias_store()
651 da->emulate_model_alias = flag; in emulate_model_alias_store()
658 struct se_dev_attrib *da = to_attrib(item); in emulate_write_cache_store() local
666 if (flag && da->da_dev->transport->get_write_cache) { in emulate_write_cache_store()
671 da->emulate_write_cache = flag; in emulate_write_cache_store()
[all …]
/linux-6.1.9/include/linux/
Dremoteproc.h172 u32 da; member
210 u32 da; member
235 u32 da; member
259 u32 da; member
337 u32 da; member
393 void * (*da_to_va)(struct rproc *rproc, u64 da, size_t len, bool *is_iomem);
483 dma_addr_t da; member
626 u32 da; member
678 void *va, dma_addr_t dma, size_t len, u32 da,
685 u32 da, const char *name, ...);
[all …]
/linux-6.1.9/net/ipv4/
Dtcp_illinois.c140 static u32 alpha(struct illinois *ca, u32 da, u32 dm) in alpha() argument
144 if (da <= d1) { in alpha()
179 da -= d1; in alpha()
181 (dm + (da * (ALPHA_MAX - ALPHA_MIN)) / ALPHA_MIN); in alpha()
192 static u32 beta(u32 da, u32 dm) in beta() argument
197 if (da <= d2) in beta()
201 if (da >= d3 || d3 <= d2) in beta()
217 return (BETA_MIN * d3 - BETA_MAX * d2 + (BETA_MAX - BETA_MIN) * da) in beta()
232 u32 da = avg_delay(ca); in update_params() local
234 ca->alpha = alpha(ca, da, dm); in update_params()
[all …]
/linux-6.1.9/drivers/remoteproc/
Dpru_rproc.c428 static void *pru_d_da_to_va(struct pru_rproc *pru, u32 da, size_t len) in pru_d_da_to_va() argument
445 if (da >= PRU_PDRAM_DA && da + len <= PRU_PDRAM_DA + dram0.size) { in pru_d_da_to_va()
446 offset = da - PRU_PDRAM_DA; in pru_d_da_to_va()
448 } else if (da >= PRU_SDRAM_DA && in pru_d_da_to_va()
449 da + len <= PRU_SDRAM_DA + dram1.size) { in pru_d_da_to_va()
450 offset = da - PRU_SDRAM_DA; in pru_d_da_to_va()
452 } else if (da >= PRU_SHRDRAM_DA && in pru_d_da_to_va()
453 da + len <= PRU_SHRDRAM_DA + shrd_ram.size) { in pru_d_da_to_va()
454 offset = da - PRU_SHRDRAM_DA; in pru_d_da_to_va()
468 static void *pru_i_da_to_va(struct pru_rproc *pru, u32 da, size_t len) in pru_i_da_to_va() argument
[all …]
Dingenic_rproc.c37 unsigned int da; member
124 static void *ingenic_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in ingenic_rproc_da_to_va() argument
134 if (da >= map->da && (da + len) < (map->da + info->len)) { in ingenic_rproc_da_to_va()
135 va = info->base + (da - map->da); in ingenic_rproc_da_to_va()
Dremoteproc_core.c193 void *rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in rproc_da_to_va() argument
199 ptr = rproc->ops->da_to_va(rproc, da, len, is_iomem); in rproc_da_to_va()
205 int offset = da - carveout->da; in rproc_da_to_va()
291 struct rproc_mem_entry *mem, u32 da, u32 len) in rproc_check_carveout_da() argument
302 if (da != FW_RSC_ADDR_ANY && mem->da == FW_RSC_ADDR_ANY) { in rproc_check_carveout_da()
305 } else if (da != FW_RSC_ADDR_ANY && mem->da != FW_RSC_ADDR_ANY) { in rproc_check_carveout_da()
306 delta = da - mem->da; in rproc_check_carveout_da()
344 if (rproc_check_carveout_da(rproc, mem, rsc->vring[i].da, size)) in rproc_alloc_vring()
349 size, rsc->vring[i].da, in rproc_alloc_vring()
394 i, vring->da, vring->num, vring->align); in rproc_parse_vring()
[all …]
/linux-6.1.9/fs/gfs2/
Ddir.h32 const struct gfs2_inode *ip, struct gfs2_diradd *da);
33 static inline void gfs2_dir_no_add(struct gfs2_diradd *da) in gfs2_dir_no_add() argument
35 brelse(da->bh); in gfs2_dir_no_add()
36 da->bh = NULL; in gfs2_dir_no_add()
48 struct gfs2_diradd *da);
/linux-6.1.9/drivers/media/dvb-frontends/
Ddibx000_common.c99 u16 da; in dibx000_master_i2c_write() local
114 da = (((u8) (msg->addr)) << 9) | in dibx000_master_i2c_write()
124 da |= 1 << 5; /* start */ in dibx000_master_i2c_write()
127 da |= 1 << 6; /* stop */ in dibx000_master_i2c_write()
129 dibx000_write_word(mst, mst->base_reg+1, da); in dibx000_master_i2c_write()
141 u16 da; in dibx000_master_i2c_read() local
147 da = (((u8) (msg->addr)) << 9) | in dibx000_master_i2c_read()
157 da |= 1 << 5; /* start */ in dibx000_master_i2c_read()
160 da |= 1 << 6; /* stop */ in dibx000_master_i2c_read()
161 dibx000_write_word(mst, mst->base_reg+1, da); in dibx000_master_i2c_read()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_helpers.c908 struct dal_allocation *da; in dm_helpers_allocate_gpu_mem() local
913 da = kzalloc(sizeof(struct dal_allocation), GFP_KERNEL); in dm_helpers_allocate_gpu_mem()
914 if (!da) in dm_helpers_allocate_gpu_mem()
918 domain, &da->bo, in dm_helpers_allocate_gpu_mem()
919 &da->gpu_addr, &da->cpu_ptr); in dm_helpers_allocate_gpu_mem()
921 *addr = da->gpu_addr; in dm_helpers_allocate_gpu_mem()
924 kfree(da); in dm_helpers_allocate_gpu_mem()
929 list_add(&da->list, &adev->dm.da_list); in dm_helpers_allocate_gpu_mem()
931 return da->cpu_ptr; in dm_helpers_allocate_gpu_mem()
940 struct dal_allocation *da; in dm_helpers_free_gpu_mem() local
[all …]

1234567891011