Home
last modified time | relevance | path

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

123456

/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 …]
/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
/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.c344 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 …]
Dtc654.c194 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 …]
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 …]
Dsis5595.c211 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 …]
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()
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
Dltc4215.c137 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()
Dina2xx.c302 struct device_attribute *da, char *buf) in ina2xx_value_show() argument
304 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ina2xx_value_show()
368 struct device_attribute *da, char *buf) in ina226_alert_show() argument
370 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ina226_alert_show()
395 struct device_attribute *da, in ina226_alert_store() argument
398 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ina226_alert_store()
438 struct device_attribute *da, char *buf) in ina226_alarm_show() argument
440 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ina226_alarm_show()
479 struct device_attribute *da, char *buf) in ina2xx_shunt_show() argument
487 struct device_attribute *da, in ina2xx_shunt_store() argument
[all …]
Dadt7x10.c221 struct device_attribute *da, char *buf) in adt7x10_temp_show() argument
223 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in adt7x10_temp_show()
240 struct device_attribute *da, in adt7x10_temp_store() argument
243 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in adt7x10_temp_store()
263 struct device_attribute *da, char *buf) in adt7x10_t_hyst_show() argument
265 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in adt7x10_t_hyst_show()
283 struct device_attribute *da, in adt7x10_t_hyst_store() argument
306 struct device_attribute *da, char *buf) in adt7x10_alarm_show() argument
308 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in adt7x10_alarm_show()
318 static ssize_t name_show(struct device *dev, struct device_attribute *da, in name_show() argument
Dds620.c129 static ssize_t temp_show(struct device *dev, struct device_attribute *da, in temp_show() argument
132 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_show()
141 static ssize_t temp_store(struct device *dev, struct device_attribute *da, in temp_store() argument
147 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in temp_store()
166 static ssize_t alarm_show(struct device *dev, struct device_attribute *da, in alarm_show() argument
169 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in alarm_show()
/drivers/target/
Dtarget_core_configfs.c554 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 …]
/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 …]
Dremoteproc_core.c196 void *rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in rproc_da_to_va() argument
202 ptr = rproc->ops->da_to_va(rproc, da, len, is_iomem); in rproc_da_to_va()
208 int offset = da - carveout->da; in rproc_da_to_va()
294 struct rproc_mem_entry *mem, u32 da, u32 len) in rproc_check_carveout_da() argument
305 if (da != FW_RSC_ADDR_ANY && mem->da == FW_RSC_ADDR_ANY) { in rproc_check_carveout_da()
308 } else if (da != FW_RSC_ADDR_ANY && mem->da != FW_RSC_ADDR_ANY) { in rproc_check_carveout_da()
309 delta = da - mem->da; in rproc_check_carveout_da()
347 if (rproc_check_carveout_da(rproc, mem, rsc->vring[i].da, size)) in rproc_alloc_vring()
352 size, rsc->vring[i].da, in rproc_alloc_vring()
397 i, vring->da, vring->num, vring->align); in rproc_parse_vring()
[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()
Dmtk_scp.c246 u32 da = phdr->p_paddr; in scp_elf_load_segments() local
253 phdr->p_type, da, memsz, filesz); in scp_elf_load_segments()
275 ptr = (void __iomem *)rproc_da_to_va(rproc, da, memsz, NULL); in scp_elf_load_segments()
277 dev_err(dev, "bad phdr da 0x%x mem 0x%x\n", da, memsz); in scp_elf_load_segments()
466 static void *mt8183_scp_da_to_va(struct mtk_scp *scp, u64 da, size_t len) in mt8183_scp_da_to_va() argument
470 if (da < scp->sram_size) { in mt8183_scp_da_to_va()
471 offset = da; in mt8183_scp_da_to_va()
475 offset = da - scp->dma_addr; in mt8183_scp_da_to_va()
483 static void *mt8192_scp_da_to_va(struct mtk_scp *scp, u64 da, size_t len) in mt8192_scp_da_to_va() argument
487 if (da >= scp->sram_phys && in mt8192_scp_da_to_va()
[all …]
Dimx_rproc.c78 u32 da; /* device address (From Cortex M4 view)*/ member
344 static int imx_rproc_da_to_sys(struct imx_rproc *priv, u64 da, in imx_rproc_da_to_sys() argument
354 if (da >= att->da && da + len < att->da + att->size) { in imx_rproc_da_to_sys()
355 unsigned int offset = da - att->da; in imx_rproc_da_to_sys()
365 da, len); in imx_rproc_da_to_sys()
369 static void *imx_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in imx_rproc_da_to_va() argument
383 if (imx_rproc_da_to_sys(priv, da, len, &sys, is_iomem)) in imx_rproc_da_to_va()
397 da, len, va); in imx_rproc_da_to_va()
438 u32 da; in imx_rproc_prepare() local
461 da = rmem->base; in imx_rproc_prepare()
[all …]
Dremoteproc_coredump.c48 int rproc_coredump_add_segment(struct rproc *rproc, dma_addr_t da, size_t size) in rproc_coredump_add_segment() argument
56 segment->da = da; in rproc_coredump_add_segment()
80 dma_addr_t da, size_t size, in rproc_coredump_add_custom_segment() argument
93 segment->da = da; in rproc_coredump_add_custom_segment()
162 ptr = rproc_da_to_va(rproc, segment->da + offset, size, &is_iomem); in rproc_copy_segment()
166 &segment->da, offset, size); in rproc_copy_segment()
298 elf_phdr_set_p_vaddr(class, phdr, segment->da); in rproc_coredump()
299 elf_phdr_set_p_paddr(class, phdr, segment->da); in rproc_coredump()
438 elf_shdr_set_sh_addr(class, shdr, segment->da); in rproc_coredump_using_sections()
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_helpers.c671 struct dal_allocation *da; in dm_helpers_allocate_gpu_mem() local
676 da = kzalloc(sizeof(struct dal_allocation), GFP_KERNEL); in dm_helpers_allocate_gpu_mem()
677 if (!da) in dm_helpers_allocate_gpu_mem()
681 domain, &da->bo, in dm_helpers_allocate_gpu_mem()
682 &da->gpu_addr, &da->cpu_ptr); in dm_helpers_allocate_gpu_mem()
684 *addr = da->gpu_addr; in dm_helpers_allocate_gpu_mem()
687 kfree(da); in dm_helpers_allocate_gpu_mem()
692 list_add(&da->list, &adev->dm.da_list); in dm_helpers_allocate_gpu_mem()
694 return da->cpu_ptr; in dm_helpers_allocate_gpu_mem()
703 struct dal_allocation *da; in dm_helpers_free_gpu_mem() local
[all …]
/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 …]
/drivers/of/
Daddress.c73 u64 cp, s, da; in of_bus_default_map() local
77 da = of_read_number(addr, na); in of_bus_default_map()
79 pr_debug("default map, cp=%llx, s=%llx, da=%llx\n", cp, s, da); in of_bus_default_map()
81 if (da < cp || da >= (cp + s)) in of_bus_default_map()
83 return da - cp; in of_bus_default_map()
170 u64 cp, s, da; in of_bus_pci_map() local
183 da = of_read_number(addr + 1, na - 1); in of_bus_pci_map()
185 pr_debug("PCI map, cp=%llx, s=%llx, da=%llx\n", cp, s, da); in of_bus_pci_map()
187 if (da < cp || da >= (cp + s)) in of_bus_pci_map()
189 return da - cp; in of_bus_pci_map()
[all …]
Dfdt_address.c73 u64 cp, s, da; in fdt_bus_default_map() local
77 da = of_read_number(addr, na); in fdt_bus_default_map()
80 cp, s, da); in fdt_bus_default_map()
82 if (da < cp || da >= (cp + s)) in fdt_bus_default_map()
84 return da - cp; in fdt_bus_default_map()

123456