/linux-5.19.10/drivers/media/pci/ddbridge/ |
D | ddbridge-io.h | 28 static inline u32 ddblreadl(struct ddb_link *link, u32 adr) in ddblreadl() argument 30 return readl(link->dev->regs + adr); in ddblreadl() 33 static inline void ddblwritel(struct ddb_link *link, u32 val, u32 adr) in ddblwritel() argument 35 writel(val, link->dev->regs + adr); in ddblwritel() 38 static inline u32 ddbreadl(struct ddb *dev, u32 adr) in ddbreadl() argument 40 return readl(dev->regs + adr); in ddbreadl() 43 static inline void ddbwritel(struct ddb *dev, u32 val, u32 adr) in ddbwritel() argument 45 writel(val, dev->regs + adr); in ddbwritel() 48 static inline void ddbcpyto(struct ddb *dev, u32 adr, void *src, long count) in ddbcpyto() argument 50 memcpy_toio(dev->regs + adr, src, count); in ddbcpyto() [all …]
|
D | ddbridge-i2c.h | 33 static int __maybe_unused i2c_io(struct i2c_adapter *adapter, u8 adr, in i2c_io() argument 36 struct i2c_msg msgs[2] = { { .addr = adr, .flags = 0, in i2c_io() 38 { .addr = adr, .flags = I2C_M_RD, in i2c_io() 44 static int __maybe_unused i2c_write(struct i2c_adapter *adap, u8 adr, in i2c_write() argument 47 struct i2c_msg msg = { .addr = adr, .flags = 0, in i2c_write() 53 static int __maybe_unused i2c_read(struct i2c_adapter *adapter, u8 adr, u8 *val) in i2c_read() argument 55 struct i2c_msg msgs[1] = { { .addr = adr, .flags = I2C_M_RD, in i2c_read() 62 u8 adr, u8 reg, u8 *val, u8 len) in i2c_read_regs() argument 64 struct i2c_msg msgs[2] = { { .addr = adr, .flags = 0, in i2c_read_regs() 66 { .addr = adr, .flags = I2C_M_RD, in i2c_read_regs() [all …]
|
D | ddbridge-ci.c | 183 u8 adr = (ci->port->type == DDB_CI_EXTERNAL_XO2) ? 0x12 : 0x13; in write_creg() local 186 return i2c_write_reg(i2c, adr, 0x02, ci->port->creg); in write_creg() 194 u8 adr = (ci->port->type == DDB_CI_EXTERNAL_XO2) ? 0x12 : 0x13; in read_attribute_mem_xo2() local 198 res = i2c_read_reg16(i2c, adr, 0x8000 | address, &val); in read_attribute_mem_xo2() 207 u8 adr = (ci->port->type == DDB_CI_EXTERNAL_XO2) ? 0x12 : 0x13; in write_attribute_mem_xo2() local 209 return i2c_write_reg16(i2c, adr, 0x8000 | address, value); in write_attribute_mem_xo2() 217 u8 adr = (ci->port->type == DDB_CI_EXTERNAL_XO2) ? 0x12 : 0x13; in read_cam_control_xo2() local 221 res = i2c_read_reg(i2c, adr, 0x20 | (address & 3), &val); in read_cam_control_xo2() 230 u8 adr = (ci->port->type == DDB_CI_EXTERNAL_XO2) ? 0x12 : 0x13; in write_cam_control_xo2() local 232 return i2c_write_reg(i2c, adr, 0x20 | (address & 3), value); in write_cam_control_xo2() [all …]
|
/linux-5.19.10/drivers/mtd/chips/ |
D | cfi_cmdset_0002.c | 99 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode); 100 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr); 132 unsigned long adr) in cfi_check_err_status() argument 142 status = map_read(map, adr); in cfi_check_err_status() 560 unsigned long adr) in cfi_fixup_m29ew_erase_suspend() argument 565 map_write(map, CMD(0xF0), adr); in cfi_fixup_m29ew_erase_suspend() 641 __u16 adr = primary?cfi->cfiq->P_ADR:cfi->cfiq->A_ADR; in cfi_cmdset_0002() local 644 extp = (struct cfi_pri_amdstd*)cfi_read_pri(map, adr, sizeof(*extp), "Amd/Fujitsu"); in cfi_cmdset_0002() 876 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode) in get_chip() argument 890 if (chip_ready(map, chip, adr, NULL)) in get_chip() [all …]
|
D | cfi_cmdset_0020.c | 124 __u16 adr = primary?cfi->cfiq->P_ADR:cfi->cfiq->A_ADR; in cfi_cmdset_0020() local 127 extp = (struct cfi_pri_intelext*)cfi_read_pri(map, adr, sizeof(*extp), "ST Microelectronics"); in cfi_cmdset_0020() 248 static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len… in do_read_onechip() argument 257 adr += chip->start; in do_read_onechip() 260 cmd_addr = adr & ~(map_bankwidth(map)-1); in do_read_onechip() 361 map_copy_from(map, buf, adr, len); in do_read_onechip() 421 unsigned long adr, const u_char *buf, int len) in do_write_buffer() argument 430 if (adr & (map_bankwidth(map)-1)) in do_write_buffer() 434 adr += chip->start; in do_write_buffer() 435 cmd_adr = adr & ~(wbufsize-1); in do_write_buffer() [all …]
|
D | cfi_cmdset_0001.c | 98 static int chip_ready (struct map_info *map, struct flchip *chip, unsigned long adr, int mode); 99 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode); 100 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr); 392 read_pri_intelext(struct map_info *map, __u16 adr) in read_pri_intelext() argument 400 extp = (struct cfi_pri_intelext *)cfi_read_pri(map, adr, extp_size, "Intel/Sharp"); in read_pri_intelext() 516 __u16 adr = primary?cfi->cfiq->P_ADR:cfi->cfiq->A_ADR; in cfi_cmdset_0001() local 519 extp = read_pri_intelext(map, adr); in cfi_cmdset_0001() 810 static int chip_ready (struct map_info *map, struct flchip *chip, unsigned long adr, int mode) in chip_ready() argument 826 status = map_read(map, adr); in chip_ready() 855 if ((adr & chip->in_progress_block_mask) == in chip_ready() [all …]
|
D | fwh_lock.h | 30 unsigned long adr, int len, void *thunk) in fwh_xxlock_oneblock() argument 53 adr = (adr & ~0xffffUL) | 0x2; in fwh_xxlock_oneblock() 54 adr += chip->start - 0x400000; in fwh_xxlock_oneblock() 62 ret = get_chip(map, chip, adr, FL_LOCKING); in fwh_xxlock_oneblock() 70 map_write(map, CMD(xxlt->val), adr); in fwh_xxlock_oneblock() 74 put_chip(map, chip, adr); in fwh_xxlock_oneblock()
|
/linux-5.19.10/sound/soc/intel/common/ |
D | soc-acpi-intel-tgl-match.c | 46 .adr = 0x000020025D071100ull, 55 .adr = 0x000120025D071100ull, 64 .adr = 0x000120025D130800ull, 70 .adr = 0x000122025D130800ull, 79 .adr = 0x000120025D130800ull, 88 .adr = 0x000220025D130800ull, 97 .adr = 0x000120025D130800ull, 106 .adr = 0x000220025D130800ull, 115 .adr = 0x000021025D071500ull, 124 .adr = 0x000320025D071500ull, [all …]
|
D | soc-acpi-intel-adl-match.c | 34 .adr = 0x000020025D071100ull, 43 .adr = 0x000120025D130800ull, 52 .adr = 0x000220025D130800ull, 61 .adr = 0x000320025D071500ull, 70 .adr = 0x000030025D071101ull, 79 .adr = 0x000230025D071101ull, 88 .adr = 0x000131025D131601ull, /* unique ID is set for some reason */ 97 .adr = 0x000230025D131601ull, 106 .adr = 0x000330025D131601ull, 115 .adr = 0x000031025D131601ull, [all …]
|
D | soc-acpi-intel-sdw-mockup-match.c | 36 .adr = 0x0000000105AA5500ull, 45 .adr = 0x0001000105AA5500ull, 54 .adr = 0x000100010555AA00ull, 63 .adr = 0x000200010555AA00ull, 72 .adr = 0x0000000105555500ull, 81 .adr = 0x0003000105555500ull, 90 .adr = 0x000100010555AA00ull, 99 .adr = 0x000200010555AA00ull,
|
D | soc-acpi-intel-cml-match.c | 118 .adr = 0x000110025D070000ull, 136 .adr = 0x000020025D071100ull, 145 .adr = 0x000120025D130800ull, 154 .adr = 0x000120025D130800ull, 163 .adr = 0x000220025D130800ull, 172 .adr = 0x000320025D071500ull, 181 .adr = 0x000030025D071101ull, 190 .adr = 0x000131025D131601ull, /* unique ID is set for some reason */ 199 .adr = 0x000230025D131601ull, 208 .adr = 0x000330025D071401ull,
|
D | soc-acpi-intel-icl-match.c | 57 .adr = 0x000010025D070000ull, 75 .adr = 0x000020025D071100ull, 84 .adr = 0x000120025D130800ull, 93 .adr = 0x000120025D130800ull, 102 .adr = 0x000220025D130800ull, 111 .adr = 0x000320025D071500ull,
|
/linux-5.19.10/drivers/staging/media/zoran/ |
D | zoran.h | 295 #define btwrite(dat, adr) writel((dat), zr->zr36057_mem + (adr)) argument 296 #define btread(adr) readl(zr->zr36057_mem + (adr)) argument 298 #define btand(dat, adr) btwrite((dat) & btread(adr), adr) argument 299 #define btor(dat, adr) btwrite((dat) | btread(adr), adr) argument 300 #define btaor(dat, mask, adr) btwrite((dat) | ((mask) & btread(adr)), adr) argument
|
/linux-5.19.10/drivers/mtd/maps/ |
D | dc21285.c | 80 static void dc21285_write8(struct map_info *map, const map_word d, unsigned long adr) in dc21285_write8() argument 84 *CSR_ROMWRITEREG = adr & 3; in dc21285_write8() 85 adr &= ~3; in dc21285_write8() 86 *(uint8_t*)(map->virt + adr) = d.x[0]; in dc21285_write8() 89 static void dc21285_write16(struct map_info *map, const map_word d, unsigned long adr) in dc21285_write16() argument 93 *CSR_ROMWRITEREG = adr & 3; in dc21285_write16() 94 adr &= ~3; in dc21285_write16() 95 *(uint16_t*)(map->virt + adr) = d.x[0]; in dc21285_write16() 98 static void dc21285_write32(struct map_info *map, const map_word d, unsigned long adr) in dc21285_write32() argument 102 *(uint32_t*)(map->virt + adr) = d.x[0]; in dc21285_write32()
|
D | lantiq-flash.c | 48 ltq_read16(struct map_info *map, unsigned long adr) in ltq_read16() argument 54 adr ^= 2; in ltq_read16() 56 temp.x[0] = *(u16 *)(map->virt + adr); in ltq_read16() 62 ltq_write16(struct map_info *map, map_word d, unsigned long adr) in ltq_write16() argument 67 adr ^= 2; in ltq_write16() 69 *(u16 *)(map->virt + adr) = d.x[0]; in ltq_write16()
|
/linux-5.19.10/include/linux/mtd/ |
D | doc2000.h | 103 #define ReadDOC_(adr, reg) readb((void __iomem *)(adr) + (reg)) argument 104 #define WriteDOC_(d, adr, reg) writeb(d, (void __iomem *)(adr) + (reg)) argument 114 #define ReadDOC(adr, reg) ReadDOC_(adr,DoC_##reg) argument 115 #define WriteDOC(d, adr, reg) WriteDOC_(d,adr,DoC_##reg) argument
|
/linux-5.19.10/drivers/mtd/lpddr/ |
D | lpddr_cmds.c | 19 static int lpddr_read(struct mtd_info *mtd, loff_t adr, size_t len, 28 static int lpddr_point(struct mtd_info *mtd, loff_t adr, size_t len, 30 static int lpddr_unpoint(struct mtd_info *mtd, loff_t adr, size_t len); 404 unsigned long adr, const struct kvec **pvec, in do_write_buffer() argument 423 word_gap = (-adr & (map_bankwidth(map)-1)); in do_write_buffer() 429 adr -= word_gap; in do_write_buffer() 470 send_pfow_command(map, LPDDR_BUFF_PROGRAM, adr, wbufsize, NULL); in do_write_buffer() 475 map->name, ret, adr); in do_write_buffer() 484 static int do_erase_oneblock(struct mtd_info *mtd, loff_t adr) in do_erase_oneblock() argument 488 int chipnum = adr >> lpddr->chipshift; in do_erase_oneblock() [all …]
|
/linux-5.19.10/drivers/media/pci/bt8xx/ |
D | bttvp.h | 516 #define btwrite(dat,adr) writel((dat), btv->bt848_mmio+(adr)) argument 517 #define btread(adr) readl(btv->bt848_mmio+(adr)) argument 519 #define btand(dat,adr) btwrite((dat) & btread(adr), adr) argument 520 #define btor(dat,adr) btwrite((dat) | btread(adr), adr) argument 521 #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr) argument
|
D | bt878.c | 51 #define btwrite(dat,adr) bmtwrite((dat), (bt->bt878_mem+(adr))) argument 52 #define btread(adr) bmtread(bt->bt878_mem+(adr)) argument 54 #define btand(dat,adr) btwrite((dat) & btread(adr), adr) argument 55 #define btor(dat,adr) btwrite((dat) | btread(adr), adr) argument 56 #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr) argument
|
/linux-5.19.10/drivers/isdn/mISDN/ |
D | stack.c | 418 u_int protocol, struct sockaddr_mISDN *adr) in connect_layer1() argument 427 __func__, dev_name(&dev->dev), protocol, adr->dev, in connect_layer1() 428 adr->channel, adr->sapi, adr->tei); in connect_layer1() 438 rq.adr.channel = adr->channel; in connect_layer1() 456 u_int protocol, struct sockaddr_mISDN *adr) in connect_Bstack() argument 465 adr->dev, adr->channel, adr->sapi, in connect_Bstack() 466 adr->tei); in connect_Bstack() 471 rq.adr = *adr; in connect_Bstack() 485 rq2.adr = *adr; in connect_Bstack() 494 rq.adr = *adr; in connect_Bstack() [all …]
|
/linux-5.19.10/drivers/media/pci/ngene/ |
D | ngene-cards.c | 44 static int i2c_io(struct i2c_adapter *adapter, u8 adr, in i2c_io() argument 47 struct i2c_msg msgs[2] = {{.addr = adr, .flags = 0, in i2c_io() 49 {.addr = adr, .flags = I2C_M_RD, in i2c_io() 54 static int i2c_write(struct i2c_adapter *adap, u8 adr, u8 *data, int len) in i2c_write() argument 56 struct i2c_msg msg = {.addr = adr, .flags = 0, in i2c_write() 62 static int i2c_write_reg(struct i2c_adapter *adap, u8 adr, in i2c_write_reg() argument 67 return i2c_write(adap, adr, msg, 2); in i2c_write_reg() 70 static int i2c_read(struct i2c_adapter *adapter, u8 adr, u8 *val) in i2c_read() argument 72 struct i2c_msg msgs[1] = {{.addr = adr, .flags = I2C_M_RD, in i2c_read() 77 static int i2c_read_reg16(struct i2c_adapter *adapter, u8 adr, in i2c_read_reg16() argument [all …]
|
/linux-5.19.10/arch/powerpc/include/asm/ |
D | processor.h | 323 #define GET_FPEXC_CTL(tsk, adr) get_fpexc_mode((tsk), (adr)) argument 326 extern int get_fpexc_mode(struct task_struct *tsk, unsigned long adr); 329 #define GET_ENDIAN(tsk, adr) get_endian((tsk), (adr)) argument 332 extern int get_endian(struct task_struct *tsk, unsigned long adr); 335 #define GET_UNALIGN_CTL(tsk, adr) get_unalign_ctl((tsk), (adr)) argument 338 extern int get_unalign_ctl(struct task_struct *tsk, unsigned long adr);
|
/linux-5.19.10/arch/arm64/kernel/ |
D | reloc_test_syms.S | 21 adr x0, 0f 59 adr x0, sym64_rel 64 adr x1, 0f 72 adr x1, 0f 80 adr x1, 0f
|
/linux-5.19.10/drivers/media/dvb-frontends/ |
D | stv6111.c | 23 u8 adr; member 296 u8 adr, u8 *msg, int len, u8 *answ, int alen) in i2c_read() argument 298 struct i2c_msg msgs[2] = { { .addr = adr, .flags = 0, in i2c_read() 300 { .addr = adr, .flags = I2C_M_RD, in i2c_read() 309 static int i2c_write(struct i2c_adapter *adap, u8 adr, u8 *data, int len) in i2c_write() argument 311 struct i2c_msg msg = {.addr = adr, .flags = 0, in i2c_write() 327 return i2c_write(state->i2c, state->adr, d, len + 1); in write_regs() 334 return i2c_write(state->i2c, state->adr, d, 2); in write_reg() 339 return i2c_read(state->i2c, state->adr, ®, 1, val, 1); in read_reg() 650 struct i2c_adapter *i2c, u8 adr) in stv6111_attach() argument [all …]
|
/linux-5.19.10/sound/soc/intel/boards/ |
D | sof_sdw.c | 558 static inline int find_codec_info_part(u64 adr) in find_codec_info_part() argument 563 part_id = SDW_PART_ID(adr); in find_codec_info_part() 564 sdw_version = SDW_VERSION(adr); in find_codec_info_part() 625 u64 adr; in get_sdw_dailink_info() local 627 adr = link->adr_d->adr; in get_sdw_dailink_info() 628 codec_index = find_codec_info_part(adr); in get_sdw_dailink_info() 695 u64 adr; in is_unique_device() local 701 adr = link->adr_d[i].adr; in is_unique_device() 703 sdw1_version = SDW_VERSION(adr); in is_unique_device() 704 mfg1_id = SDW_MFG_ID(adr); in is_unique_device() [all …]
|