| /linux/drivers/net/wireless/ath/ath9k/ |
| H A 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 …]
|
| /linux/drivers/net/ethernet/ti/ |
| H A D | tlan.h | 515 * #define DA(a, bit) (( (u8) a[bit/8] ) & ( (u8) (1 << bit%8)) ) 517 * hash = XOR8(DA(a,0), DA(a, 6), DA(a,12), DA(a,18), DA(a,24), 518 * DA(a,30), DA(a,36), DA(a,42)); 519 * hash |= XOR8(DA(a,1), DA(a, 7), DA(a,13), DA(a,19), DA(a,25), 520 * DA(a,31), DA(a,37), DA(a,43)) << 1; 521 * hash |= XOR8(DA(a,2), DA(a, 8), DA(a,14), DA(a,20), DA(a,26), 522 * DA(a,32), DA(a,38), DA(a,44)) << 2; 523 * hash |= XOR8(DA(a,3), DA(a, 9), DA(a,15), DA(a,21), DA(a,27), 524 * DA(a,33), DA(a,39), DA(a,45)) << 3; 525 * hash |= XOR8(DA(a,4), DA(a,10), DA(a,16), DA(a,22), DA(a,28), [all …]
|
| /linux/fs/nfs/ |
| H A D | pnfs_nfs.c | 621 struct nfs4_pnfs_ds_addr *da = kzalloc(sizeof(*da), gfp_flags); in nfs4_pnfs_ds_addr_alloc() local 622 if (da) in nfs4_pnfs_ds_addr_alloc() 623 INIT_LIST_HEAD(&da->da_node); in nfs4_pnfs_ds_addr_alloc() 624 return da; in nfs4_pnfs_ds_addr_alloc() 627 static void nfs4_pnfs_ds_addr_free(struct nfs4_pnfs_ds_addr *da) in nfs4_pnfs_ds_addr_free() argument 629 kfree(da->da_remotestr); in nfs4_pnfs_ds_addr_free() 630 kfree(da->da_netid); in nfs4_pnfs_ds_addr_free() 631 kfree(da); in nfs4_pnfs_ds_addr_free() 636 struct nfs4_pnfs_ds_addr *da; in destroy_ds() local 645 da = list_first_entry(&ds->ds_addrs, in destroy_ds() [all …]
|
| /linux/fs/nfsd/ |
| H A D | flexfilelayout.c | 84 struct pnfs_ff_device_addr *da; in nfsd4_ff_proc_getdeviceinfo() local 89 da = kzalloc(sizeof(struct pnfs_ff_device_addr), GFP_KERNEL); in nfsd4_ff_proc_getdeviceinfo() 90 if (!da) in nfsd4_ff_proc_getdeviceinfo() 93 gdp->gd_device = da; in nfsd4_ff_proc_getdeviceinfo() 95 da->version = 3; in nfsd4_ff_proc_getdeviceinfo() 96 da->minor_version = 0; in nfsd4_ff_proc_getdeviceinfo() 98 da->rsize = svc_max_payload(rqstp); in nfsd4_ff_proc_getdeviceinfo() 99 da->wsize = da->rsize; in nfsd4_ff_proc_getdeviceinfo() 108 snprintf(da->netaddr.netid, FF_NETID_LEN + 1, "tcp"); in nfsd4_ff_proc_getdeviceinfo() 109 da->netaddr.netid_len = 3; in nfsd4_ff_proc_getdeviceinfo() [all …]
|
| H A D | flexfilelayoutxdr.c | 81 struct pnfs_ff_device_addr *da = gdp->gd_device; in nfsd4_ff_encode_getdeviceinfo() local 97 addr_len = 16 + da->netaddr.netid_len + da->netaddr.addr_len; in nfsd4_ff_encode_getdeviceinfo() 112 p = xdr_encode_opaque(p, da->netaddr.netid, da->netaddr.netid_len); in nfsd4_ff_encode_getdeviceinfo() 113 p = xdr_encode_opaque(p, da->netaddr.addr, da->netaddr.addr_len); in nfsd4_ff_encode_getdeviceinfo() 117 *p++ = cpu_to_be32(da->version); in nfsd4_ff_encode_getdeviceinfo() 118 *p++ = cpu_to_be32(da->minor_version); in nfsd4_ff_encode_getdeviceinfo() 119 *p++ = cpu_to_be32(da->rsize); in nfsd4_ff_encode_getdeviceinfo() 120 *p++ = cpu_to_be32(da->wsize); in nfsd4_ff_encode_getdeviceinfo() 121 *p++ = cpu_to_be32(da->tightly_coupled); in nfsd4_ff_encode_getdeviceinfo()
|
| /linux/fs/smb/server/ |
| H A D | ndr.c | 170 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/drivers/pinctrl/ |
| H A D | pinctrl-ep93xx.c | 148 PINCTRL_PIN(29, "DA[15]"), 150 PINCTRL_PIN(31, "DA[14]"), 152 PINCTRL_PIN(33, "DA[13]"), 156 PINCTRL_PIN(37, "DA[12]"), 158 PINCTRL_PIN(39, "DA[11]"), 162 PINCTRL_PIN(43, "DA[10]"), 164 PINCTRL_PIN(45, "DA[9]"), 166 PINCTRL_PIN(47, "DA[8]"), 175 PINCTRL_PIN(56, "DA[7]"), 179 PINCTRL_PIN(60, "DA[6]"), [all …]
|
| /linux/drivers/misc/ |
| H A D | smpro-errmon.c | 212 struct device_attribute *da, char *buf, in smpro_event_data_read() argument 229 static ssize_t smpro_overflow_data_read(struct device *dev, struct device_attribute *da, in smpro_overflow_data_read() argument 247 static ssize_t smpro_error_data_read(struct device *dev, struct device_attribute *da, in smpro_error_data_read() argument 297 static ssize_t smpro_internal_err_read(struct device *dev, struct device_attribute *da, in smpro_internal_err_read() argument 360 static ssize_t smpro_internal_warn_read(struct device *dev, struct device_attribute *da, in smpro_internal_warn_read() argument 404 struct device_attribute *da, \ 407 return smpro_overflow_data_read(dev, da, buf, _index); \ 422 struct device_attribute *da, \ 425 return smpro_error_data_read(dev, da, buf, _index); \ 438 static ssize_t error_smpro_show(struct device *dev, struct device_attribute *da, char *buf) in error_smpro_show() argument [all …]
|
| /linux/Documentation/translations/it_IT/process/ |
| H A D | 7.AdvancedTopics.rst | 12 di sviluppo. Ma rimane comunque molto da imparare! Questo capitolo copre 30 strumento giovane e potente che è ancora in fase di civilizzazione da parte 44 La prima cosa da fare prima di usarlo per produrre patch che saranno 53 Il tutto potrebbe essere un po' intimidatorio visto da fuori, ma con un po' 54 di studio i concetti non saranno così difficili da capire. 56 Utilizzare git per produrre patch da sottomettere via email può essere 57 un buon esercizio da fare mentre si sta prendendo confidenza con lo strumento. 59 Quando sarete in grado di creare rami git che siano guardabili da altri, 61 modifiche. Se avete un server accessibile da Internet, configurarlo per 65 su kernel.org, ma non è proprio facile da ottenere; per maggiori informazioni [all …]
|
| H A D | 6.Followthrough.rst | 15 persino da sviluppatori kernel esperti è quello di concludere che il 18 probabilmente, ancora un po' di lavoro da fare. 33 da parte di altri sviluppatori dato che avranno revisionato il codice. 43 richiesti - da piccoli problemi di stile a sostanziali ristesure - 81 il vostro codice, spiegateglielo. Se avete un'obiezione tecnica da fargli 99 modifiche non andranno da nessuna parte. 126 Se la modifica è ritenuta un elemento valido da essere aggiunta al kernel, 129 sottosistema gestito da un manutentore. Come ciò avviene dipende dal 145 possibilità per voi di ricevere ulteriori commenti da un nuovo gruppo di 150 modifica, riguarda eventuali conflitti con il lavoro svolto da altri. [all …]
|
| H A D | 1.Intro.rst | 38 da altri sviluppatori. Il capitolo copre anche alcuni dei requisiti per le 59 da altri. 78 hardware vogliono assicurarsi che il loro prodotti siano supportati da Linux, 110 a coloro che cercano di imparare, ha poco tempo da dedicare a coloro che non 123 Questo documento è stato scritto da Jonathan Corbet, corbet@lwn.net. 124 È stato migliorato da Johannes Berg, James Berry, Alex Chiang, Roland 138 s'intende quello mantenuto da Linus Torvalds e usato come base dai 173 - Oltre a ciò, spesso il codice che è all'interno del kernel sarà migliorato da 184 dalle revisioni provenienti da sviluppatori esteri. Il codice 189 "reclamano da bordo campo" sono ascoltati, ma gli sviluppatori attivi [all …]
|
| H A D | botching-up-ioctls.rst | 9 Preso da: https://blog.ffwll.ch/2013/11/botching-up-ioctls.html 11 Scritto da : Daniel Vetter, Copyright © 2013 Intel Corporation 51 * I puntatori sono di tipo ``__u64``, con un *cast* da/a ``uintptr_t`` da lato 52 spazio utente e da/a ``void __user *`` nello spazio kernel. Sforzatevi il più 136 sicurezza per rilevare situazioni di stallo quando l'hardware da di matto. 149 perfettamente, il che significa che qui ci sono ancora una valanga di lezioni da 153 questo è quello che viene usato di base da alsa, drm, e v4l. Tuttavia, 155 derivano da domini temporali diversi come il vostro orologio di sistema 156 (fornito dal kernel) oppure un contatore hardware indipendente da qualche 175 qualcosa di molto lento come il contatore di *frame*. Con la giacca da [all …]
|
| /linux/sound/soc/codecs/ |
| H 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() 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/Documentation/translations/it_IT/locking/ |
| H A D | lockdep-design.rst | 69 Per un dato blocco, da sinistra verso destra, la posizione del bit indica l'uso 74 '.' acquisito con interruzioni disabilitate fuori da un contesto d'interruzione 84 ||| \-> softirq disabilitati e fuori da un contesto di softirq 86 | \---> hardirq disabilitati e fuori da un contesto di hardirq 146 perché porterebbe ad uno stallo - chiamato stallo da blocco inverso - in cui si 154 permesse, indipendentemente da quale che sia la classe di blocco:: 162 stallo da blocco inverso. La seconda, analogamente, ci dice che un blocco sicuro 262 restituisce 'struct pin_cookie' che viene usato da lockdep_unpin_lock() per 279 tuttavia sono le verifiche in esecuzione effettuate da queste macro ad essere 307 impossibile da fare) [all …]
|
| /linux/drivers/iommu/ |
| H 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/drivers/hwmon/ |
| H A 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 …]
|
| H A 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 …]
|
| H A D | tc654.c | 195 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 …]
|
| /linux/drivers/target/ |
| H A D | target_core_configfs.c | 586 struct se_dev_attrib *da = to_attrib(item); \ 593 da->_name = val; \ 607 struct se_dev_attrib *da = to_attrib(item); \ 614 da->_name = flag; \ 659 struct se_dev_attrib *da = to_attrib(item); in emulate_model_alias_store() local 660 struct se_device *dev = da->da_dev; in emulate_model_alias_store() 680 da->emulate_model_alias = flag; in emulate_model_alias_store() 687 struct se_dev_attrib *da = to_attrib(item); in emulate_write_cache_store() local 695 if (flag && da->da_dev->transport->get_write_cache) { in emulate_write_cache_store() 700 da->emulate_write_cache = flag; in emulate_write_cache_store() [all …]
|
| /linux/lib/crypto/powerpc/ |
| H A D | curve25519.h | 139 fe51 da, cb, aa, bb; in curve25519_fe51() local 154 fmul(da, d, a); // DA = D * A in curve25519_fe51() 159 fadd(dacb_p, da, cb); // DA + CB in curve25519_fe51() 160 fsub(dacb_m, da, cb); // DA - CB in curve25519_fe51() 163 fsqr(z2, dacb_m); // (DA - CB)^2 in curve25519_fe51() 164 fsqr(x3, dacb_p); // x3 = (DA + CB)^2 in curve25519_fe51() 166 fmul(z3, x1, z2); // z3 = x1 * (DA - CB)^2 in curve25519_fe51() 167 fmul(z2, e, b); // z2 = e * (BB + (DA + CB)^2) in curve25519_fe51()
|
| /linux/include/linux/ |
| H A D | remoteproc.h | 130 * @da: device address 149 * If the firmware is compiled with static addresses, then @da should specify 150 * the expected device address of this memory region. If @da is set to 152 * overwrite @da with the dynamically allocated address. 154 * We will always use @da to negotiate the device addresses, even if it 172 u32 da; member 182 * @da: device address 197 * @da should specify the required device address, @pa should specify 210 u32 da; member 220 * @da: device address [all …]
|
| /linux/fs/nfs/filelayout/ |
| H A D | filelayoutdev.c | 78 struct nfs4_pnfs_ds_addr *da; in nfs4_fl_alloc_deviceid_node() local 163 da = nfs4_decode_mp_ds_addr(net, &stream, gfp_flags); in nfs4_fl_alloc_deviceid_node() 164 if (da) in nfs4_fl_alloc_deviceid_node() 165 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 …]
|
| /linux/net/ipv4/ |
| H 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() 175 * k2 + da 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() 215 * b = k3 + k4 da in beta() 217 return (BETA_MIN * d3 - BETA_MAX * d2 + (BETA_MAX - BETA_MIN) * da) in beta() [all …]
|
| /linux/drivers/net/ethernet/aquantia/atlantic/macsec/ |
| H A D | macsec_struct.h | 13 /*! This is used to store the 48 bit value used to compare SA, DA or 27 * 1: compare DA only 29 * 3: compare half DA + half SA 31 * 5: compare DA + ethertype 33 * 7: compare DA+ range. 84 * This byte location counted from MAC' DA address. i.e. set to 0 85 * will point to byte 0 of DA address. 94 * This byte location counted from MAC' DA address. i.e. set to 0 95 * will point to byte 0 of DA address. 104 * This byte location counted from MAC' DA address. i.e. set to 0 [all …]
|
| /linux/drivers/remoteproc/ |
| H A D | remoteproc_core.c | 90 dev_err(dev, "iommu fault: da 0x%lx flags 0x%x\n", iova, flags); in rproc_iommu_fault() 167 * @da: remoteproc device address to translate 168 * @len: length of the memory region @da is pointing to 169 * @is_iomem: optional pointer filled in to indicate if @da is iomapped memory 187 * Note: phys_to_virt(iommu_iova_to_phys(rproc->domain, da)) will work too, 194 void *rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in rproc_da_to_va() argument 200 ptr = rproc->ops->da_to_va(rproc, da, len, is_iomem); in rproc_da_to_va() 206 int offset = da - carveout->da; in rproc_da_to_va() 212 /* try next carveout if da is too small */ in rproc_da_to_va() 216 /* try next carveout if da is too large */ in rproc_da_to_va() [all …]
|