/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/af/ |
A D | mcs_reg.h | 21 offset; }) 31 offset; }) 39 offset; }) 48 offset; }) 56 offset; }) 65 offset; }) 73 offset; }) 81 offset; }) 91 offset; }) 107 offset; }) [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/vcap/ |
A D | vcap_model_kunit.c | 20 .offset = 0, 25 .offset = 2, 30 .offset = 3, 35 .offset = 10, 40 .offset = 13, 45 .offset = 16, 50 .offset = 19, 55 .offset = 20, 60 .offset = 32, 65 .offset = 35, [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/ |
A D | sparx5_vcap_ag_api.c | 20 .offset = 0, 25 .offset = 1, 30 .offset = 2, 35 .offset = 4, 40 .offset = 16, 45 .offset = 18, 50 .offset = 83, 55 .offset = 84, 60 .offset = 85, 65 .offset = 88, [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/ |
A D | lan966x_vcap_ag_api.c | 12 .offset = 0, 17 .offset = 4, 22 .offset = 5, 27 .offset = 13, 32 .offset = 22, 37 .offset = 23, 42 .offset = 24, 47 .offset = 25, 52 .offset = 26, 57 .offset = 27, [all …]
|
A D | lan966x_ethtool.c | 12 { .name = "rx_octets", .offset = 0x00, }, 13 { .name = "rx_unicast", .offset = 0x01, }, 16 { .name = "rx_short", .offset = 0x04 }, 17 { .name = "rx_frag", .offset = 0x05 }, 18 { .name = "rx_jabber", .offset = 0x06 }, 19 { .name = "rx_crc", .offset = 0x07 }, 21 { .name = "rx_sz_64", .offset = 0x09 }, 28 { .name = "rx_pause", .offset = 0x10 }, 30 { .name = "rx_long", .offset = 0x12 }, 112 { .name = "tx_ct", .offset = 0xa0 }, [all …]
|
/linux-6.3-rc2/arch/mips/include/asm/octeon/ |
A D | cvmx-pexp-defs.h | 31 #define CVMX_PEXP_NPEI_BAR1_INDEXX(offset) (CVMX_ADD_IO_SEG(0x00011F0000008000ull) + ((offset) & 31… argument 43 #define CVMX_PEXP_NPEI_DMAX_COUNTS(offset) (CVMX_ADD_IO_SEG(0x00011F0000008450ull) + ((offset) & 7)… argument 44 #define CVMX_PEXP_NPEI_DMAX_DBELL(offset) (CVMX_ADD_IO_SEG(0x00011F00000083B0ull) + ((offset) & 7) … argument 45 #define CVMX_PEXP_NPEI_DMAX_IBUFF_SADDR(offset) (CVMX_ADD_IO_SEG(0x00011F0000008400ull) + ((offset)… argument 46 #define CVMX_PEXP_NPEI_DMAX_NADDR(offset) (CVMX_ADD_IO_SEG(0x00011F00000084A0ull) + ((offset) & 7) … argument 92 #define CVMX_PEXP_NPEI_PKTX_CNTS(offset) (CVMX_ADD_IO_SEG(0x00011F000000A400ull) + ((offset) & 31) … argument 97 #define CVMX_PEXP_NPEI_PKTX_IN_BP(offset) (CVMX_ADD_IO_SEG(0x00011F000000B800ull) + ((offset) & 31)… argument 135 #define CVMX_PEXP_SLI_CTL_PORTX(offset) (CVMX_ADD_IO_SEG(0x00011F0000010050ull) + ((offset) & 3) * … argument 140 #define CVMX_PEXP_SLI_DMAX_CNT(offset) (CVMX_ADD_IO_SEG(0x00011F0000010400ull) + ((offset) & 1) * 1… argument 142 #define CVMX_PEXP_SLI_DMAX_TIM(offset) (CVMX_ADD_IO_SEG(0x00011F0000010420ull) + ((offset) & 1) * 1… argument [all …]
|
A D | cvmx-pcsx-defs.h | 31 static inline uint64_t CVMX_PCSX_ANX_ADV_REG(unsigned long offset, unsigned long block_id) in CVMX_PCSX_ANX_ADV_REG() argument 35 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG() 38 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG() 42 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG() 44 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x4000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG() 46 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG() 49 static inline uint64_t CVMX_PCSX_ANX_EXT_ST_REG(unsigned long offset, unsigned long block_id) in CVMX_PCSX_ANX_EXT_ST_REG() argument 62 return CVMX_ADD_IO_SEG(0x00011800B0001028ull) + ((offset) + (block_id) * 0x4000ull) * 1024; in CVMX_PCSX_ANX_EXT_ST_REG() 64 return CVMX_ADD_IO_SEG(0x00011800B0001028ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_EXT_ST_REG() 103 static inline uint64_t CVMX_PCSX_INTX_EN_REG(unsigned long offset, unsigned long block_id) in CVMX_PCSX_INTX_EN_REG() argument [all …]
|
/linux-6.3-rc2/arch/arm/kernel/ |
A D | module.c | 100 *offset = val; in get_group_rem() 126 s32 offset; in apply_relocate() local 171 offset = (offset & 0x00ffffff) << 2; in apply_relocate() 218 if (offset >= 0x40000000 || offset < -0x40000000) { in apply_relocate() 238 offset = ((offset & 0xf0000) >> 4) | (offset & 0xfff); in apply_relocate() 239 offset = (offset ^ 0x8000) - 0x8000; in apply_relocate() 264 offset = -offset; in apply_relocate() 267 offset = -offset; in apply_relocate() 285 offset = -offset; in apply_relocate() 288 offset = -offset; in apply_relocate() [all …]
|
/linux-6.3-rc2/drivers/crypto/cavium/nitrox/ |
A D | nitrox_hal.c | 44 u64 offset; in nitrox_config_emu_unit() local 70 u64 offset; in reset_pkt_input_ring() local 98 u64 offset; in enable_pkt_input_ring() local 128 u64 offset; in nitrox_config_pkt_input_rings() local 166 u64 offset; in reset_pkt_solicit_port() local 195 u64 offset; in enable_pkt_solicit_port() local 221 u64 offset; in config_pkt_solicit_port() local 315 u64 offset; in reset_aqm_ring() local 343 u64 offset; in enable_aqm_ring() local 443 u64 offset; in nitrox_config_rand_unit() local [all …]
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | cpu_setup.h | 8 void __setup_cpu_power7(unsigned long offset, struct cpu_spec *spec); 9 void __setup_cpu_power8(unsigned long offset, struct cpu_spec *spec); 10 void __setup_cpu_power9(unsigned long offset, struct cpu_spec *spec); 11 void __setup_cpu_power10(unsigned long offset, struct cpu_spec *spec); 17 void __setup_cpu_e500v1(unsigned long offset, struct cpu_spec *spec); 18 void __setup_cpu_e500v2(unsigned long offset, struct cpu_spec *spec); 20 void __setup_cpu_440ep(unsigned long offset, struct cpu_spec *spec); 22 void __setup_cpu_440gx(unsigned long offset, struct cpu_spec *spec); 30 void __setup_cpu_603(unsigned long offset, struct cpu_spec *spec); 31 void __setup_cpu_604(unsigned long offset, struct cpu_spec *spec); [all …]
|
/linux-6.3-rc2/drivers/infiniband/hw/hns/ |
A D | hns_roce_restrack.c | 51 int offset = 0; in hns_roce_fill_res_cq_entry_raw() local 61 data[offset++] = hr_reg_read(&context, CQC_CQ_ST); in hns_roce_fill_res_cq_entry_raw() 62 data[offset++] = hr_reg_read(&context, CQC_SHIFT); in hns_roce_fill_res_cq_entry_raw() 68 data[offset++] = hr_reg_read(&context, CQC_ARM_ST); in hns_roce_fill_res_cq_entry_raw() 69 data[offset++] = hr_reg_read(&context, CQC_CMD_SN); in hns_roce_fill_res_cq_entry_raw() 70 data[offset++] = hr_reg_read(&context, CQC_CEQN); in hns_roce_fill_res_cq_entry_raw() 122 int offset = 0; in hns_roce_fill_res_qp_entry_raw() local 136 data[offset++] = hr_reg_read(&context, QPC_SRQN); in hns_roce_fill_res_qp_entry_raw() 208 int offset = 0; in hns_roce_fill_res_mr_entry_raw() local 218 data[offset++] = hr_reg_read(&context, MPT_ST); in hns_roce_fill_res_mr_entry_raw() [all …]
|
/linux-6.3-rc2/scripts/dtc/libfdt/ |
A D | fdt_ro.c | 122 offset = fdt_next_node(fdt, offset, NULL); in fdt_find_max_phandle() 234 offset = fdt_next_node(fdt, offset, &depth)) in fdt_subnode_offset_namelen() 340 int offset; in fdt_first_property_offset() local 554 (offset >= 0) && (offset <= nodeoffset); in fdt_get_path() 555 offset = fdt_next_node(fdt, offset, &depth)) { in fdt_get_path() 586 if ((offset == -FDT_ERR_NOTFOUND) || (offset >= 0)) in fdt_get_path() 606 (offset >= 0) && (offset <= nodeoffset); in fdt_supernode_atdepth_offset() 607 offset = fdt_next_node(fdt, offset, &depth)) { in fdt_supernode_atdepth_offset() 671 offset = fdt_next_node(fdt, offset, NULL)) { in fdt_node_offset_by_prop_value() 698 offset = fdt_next_node(fdt, offset, NULL)) { in fdt_node_offset_by_phandle() [all …]
|
A D | fdt.c | 145 if (offset < 0) in fdt_offset_ptr() 204 offset += 4; in fdt_next_tag() 226 && ((offset < 0) || (offset % FDT_TAGSIZE))) in fdt_check_node_offset_() 229 if (fdt_next_tag(fdt, offset, &offset) != FDT_BEGIN_NODE) in fdt_check_node_offset_() 232 return offset; in fdt_check_node_offset_() 238 && ((offset < 0) || (offset % FDT_TAGSIZE))) in fdt_check_prop_offset_() 241 if (fdt_next_tag(fdt, offset, &offset) != FDT_PROP) in fdt_check_prop_offset_() 244 return offset; in fdt_check_prop_offset_() 284 return offset; in fdt_next_node() 291 offset = fdt_next_node(fdt, offset, &depth); in fdt_first_subnode() [all …]
|
/linux-6.3-rc2/arch/sh/boards/mach-microdev/ |
A D | io.c | 59 if ((offset >= IO_LAN91C111_BASE) && in microdev_ioport_map() 65 } else if ((offset >= IO_SUPERIO_BASE) && in microdev_ioport_map() 72 result = IO_SUPERIO_PHYS + (offset << 1); in microdev_ioport_map() 73 } else if (((offset >= IO_IDE1_BASE) && in microdev_ioport_map() 75 (offset == IO_IDE1_MISC)) { in microdev_ioport_map() 82 } else if (((offset >= IO_IDE2_BASE) && in microdev_ioport_map() 84 (offset == IO_IDE2_MISC)) { in microdev_ioport_map() 91 } else if ((offset >= IO_SERIAL1_BASE) && in microdev_ioport_map() 99 } else if ((offset >= IO_SERIAL2_BASE) && in microdev_ioport_map() 107 } else if ((offset >= IO_ISP1161_BASE) && in microdev_ioport_map() [all …]
|
/linux-6.3-rc2/drivers/thunderbolt/ |
A D | cap.c | 21 u32 value, offset; in tb_port_enable_tmu() local 29 offset = 0x26; in tb_port_enable_tmu() 31 offset = 0x2a; in tb_port_enable_tmu() 77 if (!offset) in tb_port_next_cap() 89 int offset = 0; in __tb_port_find_cap() local 95 offset = tb_port_next_cap(port, offset); in __tb_port_find_cap() 96 if (offset < 0) in __tb_port_find_cap() 97 return offset; in __tb_port_find_cap() 150 if (!offset) in tb_switch_next_cap() 196 offset = tb_switch_next_cap(sw, offset); in tb_switch_find_cap() [all …]
|
/linux-6.3-rc2/drivers/misc/ocxl/ |
A D | mmio.c | 10 if (offset > afu->config.global_mmio_size - 4) in ocxl_global_mmio_read32() 24 *val = readl((char *)afu->global_mmio_ptr + offset); in ocxl_global_mmio_read32() 35 if (offset > afu->config.global_mmio_size - 8) in ocxl_global_mmio_read64() 49 *val = readq((char *)afu->global_mmio_ptr + offset); in ocxl_global_mmio_read64() 60 if (offset > afu->config.global_mmio_size - 4) in ocxl_global_mmio_write32() 74 writel(val, (char *)afu->global_mmio_ptr + offset); in ocxl_global_mmio_write32() 86 if (offset > afu->config.global_mmio_size - 8) in ocxl_global_mmio_write64() 114 if (offset > afu->config.global_mmio_size - 4) in ocxl_global_mmio_set32() 145 if (offset > afu->config.global_mmio_size - 8) in ocxl_global_mmio_set64() 176 if (offset > afu->config.global_mmio_size - 4) in ocxl_global_mmio_clear32() [all …]
|
/linux-6.3-rc2/drivers/gpio/ |
A D | gpio-eic-sprd.c | 152 tmp |= BIT(SPRD_EIC_BIT(offset)); in sprd_eic_update() 154 tmp &= ~BIT(SPRD_EIC_BIT(offset)); in sprd_eic_update() 238 u32 offset = irqd_to_hwirq(data); in sprd_eic_irq_mask() local 265 u32 offset = irqd_to_hwirq(data); in sprd_eic_irq_unmask() local 292 u32 offset = irqd_to_hwirq(data); in sprd_eic_irq_ack() local 316 u32 offset = irqd_to_hwirq(data); in sprd_eic_irq_set_type() local 333 sprd_eic_update(chip, offset, in sprd_eic_irq_set_type() 336 sprd_eic_update(chip, offset, in sprd_eic_irq_set_type() 358 sprd_eic_update(chip, offset, in sprd_eic_irq_set_type() 361 sprd_eic_update(chip, offset, in sprd_eic_irq_set_type() [all …]
|
A D | gpio-cs5535.c | 86 if (offset < 16) in __cs5535_gpio_set() 108 if (offset < 16) in __cs5535_gpio_clear() 134 if (offset < 16) in cs5535_gpio_isset() 140 offset -= 16; in cs5535_gpio_isset() 172 if (offset >= 24) in cs5535_gpio_setup_event() 173 offset = GPIO_MAP_W; in cs5535_gpio_setup_event() 174 else if (offset >= 16) in cs5535_gpio_setup_event() 175 offset = GPIO_MAP_Z; in cs5535_gpio_setup_event() 176 else if (offset >= 8) in cs5535_gpio_setup_event() 177 offset = GPIO_MAP_Y; in cs5535_gpio_setup_event() [all …]
|
A D | gpio-sprd.c | 53 offset / SPRD_GPIO_BANK_NR); in sprd_gpio_update() 61 tmp |= BIT(SPRD_GPIO_BIT(offset)); in sprd_gpio_update() 63 tmp &= ~BIT(SPRD_GPIO_BIT(offset)); in sprd_gpio_update() 73 offset / SPRD_GPIO_BANK_NR); in sprd_gpio_read() 90 unsigned int offset) in sprd_gpio_direction_input() argument 120 u32 offset = irqd_to_hwirq(data); in sprd_gpio_irq_mask() local 123 gpiochip_disable_irq(chip, offset); in sprd_gpio_irq_mask() 129 u32 offset = irqd_to_hwirq(data); in sprd_gpio_irq_ack() local 137 u32 offset = irqd_to_hwirq(data); in sprd_gpio_irq_unmask() local 140 gpiochip_enable_irq(chip, offset); in sprd_gpio_irq_unmask() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/ath/ath10k/ |
A D | qmi_wlfw_v01.c | 107 offset), 163 .offset = offsetof(struct wlfw_mem_cfg_s_v01, 164 offset), 172 .offset = offsetof(struct wlfw_mem_cfg_s_v01, 181 .offset = offsetof(struct wlfw_mem_cfg_s_v01, 194 .offset = offsetof(struct wlfw_mem_seg_s_v01, 203 .offset = offsetof(struct wlfw_mem_seg_s_v01, 212 .offset = offsetof(struct wlfw_mem_seg_s_v01, 221 .offset = offsetof(struct wlfw_mem_seg_s_v01, 1563 offset), [all …]
|
/linux-6.3-rc2/drivers/net/dsa/sja1105/ |
A D | sja1105_ethtool.c | 83 int offset; member 94 .offset = 0, 101 .offset = 0x0, 108 .offset = 0x0, 115 .offset = 0x0, 123 .offset = 0x1, 130 .offset = 0x1, 137 .offset = 0x1, 144 .offset = 0x1, 151 .offset = 0x1, [all …]
|
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/ |
A D | ia_css_isp_configs.c | 39 offset = binary->info->mem_offsets.offsets.config->dmem.iterator.offset; in ia_css_configure_iterator() 62 offset = binary->info->mem_offsets.offsets.config->dmem.copy_output.offset; in ia_css_configure_copy_output() 87 offset = binary->info->mem_offsets.offsets.config->dmem.crop.offset; in ia_css_configure_crop() 110 offset = binary->info->mem_offsets.offsets.config->dmem.fpn.offset; in ia_css_configure_fpn() 132 offset = binary->info->mem_offsets.offsets.config->dmem.dvs.offset; in ia_css_configure_dvs() 154 offset = binary->info->mem_offsets.offsets.config->dmem.qplane.offset; in ia_css_configure_qplane() 223 offset = binary->info->mem_offsets.offsets.config->dmem.output.offset; in ia_css_configure_output() 246 offset = binary->info->mem_offsets.offsets.config->dmem.raw.offset; in ia_css_configure_raw() 269 offset = binary->info->mem_offsets.offsets.config->dmem.tnr.offset; in ia_css_configure_tnr() 292 offset = binary->info->mem_offsets.offsets.config->dmem.ref.offset; in ia_css_configure_ref() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
A D | init.c | 665 init->offset += 2; in init_repeat() 727 init->offset += 1; in init_end_repeat() 731 init->offset = 0; in init_end_repeat() 770 init->offset += 1; in init_not() 785 init->offset += 2; in init_io_flag_condition() 806 init->offset += 3; in init_generic_condition() 1073 init->offset++; in init_zm_i2c() 1373 u16 offset = nvbios_rd16(bios, init->offset + 1); in init_jump() local 1378 init->offset = offset; in init_jump() 2203 for (i = init->offset; i < init->offset + count; i++) in init_gpio_ne() [all …]
|
/linux-6.3-rc2/drivers/pinctrl/ |
A D | pinctrl-da9062.c | 31 #define DA9062_TYPE(offset) (4 * (offset % 2)) argument 32 #define DA9062_PIN_SHIFT(offset) (4 * (offset % 2)) argument 46 unsigned int offset) in da9062_pctl_get_pin_mode() argument 55 val >>= DA9062_PIN_SHIFT(offset); in da9062_pctl_get_pin_mode() 70 mode <<= DA9062_PIN_SHIFT(offset); in da9062_pctl_set_pin_mode() 107 return !!(val & BIT(offset)); in da9062_gpio_get() 117 value << offset); in da9062_gpio_set() 143 unsigned int offset) in da9062_gpio_direction_input() argument 203 BIT(offset), 0); in da9062_gpio_set_config() 211 BIT(offset), BIT(offset)); in da9062_gpio_set_config() [all …]
|
/linux-6.3-rc2/drivers/hwtracing/coresight/ |
A D | coresight-etm4x-cfg.c | 15 if (offset == cval) { \ 53 if (((offset >= TRCEVENTCTL0R) && (offset <= TRCVIPCSSCTLR)) || in etm4_cfg_map_reg_offset() 54 ((offset >= TRCSEQRSTEVR) && (offset <= TRCEXTINSELR)) || in etm4_cfg_map_reg_offset() 55 ((offset >= TRCCIDCCTLR0) && (offset <= TRCVMIDCCTLR1))) { in etm4_cfg_map_reg_offset() 78 idx = (offset & GENMASK(3, 0)) / 4; in etm4_cfg_map_reg_offset() 83 } else if ((offset >= TRCSSCCRn(0)) && (offset <= TRCSSPCICRn(7))) { in etm4_cfg_map_reg_offset() 85 idx = (offset & GENMASK(4, 0)) / 4; in etm4_cfg_map_reg_offset() 92 } else if ((offset >= TRCCIDCVRn(0)) && (offset <= TRCVMIDCVRn(7))) { in etm4_cfg_map_reg_offset() 94 idx = (offset & GENMASK(5, 0)) / 8; in etm4_cfg_map_reg_offset() 153 u32 offset; in etm4_cfg_load_feature() local [all …]
|