Home
last modified time | relevance | path

Searched refs:unit (Results 1 – 25 of 1242) sorted by relevance

12345678910>>...50

/OK3568_Linux_fs/u-boot/drivers/ddr/marvell/axp/
H A Dxor_regs.h17 #define MV_XOR_REGS_OFFSET(unit) (0x60900) argument
18 #define MV_XOR_REGS_BASE(unit) (MV_XOR_REGS_OFFSET(unit)) argument
21 #define XOR_CHANNEL_ARBITER_REG(unit) (MV_XOR_REGS_BASE(unit)) argument
22 #define XOR_CONFIG_REG(unit, chan) (MV_XOR_REGS_BASE(unit) + (0x10 + ((chan) * 4))) argument
23 #define XOR_ACTIVATION_REG(unit, chan) (MV_XOR_REGS_BASE(unit) + (0x20 + ((chan) * 4))) argument
26 #define XOR_CAUSE_REG(unit) (MV_XOR_REGS_BASE(unit) + 0x30) argument
27 #define XOR_MASK_REG(unit) (MV_XOR_REGS_BASE(unit) + 0x40) argument
28 #define XOR_ERROR_CAUSE_REG(unit) (MV_XOR_REGS_BASE(unit) + 0x50) argument
29 #define XOR_ERROR_ADDR_REG(unit) (MV_XOR_REGS_BASE(unit) + 0x60) argument
32 #define XOR_NEXT_DESC_PTR_REG(unit, chan) (MV_XOR_REGS_BASE(unit) + (0x200 + ((chan) * 4))) argument
[all …]
/OK3568_Linux_fs/kernel/drivers/s390/scsi/
H A Dzfcp_unit.c22 void zfcp_unit_scsi_scan(struct zfcp_unit *unit) in zfcp_unit_scsi_scan() argument
24 struct fc_rport *rport = unit->port->rport; in zfcp_unit_scsi_scan()
27 lun = scsilun_to_int((struct scsi_lun *) &unit->fcp_lun); in zfcp_unit_scsi_scan()
36 struct zfcp_unit *unit = container_of(work, struct zfcp_unit, in zfcp_unit_scsi_scan_work() local
39 zfcp_unit_scsi_scan(unit); in zfcp_unit_scsi_scan_work()
40 put_device(&unit->dev); in zfcp_unit_scsi_scan_work()
55 struct zfcp_unit *unit; in zfcp_unit_queue_scsi_scan() local
58 list_for_each_entry(unit, &port->unit_list, list) { in zfcp_unit_queue_scsi_scan()
59 get_device(&unit->dev); in zfcp_unit_queue_scsi_scan()
61 &unit->scsi_work) <= 0) in zfcp_unit_queue_scsi_scan()
[all …]
/OK3568_Linux_fs/u-boot/drivers/ddr/marvell/a38x/
H A Dxor_regs.h17 #define MV_XOR_REGS_OFFSET(unit) (0x60900) argument
18 #define MV_XOR_REGS_BASE(unit) (MV_XOR_REGS_OFFSET(unit)) argument
21 #define XOR_CHANNEL_ARBITER_REG(unit) (MV_XOR_REGS_BASE(unit)) argument
22 #define XOR_CONFIG_REG(unit, chan) (MV_XOR_REGS_BASE(unit) + \ argument
24 #define XOR_ACTIVATION_REG(unit, chan) (MV_XOR_REGS_BASE(unit) + \ argument
28 #define XOR_CAUSE_REG(unit) (MV_XOR_REGS_BASE(unit)+(0x30)) argument
29 #define XOR_MASK_REG(unit) (MV_XOR_REGS_BASE(unit)+(0x40)) argument
30 #define XOR_ERROR_CAUSE_REG(unit) (MV_XOR_REGS_BASE(unit)+(0x50)) argument
31 #define XOR_ERROR_ADDR_REG(unit) (MV_XOR_REGS_BASE(unit)+(0x60)) argument
34 #define XOR_NEXT_DESC_PTR_REG(unit, chan) (MV_XOR_REGS_BASE(unit) + \ argument
[all …]
/OK3568_Linux_fs/kernel/arch/mips/include/asm/
H A Dmips-cps.h16 #define CPS_ACCESSOR_A(unit, off, name) \ argument
17 static inline void *addr_##unit##_##name(void) \
19 return mips_##unit##_base + (off); \
22 #define CPS_ACCESSOR_R(unit, sz, name) \ argument
23 static inline uint##sz##_t read_##unit##_##name(void) \
29 return __raw_readl(addr_##unit##_##name()); \
33 return __raw_readq(addr_##unit##_##name()); \
35 val64 = __raw_readl(addr_##unit##_##name() + 4); \
37 val64 |= __raw_readl(addr_##unit##_##name()); \
45 #define CPS_ACCESSOR_W(unit, sz, name) \ argument
[all …]
/OK3568_Linux_fs/kernel/include/net/
H A DSpace.h6 struct net_device *hp100_probe(int unit);
7 struct net_device *ultra_probe(int unit);
8 struct net_device *wd_probe(int unit);
9 struct net_device *ne_probe(int unit);
10 struct net_device *fmv18x_probe(int unit);
11 struct net_device *i82596_probe(int unit);
12 struct net_device *ni65_probe(int unit);
13 struct net_device *sonic_probe(int unit);
14 struct net_device *smc_init(int unit);
15 struct net_device *atarilance_probe(int unit);
[all …]
/OK3568_Linux_fs/u-boot/drivers/phy/marvell/
H A Dcomphy_a3700.h74 #define PHY_BASE(unit) ((unit == PCIE) ? PCIEPHY_BASE : USB3PHY_BASE) argument
75 #define PHY_SHFT(unit) ((unit == PCIE) ? PCIEPHY_SHFT : USB3PHY_SHFT) argument
84 #define PWR_PLL_CTRL_ADDR(unit) \ argument
85 (PHY_PWR_PLL_CTRL_ADDR * PHY_SHFT(unit) + PHY_BASE(unit))
94 #define KVCO_CAL_CTRL_ADDR(unit) \ argument
95 (PHY_REG_KVCO_CAL_CTRL_ADDR * PHY_SHFT(unit) + PHY_BASE(unit))
101 #define DIG_LB_EN_ADDR(unit) \ argument
102 (PHY_DIG_LB_EN_ADDR * PHY_SHFT(unit) + PHY_BASE(unit))
108 #define SYNC_PATTERN_ADDR(unit) \ argument
109 (PHY_SYNC_PATTERN_ADDR * PHY_SHFT(unit) + PHY_BASE(unit))
[all …]
/OK3568_Linux_fs/kernel/sound/
H A Dsound_core.c215 static struct sound_unit *__sound_remove_unit(struct sound_unit **list, int unit) in __sound_remove_unit() argument
220 if(p->unit_minor==unit) in __sound_remove_unit()
227 printk(KERN_ERR "Sound device %d went missing!\n", unit); in __sound_remove_unit()
298 static void sound_remove_unit(struct sound_unit **list, int unit) in sound_remove_unit() argument
303 p = __sound_remove_unit(list, unit); in sound_remove_unit()
350 int register_sound_special_device(const struct file_operations *fops, int unit, in register_sound_special_device() argument
353 const int chain = unit % SOUND_STEP; in register_sound_special_device()
364 if (unit >= SOUND_STEP) in register_sound_special_device()
366 max_unit = unit + 1; in register_sound_special_device()
382 if (unit >= SOUND_STEP) in register_sound_special_device()
[all …]
/OK3568_Linux_fs/kernel/drivers/block/
H A Damiflop.c264 static struct amiga_floppy_struct unit[FD_MAX_UNITS]; variable
406 if (unit[drive].track % 2 != 0) in fd_select()
408 if (unit[drive].motor == 1) in fd_select()
461 if (!unit[nr].motor) { in fd_motor_on()
462 unit[nr].motor = 1; in fd_motor_on()
500 unit[drive].motor = 0; in fd_motor_off()
528 for (n = unit[drive].type->tracks/2; n != 0; --n) { in fd_calibrate()
536 ms_delay(unit[drive].type->step_delay); in fd_calibrate()
538 ms_delay (unit[drive].type->settle_time); in fd_calibrate()
540 n = unit[drive].type->tracks + 20; in fd_calibrate()
[all …]
/OK3568_Linux_fs/kernel/drivers/clk/mmp/
H A Dreset.c15 struct mmp_clk_reset_unit *unit = rcdev_to_unit(rcdev); in mmp_of_reset_xlate() local
23 cell = &unit->cells[i]; in mmp_of_reset_xlate()
37 struct mmp_clk_reset_unit *unit = rcdev_to_unit(rcdev); in mmp_clk_reset_assert() local
42 cell = &unit->cells[id]; in mmp_clk_reset_assert()
59 struct mmp_clk_reset_unit *unit = rcdev_to_unit(rcdev); in mmp_clk_reset_deassert() local
64 cell = &unit->cells[id]; in mmp_clk_reset_deassert()
86 struct mmp_clk_reset_unit *unit; in mmp_clk_reset_register() local
88 unit = kzalloc(sizeof(*unit), GFP_KERNEL); in mmp_clk_reset_register()
89 if (!unit) in mmp_clk_reset_register()
92 unit->cells = cells; in mmp_clk_reset_register()
[all …]
H A Dclk.c10 void mmp_clk_init(struct device_node *np, struct mmp_clk_unit *unit, in mmp_clk_init() argument
19 unit->clk_table = clk_table; in mmp_clk_init()
20 unit->nr_clks = nr_clks; in mmp_clk_init()
21 unit->clk_data.clks = clk_table; in mmp_clk_init()
22 unit->clk_data.clk_num = nr_clks; in mmp_clk_init()
23 of_clk_add_provider(np, of_clk_src_onecell_get, &unit->clk_data); in mmp_clk_init()
26 void mmp_register_fixed_rate_clks(struct mmp_clk_unit *unit, in mmp_register_fixed_rate_clks() argument
44 unit->clk_table[clks[i].id] = clk; in mmp_register_fixed_rate_clks()
48 void mmp_register_fixed_factor_clks(struct mmp_clk_unit *unit, in mmp_register_fixed_factor_clks() argument
66 unit->clk_table[clks[i].id] = clk; in mmp_register_fixed_factor_clks()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/perf/
H A Dpower5-pmu.c141 int pmc, byte, unit, sh; in power5_get_constraint() local
159 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK; in power5_get_constraint()
160 if (unit > PM_LASTUNIT) in power5_get_constraint()
162 if (unit == PM_ISU0_ALT) in power5_get_constraint()
163 unit = PM_ISU0; in power5_get_constraint()
164 mask |= unit_cons[unit][0]; in power5_get_constraint()
165 value |= unit_cons[unit][1]; in power5_get_constraint()
168 if (unit != PM_LSU1) in power5_get_constraint()
171 ++unit; in power5_get_constraint()
174 if (unit == PM_GRS) { in power5_get_constraint()
[all …]
H A Dpower5+-pmu.c137 int pmc, byte, unit, sh; in power5p_get_constraint() local
152 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK; in power5p_get_constraint()
153 if (unit > PM_LASTUNIT) in power5p_get_constraint()
155 if (unit == PM_ISU0_ALT) in power5p_get_constraint()
156 unit = PM_ISU0; in power5p_get_constraint()
157 mask |= unit_cons[unit][0]; in power5p_get_constraint()
158 value |= unit_cons[unit][1]; in power5p_get_constraint()
161 if (unit != PM_LSU1) in power5p_get_constraint()
164 ++unit; in power5p_get_constraint()
167 if (unit == PM_GRS) { in power5p_get_constraint()
[all …]
H A Dppc970-pmu.c147 int pmc, psel, unit, byte, bit; in p970_marked_instr_event() local
165 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK; in p970_marked_instr_event()
167 switch (unit) { in p970_marked_instr_event()
195 int pmc, byte, unit, sh, spcsel; in p970_get_constraint() local
208 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK; in p970_get_constraint()
209 if (unit) { in p970_get_constraint()
210 if (unit > PM_LASTUNIT) in p970_get_constraint()
212 mask |= unit_cons[unit][0]; in p970_get_constraint()
213 value |= unit_cons[unit][1]; in p970_get_constraint()
223 value |= (unsigned long)unit << (28 - 4 * byte); in p970_get_constraint()
[all …]
/OK3568_Linux_fs/external/mpp/mpp/base/test/
H A DCMakeLists.txt3 # mpp/base built-in unit test case
5 # macro for adding osal sub-module unit test
13 option(${test_tag} "Build base ${module} unit test" ${BUILD_TEST})
22 # task system unit test
25 # mpp_buffer unit test
28 # mpp_packet unit test
31 # mpp_meta unit test
34 # mpp_bitwriter unit test
37 # mpp_bitread unit test
40 # mpp_trie unit test
[all …]
/OK3568_Linux_fs/kernel/drivers/ide/
H A Dit821x.c144 u8 unit = drive->dn & 1, conf; in it821x_program_udma() local
153 pci_write_config_byte(dev, 0x56 + 4 * channel + unit, conf); in it821x_program_udma()
175 u8 unit = drive->dn & 1, v; in it821x_clock_strategy() local
216 if(pair && itdev->udma[1-unit] != UDMA_OFF) { in it821x_clock_strategy()
217 it821x_program_udma(pair, itdev->udma[1-unit]); in it821x_clock_strategy()
218 it821x_program(pair, itdev->pio[1-unit]); in it821x_clock_strategy()
224 if(itdev->udma[unit] != UDMA_OFF) { in it821x_clock_strategy()
225 it821x_program_udma(drive, itdev->udma[unit]); in it821x_clock_strategy()
226 it821x_program(drive, itdev->pio[unit]); in it821x_clock_strategy()
244 u8 unit = drive->dn & 1, set_pio = pio; in it821x_set_pio_mode() local
[all …]
/OK3568_Linux_fs/kernel/sound/firewire/bebob/
H A Dbebob.c72 struct fw_device *fw_dev = fw_parent_device(bebob->unit); in name_device()
88 err = fw_csr_string(bebob->unit->directory, CSR_MODEL, in name_device()
94 err = snd_bebob_read_quad(bebob->unit, INFO_OFFSET_HW_MODEL_ID, in name_device()
100 err = snd_bebob_read_quad(bebob->unit, INFO_OFFSET_HW_MODEL_REVISION, in name_device()
106 err = snd_bebob_read_block(bebob->unit, INFO_OFFSET_GUID, in name_device()
111 err = snd_bebob_read_quad(bebob->unit, INFO_OFFSET_BEBOB_VERSION, in name_device()
123 data[0], data[1], dev_name(&bebob->unit->device), in name_device()
142 get_saffire_spec(struct fw_unit *unit) in get_saffire_spec() argument
146 if (fw_csr_string(unit->directory, CSR_MODEL, name, sizeof(name)) < 0) in get_saffire_spec()
156 check_audiophile_booted(struct fw_unit *unit) in check_audiophile_booted() argument
[all …]
/OK3568_Linux_fs/external/mpp/osal/test/
H A DCMakeLists.txt3 # OSAL built-in unit test case
5 # macro for adding osal sub-module unit test
13 option(${test_tag} "Build osal ${module} unit test" ${BUILD_TEST})
22 # log system unit test
25 # env system unit test
28 # malloc system unit test
31 # mpp_mem_pool unit test
34 # time system unit test
37 # trace system unit test
40 # hardware platform feature detection unit test
[all …]
/OK3568_Linux_fs/kernel/sound/firewire/digi00x/
H A Ddigi00x.c21 struct fw_device *fw_dev = fw_parent_device(dg00x->unit); in name_card()
26 err = fw_csr_string(dg00x->unit->directory, CSR_MODEL, name, in name_card()
39 dev_name(&dg00x->unit->device), 100 << fw_dev->max_speed); in name_card()
61 err = snd_card_new(&dg00x->unit->device, -1, NULL, THIS_MODULE, 0, in do_registration()
103 dev_info(&dg00x->unit->device, in do_registration()
107 static int snd_dg00x_probe(struct fw_unit *unit, in snd_dg00x_probe() argument
113 dg00x = devm_kzalloc(&unit->device, sizeof(struct snd_dg00x), in snd_dg00x_probe()
118 dg00x->unit = fw_unit_get(unit); in snd_dg00x_probe()
119 dev_set_drvdata(&unit->device, dg00x); in snd_dg00x_probe()
129 snd_fw_schedule_registration(unit, &dg00x->dwork); in snd_dg00x_probe()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/binutils/binutils/
H A D0020-CVE-2023-22608-1.patch9 unit
21 compilation unit spaces; for content_shell, which is 1.6 GB when some
23 0.006 ms (6 µs) for each lookup from address to compilation unit, a 1000x
49 +/* A trie to map quickly from address range to compilation unit.
52 + compilation unit any given address belongs to. Given that each compilation
53 + unit may register hundreds of very small and unaligned ranges (which may
61 + ranges (high/low address) and which compilation unit contains those ranges,
99 + struct comp_unit *unit;
130 /* Last comp unit in list above. */
152 /* Likewise, chain the compilation unit read after this one.
[all …]
/OK3568_Linux_fs/kernel/drivers/block/paride/
H A Dpg.c245 int unit; in pg_init_units() local
248 for (unit = 0; unit < PG_UNITS; unit++) { in pg_init_units()
249 int *parm = *drives[unit]; in pg_init_units()
250 struct pg *dev = &devices[unit]; in pg_init_units()
257 snprintf(dev->name, PG_NAMELEN, "%s%c", name, 'a'+unit); in pg_init_units()
481 int k, unit; in pg_detect() local
503 for (unit = 0; unit < PG_UNITS; unit++, dev++) { in pg_detect()
504 int *parm = *drives[unit]; in pg_detect()
528 int unit = iminor(inode) & 0x7f; in pg_open() local
529 struct pg *dev = &devices[unit]; in pg_open()
[all …]
/OK3568_Linux_fs/kernel/sound/firewire/motu/
H A Dmotu.c30 struct fw_device *fw_dev = fw_parent_device(motu->unit); in name_card()
35 fw_csr_iterator_init(&it, motu->unit->directory); in name_card()
51 dev_name(&motu->unit->device), 100 << fw_dev->max_speed); in name_card()
70 err = snd_card_new(&motu->unit->device, -1, NULL, THIS_MODULE, 0, in do_registration()
115 dev_info(&motu->unit->device, in do_registration()
119 static int motu_probe(struct fw_unit *unit, in motu_probe() argument
125 motu = devm_kzalloc(&unit->device, sizeof(struct snd_motu), GFP_KERNEL); in motu_probe()
128 motu->unit = fw_unit_get(unit); in motu_probe()
129 dev_set_drvdata(&unit->device, motu); in motu_probe()
138 snd_fw_schedule_registration(unit, &motu->dwork); in motu_probe()
[all …]
/OK3568_Linux_fs/kernel/sound/firewire/oxfw/
H A Doxfw.c42 static bool detect_loud_models(struct fw_unit *unit) in detect_loud_models() argument
55 err = fw_csr_string(unit->directory, CSR_MODEL, in detect_loud_models()
65 struct fw_device *fw_dev = fw_parent_device(oxfw->unit); in name_card()
80 err = fw_csr_string(oxfw->unit->directory, CSR_MODEL, in name_card()
85 err = snd_fw_transaction(oxfw->unit, TCODE_READ_QUADLET_REQUEST, in name_card()
112 dev_name(&oxfw->unit->device), 100 << fw_dev->max_speed); in name_card()
127 struct fw_device *fw_dev = fw_parent_device(oxfw->unit); in detect_quirks()
191 err = snd_card_new(&oxfw->unit->device, -1, NULL, THIS_MODULE, 0, in do_registration()
239 dev_info(&oxfw->unit->device, in do_registration()
243 static int oxfw_probe(struct fw_unit *unit, in oxfw_probe() argument
[all …]
/OK3568_Linux_fs/kernel/sound/firewire/tascam/
H A Dtascam.c46 struct fw_device *fw_dev = fw_parent_device(tscm->unit); in identify_model()
53 dev_err(&tscm->unit->device, in identify_model()
82 dev_name(&tscm->unit->device), 100 << fw_dev->max_speed); in identify_model()
100 err = snd_card_new(&tscm->unit->device, -1, NULL, THIS_MODULE, 0, in do_registration()
142 dev_info(&tscm->unit->device, in do_registration()
146 static int snd_tscm_probe(struct fw_unit *unit, in snd_tscm_probe() argument
152 tscm = devm_kzalloc(&unit->device, sizeof(struct snd_tscm), GFP_KERNEL); in snd_tscm_probe()
155 tscm->unit = fw_unit_get(unit); in snd_tscm_probe()
156 dev_set_drvdata(&unit->device, tscm); in snd_tscm_probe()
164 snd_fw_schedule_registration(unit, &tscm->dwork); in snd_tscm_probe()
[all …]
/OK3568_Linux_fs/kernel/drivers/ata/
H A Dpata_it821x.c159 int unit = adev->devno; in it821x_program_udma() local
168 pci_write_config_byte(pdev, 0x56 + 4 * channel + unit, conf); in it821x_program_udma()
189 u8 unit = adev->devno; in it821x_clock_strategy() local
232 if (pair && itdev->udma[1-unit] != UDMA_OFF) { in it821x_clock_strategy()
233 it821x_program_udma(ap, pair, itdev->udma[1-unit]); in it821x_clock_strategy()
234 it821x_program(ap, pair, itdev->pio[1-unit]); in it821x_clock_strategy()
240 if (itdev->udma[unit] != UDMA_OFF) { in it821x_clock_strategy()
241 it821x_program_udma(ap, adev, itdev->udma[unit]); in it821x_clock_strategy()
242 it821x_program(ap, adev, itdev->pio[unit]); in it821x_clock_strategy()
262 int unit = adev->devno; in it821x_passthru_set_piomode() local
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/systemd/systemd-systemctl/
H A Dsystemctl168 def __init__(self, path, unit): argument
170 self.unit = unit
174 def __init__(self, root, unit): argument
176 self.unit = unit
179 def _path_for_unit(self, unit): argument
181 path = self.root / location / "system" / unit
185 raise SystemdUnitNotFoundError(self.root, unit)
202 template = re.match(r"[^@]+@(?P<instance>[^\.]*)\.", self.unit)
207 instance_unit_name = self.unit
208 unit = re.sub(r"@[^\.]*\.", "@.", self.unit, 1)
[all …]

12345678910>>...50