/drivers/iommu/ |
D | omap-iovmm.c | 130 static unsigned sgtable_nents(size_t bytes, u32 da, u32 pa) in sgtable_nents() argument 140 ent_sz = max_alignment(da | pa); in sgtable_nents() 143 da += ent_sz; in sgtable_nents() 153 u32 da, u32 pa) in sgtable_alloc() argument 166 nr_entries = sgtable_nents(bytes, da, pa); in sgtable_alloc() 255 const u32 da) in __find_iovm_area() argument 260 if ((da >= tmp->da_start) && (da < tmp->da_end)) { in __find_iovm_area() 266 __func__, tmp->da_start, da, tmp->da_end, len, in __find_iovm_area() 283 struct iovm_struct *omap_find_iovm_area(struct device *dev, u32 da) in omap_find_iovm_area() argument 289 area = __find_iovm_area(obj, da); in omap_find_iovm_area() [all …]
|
D | omap-iommu.c | 224 static u32 iommu_report_fault(struct omap_iommu *obj, u32 *da) in iommu_report_fault() argument 226 return arch_iommu->fault_isr(obj, da); in iommu_report_fault() 375 static void flush_iotlb_page(struct omap_iommu *obj, u32 da) in flush_iotlb_page() argument 392 if ((start <= da) && (da < start + bytes)) { in flush_iotlb_page() 394 __func__, start, da, bytes); in flush_iotlb_page() 402 dev_dbg(obj->dev, "%s: no page for %08x\n", __func__, da); in flush_iotlb_page() 529 static u32 *iopte_alloc(struct omap_iommu *obj, u32 *iopgd, u32 da) in iopte_alloc() argument 558 iopte = iopte_offset(iopgd, da); in iopte_alloc() 562 __func__, da, iopgd, *iopgd, iopte, *iopte); in iopte_alloc() 567 static int iopgd_alloc_section(struct omap_iommu *obj, u32 da, u32 pa, u32 prot) in iopgd_alloc_section() argument [all …]
|
D | omap-iopgtable.h | 87 #define iopgd_index(da) (((da) >> IOPGD_SHIFT) & (PTRS_PER_IOPGD - 1)) argument 88 #define iopgd_offset(obj, da) ((obj)->iopgd + iopgd_index(da)) argument 94 #define iopte_index(da) (((da) >> IOPTE_SHIFT) & (PTRS_PER_IOPTE - 1)) argument 95 #define iopte_offset(iopgd, da) (iopgd_page_vaddr(iopgd) + iopte_index(da)) argument
|
D | omap-iommu2.c | 123 u32 stat, da; in omap2_iommu_fault_isr() local 133 da = iommu_read_reg(obj, MMU_FAULT_AD); in omap2_iommu_fault_isr() 134 *ra = da; in omap2_iommu_fault_isr() 176 if (e->da & ~(get_cam_va_mask(e->pgsz))) { in omap2_alloc_cr() 178 e->da); in omap2_alloc_cr() 186 cr->cam = (e->da & MMU_CAM_VATAG_MASK) | e->prsvd | e->pgsz | e->valid; in omap2_alloc_cr() 287 e->da = cr->cam & MMU_CAM_VATAG_MASK; in omap2_cr_to_e()
|
D | omap-iommu-debug.c | 129 #define dump_ioptable_entry_one(lv, da, val) \ argument 135 bytes = snprintf(p, maxcol, str, lv, da, val); \ 155 u32 da; in dump_ioptable() local 161 da = i << IOPGD_SHIFT; in dump_ioptable() 163 err = dump_ioptable_entry_one(1, da, *iopgd); in dump_ioptable() 175 da = (i << IOPGD_SHIFT) + (j << IOPTE_SHIFT); in dump_ioptable() 176 err = dump_ioptable_entry_one(2, da, *iopgd); in dump_ioptable()
|
/drivers/hwmon/ |
D | via686a.c | 358 static ssize_t show_in(struct device *dev, struct device_attribute *da, in show_in() argument 361 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in() 366 static ssize_t show_in_min(struct device *dev, struct device_attribute *da, in show_in_min() argument 369 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in_min() 374 static ssize_t show_in_max(struct device *dev, struct device_attribute *da, in show_in_max() argument 377 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in_max() 382 static ssize_t set_in_min(struct device *dev, struct device_attribute *da, in set_in_min() argument 385 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_in_min() 401 static ssize_t set_in_max(struct device *dev, struct device_attribute *da, in set_in_max() argument 404 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_in_max() [all …]
|
D | emc2103.c | 187 show_temp(struct device *dev, struct device_attribute *da, char *buf) in show_temp() argument 189 int nr = to_sensor_dev_attr(da)->index; in show_temp() 197 show_temp_min(struct device *dev, struct device_attribute *da, char *buf) in show_temp_min() argument 199 int nr = to_sensor_dev_attr(da)->index; in show_temp_min() 206 show_temp_max(struct device *dev, struct device_attribute *da, char *buf) in show_temp_max() argument 208 int nr = to_sensor_dev_attr(da)->index; in show_temp_max() 215 show_temp_fault(struct device *dev, struct device_attribute *da, char *buf) in show_temp_fault() argument 217 int nr = to_sensor_dev_attr(da)->index; in show_temp_fault() 224 show_temp_min_alarm(struct device *dev, struct device_attribute *da, char *buf) in show_temp_min_alarm() argument 226 int nr = to_sensor_dev_attr(da)->index; in show_temp_min_alarm() [all …]
|
D | lm78.c | 157 static ssize_t show_in(struct device *dev, struct device_attribute *da, in show_in() argument 160 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in() 165 static ssize_t show_in_min(struct device *dev, struct device_attribute *da, in show_in_min() argument 168 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in_min() 173 static ssize_t show_in_max(struct device *dev, struct device_attribute *da, in show_in_max() argument 176 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in_max() 181 static ssize_t set_in_min(struct device *dev, struct device_attribute *da, in set_in_min() argument 184 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_in_min() 201 static ssize_t set_in_max(struct device *dev, struct device_attribute *da, in set_in_max() argument 204 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_in_max() [all …]
|
D | sis5595.c | 224 static ssize_t show_in(struct device *dev, struct device_attribute *da, in show_in() argument 228 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in() 233 static ssize_t show_in_min(struct device *dev, struct device_attribute *da, in show_in_min() argument 237 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in_min() 242 static ssize_t show_in_max(struct device *dev, struct device_attribute *da, in show_in_max() argument 246 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_in_max() 251 static ssize_t set_in_min(struct device *dev, struct device_attribute *da, in set_in_min() argument 255 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_in_min() 271 static ssize_t set_in_max(struct device *dev, struct device_attribute *da, in set_in_max() argument 275 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_in_max() [all …]
|
D | lm73.c | 65 static ssize_t set_temp(struct device *dev, struct device_attribute *da, in set_temp() argument 68 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_temp() 84 static ssize_t show_temp(struct device *dev, struct device_attribute *da, in show_temp() argument 87 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_temp() 101 static ssize_t set_convrate(struct device *dev, struct device_attribute *da, in set_convrate() argument 136 static ssize_t show_convrate(struct device *dev, struct device_attribute *da, in show_convrate() argument 148 struct device_attribute *da, char *buf) in show_maxmin_alarm() argument 151 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_maxmin_alarm()
|
D | adt7x10.c | 234 struct device_attribute *da, in adt7x10_show_temp() argument 237 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in adt7x10_show_temp() 254 struct device_attribute *da, in adt7x10_set_temp() argument 257 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in adt7x10_set_temp() 277 struct device_attribute *da, in adt7x10_show_t_hyst() argument 280 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in adt7x10_show_t_hyst() 298 struct device_attribute *da, in adt7x10_set_t_hyst() argument 321 struct device_attribute *da, in adt7x10_show_alarm() argument 324 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in adt7x10_show_alarm() 335 struct device_attribute *da, in adt7x10_show_name() argument
|
D | ds1621.c | 143 static ssize_t show_temp(struct device *dev, struct device_attribute *da, in show_temp() argument 146 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_temp() 152 static ssize_t set_temp(struct device *dev, struct device_attribute *da, in set_temp() argument 155 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_temp() 173 static ssize_t show_alarms(struct device *dev, struct device_attribute *da, in show_alarms() argument 180 static ssize_t show_alarm(struct device *dev, struct device_attribute *da, in show_alarm() argument 183 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_alarm()
|
D | ltc4215.c | 140 struct device_attribute *da, in ltc4215_show_voltage() argument 143 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc4215_show_voltage() 150 struct device_attribute *da, in ltc4215_show_current() argument 159 struct device_attribute *da, in ltc4215_show_power() argument 172 struct device_attribute *da, in ltc4215_show_alarm() argument 175 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc4215_show_alarm()
|
D | ltc4245.c | 261 struct device_attribute *da, in ltc4245_show_voltage() argument 264 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc4245_show_voltage() 271 struct device_attribute *da, in ltc4245_show_current() argument 274 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc4245_show_current() 281 struct device_attribute *da, in ltc4245_show_power() argument 284 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc4245_show_power() 295 struct device_attribute *da, in ltc4245_show_alarm() argument 298 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(da); in ltc4245_show_alarm() 307 struct device_attribute *da, in ltc4245_show_gpio() argument 310 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc4245_show_gpio()
|
D | ds620.c | 142 static ssize_t show_temp(struct device *dev, struct device_attribute *da, in show_temp() argument 145 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_temp() 154 static ssize_t set_temp(struct device *dev, struct device_attribute *da, in set_temp() argument 160 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in set_temp() 179 static ssize_t show_alarm(struct device *dev, struct device_attribute *da, in show_alarm() argument 182 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in show_alarm()
|
D | ina209.c | 234 struct device_attribute *da, in ina209_set_interval() argument 261 struct device_attribute *da, char *buf) in ina209_show_interval() argument 284 struct device_attribute *da, in ina209_reset_history() argument 290 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ina209_reset_history() 311 struct device_attribute *da, in ina209_set_value() argument 317 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ina209_set_value() 343 struct device_attribute *da, in ina209_show_value() argument 346 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ina209_show_value() 358 struct device_attribute *da, in ina209_show_alarm() argument 361 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ina209_show_alarm()
|
D | lineage-pem.c | 285 struct device_attribute *da, char *buf) in pem_show_bool() argument 287 struct sensor_device_attribute_2 *attr = to_sensor_dev_attr_2(da); in pem_show_bool() 298 static ssize_t pem_show_data(struct device *dev, struct device_attribute *da, in pem_show_data() argument 301 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in pem_show_data() 314 static ssize_t pem_show_input(struct device *dev, struct device_attribute *da, in pem_show_input() argument 317 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in pem_show_input() 330 static ssize_t pem_show_fan(struct device *dev, struct device_attribute *da, in pem_show_fan() argument 333 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in pem_show_fan()
|
D | w83781d.c | 260 static ssize_t show_##reg(struct device *dev, struct device_attribute *da, \ 263 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); \ 274 *da, const char *buf, size_t count) \ 276 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); \ 313 static ssize_t show_##reg(struct device *dev, struct device_attribute *da, \ 316 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); \ 326 store_fan_min(struct device *dev, struct device_attribute *da, in store_fan_min() argument 329 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in store_fan_min() 360 static ssize_t show_##reg(struct device *dev, struct device_attribute *da, \ 363 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); \ [all …]
|
D | ltc4261.c | 136 struct device_attribute *da, char *buf) in ltc4261_show_value() argument 138 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc4261_show_value() 150 struct device_attribute *da, char *buf) in ltc4261_show_bool() argument 152 struct sensor_device_attribute *attr = to_sensor_dev_attr(da); in ltc4261_show_bool()
|
D | g760a.c | 131 static ssize_t show_fan(struct device *dev, struct device_attribute *da, in show_fan() argument 145 static ssize_t show_fan_alarm(struct device *dev, struct device_attribute *da, in show_fan_alarm() argument 155 static ssize_t get_pwm(struct device *dev, struct device_attribute *da, in get_pwm() argument 163 static ssize_t set_pwm(struct device *dev, struct device_attribute *da, in set_pwm() argument
|
/drivers/of/ |
D | address.c | 62 u64 cp, s, da; in of_bus_default_map() local 66 da = of_read_number(addr, na); in of_bus_default_map() 70 (unsigned long long)da); in of_bus_default_map() 80 if (da < cp || da >= (cp + s)) in of_bus_default_map() 82 return da - cp; in of_bus_default_map() 144 u64 cp, s, da; in of_bus_pci_map() local 157 da = of_read_number(addr + 1, na - 1); in of_bus_pci_map() 161 (unsigned long long)da); in of_bus_pci_map() 163 if (da < cp || da >= (cp + s)) in of_bus_pci_map() 165 return da - cp; in of_bus_pci_map() [all …]
|
/drivers/media/dvb-frontends/ |
D | dibx000_common.c | 92 u16 da; in dibx000_master_i2c_write() local 107 da = (((u8) (msg->addr)) << 9) | in dibx000_master_i2c_write() 117 da |= 1 << 5; /* start */ in dibx000_master_i2c_write() 120 da |= 1 << 6; /* stop */ in dibx000_master_i2c_write() 122 dibx000_write_word(mst, mst->base_reg+1, da); in dibx000_master_i2c_write() 134 u16 da; in dibx000_master_i2c_read() local 140 da = (((u8) (msg->addr)) << 9) | in dibx000_master_i2c_read() 150 da |= 1 << 5; /* start */ in dibx000_master_i2c_read() 153 da |= 1 << 6; /* stop */ in dibx000_master_i2c_read() 154 dibx000_write_word(mst, mst->base_reg+1, da); in dibx000_master_i2c_read() [all …]
|
/drivers/remoteproc/ |
D | remoteproc_core.c | 167 void *rproc_da_to_va(struct rproc *rproc, u64 da, int len) in rproc_da_to_va() argument 173 int offset = da - carveout->da; in rproc_da_to_va() 242 rsc->vring[i].da = dma; in rproc_alloc_vring() 256 i, vring->da, vring->num, vring->align); in rproc_parse_vring() 290 rsc->vring[idx].da = 0; in rproc_free_vring() 418 ptr = rproc_da_to_va(rproc, rsc->da, rsc->len); in rproc_handle_trace() 450 rsc->da, rsc->len); in rproc_handle_trace() 508 ret = iommu_map(rproc->domain, rsc->da, rsc->pa, rsc->len, rsc->flags); in rproc_handle_devmem() 521 mapping->da = rsc->da; in rproc_handle_devmem() 526 rsc->pa, rsc->da, rsc->len); in rproc_handle_devmem() [all …]
|
D | remoteproc_elf_loader.c | 159 u32 da = phdr->p_paddr; local 169 phdr->p_type, da, memsz, filesz); 186 ptr = rproc_da_to_va(rproc, da, memsz); 188 dev_err(dev, "bad phdr da 0x%x mem 0x%x\n", da, memsz);
|
/drivers/staging/rtl8712/ |
D | wifi.h | 330 static inline int IS_MCAST(unsigned char *da) in IS_MCAST() argument 332 if ((*da) & 0x01) in IS_MCAST() 341 unsigned char *da; in get_da() local 346 da = GetAddr1Ptr(pframe); in get_da() 349 da = GetAddr1Ptr(pframe); in get_da() 352 da = GetAddr3Ptr(pframe); in get_da() 355 da = GetAddr3Ptr(pframe); in get_da() 358 return da; in get_da()
|