/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
D | dynack.c | 126 struct ath_dynack *da = &ah->dynack; in ath_dynack_compute_ackto() local 130 list_for_each_entry(an, &da->nodes, list) in ath_dynack_compute_ackto() 134 if (to && da->ackto != to) { in ath_dynack_compute_ackto() 136 da->ackto = to; in ath_dynack_compute_ackto() 148 struct ath_dynack *da = &ah->dynack; in ath_dynack_compute_to() local 158 while (da->st_rbf.h_rb != da->st_rbf.t_rb && in ath_dynack_compute_to() 159 da->ack_rbf.h_rb != da->ack_rbf.t_rb) { in ath_dynack_compute_to() 160 ack_ts = da->ack_rbf.tstamp[da->ack_rbf.h_rb]; in ath_dynack_compute_to() 161 st_ts = &da->st_rbf.ts[da->st_rbf.h_rb]; in ath_dynack_compute_to() 162 dst = da->st_rbf.addr[da->st_rbf.h_rb].h_dest; in ath_dynack_compute_to() [all …]
|
/kernel/linux/linux-5.10/fs/nfsd/ |
D | flexfilelayout.c | 83 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 …]
|
D | flexfilelayoutxdr.c | 82 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()
|
/kernel/linux/linux-5.10/drivers/iommu/ |
D | omap-iommu.c | 232 static u32 iommu_report_fault(struct omap_iommu *obj, u32 *da) in iommu_report_fault() argument 239 *da = 0; in iommu_report_fault() 244 *da = fault_addr; in iommu_report_fault() 309 if (e->da & ~(get_cam_va_mask(e->pgsz))) { in iotlb_alloc_cr() 311 e->da); in iotlb_alloc_cr() 319 cr->cam = (e->da & MMU_CAM_VATAG_MASK) | e->prsvd | e->pgsz | e->valid; in iotlb_alloc_cr() 408 static void flush_iotlb_page(struct omap_iommu *obj, u32 da) in flush_iotlb_page() argument 425 if ((start <= da) && (da < start + bytes)) { in flush_iotlb_page() 427 __func__, start, da, bytes); in flush_iotlb_page() 436 dev_dbg(obj->dev, "%s: no page for %08x\n", __func__, da); in flush_iotlb_page() [all …]
|
D | omap-iopgtable.h | 90 #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
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | max9850.c | 118 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 …]
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | pnfs_nfs.c | 666 struct nfs4_pnfs_ds_addr *da; in destroy_ds() local 675 da = list_first_entry(&ds->ds_addrs, in destroy_ds() 678 list_del_init(&da->da_node); in destroy_ds() 679 kfree(da->da_remotestr); in destroy_ds() 680 kfree(da); in destroy_ds() 705 struct nfs4_pnfs_ds_addr *da; in nfs4_pnfs_remotestr() local 711 list_for_each_entry(da, dsaddrs, da_node) { in nfs4_pnfs_remotestr() 712 len += strlen(da->da_remotestr) + 1; /* string plus comma */ in nfs4_pnfs_remotestr() 722 list_for_each_entry(da, dsaddrs, da_node) { in nfs4_pnfs_remotestr() 723 size_t ll = strlen(da->da_remotestr); in nfs4_pnfs_remotestr() [all …]
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
D | emc2103.c | 175 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 …]
|
D | tc654.c | 194 static ssize_t fan_show(struct device *dev, struct device_attribute *da, in fan_show() argument 197 int nr = to_sensor_dev_attr(da)->index; in fan_show() 212 static ssize_t fan_min_show(struct device *dev, struct device_attribute *da, in fan_min_show() argument 215 int nr = to_sensor_dev_attr(da)->index; in fan_min_show() 225 static ssize_t fan_min_store(struct device *dev, struct device_attribute *da, in fan_min_store() argument 228 int nr = to_sensor_dev_attr(da)->index; in fan_min_store() 249 static ssize_t fan_alarm_show(struct device *dev, struct device_attribute *da, in fan_alarm_show() argument 252 int nr = to_sensor_dev_attr(da)->index; in fan_alarm_show() 270 struct device_attribute *da, char *buf) in fan_pulses_show() argument 272 int nr = to_sensor_dev_attr(da)->index; in fan_pulses_show() [all …]
|
D | via686a.c | 344 static ssize_t in_show(struct device *dev, struct device_attribute *da, in in_show() argument 347 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show() 352 static ssize_t in_min_show(struct device *dev, struct device_attribute *da, in in_min_show() argument 355 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show() 360 static ssize_t in_max_show(struct device *dev, struct device_attribute *da, in in_max_show() argument 363 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show() 368 static ssize_t in_min_store(struct device *dev, struct device_attribute *da, in in_min_store() argument 371 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store() 387 static ssize_t in_max_store(struct device *dev, struct device_attribute *da, in in_max_store() argument 390 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store() [all …]
|
D | lm78.c | 142 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 …]
|
D | lm73.c | 62 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()
|
D | sis5595.c | 211 static ssize_t in_show(struct device *dev, struct device_attribute *da, in in_show() argument 215 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show() 220 static ssize_t in_min_show(struct device *dev, struct device_attribute *da, in in_min_show() argument 224 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show() 229 static ssize_t in_max_show(struct device *dev, struct device_attribute *da, in in_max_show() argument 233 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show() 238 static ssize_t in_min_store(struct device *dev, struct device_attribute *da, in in_min_store() argument 242 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store() 258 static ssize_t in_max_store(struct device *dev, struct device_attribute *da, in in_max_store() argument 262 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store() [all …]
|
D | ds1621.c | 224 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
|
D | ltc4215.c | 137 struct device_attribute *da, char *buf) in ltc4215_voltage_show() argument 139 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc4215_voltage_show() 146 struct device_attribute *da, char *buf) in ltc4215_current_show() argument 154 struct device_attribute *da, char *buf) in ltc4215_power_show() argument 166 struct device_attribute *da, char *buf) in ltc4215_alarm_show() argument 168 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc4215_alarm_show()
|
/kernel/linux/linux-5.10/fs/nfs/filelayout/ |
D | filelayoutdev.c | 77 struct nfs4_pnfs_ds_addr *da; in nfs4_fl_alloc_deviceid_node() local 163 da = nfs4_decode_mp_ds_addr(server->nfs_client->cl_net, in nfs4_fl_alloc_deviceid_node() 165 if (da) in nfs4_fl_alloc_deviceid_node() 166 list_add_tail(&da->da_node, &dsaddrs); in nfs4_fl_alloc_deviceid_node() 180 da = list_first_entry(&dsaddrs, in nfs4_fl_alloc_deviceid_node() 183 list_del_init(&da->da_node); in nfs4_fl_alloc_deviceid_node() 184 kfree(da->da_remotestr); in nfs4_fl_alloc_deviceid_node() 185 kfree(da); in nfs4_fl_alloc_deviceid_node() 194 da = list_first_entry(&dsaddrs, struct nfs4_pnfs_ds_addr, in nfs4_fl_alloc_deviceid_node() 196 list_del_init(&da->da_node); in nfs4_fl_alloc_deviceid_node() [all …]
|
/kernel/linux/linux-5.10/drivers/target/ |
D | target_core_configfs.c | 554 struct se_dev_attrib *da = to_attrib(item); \ 561 da->_name = val; \ 575 struct se_dev_attrib *da = to_attrib(item); \ 582 da->_name = flag; \ 627 struct se_dev_attrib *da = to_attrib(item); in emulate_model_alias_store() local 628 struct se_device *dev = da->da_dev; in emulate_model_alias_store() 650 da->emulate_model_alias = flag; in emulate_model_alias_store() 657 struct se_dev_attrib *da = to_attrib(item); in emulate_write_cache_store() local 665 if (flag && da->da_dev->transport->get_write_cache) { in emulate_write_cache_store() 670 da->emulate_write_cache = flag; in emulate_write_cache_store() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | remoteproc.h | 172 u32 da; member 210 u32 da; member 235 u32 da; member 259 u32 da; member 334 u32 da; member 386 void * (*da_to_va)(struct rproc *rproc, u64 da, size_t len); 469 dma_addr_t da; member 591 u32 da; member 645 void *va, dma_addr_t dma, size_t len, u32 da, 652 u32 da, const char *name, ...); [all …]
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | tcp_illinois.c | 140 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 …]
|
/kernel/linux/linux-5.10/drivers/remoteproc/ |
D | imx_rproc.c | 66 u32 da; /* device address (From Cortex M4 view)*/ member 188 static int imx_rproc_da_to_sys(struct imx_rproc *priv, u64 da, in imx_rproc_da_to_sys() argument 198 if (da >= att->da && da + len < att->da + att->size) { in imx_rproc_da_to_sys() 199 unsigned int offset = da - att->da; in imx_rproc_da_to_sys() 207 da, len); in imx_rproc_da_to_sys() 211 static void *imx_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len) in imx_rproc_da_to_va() argument 225 if (imx_rproc_da_to_sys(priv, da, len, &sys)) in imx_rproc_da_to_va() 239 da, len, va); in imx_rproc_da_to_va()
|
D | remoteproc_coredump.c | 47 int rproc_coredump_add_segment(struct rproc *rproc, dma_addr_t da, size_t size) in rproc_coredump_add_segment() argument 55 segment->da = da; in rproc_coredump_add_segment() 79 dma_addr_t da, size_t size, in rproc_coredump_add_custom_segment() argument 92 segment->da = da; in rproc_coredump_add_custom_segment() 160 ptr = rproc_da_to_va(rproc, segment->da + offset, size); in rproc_copy_segment() 164 &segment->da, offset, size); in rproc_copy_segment() 293 elf_phdr_set_p_vaddr(class, phdr, segment->da); in rproc_coredump() 294 elf_phdr_set_p_paddr(class, phdr, segment->da); in rproc_coredump()
|
D | ingenic_rproc.c | 32 unsigned int da; member 119 static void *ingenic_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len) in ingenic_rproc_da_to_va() argument 129 if (da >= map->da && (da + len) < (map->da + info->len)) { in ingenic_rproc_da_to_va() 130 va = info->base + (da - map->da); in ingenic_rproc_da_to_va()
|
D | remoteproc_core.c | 192 void *rproc_da_to_va(struct rproc *rproc, u64 da, size_t len) in rproc_da_to_va() argument 198 ptr = rproc->ops->da_to_va(rproc, da, len); in rproc_da_to_va() 204 int offset = da - carveout->da; in rproc_da_to_va() 287 struct rproc_mem_entry *mem, u32 da, u32 len) in rproc_check_carveout_da() argument 298 if (da != FW_RSC_ADDR_ANY && mem->da == FW_RSC_ADDR_ANY) { in rproc_check_carveout_da() 301 } else if (da != FW_RSC_ADDR_ANY && mem->da != FW_RSC_ADDR_ANY) { in rproc_check_carveout_da() 302 delta = da - mem->da; in rproc_check_carveout_da() 340 if (rproc_check_carveout_da(rproc, mem, rsc->vring[i].da, size)) in rproc_alloc_vring() 345 size, rsc->vring[i].da, in rproc_alloc_vring() 390 i, vring->da, vring->num, vring->align); in rproc_parse_vring() [all …]
|
/kernel/linux/linux-5.10/fs/gfs2/ |
D | dir.h | 32 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);
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
D | dibx000_common.c | 99 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 …]
|