Home
last modified time | relevance | path

Searched refs:addr (Results 1901 - 1925 of 21970) sorted by relevance

1...<<71727374757677787980>>...879

/kernel/linux/linux-5.10/include/sound/
H A Dhdaudio.h53 unsigned int addr; /* codec address */ member
118 const char *name, unsigned int addr);
242 int (*get_response)(struct hdac_bus *bus, unsigned int addr,
264 dma_addr_t addr; /* physical address of CORB/RIRB buffer */ member
290 unsigned long addr; member
378 int snd_hdac_bus_exec_verb_unlocked(struct hdac_bus *bus, unsigned int addr,
383 set_bit(codec->addr, &codec->bus->codec_powered); in snd_hdac_codec_link_up()
388 clear_bit(codec->addr, &codec->bus->codec_powered); in snd_hdac_codec_link_down()
392 int snd_hdac_bus_get_response(struct hdac_bus *bus, unsigned int addr,
413 unsigned int snd_hdac_aligned_read(void __iomem *addr, unsigne
423 snd_hdac_reg_writeb(struct hdac_bus *bus, void __iomem *addr, u8 val) snd_hdac_reg_writeb() argument
432 snd_hdac_reg_writew(struct hdac_bus *bus, void __iomem *addr, u16 val) snd_hdac_reg_writew() argument
441 snd_hdac_reg_readb(struct hdac_bus *bus, void __iomem *addr) snd_hdac_reg_readb() argument
447 snd_hdac_reg_readw(struct hdac_bus *bus, void __iomem *addr) snd_hdac_reg_readw() argument
[all...]
/third_party/ffmpeg/libavcodec/mips/
H A Dh264pred_mmi.c63 mips_reg addr[2]; in ff_pred16x16_horizontal_8_mmi() local
90 [addr0]"=&r"(addr[0]), [addr1]"=&r"(addr[1]) in ff_pred16x16_horizontal_8_mmi()
100 mips_reg addr[2]; in ff_pred16x16_dc_8_mmi() local
148 [addr0]"=&r"(addr[0]), [addr1]"=&r"(addr[1]) in ff_pred16x16_dc_8_mmi()
442 mips_reg addr[1]; in ff_pred4x4_dc_8_mmi() local
458 [addr0]"=&r"(addr[0]) in ff_pred4x4_dc_8_mmi()
468 mips_reg addr[2]; in ff_pred8x8_vertical_8_mmi() local
486 [addr0]"=&r"(addr[ in ff_pred8x8_vertical_8_mmi()
495 mips_reg addr[2]; ff_pred8x8_horizontal_8_mmi() local
529 mips_reg addr[1]; ff_pred8x8_top_dc_8_mmi() local
580 mips_reg addr[7]; ff_pred8x8_dc_8_mmi() local
717 mips_reg addr[2]; ff_pred8x16_horizontal_8_mmi() local
752 mips_reg addr[1]; pred16x16_plane_compat_mmi() local
[all...]
/third_party/node/deps/v8/src/execution/loong64/
H A Dsimulator-loong64.h331 inline uint32_t ReadBU(int64_t addr);
332 inline int32_t ReadB(int64_t addr);
333 inline void WriteB(int64_t addr, uint8_t value);
334 inline void WriteB(int64_t addr, int8_t value);
336 inline uint16_t ReadHU(int64_t addr, Instruction* instr);
337 inline int16_t ReadH(int64_t addr, Instruction* instr);
339 inline void WriteH(int64_t addr, uint16_t value, Instruction* instr);
340 inline void WriteH(int64_t addr, int16_t value, Instruction* instr);
342 inline uint32_t ReadWU(int64_t addr, Instruction* instr);
343 inline int32_t ReadW(int64_t addr, Instructio
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dap_drv_ops.h38 const u8 *addr, int aid, int val);
40 const u8 *addr, u16 aid, u16 capability,
56 const char *ifname, const u8 *addr, void *bss_ctx,
64 const u8 *addr, int idx, u8 *seq);
73 int hostapd_sta_set_flags(struct hostapd_data *hapd, u8 *addr,
75 int hostapd_sta_set_airtime_weight(struct hostapd_data *hapd, const u8 *addr,
94 enum wpa_alg alg, const u8 *addr,
103 const u8 *addr, int reason);
105 const u8 *addr, int reason);
121 int hostapd_add_sta_node(struct hostapd_data *hapd, const u8 *addr,
162 hostapd_drv_set_sta_vlan(const char *ifname, struct hostapd_data *hapd, const u8 *addr, int vlan_id) hostapd_drv_set_sta_vlan() argument
172 hostapd_drv_get_inact_sec(struct hostapd_data *hapd, const u8 *addr) hostapd_drv_get_inact_sec() argument
180 hostapd_drv_sta_remove(struct hostapd_data *hapd, const u8 *addr) hostapd_drv_sta_remove() argument
188 hostapd_drv_hapd_send_eapol(struct hostapd_data *hapd, const u8 *addr, const u8 *data, size_t data_len, int encrypt, u32 flags) hostapd_drv_hapd_send_eapol() argument
200 hostapd_drv_read_sta_data( struct hostapd_data *hapd, struct hostap_sta_driver_data *data, const u8 *addr) hostapd_drv_read_sta_data() argument
209 hostapd_drv_sta_clear_stats(struct hostapd_data *hapd, const u8 *addr) hostapd_drv_sta_clear_stats() argument
260 hostapd_drv_poll_client(struct hostapd_data *hapd, const u8 *own_addr, const u8 *addr, int qos) hostapd_drv_poll_client() argument
312 hostapd_drv_br_add_ip_neigh(struct hostapd_data *hapd, int version, const u8 *ipaddr, int prefixlen, const u8 *addr) hostapd_drv_br_add_ip_neigh() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
H A Dwpa_common.c482 const u8 *addr[2]; in fils_rmsk_to_pmk() local
504 addr[0] = rmsk; in fils_rmsk_to_pmk()
508 addr[1] = dh_ss; in fils_rmsk_to_pmk()
514 addr, len, pmk); in fils_rmsk_to_pmk()
517 addr, len, pmk); in fils_rmsk_to_pmk()
529 const u8 *addr[1]; in fils_pmkid_erp() local
535 addr[0] = reauth; in fils_pmkid_erp()
538 res = sha384_vector(1, addr, len, hash); in fils_pmkid_erp()
540 res = sha256_vector(1, addr, len, hash); in fils_pmkid_erp()
669 const u8 *addr[ in fils_key_auth_sk() local
761 const u8 *addr[9]; wpa_ft_mic() local
1523 const u8 *addr[2]; wpa_derive_pmk_r0() local
1616 const u8 *addr[4]; wpa_derive_pmk_r1_name() local
1704 const u8 *addr[6]; wpa_pmk_r1_to_ptk() local
1841 const u8 *addr[3]; rsn_pmkid() local
1886 const u8 *addr[3]; rsn_pmkid_suite_b() local
1919 const u8 *addr[3]; rsn_pmkid_suite_b_192() local
2595 const u8 *addr[1]; fils_domain_name_hash() local
[all...]
/kernel/linux/linux-6.6/drivers/net/dsa/microchip/
H A Dksz9477.c22 static void ksz_cfg(struct ksz_device *dev, u32 addr, u8 bits, bool set) in ksz_cfg() argument
24 regmap_update_bits(ksz_regmap_8(dev), addr, bits, set ? bits : 0); in ksz_cfg() local
34 static void ksz9477_cfg32(struct ksz_device *dev, u32 addr, u32 bits, bool set) in ksz9477_cfg32() argument
36 regmap_update_bits(ksz_regmap_32(dev), addr, bits, set ? bits : 0); in ksz9477_cfg32() local
203 void ksz9477_r_mib_cnt(struct ksz_device *dev, int port, u16 addr, u64 *cnt) in ksz9477_r_mib_cnt() argument
213 data |= (addr << MIB_COUNTER_INDEX_S); in ksz9477_r_mib_cnt()
230 void ksz9477_r_mib_pkt(struct ksz_device *dev, int port, u16 addr, in ksz9477_r_mib_pkt() argument
233 addr = dev->info->mib_names[addr].index; in ksz9477_r_mib_pkt()
234 ksz9477_r_mib_cnt(dev, port, addr, cn in ksz9477_r_mib_pkt()
264 ksz9477_r_phy_quirks(struct ksz_device *dev, u16 addr, u16 reg, u16 *data) ksz9477_r_phy_quirks() argument
274 ksz9477_r_phy(struct ksz_device *dev, u16 addr, u16 reg, u16 *data) ksz9477_r_phy() argument
330 ksz9477_w_phy(struct ksz_device *dev, u16 addr, u16 reg, u16 val) ksz9477_w_phy() argument
468 ksz9477_fdb_add(struct ksz_device *dev, int port, const unsigned char *addr, u16 vid, struct dsa_db db) ksz9477_fdb_add() argument
524 ksz9477_fdb_del(struct ksz_device *dev, int port, const unsigned char *addr, u16 vid, struct dsa_db db) ksz9477_fdb_del() argument
[all...]
/kernel/linux/linux-6.6/fs/quota/
H A Dquota.c107 static int quota_getfmt(struct super_block *sb, int type, void __user *addr) in quota_getfmt() argument
114 if (copy_to_user(addr, &fmt, sizeof(fmt))) in quota_getfmt()
119 static int quota_getinfo(struct super_block *sb, int type, void __user *addr) in quota_getinfo() argument
142 if (copy_to_user(addr, &uinfo, sizeof(uinfo))) in quota_getinfo()
147 static int quota_setinfo(struct super_block *sb, int type, void __user *addr) in quota_setinfo() argument
152 if (copy_from_user(&info, addr, sizeof(info))) in quota_setinfo()
202 void __user *addr) in quota_getquota()
220 struct compat_if_dqblk __user *compat_dqblk = addr; in quota_getquota()
227 if (copy_to_user(addr, &idq, sizeof(idq))) in quota_getquota()
238 void __user *addr) in quota_getnextquota()
201 quota_getquota(struct super_block *sb, int type, qid_t id, void __user *addr) quota_getquota() argument
237 quota_getnextquota(struct super_block *sb, int type, qid_t id, void __user *addr) quota_getnextquota() argument
287 quota_setquota(struct super_block *sb, int type, qid_t id, void __user *addr) quota_setquota() argument
313 quota_enable(struct super_block *sb, void __user *addr) quota_enable() argument
324 quota_disable(struct super_block *sb, void __user *addr) quota_disable() argument
434 quota_getxstate(struct super_block *sb, int type, void __user *addr) quota_getxstate() argument
497 quota_getxstatev(struct super_block *sb, int type, void __user *addr) quota_getxstatev() argument
624 quota_setxquota(struct super_block *sb, int type, qid_t id, void __user *addr) quota_setxquota() argument
705 quota_getxquota(struct super_block *sb, int type, qid_t id, void __user *addr) quota_getxquota() argument
731 quota_getnextxquota(struct super_block *sb, int type, qid_t id, void __user *addr) quota_getnextxquota() argument
755 quota_rmxquota(struct super_block *sb, void __user *addr) quota_rmxquota() argument
767 do_quotactl(struct super_block *sb, int type, int cmd, qid_t id, void __user *addr, const struct path *path) do_quotactl() argument
[all...]
/kernel/linux/linux-6.6/net/dsa/
H A Dswitch.c145 const unsigned char *addr, u16 vid, in dsa_mac_addr_find()
151 if (ether_addr_equal(a->addr, addr) && a->vid == vid && in dsa_mac_addr_find()
170 trace_dsa_mdb_add_hw(dp, mdb->addr, mdb->vid, &db, err); in dsa_port_do_mdb_add()
177 a = dsa_mac_addr_find(&dp->mdbs, mdb->addr, mdb->vid, db); in dsa_port_do_mdb_add()
180 trace_dsa_mdb_add_bump(dp, mdb->addr, mdb->vid, &db, in dsa_port_do_mdb_add()
192 trace_dsa_mdb_add_hw(dp, mdb->addr, mdb->vid, &db, err); in dsa_port_do_mdb_add()
198 ether_addr_copy(a->addr, mdb->addr); in dsa_port_do_mdb_add()
222 trace_dsa_mdb_del_hw(dp, mdb->addr, md in dsa_port_do_mdb_del()
144 dsa_mac_addr_find(struct list_head *addr_list, const unsigned char *addr, u16 vid, struct dsa_db db) dsa_mac_addr_find() argument
258 dsa_port_do_fdb_add(struct dsa_port *dp, const unsigned char *addr, u16 vid, struct dsa_db db) dsa_port_do_fdb_add() argument
308 dsa_port_do_fdb_del(struct dsa_port *dp, const unsigned char *addr, u16 vid, struct dsa_db db) dsa_port_do_fdb_del() argument
354 dsa_switch_do_lag_fdb_add(struct dsa_switch *ds, struct dsa_lag *lag, const unsigned char *addr, u16 vid, struct dsa_db db) dsa_switch_do_lag_fdb_add() argument
396 dsa_switch_do_lag_fdb_del(struct dsa_switch *ds, struct dsa_lag *lag, const unsigned char *addr, u16 vid, struct dsa_db db) dsa_switch_do_lag_fdb_del() argument
[all...]
/third_party/libuv/src/unix/
H A Dudp.c301 if (req->addr.ss_family == AF_UNSPEC) { in uv__udp_sendmsg()
305 p->msg_hdr.msg_name = &req->addr; in uv__udp_sendmsg()
306 if (req->addr.ss_family == AF_INET6) in uv__udp_sendmsg()
308 else if (req->addr.ss_family == AF_INET) in uv__udp_sendmsg()
310 else if (req->addr.ss_family == AF_UNIX) in uv__udp_sendmsg()
382 if (req->addr.ss_family == AF_UNSPEC) { in uv__udp_sendmsg()
386 h.msg_name = &req->addr; in uv__udp_sendmsg()
387 if (req->addr.ss_family == AF_INET6) in uv__udp_sendmsg()
389 else if (req->addr.ss_family == AF_INET) in uv__udp_sendmsg()
391 else if (req->addr in uv__udp_sendmsg()
486 uv__udp_bind(uv_udp_t* handle, const struct sockaddr* addr, unsigned int addrlen, unsigned int flags) uv__udp_bind() argument
565 struct sockaddr_in* addr = &taddr.in; uv__udp_maybe_deferred_bind() local
574 struct sockaddr_in6* addr = &taddr.in6; uv__udp_maybe_deferred_bind() local
590 uv__udp_connect(uv_udp_t* handle, const struct sockaddr* addr, unsigned int addrlen) uv__udp_connect() argument
646 struct sockaddr_storage addr; uv__udp_disconnect() local
648 struct sockaddr addr; uv__udp_disconnect() local
686 uv__udp_send(uv_udp_send_t* req, uv_udp_t* handle, const uv_buf_t bufs[], unsigned int nbufs, const struct sockaddr* addr, unsigned int addrlen, uv_udp_send_cb send_cb) uv__udp_send() argument
752 uv__udp_try_send(uv_udp_t* handle, const uv_buf_t bufs[], unsigned int nbufs, const struct sockaddr* addr, unsigned int addrlen) uv__udp_try_send() argument
[all...]
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
H A Dinterface_manager_test.cpp118 std::string addr = "127.0.0.1"; in HWTEST_F() local
119 auto ret = InterfaceManager::ModifyAddress(0, interfaceName.c_str(), addr.c_str(), 0); in HWTEST_F()
122 addr = "fe80::af71:b0c7:e3f7:3c0f%5"; in HWTEST_F()
123 ret = InterfaceManager::ModifyAddress(0, interfaceName.c_str(), addr.c_str(), 0); in HWTEST_F()
130 std::string addr = "127.0.0.1"; in HWTEST_F() local
132 auto ret = InterfaceManager::DelAddress(interfaceName.c_str(), addr.c_str(), 0, netCapabilities); in HWTEST_F()
247 std::string addr = "08:00:20:0A:8C:6D"; in HWTEST_F() local
248 memcpy_s(req.arp_ha.sa_data, 14, addr.data(), addr.size()); in HWTEST_F()
268 std::string addr in HWTEST_F() local
281 std::string addr = "14.4.1.4"; HWTEST_F() local
290 std::string addr; HWTEST_F() local
304 std::string addr; HWTEST_F() local
321 std::string addr = ""; HWTEST_F() local
334 std::string addr = "14.4.1.4"; HWTEST_F() local
344 std::string addr; HWTEST_F() local
[all...]
/foundation/communication/dsoftbus/core/connection/common/src/
H A Dsoftbus_socket.c323 SoftBusSockAddr addr; in ConnGetPeerSocketAddr() local
328 int rc = SoftBusSocketGetPeerName(fd, &addr); in ConnGetPeerSocketAddr()
333 if (addr.saFamily == SOFTBUS_AF_INET6) { in ConnGetPeerSocketAddr()
334 rc = Ipv6AddrInToAddr((SoftBusSockAddrIn6 *)&addr, socketAddr->addr, sizeof(socketAddr->addr)); in ConnGetPeerSocketAddr()
335 socketAddr->port = SoftBusNtoHs(((SoftBusSockAddrIn6 *)&addr)->sin6Port); in ConnGetPeerSocketAddr()
342 socketAddr->port = SoftBusNtoHs(((SoftBusSockAddrIn *)&addr)->sinPort); in ConnGetPeerSocketAddr()
343 if (SoftBusInetNtoP(SOFTBUS_AF_INET, (void *)&((SoftBusSockAddrIn *)&addr)->sinAddr, in ConnGetPeerSocketAddr()
344 socketAddr->addr, sizeo in ConnGetPeerSocketAddr()
396 GetDomainByAddr(const char *addr) GetDomainByAddr() argument
406 Ipv6AddrInToAddr(SoftBusSockAddrIn6 *addrIn6, char *addr, int32_t addrLen) Ipv6AddrInToAddr() argument
439 char *addr = NULL; Ipv6AddrToAddrIn() local
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/
H A Dav_sync_utils.cpp46 void *addr = ::mmap(nullptr, size, static_cast<int>(prot), MAP_SHARED, fd, 0); in CreateAVTransSharedMemory() local
47 if (addr == MAP_FAILED) { in CreateAVTransSharedMemory()
53 uint8_t *base = reinterpret_cast<uint8_t*>(addr); in CreateAVTransSharedMemory()
96 void *addr = ::mmap(nullptr, static_cast<size_t>(memory.size), static_cast<int>(prot), MAP_SHARED, memory.fd, 0); in WriteClockUnitToMemory()
97 if (addr == MAP_FAILED) { in WriteClockUnitToMemory()
98 addr = nullptr; in WriteClockUnitToMemory()
103 uint8_t *base = reinterpret_cast<uint8_t*>(addr); in WriteClockUnitToMemory()
137 void *addr = ::mmap(nullptr, static_cast<size_t>(memory.size), static_cast<int>(prot), MAP_SHARED, memory.fd, 0);
138 if (addr == MAP_FAILED) {
139 addr
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/transport/
H A Dtransport_rfcomm.cpp30 const RawAddress *addr, uint8_t scn, uint16_t mtu, DataTransportObserver &observer, utility::Dispatcher &dispatcher) in RfcommTransport()
33 if (addr != nullptr) { in RfcommTransport()
34 remoteAddr_ = *addr; in RfcommTransport()
45 remoteAddr_.ConvertToUint8(btAddr.addr); in Connect()
54 (void)memcpy_s(&reqInfo.addr, sizeof(BtAddr), &btAddr, sizeof(BtAddr)); in Connect()
86 int RfcommTransport::AcceptConnection(const RawAddress &addr, uint16_t scn) in AcceptConnection() argument
88 HILOGI("[RfcommTransport] RawAddress:%{public}s", GetEncryptAddr(addr.GetAddress()).c_str()); in AcceptConnection()
89 if (this->handleMap_.find(addr) != this->handleMap_.end()) { in AcceptConnection()
90 this->rfcHandle_ = this->handleMap_.at(addr); in AcceptConnection()
98 int RfcommTransport::RejectConnection(const RawAddress &addr, uint16_ argument
29 RfcommTransport( const RawAddress *addr, uint8_t scn, uint16_t mtu, DataTransportObserver &observer, utility::Dispatcher &dispatcher) RfcommTransport() argument
136 AddTransportInternal(RawAddress addr, uint16_t handle) AddTransportInternal() argument
[all...]
/kernel/linux/linux-5.10/arch/arm/include/asm/
H A Duaccess.h86 #define __range_ok(addr, size) ({ \
88 __chk_user_ptr(addr); \
92 : "r" (addr), "Ir" (size), "0" (current_thread_info()->addr_limit) \
104 * Sanitise a uaccess pointer such that it becomes NULL if addr+size
268 * uClinux has only one addr space, so has simplified address limits.
273 #define __addr_ok(addr) ((void)(addr), 1)
274 #define __range_ok(addr, size) ((void)(addr), 0)
286 #define access_ok(addr, siz
548 __clear_user(void __user *addr, unsigned long n) __clear_user() argument
[all...]
/kernel/linux/linux-5.10/arch/x86/mm/
H A Dpgtable.c542 unsigned long addr, pte_t *ptep) in ptep_test_and_clear_young()
555 unsigned long addr, pmd_t *pmdp) in pmdp_test_and_clear_young()
566 unsigned long addr, pud_t *pudp) in pudp_test_and_clear_young()
669 int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge() argument
703 int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot) in pud_set_huge() argument
707 mtrr = mtrr_type_lookup(addr, addr + PUD_SIZE, &uniform); in pud_set_huge()
717 (u64)addr >> PAGE_SHIFT, in pud_set_huge()
730 int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot) in pmd_set_huge() argument
734 mtrr = mtrr_type_lookup(addr, add in pmd_set_huge()
541 ptep_test_and_clear_young(struct vm_area_struct *vma, unsigned long addr, pte_t *ptep) ptep_test_and_clear_young() argument
554 pmdp_test_and_clear_young(struct vm_area_struct *vma, unsigned long addr, pmd_t *pmdp) pmdp_test_and_clear_young() argument
565 pudp_test_and_clear_young(struct vm_area_struct *vma, unsigned long addr, pud_t *pudp) pudp_test_and_clear_young() argument
786 p4d_free_pud_page(p4d_t *p4d, unsigned long addr) p4d_free_pud_page() argument
802 pud_free_pmd_page(pud_t *pud, unsigned long addr) pud_free_pmd_page() argument
847 pmd_free_pte_page(pmd_t *pmd, unsigned long addr) pmd_free_pte_page() argument
864 pud_free_pmd_page(pud_t *pud, unsigned long addr) pud_free_pmd_page() argument
873 pmd_free_pte_page(pmd_t *pmd, unsigned long addr) pmd_free_pte_page() argument
[all...]
/kernel/linux/linux-5.10/drivers/mtd/tests/
H A Dpagetest.c43 loff_t addr = (loff_t)ebnum * mtd->erasesize; in write_eraseblock() local
47 return mtdtest_write(mtd, addr, mtd->erasesize, writebuf); in write_eraseblock()
55 loff_t addr = (loff_t)ebnum * mtd->erasesize; in verify_eraseblock() local
66 for (j = 0; j < pgcnt - 1; ++j, addr += pgsize) { in verify_eraseblock()
75 err = mtdtest_read(mtd, addr, bufsize, twopages); in verify_eraseblock()
80 (long long)addr); in verify_eraseblock()
85 if (addr <= addrn - pgsize - pgsize && !bbt[ebnum + 1]) { in verify_eraseblock()
96 err = mtdtest_read(mtd, addr, bufsize, twopages); in verify_eraseblock()
103 (long long)addr); in verify_eraseblock()
114 loff_t addr, addr in crosstest() local
[all...]
/kernel/linux/linux-6.6/arch/arm/include/asm/
H A Dio.h45 void __raw_writesb(volatile void __iomem *addr, const void *data, int bytelen);
46 void __raw_writesw(volatile void __iomem *addr, const void *data, int wordlen);
47 void __raw_writesl(volatile void __iomem *addr, const void *data, int longlen);
49 void __raw_readsb(const volatile void __iomem *addr, void *data, int bytelen);
50 void __raw_readsw(const volatile void __iomem *addr, void *data, int wordlen);
51 void __raw_readsl(const volatile void __iomem *addr, void *data, int longlen);
68 static inline void __raw_writew(u16 val, volatile void __iomem *addr) in __raw_writew() argument
71 : : "Q" (*(volatile u16 __force *)addr), "r" (val)); in __raw_writew()
75 static inline u16 __raw_readw(const volatile void __iomem *addr) in __raw_readw() argument
80 : "Q" (*(volatile u16 __force *)addr)); in __raw_readw()
86 __raw_writeb(u8 val, volatile void __iomem *addr) __raw_writeb() argument
93 __raw_writel(u32 val, volatile void __iomem *addr) __raw_writel() argument
100 __raw_readb(const volatile void __iomem *addr) __raw_readb() argument
110 __raw_readl(const volatile void __iomem *addr) __raw_readl() argument
154 __typesafe_io(unsigned long addr) __typesafe_io() argument
[all...]
/kernel/linux/linux-5.10/drivers/usb/c67x00/
H A Dc67x00-ll-hpi.c116 * Only data is little endian, addr has cpu endianess
118 static void hpi_write_words_le16(struct c67x00_device *dev, u16 addr, in hpi_write_words_le16() argument
126 hpi_write_reg(dev, HPI_ADDR, addr); in hpi_write_words_le16()
134 * Only data is little endian, addr has cpu endianess
136 static void hpi_read_words_le16(struct c67x00_device *dev, u16 addr, in hpi_read_words_le16() argument
143 hpi_write_reg(dev, HPI_ADDR, addr); in hpi_read_words_le16()
328 void c67x00_ll_husb_set_current_td(struct c67x00_sie *sie, u16 addr) in c67x00_ll_husb_set_current_td() argument
330 hpi_write_word(sie->dev, HUSB_SIE_pCurrentTDPtr(sie->sie_num), addr); in c67x00_ll_husb_set_current_td()
400 * Only data is little endian, addr has cpu endianess.
402 void c67x00_ll_write_mem_le16(struct c67x00_device *dev, u16 addr, in c67x00_ll_write_mem_le16() argument
441 c67x00_ll_read_mem_le16(struct c67x00_device *dev, u16 addr, void *data, int len) c67x00_ll_read_mem_le16() argument
[all...]
/kernel/linux/linux-5.10/kernel/
H A Dkallsyms.c242 static unsigned long get_symbol_pos(unsigned long addr, in get_symbol_pos() argument
261 if (kallsyms_sym_address(mid) <= addr) in get_symbol_pos()
286 if (is_kernel_inittext(addr)) in get_symbol_pos()
297 *offset = addr - symbol_start; in get_symbol_pos()
305 int kallsyms_lookup_size_offset(unsigned long addr, unsigned long *symbolsize, in kallsyms_lookup_size_offset() argument
310 if (is_ksym_addr(addr)) { in kallsyms_lookup_size_offset()
311 get_symbol_pos(addr, symbolsize, offset); in kallsyms_lookup_size_offset()
314 return !!module_address_lookup(addr, symbolsize, offset, NULL, namebuf) || in kallsyms_lookup_size_offset()
315 !!__bpf_address_lookup(addr, symbolsize, offset, namebuf); in kallsyms_lookup_size_offset()
325 const char *kallsyms_lookup(unsigned long addr, in kallsyms_lookup() argument
365 lookup_symbol_name(unsigned long addr, char *symname) lookup_symbol_name() argument
391 lookup_symbol_attrs(unsigned long addr, unsigned long *size, unsigned long *offset, char *modname, char *name) lookup_symbol_attrs() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/
H A Dcx231xx-i2c.c60 if (msg->addr != dev->board.tuner_addr) in is_tuner()
89 if (size == 2) { /* register write sub addr */ in cx231xx_i2c_send_bytes()
93 } else if (size == 4) { /* register write with sub addr */ in cx231xx_i2c_send_bytes()
119 "GPIO WRITE: addr 0x%x, len %d, saddr 0x%x\n", in cx231xx_i2c_send_bytes()
120 msg->addr, msg->len, saddr); in cx231xx_i2c_send_bytes()
123 msg->addr, in cx231xx_i2c_send_bytes()
138 req_data.dev_addr = msg->addr; in cx231xx_i2c_send_bytes()
165 req_data.dev_addr = msg->addr; in cx231xx_i2c_send_bytes()
221 "GPIO R E A D: addr 0x%x, len %d, saddr 0x%x\n", in cx231xx_i2c_recv_bytes()
222 msg->addr, ms in cx231xx_i2c_recv_bytes()
365 int addr, rc, i, byte; cx231xx_i2c_xfer() local
[all...]
/kernel/linux/linux-5.10/drivers/pci/controller/cadence/
H A Dpcie-cadence.h373 static inline u32 cdns_pcie_read_sz(void __iomem *addr, int size) in cdns_pcie_read_sz() argument
375 void __iomem *aligned_addr = PTR_ALIGN_DOWN(addr, 0x4); in cdns_pcie_read_sz()
376 unsigned int offset = (unsigned long)addr & 0x3; in cdns_pcie_read_sz()
379 if (!IS_ALIGNED((uintptr_t)addr, size)) { in cdns_pcie_read_sz()
380 pr_warn("Address %p and size %d are not aligned\n", addr, size); in cdns_pcie_read_sz()
390 static inline void cdns_pcie_write_sz(void __iomem *addr, int size, u32 value) in cdns_pcie_write_sz() argument
392 void __iomem *aligned_addr = PTR_ALIGN_DOWN(addr, 0x4); in cdns_pcie_write_sz()
393 unsigned int offset = (unsigned long)addr & 0x3; in cdns_pcie_write_sz()
397 if (!IS_ALIGNED((uintptr_t)addr, size)) { in cdns_pcie_write_sz()
398 pr_warn("Address %p and size %d are not aligned\n", addr, siz in cdns_pcie_write_sz()
417 void __iomem *addr = pcie->reg_base + CDNS_PCIE_RP_BASE + reg; cdns_pcie_rp_writeb() local
425 void __iomem *addr = pcie->reg_base + CDNS_PCIE_RP_BASE + reg; cdns_pcie_rp_writew() local
432 void __iomem *addr = pcie->reg_base + CDNS_PCIE_RP_BASE + reg; cdns_pcie_rp_readw() local
441 void __iomem *addr = pcie->reg_base + CDNS_PCIE_EP_FUNC_BASE(fn) + reg; cdns_pcie_ep_fn_writeb() local
449 void __iomem *addr = pcie->reg_base + CDNS_PCIE_EP_FUNC_BASE(fn) + reg; cdns_pcie_ep_fn_writew() local
462 void __iomem *addr = pcie->reg_base + CDNS_PCIE_EP_FUNC_BASE(fn) + reg; cdns_pcie_ep_fn_readw() local
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/cx231xx/
H A Dcx231xx-i2c.c60 if (msg->addr != dev->board.tuner_addr) in is_tuner()
89 if (size == 2) { /* register write sub addr */ in cx231xx_i2c_send_bytes()
93 } else if (size == 4) { /* register write with sub addr */ in cx231xx_i2c_send_bytes()
119 "GPIO WRITE: addr 0x%x, len %d, saddr 0x%x\n", in cx231xx_i2c_send_bytes()
120 msg->addr, msg->len, saddr); in cx231xx_i2c_send_bytes()
123 msg->addr, in cx231xx_i2c_send_bytes()
138 req_data.dev_addr = msg->addr; in cx231xx_i2c_send_bytes()
165 req_data.dev_addr = msg->addr; in cx231xx_i2c_send_bytes()
221 "GPIO R E A D: addr 0x%x, len %d, saddr 0x%x\n", in cx231xx_i2c_recv_bytes()
222 msg->addr, ms in cx231xx_i2c_recv_bytes()
365 int addr, rc, i, byte; cx231xx_i2c_xfer() local
[all...]
/kernel/linux/linux-6.6/drivers/mtd/tests/
H A Dpagetest.c43 loff_t addr = (loff_t)ebnum * mtd->erasesize; in write_eraseblock() local
47 return mtdtest_write(mtd, addr, mtd->erasesize, writebuf); in write_eraseblock()
55 loff_t addr = (loff_t)ebnum * mtd->erasesize; in verify_eraseblock() local
66 for (j = 0; j < pgcnt - 1; ++j, addr += pgsize) { in verify_eraseblock()
75 err = mtdtest_read(mtd, addr, bufsize, twopages); in verify_eraseblock()
80 (long long)addr); in verify_eraseblock()
85 if (addr <= addrn - pgsize - pgsize && !bbt[ebnum + 1]) { in verify_eraseblock()
96 err = mtdtest_read(mtd, addr, bufsize, twopages); in verify_eraseblock()
103 (long long)addr); in verify_eraseblock()
114 loff_t addr, addr in crosstest() local
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Duio.h178 size_t _copy_to_iter(const void *addr, size_t bytes, struct iov_iter *i);
179 size_t _copy_from_iter(void *addr, size_t bytes, struct iov_iter *i);
180 size_t _copy_from_iter_nocache(void *addr, size_t bytes, struct iov_iter *i);
198 size_t copy_to_iter(const void *addr, size_t bytes, struct iov_iter *i) in copy_to_iter() argument
200 if (check_copy_size(addr, bytes, true)) in copy_to_iter()
201 return _copy_to_iter(addr, bytes, i); in copy_to_iter()
206 size_t copy_from_iter(void *addr, size_t bytes, struct iov_iter *i) in copy_from_iter() argument
208 if (check_copy_size(addr, bytes, false)) in copy_from_iter()
209 return _copy_from_iter(addr, bytes, i); in copy_from_iter()
214 bool copy_from_iter_full(void *addr, size_ argument
224 copy_from_iter_nocache(void *addr, size_t bytes, struct iov_iter *i) copy_from_iter_nocache() argument
232 copy_from_iter_full_nocache(void *addr, size_t bytes, struct iov_iter *i) copy_from_iter_full_nocache() argument
354 csum_and_copy_from_iter_full(void *addr, size_t bytes, __wsum *csum, struct iov_iter *i) csum_and_copy_from_iter_full() argument
[all...]
/kernel/linux/linux-6.6/drivers/usb/c67x00/
H A Dc67x00-ll-hpi.c116 * Only data is little endian, addr has cpu endianess
118 static void hpi_write_words_le16(struct c67x00_device *dev, u16 addr, in hpi_write_words_le16() argument
126 hpi_write_reg(dev, HPI_ADDR, addr); in hpi_write_words_le16()
134 * Only data is little endian, addr has cpu endianess
136 static void hpi_read_words_le16(struct c67x00_device *dev, u16 addr, in hpi_read_words_le16() argument
143 hpi_write_reg(dev, HPI_ADDR, addr); in hpi_read_words_le16()
328 void c67x00_ll_husb_set_current_td(struct c67x00_sie *sie, u16 addr) in c67x00_ll_husb_set_current_td() argument
330 hpi_write_word(sie->dev, HUSB_SIE_pCurrentTDPtr(sie->sie_num), addr); in c67x00_ll_husb_set_current_td()
400 * Only data is little endian, addr has cpu endianess.
402 void c67x00_ll_write_mem_le16(struct c67x00_device *dev, u16 addr, in c67x00_ll_write_mem_le16() argument
441 c67x00_ll_read_mem_le16(struct c67x00_device *dev, u16 addr, void *data, int len) c67x00_ll_read_mem_le16() argument
[all...]

Completed in 23 milliseconds

1...<<71727374757677787980>>...879