/linux/drivers/net/wireless/ath/ath9k/ |
A D | dynack.c | 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() 162 src = da->st_rbf.addr[da->st_rbf.h_rb].h_src; in ath_dynack_compute_to() 167 da->ack_rbf.h_rb, da->st_rbf.h_rb); in ath_dynack_compute_to() 270 da->st_rbf.ts[da->st_rbf.t_rb].dur = dur; in ath_dynack_sample_tx_ts() 273 if (da->st_rbf.t_rb == da->st_rbf.h_rb) in ath_dynack_sample_tx_ts() 304 da->ack_rbf.tstamp[da->ack_rbf.t_rb] = ts; in ath_dynack_sample_ack_ts() 307 if (da->ack_rbf.t_rb == da->ack_rbf.h_rb) in ath_dynack_sample_ack_ts() [all …]
|
/linux/fs/nfsd/ |
A D | flexfilelayout.c | 83 struct pnfs_ff_device_addr *da; in nfsd4_ff_proc_getdeviceinfo() local 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() 108 da->netaddr.netid_len = 3; in nfsd4_ff_proc_getdeviceinfo() 115 da->netaddr.netid_len = 4; in nfsd4_ff_proc_getdeviceinfo() 118 da->netaddr.addr_len = in nfsd4_ff_proc_getdeviceinfo() [all …]
|
A 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()
|
/linux/drivers/iommu/ |
A D | omap-iommu.c | 238 *da = 0; in iommu_report_fault() 310 e->da); in iotlb_alloc_cr() 424 if ((start <= da) && (da < start + bytes)) { in flush_iotlb_page() 488 unsigned long offset = iopgd_index(da) * sizeof(da); in iopte_alloc() 547 unsigned long offset = iopgd_index(da) * sizeof(da); in iopgd_alloc_section() 563 unsigned long offset = iopgd_index(da) * sizeof(da); in iopgd_alloc_super() 583 unsigned long offset = iopte_index(da) * sizeof(da); in iopte_alloc_page() 602 unsigned long offset = iopte_index(da) * sizeof(da); in iopte_alloc_large() 779 u32 da; in iopgtable_clear_entry_all() local 784 offset = iopgd_index(da) * sizeof(da); in iopgtable_clear_entry_all() [all …]
|
A 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
|
/linux/fs/nfs/ |
A D | pnfs_nfs.c | 662 struct nfs4_pnfs_ds_addr *da = kzalloc(sizeof(*da), gfp_flags); in nfs4_pnfs_ds_addr_alloc() local 663 if (da) in nfs4_pnfs_ds_addr_alloc() 665 return da; in nfs4_pnfs_ds_addr_alloc() 671 kfree(da->da_netid); in nfs4_pnfs_ds_addr_free() 672 kfree(da); in nfs4_pnfs_ds_addr_free() 882 da->da_addrlen, da->da_transport, in _nfs4_pnfs_v3_ds_connect() 951 da->da_addrlen, in _nfs4_pnfs_v4_ds_connect() 1084 if (unlikely(!da)) in nfs4_decode_mp_ds_addr() 1123 da->da_netid = netid; in nfs4_decode_mp_ds_addr() 1136 return da; in nfs4_decode_mp_ds_addr() [all …]
|
/linux/fs/ksmbd/ |
A D | ndr.c | 181 if (da->version == 3) { 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() 210 ret = ndr_write_int64(n, da->size); in ndr_encode_dos_attr() 224 if (da->version == 3) in ndr_encode_dos_attr() 244 if (da->version != 3 && da->version != 4) { in ndr_decode_dos_attr() 253 if (da->version != version2) { in ndr_decode_dos_attr() 255 da->version, version2); in ndr_decode_dos_attr() 263 ret = ndr_read_int32(n, &da->attr); in ndr_decode_dos_attr() [all …]
|
/linux/sound/soc/codecs/ |
A 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() 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() 209 da |= MAX9850_BCINV; in max9850_set_dai_fmt() [all …]
|
/linux/drivers/hwmon/ |
A D | emc2103.c | 177 int nr = to_sensor_dev_attr(da)->index; in temp_show() 187 int nr = to_sensor_dev_attr(da)->index; in temp_min_show() 196 int nr = to_sensor_dev_attr(da)->index; in temp_max_show() 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() 225 int nr = to_sensor_dev_attr(da)->index; in temp_max_alarm_show() 234 int nr = to_sensor_dev_attr(da)->index; in temp_min_store() 256 int nr = to_sensor_dev_attr(da)->index; in temp_max_store() 375 struct device_attribute *da, const char *buf, in fan1_target_store() argument [all …]
|
A D | via686a.c | 347 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show() 355 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show() 363 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show() 371 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store() 390 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store() 427 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_show() 434 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_over_show() 441 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_hyst_show() 446 struct device_attribute *da, const char *buf, in temp_over_store() argument 449 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_over_store() [all …]
|
A 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() 215 int nr = to_sensor_dev_attr(da)->index; in fan_min_show() 228 int nr = to_sensor_dev_attr(da)->index; in fan_min_store() 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() 284 struct device_attribute *da, const char *buf, in fan_pulses_store() argument 287 int nr = to_sensor_dev_attr(da)->index; in fan_pulses_store() 365 static ssize_t pwm_show(struct device *dev, struct device_attribute *da, in pwm_show() argument [all …]
|
A D | lm78.c | 145 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show() 153 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show() 161 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show() 169 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store() 189 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store() 230 struct device_attribute *da, char *buf) in temp1_input_show() argument 244 struct device_attribute *da, const char *buf, in temp1_max_store() argument 263 struct device_attribute *da, char *buf) in temp1_max_hyst_show() argument 270 struct device_attribute *da, in temp1_max_hyst_store() argument 296 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_show() [all …]
|
A D | sis5595.c | 215 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_show() 224 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_show() 233 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_show() 242 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_min_store() 262 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in in_max_store() 363 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_show() 373 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_min_show() 383 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_min_store() 403 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_div_show() 418 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in fan_div_store() [all …]
|
A 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()
|
/linux/drivers/target/ |
A D | target_core_configfs.c | 698 da->da_dev, da->da_dev->export_count); in emulate_ua_intlck_ctrl_store() 703 da->da_dev, val); in emulate_ua_intlck_ctrl_store() 721 da->da_dev, da->da_dev->export_count); in emulate_tas_store() 833 da->pi_prot_verify = (bool) da->pi_prot_type; in pi_prot_type_store() 841 da->pi_prot_verify = (bool) da->pi_prot_type; in pi_prot_type_store() 932 da->da_dev, da->da_dev->export_count); in force_pr_aptpl_store() 977 da->da_dev, da->da_dev->export_count); in unmap_zeroes_data_store() 1050 da->da_dev, da->da_dev->export_count); in optimal_sectors_store() 1056 da->da_dev, val, da->hw_max_sectors); in optimal_sectors_store() 1080 da->da_dev, da->da_dev->export_count); in block_size_store() [all …]
|
/linux/fs/nfs/filelayout/ |
A 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() 196 list_del_init(&da->da_node); in nfs4_fl_alloc_deviceid_node() 197 kfree(da->da_remotestr); in nfs4_fl_alloc_deviceid_node() [all …]
|
/linux/drivers/remoteproc/ |
A D | pru_rproc.c | 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() 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() 454 offset = da - PRU_SHRDRAM_DA; in pru_d_da_to_va() 492 da &= 0xfffff; in pru_i_da_to_va() 494 if (da >= PRU_IRAM_DA && in pru_i_da_to_va() 496 offset = da - PRU_IRAM_DA; in pru_i_da_to_va() 593 u32 da = phdr->p_paddr; in pru_rproc_load_elf_segments() local [all …]
|
A D | remoteproc_core.c | 206 int offset = da - carveout->da; in rproc_da_to_va() 303 if (da != FW_RSC_ADDR_ANY && mem->da == FW_RSC_ADDR_ANY) { in rproc_check_carveout_da() 306 } else if (da != FW_RSC_ADDR_ANY && mem->da != FW_RSC_ADDR_ANY) { in rproc_check_carveout_da() 307 delta = da - mem->da; in rproc_check_carveout_da() 677 trace->trace_mem.da = rsc->da; in rproc_handle_trace() 770 mapping->da = rsc->da; in rproc_handle_devmem() 864 mapping->da = mem->da; in rproc_alloc_carveout() 869 mem->da, &dma); in rproc_alloc_carveout() 1040 mem->da = da; in rproc_mem_entry_init() 1081 mem->da = da; in rproc_of_resm_mem_entry_init() [all …]
|
A D | ingenic_rproc.c | 37 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()
|
A D | mtk_scp.c | 246 u32 da = phdr->p_paddr; in scp_elf_load_segments() local 253 phdr->p_type, da, memsz, filesz); in scp_elf_load_segments() 496 if (da < scp->sram_size) { in mt8183_scp_da_to_va() 497 offset = da; in mt8183_scp_da_to_va() 501 offset = da - scp->dma_addr; in mt8183_scp_da_to_va() 513 if (da >= scp->sram_phys && in mt8192_scp_da_to_va() 515 offset = da - scp->sram_phys; in mt8192_scp_da_to_va() 521 da >= scp->l1tcm_phys && in mt8192_scp_da_to_va() 523 offset = da - scp->l1tcm_phys; in mt8192_scp_da_to_va() 529 da >= scp->dma_addr && in mt8192_scp_da_to_va() [all …]
|
/linux/include/linux/ |
A D | remoteproc.h | 172 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 608 u32 da; member 662 void *va, dma_addr_t dma, size_t len, u32 da, 669 u32 da, const char *name, ...); [all …]
|
/linux/net/ipv4/ |
A 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 …]
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
A D | amdgpu_dm_helpers.c | 724 struct dal_allocation *da; in dm_helpers_allocate_gpu_mem() local 730 if (!da) in dm_helpers_allocate_gpu_mem() 734 domain, &da->bo, in dm_helpers_allocate_gpu_mem() 735 &da->gpu_addr, &da->cpu_ptr); in dm_helpers_allocate_gpu_mem() 737 *addr = da->gpu_addr; in dm_helpers_allocate_gpu_mem() 740 kfree(da); in dm_helpers_allocate_gpu_mem() 747 return da->cpu_ptr; in dm_helpers_allocate_gpu_mem() 756 struct dal_allocation *da; in dm_helpers_free_gpu_mem() local 761 amdgpu_bo_free_kernel(&da->bo, &da->gpu_addr, &da->cpu_ptr); in dm_helpers_free_gpu_mem() 762 list_del(&da->list); in dm_helpers_free_gpu_mem() [all …]
|
/linux/drivers/media/dvb-frontends/ |
A 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() 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() 169 da = dibx000_read_word(mst, mst->base_reg); in dibx000_master_i2c_read() 170 *b++ = (da >> 8) & 0xff; in dibx000_master_i2c_read() [all …]
|
/linux/fs/gfs2/ |
A 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);
|