Searched refs:unit (Results 1 - 25 of 484) sorted by relevance

1234567891011>>

/linux-master/include/net/
H A DSpace.h6 struct net_device *ultra_probe(int unit);
7 struct net_device *wd_probe(int unit);
8 struct net_device *ne_probe(int unit);
9 struct net_device *smc_init(int unit);
10 struct net_device *cs89x0_probe(int unit);
11 struct net_device *tc515_probe(int unit);
12 struct net_device *lance_probe(int unit);
/linux-master/drivers/s390/scsi/
H A Dzfcp_unit.c16 * @unit: The zfcp LUN/unit to register
22 void zfcp_unit_scsi_scan(struct zfcp_unit *unit) argument
24 struct fc_rport *rport = unit->port->rport;
27 lun = scsilun_to_int((struct scsi_lun *) &unit->fcp_lun);
36 struct zfcp_unit *unit = container_of(work, struct zfcp_unit, local
39 zfcp_unit_scsi_scan(unit);
40 put_device(&unit->dev);
55 struct zfcp_unit *unit; local
58 list_for_each_entry(unit,
69 struct zfcp_unit *unit; local
93 struct zfcp_unit *unit; local
107 struct zfcp_unit *unit = container_of(dev, struct zfcp_unit, dev); local
123 struct zfcp_unit *unit; local
195 zfcp_unit_sdev(struct zfcp_unit *unit) argument
214 zfcp_unit_sdev_status(struct zfcp_unit *unit) argument
240 struct zfcp_unit *unit; local
[all...]
/linux-master/include/linux/
H A Dsound.h12 extern int register_sound_special(const struct file_operations *fops, int unit);
13 extern int register_sound_special_device(const struct file_operations *fops, int unit, struct device *dev);
17 extern void unregister_sound_special(int unit);
18 extern void unregister_sound_mixer(int unit);
19 extern void unregister_sound_dsp(int unit);
/linux-master/arch/mips/include/asm/
H A Dmips-cps.h17 #define CPS_ACCESSOR_A(unit, off, name) \
18 static inline void *addr_##unit##_##name(void) \
20 return mips_##unit##_base + (off); \
23 #define CPS_ACCESSOR_R(unit, sz, name) \
24 static inline uint##sz##_t read_##unit##_##name(void) \
30 return __raw_readl(addr_##unit##_##name()); \
34 return __raw_readq(addr_##unit##_##name()); \
36 val64 = __raw_readl(addr_##unit##_##name() + 4); \
38 val64 |= __raw_readl(addr_##unit##_##name()); \
46 #define CPS_ACCESSOR_W(unit, s
[all...]
/linux-master/drivers/char/xillybus/
H A Dxillybus_class.c58 struct xilly_unit *unit, *u; local
60 unit = kzalloc(sizeof(*unit), GFP_KERNEL);
62 if (!unit)
68 snprintf(unit->name, UNITNAMELEN, "%s", prefix);
71 snprintf(unit->name, UNITNAMELEN, "%s_%02d",
76 if (!strcmp(unit->name, u->name)) {
82 rc = alloc_chrdev_region(&mdev, 0, num_nodes, unit->name);
89 unit->major = MAJOR(mdev);
90 unit
179 struct xilly_unit *unit = NULL, *iter; local
220 struct xilly_unit *unit = NULL, *iter; local
[all...]
/linux-master/sound/firewire/
H A Dfcp.h18 int avc_general_set_sig_fmt(struct fw_unit *unit, unsigned int rate,
21 int avc_general_get_sig_fmt(struct fw_unit *unit, unsigned int *rate,
24 int avc_general_get_plug_info(struct fw_unit *unit, unsigned int subunit_type,
28 int fcp_avc_transaction(struct fw_unit *unit,
32 void fcp_bus_reset(struct fw_unit *unit);
H A Dpackets-buffer.h21 int iso_packets_buffer_init(struct iso_packets_buffer *b, struct fw_unit *unit,
25 struct fw_unit *unit);
H A Diso-resources.h21 struct fw_unit *unit; member in struct:fw_iso_resources
31 struct fw_unit *unit);
H A Diso-resources.c21 * @unit: the device unit for which the resources will be needed
26 int fw_iso_resources_init(struct fw_iso_resources *r, struct fw_unit *unit) argument
29 r->unit = unit;
108 struct fw_card *card = fw_parent_device(r->unit)->card;
140 dev_err(&r->unit->device,
143 dev_err(&r->unit->device,
166 struct fw_card *card = fw_parent_device(r->unit)->card;
192 dev_err(&r->unit
[all...]
H A Dlib.c19 * @unit: the driver's unit on the target device
29 * response. The node ID and the current generation are derived from @unit.
33 int snd_fw_transaction(struct fw_unit *unit, int tcode, argument
37 struct fw_device *device = fw_parent_device(unit);
59 dev_err(&unit->device,
/linux-master/drivers/clk/mmp/
H A Dreset.c15 struct mmp_clk_reset_unit *unit = rcdev_to_unit(rcdev); local
23 cell = &unit->cells[i];
37 struct mmp_clk_reset_unit *unit = rcdev_to_unit(rcdev); local
42 cell = &unit->cells[id];
59 struct mmp_clk_reset_unit *unit = rcdev_to_unit(rcdev); local
64 cell = &unit->cells[id];
86 struct mmp_clk_reset_unit *unit; local
88 unit = kzalloc(sizeof(*unit), GFP_KERNEL);
89 if (!unit)
[all...]
H A Dclk.c10 void mmp_clk_init(struct device_node *np, struct mmp_clk_unit *unit, argument
19 unit->clk_table = clk_table;
20 unit->nr_clks = nr_clks;
21 unit->clk_data.clks = clk_table;
22 unit->clk_data.clk_num = nr_clks;
23 of_clk_add_provider(np, of_clk_src_onecell_get, &unit->clk_data);
26 void mmp_register_fixed_rate_clks(struct mmp_clk_unit *unit, argument
44 unit->clk_table[clks[i].id] = clk;
48 void mmp_register_fixed_factor_clks(struct mmp_clk_unit *unit, argument
66 unit
70 mmp_register_general_gate_clks(struct mmp_clk_unit *unit, struct mmp_param_general_gate_clk *clks, void __iomem *base, int size) argument
96 mmp_register_gate_clks(struct mmp_clk_unit *unit, struct mmp_param_gate_clk *clks, void __iomem *base, int size) argument
124 mmp_register_mux_clks(struct mmp_clk_unit *unit, struct mmp_param_mux_clk *clks, void __iomem *base, int size) argument
152 mmp_register_div_clks(struct mmp_clk_unit *unit, struct mmp_param_div_clk *clks, void __iomem *base, int size) argument
179 mmp_clk_add(struct mmp_clk_unit *unit, unsigned int id, struct clk *clk) argument
[all...]
/linux-master/arch/mips/include/asm/sgi/
H A Dwd.h14 unsigned int unit; member in struct:sgiwd93_platform_data
/linux-master/tools/perf/util/
H A Dunits.c36 double convert_unit_double(double value, char *unit) argument
38 *unit = ' ';
42 *unit = 'K';
47 *unit = 'M';
52 *unit = 'G';
58 unsigned long convert_unit(unsigned long value, char *unit) argument
60 double v = convert_unit_double((double)value, unit);
67 char unit[4] = "BKMG"; local
75 return scnprintf(buf, size, "%" PRIu64 "%c", n, unit[i]);
H A Dunits.h15 double convert_unit_double(double value, char *unit);
16 unsigned long convert_unit(unsigned long value, char *unit);
/linux-master/arch/powerpc/boot/dts/fsl/
H A Dpq3-rmu-0.dtsi42 message-unit@0 {
43 compatible = "fsl,srio-msg-unit";
49 message-unit@100 {
50 compatible = "fsl,srio-msg-unit";
56 doorbell-unit@400 {
57 compatible = "fsl,srio-dbell-unit";
63 port-write-unit@4e0 {
64 compatible = "fsl,srio-port-write-unit";
H A Dqoriq-rmu-0.dtsi42 message-unit@0 {
43 compatible = "fsl,srio-msg-unit";
49 message-unit@100 {
50 compatible = "fsl,srio-msg-unit";
56 doorbell-unit@400 {
57 compatible = "fsl,srio-dbell-unit";
63 port-write-unit@4e0 {
64 compatible = "fsl,srio-port-write-unit";
/linux-master/arch/alpha/include/asm/
H A Dextable.h29 unsigned unit; member in union:exception_table_entry::exception_fixup
52 (a)->fixup.unit = (b)->fixup.unit; \
53 (b)->fixup.unit = (tmp).fixup.unit; \
H A Dconsole.h8 extern long callback_puts(long unit, const char *s, long length);
9 extern long callback_getc(long unit);
13 extern long callback_close(long unit);
/linux-master/sound/
H A Dsound_core.c212 static struct sound_unit *__sound_remove_unit(struct sound_unit **list, int unit) argument
217 if(p->unit_minor==unit)
224 printk(KERN_ERR "Sound device %d went missing!\n", unit);
263 * to the next unit; otherwise, -EBUSY.
290 * Remove a unit. Acquires locks as needed. The drivers MUST have
295 static void sound_remove_unit(struct sound_unit **list, int unit) argument
300 p = __sound_remove_unit(list, unit);
337 * @unit: Unit number to allocate
347 int register_sound_special_device(const struct file_operations *fops, int unit, argument
350 const int chain = unit
414 register_sound_special(const struct file_operations *fops, int unit) argument
479 unregister_sound_special(int unit) argument
494 unregister_sound_mixer(int unit) argument
511 unregister_sound_dsp(int unit) argument
519 __look_for_unit(int chain, int unit) argument
536 int unit = iminor(inode); local
[all...]
/linux-master/sound/firewire/digi00x/
H A Ddigi00x.c21 struct fw_device *fw_dev = fw_parent_device(dg00x->unit);
26 err = fw_csr_string(dg00x->unit->directory, CSR_MODEL, name,
39 dev_name(&dg00x->unit->device), 100 << fw_dev->max_speed);
52 fw_unit_put(dg00x->unit);
55 static int snd_dg00x_probe(struct fw_unit *unit, const struct ieee1394_device_id *entry) argument
61 err = snd_card_new(&unit->device, -1, NULL, THIS_MODULE, sizeof(*dg00x), &card);
67 dg00x->unit = fw_unit_get(unit);
68 dev_set_drvdata(&unit->device, dg00x);
113 static void snd_dg00x_update(struct fw_unit *unit) argument
124 snd_dg00x_remove(struct fw_unit *unit) argument
[all...]
/linux-master/sound/firewire/tascam/
H A Dtascam.c46 struct fw_device *fw_dev = fw_parent_device(tscm->unit);
53 dev_err(&tscm->unit->device,
82 dev_name(&tscm->unit->device), 100 << fw_dev->max_speed);
95 fw_unit_put(tscm->unit);
98 static int snd_tscm_probe(struct fw_unit *unit, argument
105 err = snd_card_new(&unit->device, -1, NULL, THIS_MODULE, sizeof(*tscm), &card);
111 tscm->unit = fw_unit_get(unit);
112 dev_set_drvdata(&unit->device, tscm);
155 static void snd_tscm_update(struct fw_unit *unit) argument
166 snd_tscm_remove(struct fw_unit *unit) argument
[all...]
/linux-master/arch/powerpc/perf/
H A Dppc970-pmu.c19 #define PM_UNIT_SH 8 /* TTMMUX number and setting - unit select */
100 * UC - unit constraint: can't have all three of FPU|IFU|VPU, ISU, IDU|STS
147 int pmc, psel, unit, byte, bit; local
165 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK;
167 switch (unit) {
195 int pmc, byte, unit, sh, spcsel; local
208 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK;
209 if (unit) {
210 if (unit > PM_LASTUNIT)
212 mask |= unit_cons[unit][
263 unsigned int pmc, unit, byte, psel; local
[all...]
H A Dpower5-pmu.c21 #define PM_UNIT_SH 16 /* TTMMUX number and setting - unit select */
97 * UC - unit constraint: can't have all three of FPU|IFU|ISU1, ISU0, IDU|GRS
141 int pmc, byte, unit, sh; local
159 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK;
160 if (unit > PM_LASTUNIT)
162 if (unit == PM_ISU0_ALT)
163 unit = PM_ISU0;
164 mask |= unit_cons[unit][0];
165 value |= unit_cons[unit][1];
168 if (unit !
342 int bit, byte, unit; local
390 unsigned int pmc, unit, byte, psel; local
[all...]
/linux-master/sound/firewire/bebob/
H A Dbebob_terratec.c21 err = avc_audio_get_selector(bebob->unit, 0, 9, &enable_ext);
24 err = avc_audio_get_selector(bebob->unit, 0, 8, &enable_word);

Completed in 828 milliseconds

1234567891011>>