/linux-6.12.1/drivers/media/pci/ddbridge/ |
D | ddbridge-i2c.h | 24 static int __maybe_unused i2c_io(struct i2c_adapter *adapter, u8 adr, in i2c_io() argument 27 struct i2c_msg msgs[2] = { { .addr = adr, .flags = 0, in i2c_io() 29 { .addr = adr, .flags = I2C_M_RD, in i2c_io() 35 static int __maybe_unused i2c_write(struct i2c_adapter *adap, u8 adr, in i2c_write() argument 38 struct i2c_msg msg = { .addr = adr, .flags = 0, in i2c_write() 44 static int __maybe_unused i2c_read(struct i2c_adapter *adapter, u8 adr, u8 *val) in i2c_read() argument 46 struct i2c_msg msgs[1] = { { .addr = adr, .flags = I2C_M_RD, in i2c_read() 53 u8 adr, u8 reg, u8 *val, u8 len) in i2c_read_regs() argument 55 struct i2c_msg msgs[2] = { { .addr = adr, .flags = 0, in i2c_read_regs() 57 { .addr = adr, .flags = I2C_M_RD, in i2c_read_regs() [all …]
|
D | ddbridge-io.h | 19 static inline u32 ddblreadl(struct ddb_link *link, u32 adr) in ddblreadl() argument 21 return readl(link->dev->regs + adr); in ddblreadl() 24 static inline void ddblwritel(struct ddb_link *link, u32 val, u32 adr) in ddblwritel() argument 26 writel(val, link->dev->regs + adr); in ddblwritel() 29 static inline u32 ddbreadl(struct ddb *dev, u32 adr) in ddbreadl() argument 31 return readl(dev->regs + adr); in ddbreadl() 34 static inline void ddbwritel(struct ddb *dev, u32 val, u32 adr) in ddbwritel() argument 36 writel(val, dev->regs + adr); in ddbwritel() 39 static inline void ddbcpyto(struct ddb *dev, u32 adr, void *src, long count) in ddbcpyto() argument 41 memcpy_toio(dev->regs + adr, src, count); in ddbcpyto() [all …]
|
D | ddbridge-ci.c | 174 u8 adr = (ci->port->type == DDB_CI_EXTERNAL_XO2) ? 0x12 : 0x13; in write_creg() local 177 return i2c_write_reg(i2c, adr, 0x02, ci->port->creg); in write_creg() 185 u8 adr = (ci->port->type == DDB_CI_EXTERNAL_XO2) ? 0x12 : 0x13; in read_attribute_mem_xo2() local 189 res = i2c_read_reg16(i2c, adr, 0x8000 | address, &val); in read_attribute_mem_xo2() 198 u8 adr = (ci->port->type == DDB_CI_EXTERNAL_XO2) ? 0x12 : 0x13; in write_attribute_mem_xo2() local 200 return i2c_write_reg16(i2c, adr, 0x8000 | address, value); in write_attribute_mem_xo2() 208 u8 adr = (ci->port->type == DDB_CI_EXTERNAL_XO2) ? 0x12 : 0x13; in read_cam_control_xo2() local 212 res = i2c_read_reg(i2c, adr, 0x20 | (address & 3), &val); in read_cam_control_xo2() 221 u8 adr = (ci->port->type == DDB_CI_EXTERNAL_XO2) ? 0x12 : 0x13; in write_cam_control_xo2() local 223 return i2c_write_reg(i2c, adr, 0x20 | (address & 3), value); in write_cam_control_xo2() [all …]
|
/linux-6.12.1/drivers/mtd/chips/ |
D | cfi_cmdset_0002.c | 97 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode); 98 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr); 130 unsigned long adr) in cfi_check_err_status() argument 140 status = map_read(map, adr); in cfi_check_err_status() 558 unsigned long adr) in cfi_fixup_m29ew_erase_suspend() argument 563 map_write(map, CMD(0xF0), adr); in cfi_fixup_m29ew_erase_suspend() 639 __u16 adr = primary?cfi->cfiq->P_ADR:cfi->cfiq->A_ADR; in cfi_cmdset_0002() local 642 extp = (struct cfi_pri_amdstd*)cfi_read_pri(map, adr, sizeof(*extp), "Amd/Fujitsu"); in cfi_cmdset_0002() 874 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode) in get_chip() argument 888 if (chip_ready(map, chip, adr, NULL)) in get_chip() [all …]
|
D | cfi_cmdset_0020.c | 125 __u16 adr = primary?cfi->cfiq->P_ADR:cfi->cfiq->A_ADR; in cfi_cmdset_0020() local 128 extp = (struct cfi_pri_intelext*)cfi_read_pri(map, adr, sizeof(*extp), "ST Microelectronics"); in cfi_cmdset_0020() 249 static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len… in do_read_onechip() argument 258 adr += chip->start; in do_read_onechip() 261 cmd_addr = adr & ~(map_bankwidth(map)-1); in do_read_onechip() 362 map_copy_from(map, buf, adr, len); in do_read_onechip() 422 unsigned long adr, const u_char *buf, int len) in do_write_buffer() argument 431 if (adr & (map_bankwidth(map)-1)) in do_write_buffer() 435 adr += chip->start; in do_write_buffer() 436 cmd_adr = adr & ~(wbufsize-1); in do_write_buffer() [all …]
|
D | cfi_cmdset_0001.c | 99 static int chip_ready (struct map_info *map, struct flchip *chip, unsigned long adr, int mode); 100 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode); 101 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr); 393 read_pri_intelext(struct map_info *map, __u16 adr) in read_pri_intelext() argument 401 extp = (struct cfi_pri_intelext *)cfi_read_pri(map, adr, extp_size, "Intel/Sharp"); in read_pri_intelext() 533 __u16 adr = primary?cfi->cfiq->P_ADR:cfi->cfiq->A_ADR; in cfi_cmdset_0001() local 536 extp = read_pri_intelext(map, adr); in cfi_cmdset_0001() 827 static int chip_ready (struct map_info *map, struct flchip *chip, unsigned long adr, int mode) in chip_ready() argument 843 status = map_read(map, adr); in chip_ready() 872 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-6.12.1/sound/soc/intel/common/ |
D | soc-acpi-intel-mtl-match.c | 170 .adr = 0x000030025D071101ull, 179 .adr = 0x000030025D071201ull, 188 .adr = 0x000330025D171201ull, 197 .adr = 0x000030025d072201ull, 206 .adr = 0x000031025D071301ull, 215 .adr = 0x000331025D171301ull, 224 .adr = 0x000023019F837300ull, 230 .adr = 0x000027019F837300ull, 239 .adr = 0x000221025D568200ull, 248 .adr = 0x000230025D131601ull, [all …]
|
D | soc-acpi-intel-lnl-match.c | 122 .adr = 0x00023001FA355601ull, 128 .adr = 0x00023101FA355601ull, 137 .adr = 0x00033201fa355601ull, 143 .adr = 0x00033301fa355601ull, 152 .adr = 0x00033001fa355601ull, 158 .adr = 0x00033101fa355601ull, 167 .adr = 0x00003001FA424301ull, 176 .adr = 0x000030025D071101ull, 185 .adr = 0x000230025D071201ull, 194 .adr = 0x000330025D171201ull, [all …]
|
D | soc-acpi-intel-tgl-match.c | 71 .adr = 0x000020025D071100ull, 80 .adr = 0x000120025D071100ull, 89 .adr = 0x000120025D130800ull, 95 .adr = 0x000122025D130800ull, 104 .adr = 0x000120025D130800ull, 113 .adr = 0x000220025D130800ull, 122 .adr = 0x000120025D130800ull, 131 .adr = 0x000220025D130800ull, 140 .adr = 0x000021025D071500ull, 149 .adr = 0x000320025D071500ull, [all …]
|
D | soc-acpi-intel-adl-match.c | 54 .adr = 0x00023201FA355601ull, 60 .adr = 0x00023301FA355601ull, 69 .adr = 0x00033001fa355601ull, 75 .adr = 0x00033101fa355601ull, 111 .adr = 0x00003001FA424301ull, 120 .adr = 0x000020025D071100ull, 129 .adr = 0x000120025D130800ull, 138 .adr = 0x000220025D130800ull, 147 .adr = 0x000320025D071500ull, 156 .adr = 0x000030025D071101ull, [all …]
|
D | soc-acpi-intel-arl-match.c | 49 .adr = 0x00023001FA355601ull, 55 .adr = 0x00023101FA355601ull, 64 .adr = 0x00033001FA355601ull, 70 .adr = 0x00033401FA355601ull, 79 .adr = 0x00023201FA355601ull, 85 .adr = 0x00023301FA355601ull, 94 .adr = 0x00033001fa355601ull, 100 .adr = 0x00033101fa355601ull, 109 .adr = 0x00023101FA355601ull, 118 .adr = 0x00033301fa355601ull, [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-rpl-match.c | 62 .adr = 0x00003001FA424301ull, 71 .adr = 0x000020025D071100ull, 89 .adr = 0x000030025D071101ull, 98 .adr = 0x000230025D071101ull, 107 .adr = 0x000131025D131601ull, /* unique ID is set for some reason */ 116 .adr = 0x000230025D131601ull, 125 .adr = 0x000330025D131601ull, 134 .adr = 0x000030025D131601ull, 143 .adr = 0x000131025D131601ull, 152 .adr = 0x000132025D131801ull, [all …]
|
D | soc-acpi-intel-icl-match.c | 64 .adr = 0x000010025D070000ull, 82 .adr = 0x000020025D071100ull, 91 .adr = 0x000120025D130800ull, 100 .adr = 0x000120025D130800ull, 109 .adr = 0x000220025D130800ull, 118 .adr = 0x000320025D071500ull,
|
/linux-6.12.1/drivers/isdn/mISDN/ |
D | stack.c | 418 u_int protocol, struct sockaddr_mISDN *adr) in connect_layer1() argument 426 printk(KERN_DEBUG "%s: %s proto(%x) adr(%d %d %d %d)\n", in connect_layer1() 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 463 printk(KERN_DEBUG "%s: %s proto(%x) adr(%d %d %d %d)\n", in connect_Bstack() 465 adr->dev, adr->channel, adr->sapi, in connect_Bstack() 466 adr->tei); in connect_Bstack() 471 rq.adr = *adr; in connect_Bstack() [all …]
|
/linux-6.12.1/drivers/media/pci/zoran/ |
D | zoran.h | 305 #define btwrite(dat, adr) writel((dat), zr->zr36057_mem + (adr)) argument 306 #define btread(adr) readl(zr->zr36057_mem + (adr)) argument 308 #define btand(dat, adr) btwrite((dat) & btread(adr), (adr)) argument 309 #define btor(dat, adr) btwrite((dat) | btread(adr), (adr)) argument 310 #define btaor(dat, mask, adr) btwrite((dat) | ((mask) & btread(adr)), (adr)) argument
|
/linux-6.12.1/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()
|
/linux-6.12.1/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() 426 adr -= word_gap; in do_write_buffer() 467 send_pfow_command(map, LPDDR_BUFF_PROGRAM, adr, wbufsize, NULL); in do_write_buffer() 472 map->name, ret, adr); in do_write_buffer() 481 static int do_erase_oneblock(struct mtd_info *mtd, loff_t adr) in do_erase_oneblock() argument 485 int chipnum = adr >> lpddr->chipshift; in do_erase_oneblock() [all …]
|
/linux-6.12.1/sound/soc/ |
D | soc-acpi.c | 141 u64 adr = link->adr_d[i].adr; in snd_soc_acpi_sdw_link_slaves_found() local 144 mfg_id = SDW_MFG_ID(adr); in snd_soc_acpi_sdw_link_slaves_found() 145 part_id = SDW_PART_ID(adr); in snd_soc_acpi_sdw_link_slaves_found() 146 link_id = SDW_DISCO_LINK_ID(adr); in snd_soc_acpi_sdw_link_slaves_found() 147 version = SDW_VERSION(adr); in snd_soc_acpi_sdw_link_slaves_found() 169 u64 adr2 = link->adr_d[k].adr; in snd_soc_acpi_sdw_link_slaves_found() 171 if (SDW_CODEC_ADR_MASK(adr2) == SDW_CODEC_ADR_MASK(adr)) in snd_soc_acpi_sdw_link_slaves_found() 181 unique_id = SDW_UNIQUE_ID(adr); in snd_soc_acpi_sdw_link_slaves_found()
|
/linux-6.12.1/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-6.12.1/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-6.12.1/drivers/media/pci/bt8xx/ |
D | bttvp.h | 491 #define btwrite(dat,adr) writel((dat), btv->bt848_mmio+(adr)) argument 492 #define btread(adr) readl(btv->bt848_mmio+(adr)) argument 494 #define btand(dat,adr) btwrite((dat) & btread(adr), adr) argument 495 #define btor(dat,adr) btwrite((dat) | btread(adr), adr) argument 496 #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr) argument
|
/linux-6.12.1/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 …]
|