/linux-4.4.14/drivers/s390/scsi/ |
D | zfcp_unit.c | 21 void zfcp_unit_scsi_scan(struct zfcp_unit *unit) in zfcp_unit_scsi_scan() argument 23 struct fc_rport *rport = unit->port->rport; in zfcp_unit_scsi_scan() 26 lun = scsilun_to_int((struct scsi_lun *) &unit->fcp_lun); in zfcp_unit_scsi_scan() 34 struct zfcp_unit *unit = container_of(work, struct zfcp_unit, in zfcp_unit_scsi_scan_work() local 37 zfcp_unit_scsi_scan(unit); in zfcp_unit_scsi_scan_work() 38 put_device(&unit->dev); in zfcp_unit_scsi_scan_work() 53 struct zfcp_unit *unit; in zfcp_unit_queue_scsi_scan() local 56 list_for_each_entry(unit, &port->unit_list, list) { in zfcp_unit_queue_scsi_scan() 57 get_device(&unit->dev); in zfcp_unit_queue_scsi_scan() 59 &unit->scsi_work) <= 0) in zfcp_unit_queue_scsi_scan() [all …]
|
D | zfcp_sysfs.c | 78 ZFCP_DEFINE_ATTR(zfcp_unit, unit, status, "0x%08x\n", 79 zfcp_unit_sdev_status(unit)); 80 ZFCP_DEFINE_ATTR(zfcp_unit, unit, in_recovery, "%d\n", 81 (zfcp_unit_sdev_status(unit) & 83 ZFCP_DEFINE_ATTR(zfcp_unit, unit, access_denied, "%d\n", 84 (zfcp_unit_sdev_status(unit) & 86 ZFCP_DEFINE_ATTR_CONST(unit, access_shared, "%d\n", 0); 87 ZFCP_DEFINE_ATTR_CONST(unit, access_readonly, "%d\n", 0); 125 struct zfcp_unit *unit = container_of(dev, struct zfcp_unit, dev); in zfcp_sysfs_unit_failed_show() local 129 sdev = zfcp_unit_sdev(unit); in zfcp_sysfs_unit_failed_show() [all …]
|
D | zfcp_ccw.c | 115 struct zfcp_unit *unit, *u; in zfcp_ccw_remove() local 128 list_for_each_entry_safe(unit, u, &port->unit_list, list) in zfcp_ccw_remove() 129 list_move(&unit->list, &unit_remove_lh); in zfcp_ccw_remove() 136 list_for_each_entry_safe(unit, u, &unit_remove_lh, list) in zfcp_ccw_remove() 137 device_unregister(&unit->dev); in zfcp_ccw_remove()
|
/linux-4.4.14/include/net/ |
D | Space.h | 5 struct net_device *hp100_probe(int unit); 6 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 *fmv18x_probe(int unit); 10 struct net_device *i82596_probe(int unit); 11 struct net_device *ni65_probe(int unit); 12 struct net_device *sonic_probe(int unit); 13 struct net_device *smc_init(int unit); 14 struct net_device *atarilance_probe(int unit); [all …]
|
D | addrconf.h | 126 unsigned int unit) in addrconf_timeout_fixup() argument 136 if (0xfffffffe > LONG_MAX / unit && timeout > LONG_MAX / unit) in addrconf_timeout_fixup() 137 return LONG_MAX / unit; in addrconf_timeout_fixup()
|
/linux-4.4.14/sound/ |
D | sound_core.c | 227 static struct sound_unit *__sound_remove_unit(struct sound_unit **list, int unit) in __sound_remove_unit() argument 232 if(p->unit_minor==unit) in __sound_remove_unit() 239 printk(KERN_ERR "Sound device %d went missing!\n", unit); in __sound_remove_unit() 309 static void sound_remove_unit(struct sound_unit **list, int unit) in sound_remove_unit() argument 314 p = __sound_remove_unit(list, unit); in sound_remove_unit() 361 int register_sound_special_device(const struct file_operations *fops, int unit, in register_sound_special_device() argument 364 const int chain = unit % SOUND_STEP; in register_sound_special_device() 375 if (unit >= SOUND_STEP) in register_sound_special_device() 377 max_unit = unit + 1; in register_sound_special_device() 393 if (unit >= SOUND_STEP) in register_sound_special_device() [all …]
|
/linux-4.4.14/drivers/clk/mmp/ |
D | reset.c | 14 struct mmp_clk_reset_unit *unit = rcdev_to_unit(rcdev); in mmp_of_reset_xlate() local 22 cell = &unit->cells[i]; in mmp_of_reset_xlate() 36 struct mmp_clk_reset_unit *unit = rcdev_to_unit(rcdev); in mmp_clk_reset_assert() local 41 cell = &unit->cells[id]; in mmp_clk_reset_assert() 58 struct mmp_clk_reset_unit *unit = rcdev_to_unit(rcdev); in mmp_clk_reset_deassert() local 63 cell = &unit->cells[id]; in mmp_clk_reset_deassert() 85 struct mmp_clk_reset_unit *unit; in mmp_clk_reset_register() local 87 unit = kzalloc(sizeof(*unit), GFP_KERNEL); in mmp_clk_reset_register() 88 if (!unit) in mmp_clk_reset_register() 91 unit->cells = cells; in mmp_clk_reset_register() [all …]
|
D | clk.c | 9 void mmp_clk_init(struct device_node *np, struct mmp_clk_unit *unit, in mmp_clk_init() argument 18 unit->clk_table = clk_table; in mmp_clk_init() 19 unit->nr_clks = nr_clks; in mmp_clk_init() 20 unit->clk_data.clks = clk_table; in mmp_clk_init() 21 unit->clk_data.clk_num = nr_clks; in mmp_clk_init() 22 of_clk_add_provider(np, of_clk_src_onecell_get, &unit->clk_data); in mmp_clk_init() 25 void mmp_register_fixed_rate_clks(struct mmp_clk_unit *unit, in mmp_register_fixed_rate_clks() argument 43 unit->clk_table[clks[i].id] = clk; in mmp_register_fixed_rate_clks() 47 void mmp_register_fixed_factor_clks(struct mmp_clk_unit *unit, in mmp_register_fixed_factor_clks() argument 65 unit->clk_table[clks[i].id] = clk; in mmp_register_fixed_factor_clks() [all …]
|
D | clk-of-pxa1928.c | 29 struct mmp_clk_unit unit; member 72 struct mmp_clk_unit *unit = &pxa_unit->unit; in pxa1928_pll_init() local 74 mmp_register_fixed_rate_clks(unit, fixed_rate_clks, in pxa1928_pll_init() 77 mmp_register_fixed_factor_clks(unit, fixed_factor_clks, in pxa1928_pll_init() 133 struct mmp_clk_unit *unit = &pxa_unit->unit; in pxa1928_apb_periph_clk_init() local 135 mmp_register_mux_clks(unit, apbc_mux_clks, pxa_unit->apbc_base, in pxa1928_apb_periph_clk_init() 138 mmp_register_gate_clks(unit, apbc_gate_clks, pxa_unit->apbc_base, in pxa1928_apb_periph_clk_init() 172 struct mmp_clk_unit *unit = &pxa_unit->unit; in pxa1928_axi_periph_clk_init() local 174 mmp_register_mux_clks(unit, apmu_mux_clks, pxa_unit->apmu_base, in pxa1928_axi_periph_clk_init() 177 mmp_register_div_clks(unit, apmu_div_clks, pxa_unit->apmu_base, in pxa1928_axi_periph_clk_init() [all …]
|
D | clk-of-pxa910.c | 51 struct mmp_clk_unit unit; member 97 struct mmp_clk_unit *unit = &pxa_unit->unit; in pxa910_pll_init() local 99 mmp_register_fixed_rate_clks(unit, fixed_rate_clks, in pxa910_pll_init() 102 mmp_register_fixed_factor_clks(unit, fixed_factor_clks, in pxa910_pll_init() 110 mmp_clk_add(unit, PXA910_CLK_UART_PLL, clk); in pxa910_pll_init() 167 struct mmp_clk_unit *unit = &pxa_unit->unit; in pxa910_apb_periph_clk_init() local 169 mmp_register_mux_clks(unit, apbc_mux_clks, pxa_unit->apbc_base, in pxa910_apb_periph_clk_init() 172 mmp_register_mux_clks(unit, apbcp_mux_clks, pxa_unit->apbcp_base, in pxa910_apb_periph_clk_init() 175 mmp_register_gate_clks(unit, apbc_gate_clks, pxa_unit->apbc_base, in pxa910_apb_periph_clk_init() 178 mmp_register_gate_clks(unit, apbcp_gate_clks, pxa_unit->apbcp_base, in pxa910_apb_periph_clk_init() [all …]
|
D | clk-of-pxa168.c | 52 struct mmp_clk_unit unit; member 97 struct mmp_clk_unit *unit = &pxa_unit->unit; in pxa168_pll_init() local 99 mmp_register_fixed_rate_clks(unit, fixed_rate_clks, in pxa168_pll_init() 102 mmp_register_fixed_factor_clks(unit, fixed_factor_clks, in pxa168_pll_init() 110 mmp_clk_add(unit, PXA168_CLK_UART_PLL, clk); in pxa168_pll_init() 166 struct mmp_clk_unit *unit = &pxa_unit->unit; in pxa168_apb_periph_clk_init() local 168 mmp_register_mux_clks(unit, apbc_mux_clks, pxa_unit->apbc_base, in pxa168_apb_periph_clk_init() 171 mmp_register_gate_clks(unit, apbc_gate_clks, pxa_unit->apbc_base, in pxa168_apb_periph_clk_init() 216 struct mmp_clk_unit *unit = &pxa_unit->unit; in pxa168_axi_periph_clk_init() local 218 mmp_register_mux_clks(unit, apmu_mux_clks, pxa_unit->apmu_base, in pxa168_axi_periph_clk_init() [all …]
|
D | clk-of-mmp2.c | 59 struct mmp_clk_unit unit; member 109 struct mmp_clk_unit *unit = &pxa_unit->unit; in mmp2_pll_init() local 111 mmp_register_fixed_rate_clks(unit, fixed_rate_clks, in mmp2_pll_init() 114 mmp_register_fixed_factor_clks(unit, fixed_factor_clks, in mmp2_pll_init() 122 mmp_clk_add(unit, MMP2_CLK_UART_PLL, clk); in mmp2_pll_init() 181 struct mmp_clk_unit *unit = &pxa_unit->unit; in mmp2_apb_periph_clk_init() local 183 mmp_register_mux_clks(unit, apbc_mux_clks, pxa_unit->apbc_base, in mmp2_apb_periph_clk_init() 186 mmp_register_gate_clks(unit, apbc_gate_clks, pxa_unit->apbc_base, in mmp2_apb_periph_clk_init() 247 struct mmp_clk_unit *unit = &pxa_unit->unit; in mmp2_axi_periph_clk_init() local 260 mmp_clk_add(unit, MMP2_CLK_CCIC0_MIX, clk); in mmp2_axi_periph_clk_init() [all …]
|
D | clk.h | 149 void mmp_register_fixed_rate_clks(struct mmp_clk_unit *unit, 161 void mmp_register_fixed_factor_clks(struct mmp_clk_unit *unit, 175 void mmp_register_general_gate_clks(struct mmp_clk_unit *unit, 191 void mmp_register_gate_clks(struct mmp_clk_unit *unit, 207 void mmp_register_mux_clks(struct mmp_clk_unit *unit, 222 void mmp_register_div_clks(struct mmp_clk_unit *unit, 235 void mmp_clk_init(struct device_node *np, struct mmp_clk_unit *unit, 237 void mmp_clk_add(struct mmp_clk_unit *unit, unsigned int id,
|
/linux-4.4.14/arch/powerpc/perf/ |
D | power4-pmu.c | 185 int unit; member 220 int pmc, psel, unit, byte, bit; in p4_marked_instr_event() local 238 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK; in p4_marked_instr_event() 240 switch (unit) { in p4_marked_instr_event() 257 int pmc, byte, unit, lower, sh; in p4_get_constraint() local 270 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK; in p4_get_constraint() 272 if (unit) { in p4_get_constraint() 282 if (!p4_unitinfo[unit].unit) in p4_get_constraint() 284 mask |= p4_unitinfo[unit].mask; in p4_get_constraint() 285 value |= p4_unitinfo[unit].value; in p4_get_constraint() [all …]
|
D | power5-pmu.c | 143 int pmc, byte, unit, sh; in power5_get_constraint() local 161 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK; in power5_get_constraint() 162 if (unit > PM_LASTUNIT) in power5_get_constraint() 164 if (unit == PM_ISU0_ALT) in power5_get_constraint() 165 unit = PM_ISU0; in power5_get_constraint() 166 mask |= unit_cons[unit][0]; in power5_get_constraint() 167 value |= unit_cons[unit][1]; in power5_get_constraint() 170 if (unit != PM_LSU1) in power5_get_constraint() 173 ++unit; in power5_get_constraint() 176 if (unit == PM_GRS) { in power5_get_constraint() [all …]
|
D | power5+-pmu.c | 139 int pmc, byte, unit, sh; in power5p_get_constraint() local 154 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK; in power5p_get_constraint() 155 if (unit > PM_LASTUNIT) in power5p_get_constraint() 157 if (unit == PM_ISU0_ALT) in power5p_get_constraint() 158 unit = PM_ISU0; in power5p_get_constraint() 159 mask |= unit_cons[unit][0]; in power5p_get_constraint() 160 value |= unit_cons[unit][1]; in power5p_get_constraint() 163 if (unit != PM_LSU1) in power5p_get_constraint() 166 ++unit; in power5p_get_constraint() 169 if (unit == PM_GRS) { in power5p_get_constraint() [all …]
|
D | ppc970-pmu.c | 149 int pmc, psel, unit, byte, bit; in p970_marked_instr_event() local 167 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK; in p970_marked_instr_event() 169 switch (unit) { in p970_marked_instr_event() 197 int pmc, byte, unit, sh, spcsel; in p970_get_constraint() local 210 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK; in p970_get_constraint() 211 if (unit) { in p970_get_constraint() 212 if (unit > PM_LASTUNIT) in p970_get_constraint() 214 mask |= unit_cons[unit][0]; in p970_get_constraint() 215 value |= unit_cons[unit][1]; in p970_get_constraint() 225 value |= (unsigned long)unit << (28 - 4 * byte); in p970_get_constraint() [all …]
|
D | power7-pmu.c | 88 int pmc, sh, unit; in power7_get_constraint() local 107 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK; in power7_get_constraint() 108 if (unit == 6) { in power7_get_constraint() 218 int unit; in power7_marked_instr_event() local 221 unit = (event >> PM_UNIT_SH) & PM_UNIT_MSK; in power7_marked_instr_event() 237 return unit == 0xd; in power7_marked_instr_event() 242 return unit == 0xd; in power7_marked_instr_event() 252 unsigned int pmc, unit, combine, l2sel, psel; in power7_compute_mmcr() local 271 unit = (event[i] >> PM_UNIT_SH) & PM_UNIT_MSK; in power7_compute_mmcr() 289 mmcr1 |= (unsigned long) unit in power7_compute_mmcr() [all …]
|
D | power8-pmu.c | 287 unsigned int unit, pmc, cache, ebb; in power8_get_constraint() local 296 unit = (event >> EVENT_UNIT_SHIFT) & EVENT_UNIT_MASK; in power8_get_constraint() 327 if (unit >= 6 && unit <= 9) { in power8_get_constraint() 405 unsigned long mmcra, mmcr1, mmcr2, unit, combine, psel, cache, val; in power8_compute_mmcr() local 425 unit = (event[i] >> EVENT_UNIT_SHIFT) & EVENT_UNIT_MASK; in power8_compute_mmcr() 439 mmcr1 |= unit << MMCR1_UNIT_SHIFT(pmc); in power8_compute_mmcr() 611 PMU_FORMAT_ATTR(unit, "config:12-15");
|
/linux-4.4.14/drivers/block/ |
D | amiflop.c | 145 static struct amiga_floppy_struct unit[FD_MAX_UNITS]; variable 287 if (unit[drive].track % 2 != 0) in fd_select() 289 if (unit[drive].motor == 1) in fd_select() 342 if (!unit[nr].motor) { in fd_motor_on() 343 unit[nr].motor = 1; in fd_motor_on() 385 unit[drive].motor = 0; in fd_motor_off() 415 for (n = unit[drive].type->tracks/2; n != 0; --n) { in fd_calibrate() 423 ms_delay(unit[drive].type->step_delay); in fd_calibrate() 425 ms_delay (unit[drive].type->settle_time); in fd_calibrate() 427 n = unit[drive].type->tracks + 20; in fd_calibrate() [all …]
|
D | ataflop.c | 224 } unit[FD_MAX_UNITS]; variable 226 #define UD unit[drive] 227 #define UDT unit[drive].disktype 228 #define SUD unit[SelectedDrive] 229 #define SUDT unit[SelectedDrive].disktype 1076 set_capacity(unit[SelectedDrive].disk, in fd_rwsec_done1() 1091 set_capacity(unit[SelectedDrive].disk, in fd_rwsec_done1() 1332 unsigned int drive = p - unit; in floppy_check_events() 1354 unsigned int drive = p - unit; in floppy_revalidate() 1407 q = unit[fdc_queue].disk->queue; in set_next_request() [all …]
|
D | swim.c | 216 struct floppy_state unit[FD_MAX_UNIT]; member 786 return get_disk(swd->unit[drive].disk); in floppy_find() 791 struct floppy_state *fs = &swd->unit[swd->floppy_count]; in swim_add_floppy() 837 swd->unit[drive].disk = alloc_disk(1); in swim_floppy_init() 838 if (swd->unit[drive].disk == NULL) { in swim_floppy_init() 842 swd->unit[drive].swd = swd; in swim_floppy_init() 853 swd->unit[drive].disk->flags = GENHD_FL_REMOVABLE; in swim_floppy_init() 854 swd->unit[drive].disk->major = FLOPPY_MAJOR; in swim_floppy_init() 855 swd->unit[drive].disk->first_minor = drive; in swim_floppy_init() 856 sprintf(swd->unit[drive].disk->disk_name, "fd%d", drive); in swim_floppy_init() [all …]
|
/linux-4.4.14/drivers/ide/ |
D | it821x.c | 144 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 …]
|
D | cs5535.c | 79 u8 unit = drive->dn & 1; in cs5535_set_speed() local 98 wrmsr(unit ? ATAC_CH0D1_PIO : ATAC_CH0D0_PIO, reg, 0); in cs5535_set_speed() 101 rdmsr(unit ? ATAC_CH0D0_PIO : ATAC_CH0D1_PIO, reg, dummy); in cs5535_set_speed() 107 wrmsr(unit ? ATAC_CH0D0_PIO : ATAC_CH0D1_PIO, reg, 0); in cs5535_set_speed() 111 rdmsr(unit ? ATAC_CH0D1_DMA : ATAC_CH0D0_DMA, reg, dummy); in cs5535_set_speed() 112 wrmsr(unit ? ATAC_CH0D1_DMA : ATAC_CH0D0_DMA, in cs5535_set_speed() 115 rdmsr(unit ? ATAC_CH0D1_DMA : ATAC_CH0D0_DMA, reg, dummy); in cs5535_set_speed() 126 wrmsr(unit ? ATAC_CH0D1_DMA : ATAC_CH0D0_DMA, reg, 0); in cs5535_set_speed()
|
D | cmd64x.c | 150 u8 unit = drive->dn & 0x01; in cmd64x_set_dma_mode() local 155 regU &= ~(unit ? 0xCA : 0x35); in cmd64x_set_dma_mode() 159 regU |= unit ? 0x0A : 0x05; in cmd64x_set_dma_mode() 162 regU |= unit ? 0x4A : 0x15; in cmd64x_set_dma_mode() 165 regU |= unit ? 0x8A : 0x25; in cmd64x_set_dma_mode() 168 regU |= unit ? 0x42 : 0x11; in cmd64x_set_dma_mode() 171 regU |= unit ? 0x82 : 0x21; in cmd64x_set_dma_mode() 174 regU |= unit ? 0xC2 : 0x31; in cmd64x_set_dma_mode()
|
D | triflex.c | 42 u8 channel_offset = hwif->channel ? 0x74 : 0x70, unit = drive->dn & 1; in triflex_set_mode() local 78 triflex_timings &= ~(0xFFFF << (16 * unit)); in triflex_set_mode() 79 triflex_timings |= (timing << (16 * unit)); in triflex_set_mode()
|
D | siimage.c | 118 u8 unit = drive->dn & 1; in siimage_seldev() local 125 base |= unit << unit; in siimage_seldev() 257 u8 unit = drive->dn & 1; in sil_set_pio_mode() local 279 mode &= ~(unit ? 0x30 : 0x03); in sil_set_pio_mode() 283 mode |= unit ? 0x10 : 0x01; in sil_set_pio_mode() 307 u8 mode = 0, unit = drive->dn & 1; in sil_set_dma_mode() local 320 mode &= ~(unit ? 0x30 : 0x03); in sil_set_dma_mode() 330 mode |= unit ? 0x30 : 0x03; in sil_set_dma_mode() 333 mode |= unit ? 0x20 : 0x02; in sil_set_dma_mode()
|
D | aec62xx.c | 117 u8 unit = drive->dn & 1; in aec6260_set_mode() local 130 tmp1 = ((0x00 << (4*unit)) | (ultra & ~(7 << (4*unit)))); in aec6260_set_mode() 132 tmp2 = ((ultra_conf << (4*unit)) | (tmp1 & ~(7 << (4*unit)))); in aec6260_set_mode()
|
D | ide-timings.c | 106 #define ENOUGH(v, unit) (((v) - 1) / (unit) + 1) argument 107 #define EZ(v, unit) ((v) ? ENOUGH(v, unit) : 0) argument
|
D | ide-dma-sff.c | 85 u8 unit = drive->dn & 1; in ide_dma_host_set() local 89 dma_stat |= (1 << (5 + unit)); in ide_dma_host_set() 91 dma_stat &= ~(1 << (5 + unit)); in ide_dma_host_set()
|
D | qd65xx.c | 357 u8 config, unit, control; in qd_probe() local 365 unit = ! (config & QD_CONFIG_IDE_BASEPORT); in qd_probe() 367 if (unit) in qd_probe()
|
/linux-4.4.14/drivers/block/paride/ |
D | pg.c | 245 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 …]
|
D | pcd.c | 296 int unit; in pcd_init_units() local 299 for (unit = 0, cd = pcd; unit < PCD_UNITS; unit++, cd++) { in pcd_init_units() 308 cd->drive = (*drives[unit])[D_SLV]; in pcd_init_units() 309 if ((*drives[unit])[D_PRT]) in pcd_init_units() 313 snprintf(cd->name, sizeof(cd->info.name), "%s%d", name, unit); in pcd_init_units() 320 disk->first_minor = unit; in pcd_init_units() 658 int unit, r; in pcd_probe_capabilities() local 663 for (unit = 0, cd = pcd; unit < PCD_UNITS; unit++, cd++) { in pcd_probe_capabilities() 688 int k, unit; in pcd_detect() local 712 for (unit = 0, cd = pcd; unit < PCD_UNITS; unit++, cd++) { in pcd_detect() [all …]
|
D | pt.c | 139 #define DU (*drives[unit]) 605 int unit; in pt_detect() local 616 for (unit = 0; unit < PT_UNITS; unit++) { in pt_detect() 617 struct pt_unit *tape = &pt[unit]; in pt_detect() 625 snprintf(tape->name, PT_NAMELEN, "%s%d", name, unit); in pt_detect() 661 int unit = iminor(inode) & 0x7F; in pt_open() local 662 struct pt_unit *tape = pt + unit; in pt_open() 666 if (unit >= PT_UNITS || (!tape->present)) { in pt_open() 964 int unit; in pt_init() local 980 for (unit = 0; unit < PT_UNITS; unit++) in pt_init() [all …]
|
D | pf.c | 283 int unit; in pf_init_units() local 286 for (unit = 0, pf = units; unit < PF_UNITS; unit++, pf++) { in pf_init_units() 293 pf->drive = (*drives[unit])[D_SLV]; in pf_init_units() 294 pf->lun = (*drives[unit])[D_LUN]; in pf_init_units() 295 snprintf(pf->name, PF_NAMELEN, "%s%d", name, unit); in pf_init_units() 297 disk->first_minor = unit; in pf_init_units() 300 if (!(*drives[unit])[D_PRT]) in pf_init_units() 702 int k, unit; in pf_detect() local 724 for (unit = 0; unit < PF_UNITS; unit++, pf++) { in pf_detect() 725 int *conf = *drives[unit]; in pf_detect() [all …]
|
D | pd.c | 859 int found = 0, unit, pd_drive_count = 0; in pd_detect() local 862 for (unit = 0; unit < PD_UNITS; unit++) { in pd_detect() 863 int *parm = *drives[unit]; in pd_detect() 864 struct pd_unit *disk = pd + unit; in pd_detect() 870 snprintf(disk->name, PD_NAMELEN, "%s%c", name, 'a'+unit); in pd_detect() 893 for (unit = 0, disk = pd; unit < PD_UNITS; unit++, disk++) { in pd_detect() 894 int *parm = *drives[unit]; in pd_detect() 906 for (unit = 0, disk = pd; unit < PD_UNITS; unit++, disk++) { in pd_detect() 952 int unit; in pd_exit() local 954 for (unit = 0, disk = pd; unit < PD_UNITS; unit++, disk++) { in pd_exit()
|
D | paride.c | 248 static int pi_register_parport(PIA *pi, int verbose, int unit) in pi_register_parport() argument 260 unit); in pi_register_parport() 305 static int pi_probe_unit(PIA * pi, int unit, char *scratch, int verbose) in pi_probe_unit() argument 309 s = unit; in pi_probe_unit() 329 for (pi->unit = s; pi->unit < e; pi->unit++) in pi_probe_unit() 351 int unit, int protocol, int delay, char *scratch, in pi_init() argument 367 (!protocols[s]) || (unit < 0) || in pi_init() 368 (unit >= protocols[s]->max_units)) { in pi_init() 403 if (pi_probe_unit(pi, unit, scratch, verbose)) in pi_init() 410 (pi, unit, scratch, verbose)) in pi_init()
|
D | bpck6.c | 135 PPCSTRUCT(pi)->ppc_id=pi->unit; in bpck6_test_port() 163 printk(KERN_DEBUG "PROBE UNIT %x on port:%x\n",pi->unit,pi->port); in bpck6_probe_unit() 167 PPCSTRUCT(pi)->ppc_id=pi->unit; in bpck6_probe_unit() 208 pi->unit,pi->mode,mode_string[pi->mode],pi->delay); in bpck6_log_adapter()
|
D | bpck.c | 201 id = pi->unit; in bpck_probe_unit() 222 w0(0xff-pi->unit); w2(4); w0(pi->unit); in bpck_connect() 265 w0(0xff-pi->unit); w2(4); w0(pi->unit); in bpck_force_spp() 338 pi->device,pi->port,pi->unit,pi->mode); in bpck_test_proto() 441 pi->device,BPCK_VERSION,&scratch[110],pi->unit); in bpck_log_adapter()
|
D | paride.h | 44 int unit; /* unit number for chained adapters */ member 65 int unit, /* unit number, if supported */
|
/linux-4.4.14/sound/firewire/digi00x/ |
D | digi00x.c | 20 struct fw_device *fw_dev = fw_parent_device(dg00x->unit); in name_card() 25 err = fw_csr_string(dg00x->unit->directory, CSR_MODEL, name, in name_card() 38 dev_name(&dg00x->unit->device), 100 << fw_dev->max_speed); in name_card() 50 fw_unit_put(dg00x->unit); in dg00x_card_free() 55 static int snd_dg00x_probe(struct fw_unit *unit, in snd_dg00x_probe() argument 63 err = snd_card_new(&unit->device, -1, NULL, THIS_MODULE, in snd_dg00x_probe() 72 dg00x->unit = fw_unit_get(unit); in snd_dg00x_probe() 108 dev_set_drvdata(&unit->device, dg00x); in snd_dg00x_probe() 116 static void snd_dg00x_update(struct fw_unit *unit) in snd_dg00x_update() argument 118 struct snd_dg00x *dg00x = dev_get_drvdata(&unit->device); in snd_dg00x_update() [all …]
|
D | digi00x-stream.c | 37 err = snd_fw_transaction(dg00x->unit, TCODE_READ_QUADLET_REQUEST, in snd_dg00x_stream_get_local_rate() 65 return snd_fw_transaction(dg00x->unit, TCODE_WRITE_QUADLET_REQUEST, in snd_dg00x_stream_set_local_rate() 76 err = snd_fw_transaction(dg00x->unit, TCODE_READ_QUADLET_REQUEST, in snd_dg00x_stream_get_clock() 94 err = snd_fw_transaction(dg00x->unit, TCODE_READ_QUADLET_REQUEST, in snd_dg00x_stream_check_external_clock() 110 err = snd_fw_transaction(dg00x->unit, TCODE_READ_QUADLET_REQUEST, in snd_dg00x_stream_get_external_rate() 130 snd_fw_transaction(dg00x->unit, TCODE_WRITE_QUADLET_REQUEST, in finish_session() 141 err = snd_fw_transaction(dg00x->unit, TCODE_READ_QUADLET_REQUEST, in begin_session() 154 err = snd_fw_transaction(dg00x->unit, in begin_session() 177 snd_fw_transaction(dg00x->unit, TCODE_WRITE_QUADLET_REQUEST, in release_resources() 207 fw_parent_device(dg00x->unit)->max_speed); in keep_resources() [all …]
|
D | digi00x-transaction.c | 76 struct fw_device *device = fw_parent_device(dg00x->unit); in snd_dg00x_transaction_reregister() 84 err = snd_fw_transaction(dg00x->unit, TCODE_WRITE_BLOCK_REQUEST, in snd_dg00x_transaction_reregister() 94 return snd_fw_transaction(dg00x->unit, TCODE_WRITE_BLOCK_REQUEST, in snd_dg00x_transaction_reregister() 120 err = snd_fw_async_midi_port_init(&dg00x->out_control, dg00x->unit, in snd_dg00x_transaction_register()
|
D | digi00x.h | 35 struct fw_unit *unit; member 114 int amdtp_dot_init(struct amdtp_stream *s, struct fw_unit *unit,
|
/linux-4.4.14/sound/firewire/tascam/ |
D | tascam-stream.c | 19 err = snd_fw_transaction(tscm->unit, TCODE_READ_QUADLET_REQUEST, in get_clock() 65 err = snd_fw_transaction(tscm->unit, TCODE_WRITE_QUADLET_REQUEST, in set_clock() 76 return snd_fw_transaction(tscm->unit, TCODE_WRITE_QUADLET_REQUEST, in set_clock() 144 err = snd_fw_transaction(tscm->unit, TCODE_WRITE_QUADLET_REQUEST, in enable_data_channels() 159 return snd_fw_transaction(tscm->unit, TCODE_WRITE_QUADLET_REQUEST, in enable_data_channels() 171 err = snd_fw_transaction(tscm->unit, TCODE_WRITE_QUADLET_REQUEST, in set_stream_formats() 189 snd_fw_transaction(tscm->unit, TCODE_WRITE_QUADLET_REQUEST, in finish_session() 194 snd_fw_transaction(tscm->unit, TCODE_WRITE_QUADLET_REQUEST, in finish_session() 206 err = snd_fw_transaction(tscm->unit, TCODE_WRITE_QUADLET_REQUEST, in begin_session() 213 err = snd_fw_transaction(tscm->unit, TCODE_WRITE_QUADLET_REQUEST, in begin_session() [all …]
|
D | tascam.c | 41 struct fw_device *fw_dev = fw_parent_device(tscm->unit); in identify_model() 48 dev_err(&tscm->unit->device, in identify_model() 77 dev_name(&tscm->unit->device), 100 << fw_dev->max_speed); in identify_model() 89 fw_unit_put(tscm->unit); in tscm_card_free() 94 static int snd_tscm_probe(struct fw_unit *unit, in snd_tscm_probe() argument 102 err = snd_card_new(&unit->device, -1, NULL, THIS_MODULE, in snd_tscm_probe() 111 tscm->unit = fw_unit_get(unit); in snd_tscm_probe() 147 dev_set_drvdata(&unit->device, tscm); in snd_tscm_probe() 155 static void snd_tscm_update(struct fw_unit *unit) in snd_tscm_update() argument 157 struct snd_tscm *tscm = dev_get_drvdata(&unit->device); in snd_tscm_update() [all …]
|
D | tascam-transaction.c | 223 &tscm->out_ports[i], tscm->unit, in snd_tscm_transaction_register() 239 struct fw_device *device = fw_parent_device(tscm->unit); in snd_tscm_transaction_reregister() 246 err = snd_fw_transaction(tscm->unit, TCODE_WRITE_QUADLET_REQUEST, in snd_tscm_transaction_reregister() 253 err = snd_fw_transaction(tscm->unit, TCODE_WRITE_QUADLET_REQUEST, in snd_tscm_transaction_reregister() 261 err = snd_fw_transaction(tscm->unit, TCODE_WRITE_QUADLET_REQUEST, in snd_tscm_transaction_reregister() 269 return snd_fw_transaction(tscm->unit, TCODE_WRITE_QUADLET_REQUEST, in snd_tscm_transaction_reregister() 281 snd_fw_transaction(tscm->unit, TCODE_WRITE_QUADLET_REQUEST, in snd_tscm_transaction_unregister() 287 snd_fw_transaction(tscm->unit, TCODE_WRITE_QUADLET_REQUEST, in snd_tscm_transaction_unregister() 292 snd_fw_transaction(tscm->unit, TCODE_WRITE_QUADLET_REQUEST, in snd_tscm_transaction_unregister() 295 snd_fw_transaction(tscm->unit, TCODE_WRITE_QUADLET_REQUEST, in snd_tscm_transaction_unregister()
|
D | tascam-proc.c | 19 err = snd_fw_transaction(tscm->unit, TCODE_READ_QUADLET_REQUEST, in proc_read_firmware() 26 err = snd_fw_transaction(tscm->unit, TCODE_READ_QUADLET_REQUEST, in proc_read_firmware() 33 err = snd_fw_transaction(tscm->unit, TCODE_READ_QUADLET_REQUEST, in proc_read_firmware() 40 err = snd_fw_transaction(tscm->unit, TCODE_READ_QUADLET_REQUEST, in proc_read_firmware()
|
D | tascam.h | 50 struct fw_unit *unit; member 115 int amdtp_tscm_init(struct amdtp_stream *s, struct fw_unit *unit,
|
/linux-4.4.14/sound/firewire/bebob/ |
D | bebob.c | 72 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() 141 fw_unit_put(bebob->unit); in bebob_card_free() 155 get_saffire_spec(struct fw_unit *unit) in get_saffire_spec() argument 159 if (fw_csr_string(unit->directory, CSR_MODEL, name, sizeof(name)) < 0) in get_saffire_spec() [all …]
|
D | bebob.h | 80 struct fw_unit *unit; member 123 snd_bebob_read_block(struct fw_unit *unit, u64 addr, void *buf, int size) in snd_bebob_read_block() argument 125 return snd_fw_transaction(unit, TCODE_READ_BLOCK_REQUEST, in snd_bebob_read_block() 131 snd_bebob_read_quad(struct fw_unit *unit, u64 addr, u32 *buf) in snd_bebob_read_quad() argument 133 return snd_fw_transaction(unit, TCODE_READ_QUADLET_REQUEST, in snd_bebob_read_quad() 139 int avc_audio_set_selector(struct fw_unit *unit, unsigned int subunit_id, 141 int avc_audio_get_selector(struct fw_unit *unit, unsigned int subunit_id, 175 enum avc_bridgeco_plug_unit unit, in avc_bridgeco_fill_unit_addr() argument 181 buf[3] = unit; in avc_bridgeco_fill_unit_addr() 197 int avc_bridgeco_get_plug_ch_pos(struct fw_unit *unit, [all …]
|
D | bebob_stream.c | 72 err = avc_general_get_sig_fmt(bebob->unit, &tx_rate, in snd_bebob_stream_get_rate() 80 err = avc_general_get_sig_fmt(bebob->unit, &rx_rate, in snd_bebob_stream_get_rate() 91 err = avc_general_set_sig_fmt(bebob->unit, rx_rate, in snd_bebob_stream_get_rate() 102 err = avc_general_set_sig_fmt(bebob->unit, rate, in snd_bebob_stream_set_rate() 107 err = avc_general_set_sig_fmt(bebob->unit, rate, in snd_bebob_stream_set_rate() 134 dev_err(&bebob->unit->device, in snd_bebob_stream_get_clock_src() 140 dev_err(&bebob->unit->device, in snd_bebob_stream_get_clock_src() 166 err = avc_bridgeco_get_plug_input(bebob->unit, addr, input); in snd_bebob_stream_get_clock_src() 168 dev_err(&bebob->unit->device, in snd_bebob_stream_get_clock_src() 223 err = avc_bridgeco_get_plug_type(bebob->unit, addr, in snd_bebob_stream_get_clock_src() [all …]
|
D | bebob_command.c | 11 int avc_audio_set_selector(struct fw_unit *unit, unsigned int subunit_id, in avc_audio_set_selector() argument 31 err = fcp_avc_transaction(unit, buf, 12, buf, 12, in avc_audio_set_selector() 47 int avc_audio_get_selector(struct fw_unit *unit, unsigned int subunit_id, in avc_audio_get_selector() argument 67 err = fcp_avc_transaction(unit, buf, 12, buf, 12, in avc_audio_get_selector() 106 int avc_bridgeco_get_plug_type(struct fw_unit *unit, in avc_bridgeco_get_plug_type() argument 120 err = fcp_avc_transaction(unit, buf, 12, buf, 12, in avc_bridgeco_get_plug_type() 141 int avc_bridgeco_get_plug_ch_pos(struct fw_unit *unit, in avc_bridgeco_get_plug_ch_pos() argument 150 err = fcp_avc_transaction(unit, buf, 12, buf, 256, in avc_bridgeco_get_plug_ch_pos() 171 int avc_bridgeco_get_plug_section_type(struct fw_unit *unit, in avc_bridgeco_get_plug_section_type() argument 187 err = fcp_avc_transaction(unit, buf, 12, buf, 12, in avc_bridgeco_get_plug_section_type() [all …]
|
D | bebob_maudio.c | 94 int snd_bebob_maudio_load_firmware(struct fw_unit *unit) in snd_bebob_maudio_load_firmware() argument 96 struct fw_device *device = fw_parent_device(unit); in snd_bebob_maudio_load_firmware() 106 err = snd_bebob_read_block(unit, INFO_OFFSET_SW_DATE, in snd_bebob_maudio_load_firmware() 115 dev_err(&unit->device, in snd_bebob_maudio_load_firmware() 126 dev_err(&unit->device, in snd_bebob_maudio_load_firmware() 137 return snd_fw_transaction(bebob->unit, TCODE_READ_BLOCK_REQUEST, in get_meter() 197 err = fcp_avc_transaction(bebob->unit, buf, 12, buf, 12, in avc_maudio_set_special_clk() 274 dev_err(&bebob->unit->device, in snd_bebob_maudio_special_discover() 308 err = avc_general_get_sig_fmt(bebob->unit, rate, in special_get_rate() 319 err = avc_general_set_sig_fmt(bebob->unit, rate, in special_set_rate() [all …]
|
D | bebob_terratec.c | 22 err = avc_audio_get_selector(bebob->unit, 0, 9, &enable_ext); in phase88_rack_clk_src_get() 25 err = avc_audio_get_selector(bebob->unit, 0, 8, &enable_word); in phase88_rack_clk_src_get() 48 err = avc_audio_get_selector(bebob->unit, 0, 4, id); in phase24_series_clk_src_get()
|
D | bebob_focusrite.c | 67 err = snd_fw_transaction(bebob->unit, TCODE_READ_BLOCK_REQUEST, in saffire_read_block() 85 err = snd_fw_transaction(bebob->unit, TCODE_READ_QUADLET_REQUEST, in saffire_read_quad() 101 return snd_fw_transaction(bebob->unit, TCODE_WRITE_QUADLET_REQUEST, in saffire_write_quad()
|
/linux-4.4.14/sound/firewire/dice/ |
D | dice.c | 21 static int dice_interface_check(struct fw_unit *unit) in dice_interface_check() argument 30 struct fw_device *device = fw_parent_device(unit); in dice_interface_check() 49 fw_csr_iterator_init(&it, unit->directory); in dice_interface_check() 77 err = snd_fw_transaction(unit, TCODE_READ_BLOCK_REQUEST, in dice_interface_check() 96 err = snd_fw_transaction(unit, TCODE_READ_QUADLET_REQUEST, in dice_interface_check() 105 dev_err(&unit->device, in dice_interface_check() 202 struct fw_device *dev = fw_parent_device(dice->unit); in dice_card_strings() 225 fw_csr_string(dice->unit->directory, CSR_MODEL, model, sizeof(model)); in dice_card_strings() 229 dev_name(&dice->unit->device), 100 << dev->max_speed); in dice_card_strings() 246 fw_unit_put(dice->unit); in dice_card_free() [all …]
|
D | dice-stream.c | 69 fw_parent_device(dice->unit)->max_speed); in keep_resources() 153 dev_err(&dice->unit->device, in start_stream() 159 fw_parent_device(dice->unit)->max_speed); in start_stream() 221 dev_err(&dice->unit->device, in snd_dice_stream_start_duplex() 238 dev_err(&dice->unit->device, in snd_dice_stream_start_duplex() 246 dev_err(&dice->unit->device, in snd_dice_stream_start_duplex() 252 dev_err(&dice->unit->device, in snd_dice_stream_start_duplex() 259 dev_err(&dice->unit->device, in snd_dice_stream_start_duplex() 304 err = fw_iso_resources_init(resources, dice->unit); in init_stream() 309 err = amdtp_am824_init(stream, dice->unit, dir, CIP_BLOCKING); in init_stream()
|
D | dice-transaction.c | 43 return snd_fw_transaction(dice->unit, in snd_dice_transaction_write() 53 return snd_fw_transaction(dice->unit, in snd_dice_transaction_read() 175 err = snd_fw_transaction(dice->unit, TCODE_WRITE_QUADLET_REQUEST, in snd_dice_transaction_set_enable() 193 snd_fw_transaction(dice->unit, TCODE_WRITE_QUADLET_REQUEST, in snd_dice_transaction_clear_enable() 235 struct fw_device *device = fw_parent_device(dice->unit); in register_notification_address() 254 err = snd_fw_transaction(dice->unit, TCODE_LOCK_COMPARE_SWAP, in register_notification_address() 269 dev_err(&dice->unit->device, in register_notification_address() 289 struct fw_device *device = fw_parent_device(dice->unit); in unregister_notification_address() 300 snd_fw_transaction(dice->unit, TCODE_LOCK_COMPARE_SWAP, in unregister_notification_address() 346 err = snd_fw_transaction(dice->unit, TCODE_READ_BLOCK_REQUEST, in snd_dice_transaction_init()
|
/linux-4.4.14/drivers/char/hw_random/ |
D | n2-drv.c | 109 unsigned long unit) in n2rng_generic_read_control_v2() argument 115 hv_err = sun4v_rng_ctl_read_v2(ra, unit, &state, in n2rng_generic_read_control_v2() 146 static unsigned long n2rng_control_settle_v2(struct n2rng *np, int unit) in n2rng_control_settle_v2() argument 150 return n2rng_generic_read_control_v2(ra, unit); in n2rng_control_settle_v2() 153 static unsigned long n2rng_write_ctl_one(struct n2rng *np, int unit, in n2rng_write_ctl_one() argument 166 watchdog_timeout, unit); in n2rng_write_ctl_one() 168 hv_err = n2rng_control_settle_v2(np, unit); in n2rng_write_ctl_one() 201 unsigned long unit, in n2rng_read_diag_data_one() argument 212 unit, ticks); in n2rng_read_diag_data_one() 220 unsigned long unit, in n2rng_generic_read_diag_data() argument [all …]
|
D | n2rng.h | 40 unsigned long unit, 52 unsigned long unit); 58 unsigned long unit,
|
/linux-4.4.14/sound/firewire/oxfw/ |
D | oxfw.c | 33 static bool detect_loud_models(struct fw_unit *unit) in detect_loud_models() argument 46 err = fw_csr_string(unit->directory, CSR_MODEL, in detect_loud_models() 61 struct fw_device *fw_dev = fw_parent_device(oxfw->unit); in name_card() 75 err = fw_csr_string(oxfw->unit->directory, CSR_MODEL, in name_card() 80 err = snd_fw_transaction(oxfw->unit, TCODE_READ_QUADLET_REQUEST, in name_card() 105 dev_name(&oxfw->unit->device), 100 << fw_dev->max_speed); in name_card() 125 fw_unit_put(oxfw->unit); in oxfw_card_free() 137 struct fw_device *fw_dev = fw_parent_device(oxfw->unit); in detect_quirks() 169 static int oxfw_probe(struct fw_unit *unit, in oxfw_probe() argument 176 if ((id->vendor_id == VENDOR_LOUD) && !detect_loud_models(unit)) in oxfw_probe() [all …]
|
D | oxfw.h | 47 struct fw_unit *unit; member 81 int avc_stream_set_format(struct fw_unit *unit, enum avc_general_plug_dir dir, 83 int avc_stream_get_format(struct fw_unit *unit, 87 avc_stream_get_format_single(struct fw_unit *unit, in avc_stream_get_format_single() argument 91 return avc_stream_get_format(unit, dir, pid, buf, len, 0xff); in avc_stream_get_format_single() 94 avc_stream_get_format_list(struct fw_unit *unit, in avc_stream_get_format_list() argument 99 return avc_stream_get_format(unit, dir, pid, buf, len, eid); in avc_stream_get_format_list() 106 int avc_general_inquiry_sig_fmt(struct fw_unit *unit, unsigned int rate,
|
D | oxfw-stream.c | 46 err = avc_general_set_sig_fmt(oxfw->unit, rate, in set_rate() 52 err = avc_general_set_sig_fmt(oxfw->unit, rate, in set_rate() 94 err = avc_stream_set_format(oxfw->unit, dir, 0, formats[i], len); in set_stream_format() 199 dev_err(&oxfw->unit->device, in check_connection_used_by_others() 227 err = cmp_connection_init(conn, oxfw->unit, c_dir, 0); in snd_oxfw_stream_init_simplex() 231 err = amdtp_am824_init(stream, oxfw->unit, s_dir, CIP_NONBLOCKING); in snd_oxfw_stream_init_simplex() 315 dev_err(&oxfw->unit->device, in snd_oxfw_stream_start_simplex() 325 dev_err(&oxfw->unit->device, in snd_oxfw_stream_start_simplex() 336 dev_err(&oxfw->unit->device, in snd_oxfw_stream_start_simplex() 400 err = avc_stream_get_format_single(oxfw->unit, dir, 0, format, &len); in snd_oxfw_stream_get_current_formation() [all …]
|
D | oxfw-command.c | 11 int avc_stream_set_format(struct fw_unit *unit, enum avc_general_plug_dir dir, in avc_stream_set_format() argument 34 err = fcp_avc_transaction(unit, buf, len + 10, buf, len + 10, in avc_stream_set_format() 51 int avc_stream_get_format(struct fw_unit *unit, in avc_stream_get_format() argument 77 err = fcp_avc_transaction(unit, buf, 12, buf, *len, in avc_stream_get_format() 108 int avc_general_inquiry_sig_fmt(struct fw_unit *unit, unsigned int rate, in avc_general_inquiry_sig_fmt() argument 140 err = fcp_avc_transaction(unit, buf, 8, buf, 8, in avc_general_inquiry_sig_fmt()
|
D | oxfw-control.c | 49 err = fcp_avc_transaction(oxfw->unit, buf, 11, buf, 11, 0x3fe); in oxfw_mute_command() 53 dev_err(&oxfw->unit->device, "short FCP response\n"); in oxfw_mute_command() 58 dev_err(&oxfw->unit->device, "mute command failed\n"); in oxfw_mute_command() 110 err = fcp_avc_transaction(oxfw->unit, buf, 12, buf, 12, 0x3fe); in oxfw_volume_command() 114 dev_err(&oxfw->unit->device, "short FCP response\n"); in oxfw_volume_command() 119 dev_err(&oxfw->unit->device, "volume command failed\n"); in oxfw_volume_command()
|
/linux-4.4.14/drivers/ata/ |
D | pata_it821x.c | 159 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 …]
|
D | pata_acpi.c | 113 int unit = adev->devno; in pacpi_set_piomode() local 118 unit = 0; in pacpi_set_piomode() 122 acpi->gtm.drive[unit].pio = t->cycle; in pacpi_set_piomode() 136 int unit = adev->devno; in pacpi_set_dmamode() local 141 unit = 0; in pacpi_set_dmamode() 146 acpi->gtm.drive[unit].dma = t->udma; in pacpi_set_dmamode() 147 acpi->gtm.flags |= (1 << (2 * unit)); in pacpi_set_dmamode() 149 acpi->gtm.drive[unit].dma = t->cycle; in pacpi_set_dmamode() 150 acpi->gtm.flags &= ~(1 << (2 * unit)); in pacpi_set_dmamode()
|
D | pata_ns87415.c | 55 int unit = 2 * ap->port_no + adev->devno; in ns87415_set_mode() local 56 int timing = 0x44 + 2 * unit; in ns87415_set_mode() 76 iordy &= ~(1 << (4 + unit)); in ns87415_set_mode() 78 iordy |= (1 << (4 + unit)); in ns87415_set_mode()
|
D | pata_optidma.c | 206 int unit = 2 * ap->port_no + adev->devno; in optiplus_mode_setup() local 211 udcfg &= ~(1 << unit); in optiplus_mode_setup() 214 udcfg |= (1 << unit); in optiplus_mode_setup()
|
/linux-4.4.14/include/linux/ |
D | sound.h | 11 extern int register_sound_special(const struct file_operations *fops, int unit); 12 extern int register_sound_special_device(const struct file_operations *fops, int unit, struct devic… 17 extern void unregister_sound_special(int unit); 18 extern void unregister_sound_mixer(int unit); 19 extern void unregister_sound_midi(int unit); 20 extern void unregister_sound_dsp(int unit);
|
D | firewire.h | 234 static inline struct fw_unit *fw_unit_get(struct fw_unit *unit) in fw_unit_get() argument 236 get_device(&unit->device); in fw_unit_get() 238 return unit; in fw_unit_get() 241 static inline void fw_unit_put(struct fw_unit *unit) in fw_unit_put() argument 243 put_device(&unit->device); in fw_unit_put() 246 static inline struct fw_device *fw_parent_device(struct fw_unit *unit) in fw_parent_device() argument 248 return fw_device(unit->device.parent); in fw_parent_device() 255 int (*probe)(struct fw_unit *unit, const struct ieee1394_device_id *id); 257 void (*update)(struct fw_unit *unit); 258 void (*remove)(struct fw_unit *unit);
|
D | ppp-comp.h | 47 int opt_len, int unit, int opthdr, int debug); 67 int opt_len, int unit, int opthdr, int mru,
|
D | netlink.h | 56 extern struct sock *__netlink_kernel_create(struct net *net, int unit, 60 netlink_kernel_create(struct net *net, int unit, struct netlink_kernel_cfg *cfg) in netlink_kernel_create() argument 62 return __netlink_kernel_create(net, unit, THIS_MODULE, cfg); in netlink_kernel_create()
|
D | isdn_ppp.h | 71 int unit,int debug); 174 int unit; member
|
/linux-4.4.14/drivers/media/pci/saa7164/ |
D | saa7164-cards.c | 64 .unit = {{ 110 .unit = {{ 156 .unit = {{ 216 .unit = {{ 276 .unit = {{ 336 .unit = {{ 396 .unit = {{ 452 .unit = {{ 512 .unit = {{ 558 .unit = {{ [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | gk104.c | 354 gk104_fifo_intr_fault(struct gk104_fifo *fifo, int unit) in gk104_fifo_intr_fault() argument 358 u32 inst = nvkm_rd32(device, 0x002800 + (unit * 0x10)); in gk104_fifo_intr_fault() 359 u32 valo = nvkm_rd32(device, 0x002804 + (unit * 0x10)); in gk104_fifo_intr_fault() 360 u32 vahi = nvkm_rd32(device, 0x002808 + (unit * 0x10)); in gk104_fifo_intr_fault() 361 u32 stat = nvkm_rd32(device, 0x00280c + (unit * 0x10)); in gk104_fifo_intr_fault() 374 eu = nvkm_enum_find(gk104_fifo_fault_engine, unit); in gk104_fifo_intr_fault() 405 unit, eu ? eu->name : "", client, gpcid, ec ? ec->name : "", in gk104_fifo_intr_fault() 450 gk104_fifo_intr_pbdma_0(struct gk104_fifo *fifo, int unit) in gk104_fifo_intr_pbdma_0() argument 454 u32 mask = nvkm_rd32(device, 0x04010c + (unit * 0x2000)); in gk104_fifo_intr_pbdma_0() 455 u32 stat = nvkm_rd32(device, 0x040108 + (unit * 0x2000)) & mask; in gk104_fifo_intr_pbdma_0() [all …]
|
D | gf100.c | 289 gf100_fifo_intr_fault(struct gf100_fifo *fifo, int unit) in gf100_fifo_intr_fault() argument 293 u32 inst = nvkm_rd32(device, 0x002800 + (unit * 0x10)); in gf100_fifo_intr_fault() 294 u32 valo = nvkm_rd32(device, 0x002804 + (unit * 0x10)); in gf100_fifo_intr_fault() 295 u32 vahi = nvkm_rd32(device, 0x002808 + (unit * 0x10)); in gf100_fifo_intr_fault() 296 u32 stat = nvkm_rd32(device, 0x00280c + (unit * 0x10)); in gf100_fifo_intr_fault() 309 eu = nvkm_enum_find(gf100_fifo_fault_engine, unit); in gf100_fifo_intr_fault() 340 unit, eu ? eu->name : "", client, gpcid, ec ? ec->name : "", in gf100_fifo_intr_fault() 359 gf100_fifo_intr_pbdma(struct gf100_fifo *fifo, int unit) in gf100_fifo_intr_pbdma() argument 363 u32 stat = nvkm_rd32(device, 0x040108 + (unit * 0x2000)); in gf100_fifo_intr_pbdma() 364 u32 addr = nvkm_rd32(device, 0x0400c0 + (unit * 0x2000)); in gf100_fifo_intr_pbdma() [all …]
|
/linux-4.4.14/sound/firewire/ |
D | fcp.c | 28 int avc_general_set_sig_fmt(struct fw_unit *unit, unsigned int rate, in avc_general_set_sig_fmt() argument 64 err = fcp_avc_transaction(unit, buf, 8, buf, 8, in avc_general_set_sig_fmt() 82 int avc_general_get_sig_fmt(struct fw_unit *unit, unsigned int *rate, in avc_general_get_sig_fmt() argument 107 err = fcp_avc_transaction(unit, buf, 8, buf, 8, in avc_general_get_sig_fmt() 135 int avc_general_get_plug_info(struct fw_unit *unit, unsigned int subunit_type, in avc_general_get_plug_info() argument 156 err = fcp_avc_transaction(unit, buf, 8, buf, 8, BIT(1) | BIT(2)); in avc_general_get_plug_info() 192 struct fw_unit *unit; member 223 int fcp_avc_transaction(struct fw_unit *unit, in fcp_avc_transaction() argument 231 t.unit = unit; in fcp_avc_transaction() 248 ret = snd_fw_transaction(t.unit, tcode, in fcp_avc_transaction() [all …]
|
D | iso-resources.c | 26 int fw_iso_resources_init(struct fw_iso_resources *r, struct fw_unit *unit) in fw_iso_resources_init() argument 29 r->unit = unit; in fw_iso_resources_init() 108 struct fw_card *card = fw_parent_device(r->unit)->card; in fw_iso_resources_allocate() 140 dev_err(&r->unit->device, in fw_iso_resources_allocate() 143 dev_err(&r->unit->device, in fw_iso_resources_allocate() 166 struct fw_card *card = fw_parent_device(r->unit)->card; in fw_iso_resources_update() 192 dev_err(&r->unit->device, in fw_iso_resources_update() 195 dev_err(&r->unit->device, in fw_iso_resources_update() 213 struct fw_card *card = fw_parent_device(r->unit)->card; in fw_iso_resources_free() 223 dev_err(&r->unit->device, in fw_iso_resources_free()
|
D | fcp.h | 17 int avc_general_set_sig_fmt(struct fw_unit *unit, unsigned int rate, 20 int avc_general_get_sig_fmt(struct fw_unit *unit, unsigned int *rate, 23 int avc_general_get_plug_info(struct fw_unit *unit, unsigned int subunit_type, 27 int fcp_avc_transaction(struct fw_unit *unit, 31 void fcp_bus_reset(struct fw_unit *unit);
|
D | isight.c | 51 struct fw_unit *unit; member 200 dev_err(&isight->unit->device, "queueing error: %d\n", err); in isight_packet() 227 err = snd_fw_transaction(isight->unit, TCODE_WRITE_QUADLET_REQUEST, in isight_connect() 270 return iso_packets_buffer_init(&isight->buffer, isight->unit, in isight_open() 280 iso_packets_buffer_destroy(&isight->buffer, isight->unit); in isight_close() 303 return snd_fw_transaction(isight->unit, TCODE_READ_QUADLET_REQUEST, in reg_read() 309 return snd_fw_transaction(isight->unit, TCODE_WRITE_QUADLET_REQUEST, in reg_write() 325 snd_fw_transaction(isight->unit, TCODE_WRITE_QUADLET_REQUEST, in isight_stop_streaming() 604 fw_unit_put(isight->unit); in isight_card_free() 608 static u64 get_unit_base(struct fw_unit *unit) in get_unit_base() argument [all …]
|
D | scs1x.c | 34 struct fw_unit *unit; member 219 dev = fw_parent_device(scs->unit); in scs_output_tasklet() 371 err = snd_fw_transaction(scs->unit, TCODE_WRITE_BLOCK_REQUEST, in scs_init_hss_address() 374 dev_err(&scs->unit->device, "HSS1394 communication failed\n"); in scs_init_hss_address() 387 static int scs_probe(struct fw_unit *unit, const struct ieee1394_device_id *id) in scs_probe() argument 389 struct fw_device *fw_dev = fw_parent_device(unit); in scs_probe() 394 err = snd_card_new(&unit->device, -16, NULL, THIS_MODULE, in scs_probe() 401 scs->unit = unit; in scs_probe() 424 fw_csr_string(unit->directory, CSR_MODEL, in scs_probe() 429 dev_name(&unit->device), 100 << fw_dev->max_speed); in scs_probe() [all …]
|
D | packets-buffer.c | 21 int iso_packets_buffer_init(struct iso_packets_buffer *b, struct fw_unit *unit, in iso_packets_buffer_init() argument 44 err = fw_iso_buffer_init(&b->iso_buffer, fw_parent_device(unit)->card, in iso_packets_buffer_init() 72 struct fw_unit *unit) in iso_packets_buffer_destroy() argument 74 fw_iso_buffer_destroy(&b->iso_buffer, fw_parent_device(unit)->card); in iso_packets_buffer_destroy()
|
D | amdtp-stream.c | 67 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit, in amdtp_stream_init() argument 80 s->unit = unit; in amdtp_stream_init() 384 dev_err(&s->unit->device, "queueing error: %d\n", err); in queue_packet() 460 dev_info_ratelimited(&s->unit->device, in handle_in_packet() 471 dev_info_ratelimited(&s->unit->device, in handle_in_packet() 489 dev_err(&s->unit->device, in handle_in_packet() 523 dev_err(&s->unit->device, in handle_in_packet() 605 dev_err(&s->unit->device, in in_stream_callback() 735 err = iso_packets_buffer_init(&s->buffer, s->unit, QUEUE_LENGTH, in amdtp_stream_start() 740 s->context = fw_iso_context_create(fw_parent_device(s->unit)->card, in amdtp_stream_start() [all …]
|
D | lib.c | 33 int snd_fw_transaction(struct fw_unit *unit, int tcode, in snd_fw_transaction() argument 37 struct fw_device *device = fw_parent_device(unit); in snd_fw_transaction() 59 dev_err(&unit->device, in snd_fw_transaction() 178 struct fw_unit *unit, u64 addr, unsigned int len, in snd_fw_async_midi_port_init() argument 186 port->parent = fw_parent_device(unit); in snd_fw_async_midi_port_init()
|
D | cmp.c | 51 dev_err(&c->resources.unit->device, "%cPCR%u: %pV", in cmp_error() 87 c->resources.unit, TCODE_LOCK_COMPARE_SWAP, in pcr_modify() 121 struct fw_unit *unit, in cmp_connection_init() argument 130 err = snd_fw_transaction(unit, TCODE_READ_QUADLET_REQUEST, in cmp_connection_init() 139 err = fw_iso_resources_init(&c->resources, unit); in cmp_connection_init() 166 c->resources.unit, TCODE_READ_QUADLET_REQUEST, in cmp_connection_check_used() 282 fw_parent_device(c->resources.unit)->max_speed); in cmp_connection_establish()
|
D | packets-buffer.h | 20 int iso_packets_buffer_init(struct iso_packets_buffer *b, struct fw_unit *unit, 24 struct fw_unit *unit);
|
D | iso-resources.h | 20 struct fw_unit *unit; member 30 struct fw_unit *unit);
|
D | lib.h | 15 int snd_fw_transaction(struct fw_unit *unit, int tcode, 49 struct fw_unit *unit, u64 addr, unsigned int len,
|
D | amdtp-stream.h | 101 struct fw_unit *unit; member 147 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit,
|
/linux-4.4.14/arch/tile/kernel/ |
D | usb.c | 30 #define USB_HOST_DEF(unit, type, dmamask) \ argument 33 hci ## unit = { \ 34 .dev_index = unit, \ 37 static struct platform_device tilegx_usb_ ## type ## hci ## unit = { \ 39 .id = unit, \ 45 unit, \
|
/linux-4.4.14/drivers/net/ |
D | Space.c | 42 struct net_device *(*probe)(int unit); 46 static int __init probe_list2(int unit, struct devprobe2 *p, int autoprobe) in probe_list2() argument 52 dev = p->probe(unit); in probe_list2() 131 static void __init ethif_probe2(int unit) in ethif_probe2() argument 133 unsigned long base_addr = netdev_boot_base("eth", unit); in ethif_probe2() 138 (void)( probe_list2(unit, m68k_probes, base_addr == 0) && in ethif_probe2() 139 probe_list2(unit, isa_probes, base_addr == 0)); in ethif_probe2()
|
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/ |
D | srio-rmu.txt | 1 Message unit node: 3 For SRIO controllers that implement the message unit as part of the controller 5 node is composed of three types of sub-nodes ("fsl-srio-msg-unit", 6 "fsl-srio-dbell-unit" and "fsl-srio-port-write-unit"). 33 (msg-unit, doorbell, port-write). 44 Definition: Must include "fsl,srio-msg-unit-vX.Y", "fsl,srio-msg-unit". 74 "fsl,srio-dbell-unit-vX.Y", "fsl,srio-dbell-unit" 104 "fsl,srio-port-write-unit-vX.Y", "fsl,srio-port-write-unit" 137 message-unit@0 { 138 compatible = "fsl,srio-msg-unit"; [all …]
|
D | scfg.txt | 1 Freescale Supplement configuration unit (SCFG) 3 SCFG is the supplemental configuration unit, that provides SoC specific
|
/linux-4.4.14/Documentation/mn10300/ |
D | compartmentalisation.txt | 25 The "unit level" is a processor plus all the external peripherals 32 (*) include/asm-mn10300/unit-asb2303/ 33 (*) arch/mn10300/unit-asb2303/ 37 (*) include/asm-mn10300/unit-asb2305/ 38 (*) arch/mn10300/unit-asb2305/ 54 include/asm-mn10300/unit => include/asm-mn10300/unit-ZZZZ/ 59 The appropriate arch/mn10300/unit-ZZZZ directory will also be entered by the 60 compilation process; all other unit-specific directories will be ignored.
|
/linux-4.4.14/drivers/net/ppp/ |
D | ppp_mppe.c | 111 int unit; member 273 mppe_init(void *arg, unsigned char *options, int optlen, int unit, int debug, in mppe_init() argument 290 unit); in mppe_init() 305 debugstr, unit, (state->keylen == 16) ? 128 : 40, in mppe_init() 314 debugstr, unit, mkey, skey); in mppe_init() 331 state->unit = unit; in mppe_init() 338 mppe_comp_init(void *arg, unsigned char *options, int optlen, int unit, in mppe_comp_init() argument 342 return mppe_init(arg, options, optlen, unit, debug, "mppe_comp_init"); in mppe_comp_init() 386 "(have: %d need: %d)\n", state->unit, in mppe_compress() 403 printk(KERN_DEBUG "mppe_compress[%d]: ccount %d\n", state->unit, in mppe_compress() [all …]
|
D | ppp_deflate.c | 30 int unit; member 45 int unit, int hdrlen, int debug); 48 int unit, int hdrlen, int mru, int debug); 141 int unit, int hdrlen, int debug) in z_comp_init() argument 154 state->unit = unit; in z_comp_init() 356 int unit, int hdrlen, int mru, int debug) in z_decomp_init() argument 369 state->unit = unit; in z_decomp_init() 425 state->unit, isize); in z_decompress() 434 state->unit, seq, state->seqno & 0xffff); in z_decompress() 467 state->unit, r, (state->strm.msg? state->strm.msg: "")); in z_decompress() [all …]
|
D | bsd_comp.c | 143 unsigned char unit; /* ppp unit number */ member 174 int opt_len, int unit, int debug, int decomp); 176 int opt_len, int unit, int opthdr, int debug); 178 int opt_len, int unit, int opthdr, int mru, 464 int opt_len, int unit, int debug, int decomp) in bsd_init() argument 494 db->unit = unit; in bsd_init() 507 int opt_len, int unit, int opthdr, int debug) in bsd_comp_init() argument 509 return bsd_init (state, options, opt_len, unit, debug, 0); in bsd_comp_init() 513 int opt_len, int unit, int opthdr, int mru, in bsd_decomp_init() argument 516 return bsd_init (state, options, opt_len, unit, debug, 1); in bsd_decomp_init() [all …]
|
D | ppp_generic.c | 272 static struct ppp *ppp_create_interface(struct net *net, int unit, 276 static struct ppp *ppp_find_unit(struct ppp_net *pn, int unit); 277 static struct channel *ppp_find_channel(struct ppp_net *pn, int unit); 278 static int ppp_connect_channel(struct channel *pch, int unit); 575 int unit, cflags; in ppp_ioctl() local 626 if (get_user(unit, p)) in ppp_ioctl() 628 err = ppp_connect_channel(pch, unit); in ppp_ioctl() 837 int unit, err = -EFAULT; in ppp_unattached_ioctl() local 846 if (get_user(unit, p)) in ppp_unattached_ioctl() 848 ppp = ppp_create_interface(net, unit, file, &err); in ppp_unattached_ioctl() [all …]
|
/linux-4.4.14/drivers/sh/maple/ |
D | maple.c | 57 int unit; member 207 mdev->port, mdev->unit); in maple_allocq() 211 static struct maple_device *maple_alloc_dev(int port, int unit) in maple_alloc_dev() argument 223 mdev->unit = unit; in maple_alloc_dev() 249 int port, unit, from, to, len; in maple_build_block() local 253 unit = mq->dev->unit; in maple_build_block() 256 to = (port << 6) | (unit > 0 ? (1 << (unit - 1)) & 0x1f : 0x20); in maple_build_block() 366 mdev->product_name, function, mdev->port, mdev->unit); in maple_attach_driver() 384 mdev->unit, function); in maple_attach_driver() 394 " (%d, %d), with error 0x%X\n", mdev->unit, in maple_attach_driver() [all …]
|
/linux-4.4.14/sound/firewire/fireworks/ |
D | fireworks_transaction.c | 55 struct fw_unit *unit; member 63 int snd_efw_transaction_cmd(struct fw_unit *unit, in snd_efw_transaction_cmd() argument 66 return snd_fw_transaction(unit, TCODE_WRITE_BLOCK_REQUEST, in snd_efw_transaction_cmd() 71 int snd_efw_transaction_run(struct fw_unit *unit, in snd_efw_transaction_run() argument 79 t.unit = unit; in snd_efw_transaction_run() 92 ret = snd_efw_transaction_cmd(t.unit, (void *)cmd, cmd_size); in snd_efw_transaction_run() 105 dev_err(&t.unit->device, "EFW transaction timed out\n"); in snd_efw_transaction_run() 180 device = fw_parent_device(efw->unit); in handle_resp_for_user() 208 device = fw_parent_device(t->unit); in handle_resp_for_kernel() 291 void snd_efw_transaction_bus_reset(struct fw_unit *unit) in snd_efw_transaction_bus_reset() argument [all …]
|
D | fireworks.c | 75 struct fw_device *fw_dev = fw_parent_device(efw->unit); in get_hardware_info() 101 dev_name(&efw->unit->device), 100 << fw_dev->max_speed); in get_hardware_info() 189 fw_unit_put(efw->unit); in efw_card_free() 203 efw_probe(struct fw_unit *unit, in efw_probe() argument 222 err = snd_card_new(&unit->device, index[card_index], id[card_index], in efw_probe() 232 efw->unit = fw_unit_get(unit); in efw_probe() 288 dev_set_drvdata(&unit->device, efw); in efw_probe() 299 static void efw_update(struct fw_unit *unit) in efw_update() argument 301 struct snd_efw *efw = dev_get_drvdata(&unit->device); in efw_update() 303 snd_efw_transaction_bus_reset(efw->unit); in efw_update() [all …]
|
D | fireworks.h | 62 struct fw_unit *unit; member 112 int snd_efw_transaction_cmd(struct fw_unit *unit, 114 int snd_efw_transaction_run(struct fw_unit *unit, 119 void snd_efw_transaction_bus_reset(struct fw_unit *unit);
|
D | fireworks_stream.c | 30 err = cmp_connection_init(conn, efw->unit, c_dir, 0); in init_stream() 34 err = amdtp_am824_init(stream, efw->unit, s_dir, CIP_BLOCKING); in init_stream() 154 dev_err(&efw->unit->device, in check_connection_used_by_others() 273 dev_err(&efw->unit->device, in snd_efw_stream_start_duplex() 283 dev_err(&efw->unit->device, in snd_efw_stream_start_duplex()
|
/linux-4.4.14/arch/metag/kernel/ |
D | core_reg.c | 41 void core_reg_write(int unit, int reg, int thread, unsigned int val) in core_reg_write() argument 46 if (unit == TXUCT_ID) { in core_reg_write() 62 val = UNIT_VAL(unit) | REG_VAL(reg) | THREAD_VAL(thread); in core_reg_write() 83 unsigned int core_reg_read(int unit, int reg, int thread) in core_reg_read() argument 89 if (unit == TXUCT_ID) { in core_reg_read() 102 val = (UNIT_VAL(unit) | REG_VAL(reg) | THREAD_VAL(thread) | in core_reg_read()
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_fs.c | 229 char unit[10]; in create_device_files() local 232 snprintf(unit, sizeof unit, "%02d", dd->ipath_unit); in create_device_files() 233 ret = create_file(unit, S_IFDIR|S_IRUGO|S_IXUGO, sb->s_root, &dir, in create_device_files() 236 printk(KERN_ERR "create_file(%s) failed: %d\n", unit, ret); in create_device_files() 244 "failed: %d\n", unit, ret); in create_device_files() 252 "failed: %d\n", unit, ret); in create_device_files() 294 char unit[10]; in remove_device_files() local 299 snprintf(unit, sizeof unit, "%02d", dd->ipath_unit); in remove_device_files() 300 dir = lookup_one_len(unit, root, strlen(unit)); in remove_device_files() 304 printk(KERN_ERR "Lookup of %s failed\n", unit); in remove_device_files()
|
D | ipath_diag.c | 283 int unit = iminor(in) - IPATH_DIAG_MINOR_BASE; in ipath_diag_open() local 294 dd = ipath_lookup(unit); in ipath_diag_open() 350 dp.unit = odp.unit; in ipath_diagpkt_write() 366 dd = ipath_lookup(dp.unit); in ipath_diagpkt_write() 370 dp.unit); in ipath_diagpkt_write()
|
/linux-4.4.14/Documentation/ABI/stable/ |
D | sysfs-bus-firewire | 32 version of each unit present in the node. Specifier_id 34 u24 of the respective unit directory entries. 58 IEEE 1394 unit device attributes. 59 Read-only. Immutable during the unit device's lifetime. 66 Offset of the unit directory within the parent device's 76 Attributes common to IEEE 1394 node devices and unit devices. 78 Immutable during the unit device's lifetime. 82 IEEE 1394 node or the unit directory of an IEEE 1394 unit 99 Mandatory in unit directories according to IEEE 1212. 110 Mandatory in unit directories according to IEEE 1212. [all …]
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_fs.c | 378 char unit[10]; in add_cntr_files() local 382 snprintf(unit, sizeof(unit), "%u", dd->unit); in add_cntr_files() 383 ret = create_file(unit, S_IFDIR|S_IRUGO|S_IXUGO, sb->s_root, &dir, in add_cntr_files() 386 pr_err("create_file(%s) failed: %d\n", unit, ret); in add_cntr_files() 395 unit, ret); in add_cntr_files() 402 unit, ret); in add_cntr_files() 409 unit, "portcounter_names", ret); in add_cntr_files() 421 unit, fname, ret); in add_cntr_files() 431 unit, fname, ret); in add_cntr_files() 440 unit, ret); in add_cntr_files() [all …]
|
D | qib_driver.c | 85 const char *qib_get_unit_name(int unit) in qib_get_unit_name() argument 89 snprintf(iname, sizeof(iname), "infinipath%u", unit); in qib_get_unit_name() 664 dd->unit, ppd->port, lid); in qib_set_lid() 755 int qib_reset_device(int unit) in qib_reset_device() argument 758 struct qib_devdata *dd = qib_lookup(unit); in qib_reset_device() 768 qib_devinfo(dd->pcidev, "Reset on unit %u requested\n", unit); in qib_reset_device() 773 unit); in qib_reset_device() 812 unit, ret); in qib_reset_device() 816 unit); in qib_reset_device()
|
D | qib_user_sdma.h | 37 qib_user_sdma_queue_create(struct device *dev, int unit, int port, int sport);
|
/linux-4.4.14/arch/powerpc/boot/dts/fsl/ |
D | qoriq-rmu-0.dtsi | 42 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";
|
D | pq3-rmu-0.dtsi | 42 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-4.4.14/drivers/firewire/ |
D | core-device.c | 149 static void get_modalias_ids(struct fw_unit *unit, int *id) in get_modalias_ids() argument 151 get_ids(&fw_parent_device(unit)->config_rom[5], id); in get_modalias_ids() 152 get_ids(unit->directory, id); in get_modalias_ids() 211 static int get_modalias(struct fw_unit *unit, char *buffer, size_t buffer_size) in get_modalias() argument 215 get_modalias_ids(unit, id); in get_modalias() 224 struct fw_unit *unit = fw_unit(dev); in fw_unit_uevent() local 227 get_modalias(unit, modalias, sizeof(modalias)); in fw_unit_uevent() 373 struct fw_unit *unit = fw_unit(dev); in modalias_show() local 376 length = get_modalias(unit, buf, PAGE_SIZE); in modalias_show() 386 struct fw_unit *unit = fw_unit(dev); in rom_index_show() local [all …]
|
D | sbp2.c | 165 struct fw_unit *unit; member 184 return fw_parent_device(tgt->unit); in target_parent_device() 189 return &tgt->unit->device; in tgt_dev() 194 return &lu->tgt->unit->device; in lu_dev() 1133 static void sbp2_remove(struct fw_unit *unit); 1135 static int sbp2_probe(struct fw_unit *unit, const struct ieee1394_device_id *id) in sbp2_probe() argument 1137 struct fw_device *device = fw_parent_device(unit); in sbp2_probe() 1156 dev_set_drvdata(&unit->device, tgt); in sbp2_probe() 1157 tgt->unit = unit; in sbp2_probe() 1167 if (scsi_add_host_with_dma(shost, &unit->device, in sbp2_probe() [all …]
|
/linux-4.4.14/arch/x86/kvm/ |
D | mtrr.c | 196 static bool fixed_msr_to_seg_unit(u32 msr, int *seg, int *unit) in fixed_msr_to_seg_unit() argument 201 *unit = 0; in fixed_msr_to_seg_unit() 205 *unit = msr - MSR_MTRRfix16K_80000; in fixed_msr_to_seg_unit() 209 *unit = msr - MSR_MTRRfix4K_C0000; in fixed_msr_to_seg_unit() 218 static void fixed_mtrr_seg_unit_range(int seg, int unit, u64 *start, u64 *end) in fixed_mtrr_seg_unit_range() argument 223 *start = mtrr_seg->start + unit * unit_size; in fixed_mtrr_seg_unit_range() 228 static int fixed_mtrr_seg_unit_range_index(int seg, int unit) in fixed_mtrr_seg_unit_range_index() argument 232 WARN_ON(mtrr_seg->start + unit * fixed_mtrr_seg_unit_size(seg) in fixed_mtrr_seg_unit_range_index() 236 return mtrr_seg->range_start + 8 * unit; in fixed_mtrr_seg_unit_range_index() 250 int seg, unit; in fixed_msr_to_range() local [all …]
|
/linux-4.4.14/drivers/media/usb/uvc/ |
D | uvc_driver.c | 883 struct uvc_entity *unit; in uvc_parse_vendor_control() local 928 unit = uvc_alloc_entity(UVC_VC_EXTENSION_UNIT, buffer[3], in uvc_parse_vendor_control() 930 if (unit == NULL) in uvc_parse_vendor_control() 933 memcpy(unit->extension.guidExtensionCode, &buffer[4], 16); in uvc_parse_vendor_control() 934 unit->extension.bNumControls = buffer[20]; in uvc_parse_vendor_control() 935 memcpy(unit->baSourceID, &buffer[22], p); in uvc_parse_vendor_control() 936 unit->extension.bControlSize = buffer[22+p]; in uvc_parse_vendor_control() 937 unit->extension.bmControls = (__u8 *)unit + sizeof(*unit); in uvc_parse_vendor_control() 938 unit->extension.bmControlsType = (__u8 *)unit + sizeof(*unit) in uvc_parse_vendor_control() 940 memcpy(unit->extension.bmControls, &buffer[23+p], 2*n); in uvc_parse_vendor_control() [all …]
|
/linux-4.4.14/Documentation/usb/ |
D | mass-storage.txt | 35 backing storage for each logical unit. There may be at most 42 read, but (if the logical unit is writable) due to buffering on 45 The size of the logical unit will be rounded down to a full 52 This parameter specifies whether each logical unit should be 56 If this option is set for a logical unit, gadget will accept an 59 unit will not be mountable by the host until a new backing file is 63 If a logical unit is not removable (the default), a backing file 75 Note that “removable” means the logical unit's media can be 83 This parameter specifies whether each logical unit should simulate 88 This parameter specifies whether each logical unit should be [all …]
|
/linux-4.4.14/drivers/watchdog/ |
D | smsc37b787_wdt.c | 80 static int unit = UNIT_SECOND; /* timer's unit */ variable 240 if (unit == UNIT_SECOND) in wb_smsc_wdt_initialize() 367 timeout, (unit == UNIT_SECOND) ? "second(s)" : "minute(s)"); in wb_smsc_wdt_open() 475 if (unit == UNIT_MINUTE) in wb_smsc_wdt_ioctl() 484 if (unit == UNIT_MINUTE) in wb_smsc_wdt_ioctl() 565 timeout, (unit == UNIT_SECOND) ? "second(s)" : "minute(s)"); in wb_smsc_wdt_init() 607 module_param(unit, int, 0); 608 MODULE_PARM_DESC(unit,
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | sumo_smc.c | 133 static u32 sumo_power_of_4(u32 unit) in sumo_power_of_4() argument 138 for (i = 0; i < unit; i++) in sumo_power_of_4() 147 u32 period, unit, timer_value; in sumo_enable_boost_timer() local 150 unit = (RREG32_RCU(RCU_LCLK_SCALING_CNTL) & LCLK_SCALING_TIMER_PRESCALER_MASK) in sumo_enable_boost_timer() 153 period = 100 * (xclk / 100 / sumo_power_of_4(unit)); in sumo_enable_boost_timer() 155 timer_value = (period << 16) | (unit << 4); in sumo_enable_boost_timer()
|
/linux-4.4.14/arch/alpha/include/asm/ |
D | console.h | 7 extern long callback_puts(long unit, const char *s, long length); 8 extern long callback_getc(long unit); 12 extern long callback_close(long unit);
|
/linux-4.4.14/arch/alpha/mm/ |
D | extable.c | 18 unsigned int t = ex_a->fixup.unit; in swap_ex() 20 ex_a->fixup.unit = ex_b->fixup.unit; in swap_ex() 21 ex_b->fixup.unit = t; in swap_ex()
|
/linux-4.4.14/drivers/mtd/maps/ |
D | vmu-flash.c | 135 mdev->unit); in maple_vmu_read_block() 154 " is busy\n", mdev->port, mdev->unit); in maple_vmu_read_block() 199 mdev->port, mdev->unit, num); in maple_vmu_read_block() 203 mdev->port, mdev->unit, num); in maple_vmu_read_block() 261 mdev->port, mdev->unit); in maple_vmu_write_block() 283 mdev->unit, num, x); in maple_vmu_write_block() 299 mdev->unit); in maple_vmu_write_block() 532 mdev->port, mdev->unit, card->partition); in vmu_queryblocks() 580 "error is 0x%X\n", mdev->port, mdev->unit, error); in vmu_queryblocks() 662 mdev->port, mdev->unit); in vmu_connect() [all …]
|
/linux-4.4.14/tools/power/cpupower/utils/ |
D | cpufreq-set.c | 66 const struct freq_units *unit; in string_to_frequency() local 84 for (unit = def_units; unit->str_unit; unit++) { in string_to_frequency() 86 scan[i] && tolower(scan[i]) == unit->str_unit[i]; in string_to_frequency() 92 power = unit->power_of_ten; in string_to_frequency()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/ |
D | main.c | 462 static struct brcms_bss_cfg *brcms_c_bsscfg_malloc(uint unit) in brcms_c_bsscfg_malloc() argument 482 brcms_c_attach_malloc(uint unit, uint *err, uint devid) in brcms_c_attach_malloc() argument 536 wlc->bsscfg = brcms_c_bsscfg_malloc(unit); in brcms_c_attach_malloc() 622 wlc->pub->unit); in brcms_c_calc_frame_time() 688 brcms_dbg_info(wlc_hw->d11core, "wl%d\n", wlc_hw->unit); in brcms_c_write_inits() 729 __func__, wlc_hw->unit, in brcms_c_ucode_bsinit() 739 __func__, wlc_hw->unit, in brcms_c_ucode_bsinit() 744 __func__, wlc_hw->unit, wlc_hw->corerev); in brcms_c_ucode_bsinit() 759 brcms_dbg_info(wlc_hw->d11core, "wl%d: clk %d\n", wlc_hw->unit, clk); in brcms_b_core_phy_clk() 784 brcms_dbg_mac80211(wlc_hw->d11core, "wl%d: bandunit %d\n", wlc_hw->unit, in brcms_c_setxband() [all …]
|
/linux-4.4.14/mm/ |
D | percpu.c | 1381 int unit; in pcpu_alloc_alloc_info() local 1395 for (unit = 0; unit < nr_units; unit++) in pcpu_alloc_alloc_info() 1396 ai->groups[0].cpu_map[unit] = NR_CPUS; in pcpu_alloc_alloc_info() 1450 int unit = 0, unit_end = 0; in pcpu_dump_alloc_info() local 1461 for (unit_end += upa; unit < unit_end; unit++) in pcpu_dump_alloc_info() 1462 if (gi->cpu_map[unit] != NR_CPUS) in pcpu_dump_alloc_info() 1464 gi->cpu_map[unit]); in pcpu_dump_alloc_info() 1541 int group, unit, i; in pcpu_setup_first_chunk() local 1581 for (group = 0, unit = 0; group < ai->nr_groups; group++, unit += i) { in pcpu_setup_first_chunk() 1596 unit_map[cpu] = unit + i; in pcpu_setup_first_chunk() [all …]
|
/linux-4.4.14/drivers/media/firewire/ |
D | firedtv-fw.c | 251 static int node_probe(struct fw_unit *unit, const struct ieee1394_device_id *id) in node_probe() argument 261 dev_set_drvdata(&unit->device, fdtv); in node_probe() 262 fdtv->device = &unit->device; in node_probe() 272 name_len = fw_csr_string(unit->directory, CSR_MODEL, in node_probe() 280 err = fdtv_register_rc(fdtv, &unit->device); in node_probe() 310 static void node_remove(struct fw_unit *unit) in node_remove() argument 312 struct firedtv *fdtv = dev_get_drvdata(&unit->device); in node_remove() 325 static void node_update(struct fw_unit *unit) in node_update() argument 327 struct firedtv *fdtv = dev_get_drvdata(&unit->device); in node_update()
|
/linux-4.4.14/Documentation/arm/ |
D | kernel_mode_neon.txt | 8 * Isolate your NEON code in a separate compilation unit, and compile it with 32 contending for the NEON/VFP unit (or, in the SMP case, when a task migrates to 33 another core). Lazy restore is implemented by disabling the NEON/VFP unit after 38 Any use of the NEON/VFP unit in kernel mode should not interfere with this, so 40 enable the NEON/VFP unit explicitly so no exceptions are generated on first 43 Likewise, the NEON/VFP unit should be disabled again after use to make sure user 68 like IEEE-754 compliant underflow handling etc. When the VFP unit needs such 89 * isolate the NEON code in a separate compilation unit and compile it with 92 into the unit containing the NEON code from a compilation unit which is *not* 118 * Compile the unit containing the NEON intrinsics with '-ffreestanding' so GCC
|
/linux-4.4.14/drivers/isdn/i4l/ |
D | isdn_bsdcomp.c | 122 unsigned char unit; /* ppp unit number */ member 378 static int bsd_init(void *state, struct isdn_ppp_comp_data *data, int unit, int debug) in bsd_init() argument 385 printk(KERN_ERR "isdn_bsd_init: [%d] ERR, state %lx data %lx\n", unit, (long)state, (long)data); in bsd_init() 409 db->unit = unit; in bsd_init() 692 db->unit, seq, db->seqno - 1); in bsd_decompress() 740 printk(KERN_DEBUG "bsd_decomp%d: bad CLEAR\n", db->unit); in bsd_decompress() 751 db->unit, incode, oldcode); in bsd_decompress() 770 printk(KERN_DEBUG "bsd_decomp%d: ran out of mru\n", db->unit); in bsd_decompress() 793 printk(KERN_ERR "bsd_decomp%d: fell off end of chain ", db->unit); in bsd_decompress() 797 printk(KERN_ERR "bsd_decomp%d: bad code chain 0x%x finchar=0x%x ", db->unit, incode, finchar); in bsd_decompress() [all …]
|
D | isdn_ppp.c | 72 static int isdn_ppp_bundle(struct ippp_struct *, int unit); 85 isdn_ppp_frame_log(char *info, char *data, int len, int maxlen, int unit, int slot) in isdn_ppp_frame_log() argument 98 printk(KERN_DEBUG "[%d/%d].%s[%d]: %s\n", unit, slot, info, i, buf); in isdn_ppp_frame_log() 159 int unit = 0; in isdn_ppp_bind() local 195 unit = isdn_ppp_if_get_unit(lp->netdev->dev->name); in isdn_ppp_bind() 196 if (unit < 0) { in isdn_ppp_bind() 206 is->unit = unit; in isdn_ppp_bind() 312 is->unit = -1; /* set, when we have our interface */ in isdn_ppp_open() 502 (int) min, (int) is->unit, (int) val); in isdn_ppp_ioctl() 509 if ((r = set_arg(argp, &is->unit, sizeof(is->unit)))) in isdn_ppp_ioctl() [all …]
|
/linux-4.4.14/arch/mn10300/ |
D | Makefile | 62 core-y += arch/mn10300/unit-$(UNIT)/ 88 $(Q)$(MAKE) $(clean)=arch/mn10300/unit-asb2303 89 $(Q)$(MAKE) $(clean)=arch/mn10300/unit-asb2305 99 KBUILD_CPPFLAGS += -I$(srctree)/arch/mn10300/unit-$(UNIT)/include
|
/linux-4.4.14/arch/powerpc/oprofile/ |
D | op_model_power4.c | 44 u64 psel, unit; in power7_marked_instr_event() local 57 unit = mmcr1 & (OPROFILE_PM_UNIT_MSK in power7_marked_instr_event() 60 unit = unit >> (OPROFILE_PM_UNIT_SHIFT in power7_marked_instr_event() 82 cntr_marked_events |= (unit == 0xd) << pmc; in power7_marked_instr_event() 89 cntr_marked_events |= (unit == 0xd) << pmc; in power7_marked_instr_event()
|
/linux-4.4.14/Documentation/devicetree/bindings/phy/ |
D | apm-xgene-phy.txt | 21 127 in unit of one bit period. Default is 10. 30 between 0 to 31 in unit of dB. Default is 3. 33 Range is between 0 to 199500 in unit of uV. 37 speed on the host. Range is 0 to 273000 in unit of 41 speed on the host. Range is 0 to 127400 in unit uV. 45 between 0 to 0x1f in unit of 18.2mV. Default is 0xf.
|
/linux-4.4.14/arch/m68k/emu/ |
D | nfeth.c | 191 static struct net_device * __init nfeth_probe(int unit) in nfeth_probe() argument 198 if (!nf_call(nfEtherID + XIF_GET_MAC, unit, virt_to_phys(mac), in nfeth_probe() 212 priv->ethX = unit; in nfeth_probe() 220 nf_call(nfEtherID + XIF_GET_IPHOST, unit, in nfeth_probe() 222 nf_call(nfEtherID + XIF_GET_IPATARI, unit, in nfeth_probe()
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_stdu.c | 213 cmd->body.stid = stdu->base.unit; in vmw_stdu_define_st() 275 cmd->body.stid = stdu->base.unit; in vmw_stdu_bind_st() 294 static void vmw_stdu_populate_update(void *cmd, int unit, in vmw_stdu_populate_update() argument 302 update->body.stid = unit; in vmw_stdu_populate_update() 340 vmw_stdu_populate_update(cmd, stdu->base.unit, 0, crtc->mode.hdisplay, in vmw_stdu_update_st() 381 cmd->body.stid = stdu->base.unit; in vmw_stdu_destroy_st() 783 container_of(dirty->unit, typeof(*stdu), base); in vmw_stdu_dmabuf_fifo_commit() 809 vmw_stdu_populate_update(&suffix[1], stdu->base.unit, in vmw_stdu_dmabuf_fifo_commit() 900 container_of(dirty->unit, typeof(*stdu), base); in vmw_kms_stdu_surface_clip() 938 container_of(dirty->unit, typeof(*stdu), base); in vmw_kms_stdu_surface_fifo_commit() [all …]
|
D | vmwgfx_scrn.c | 176 cmd->obj.id = sou->base.unit; in vmw_sou_fifo_create() 178 (sou->base.unit == 0 ? SVGA_SCREEN_IS_PRIMARY : 0); in vmw_sou_fifo_create() 230 cmd->body.screenId = sou->base.unit; in vmw_sou_fifo_destroy() 576 static int vmw_sou_init(struct vmw_private *dev_priv, unsigned unit) in vmw_sou_init() argument 588 sou->base.unit = unit; in vmw_sou_init() 595 sou->base.pref_active = (unit == 0); in vmw_sou_init() 608 encoder->possible_crtcs = (1 << unit); in vmw_sou_init() 739 s32 trans_x = dirty->unit->crtc.x - sdirty->dst_x; in vmw_sou_surface_fifo_commit() 740 s32 trans_y = dirty->unit->crtc.y - sdirty->dst_y; in vmw_sou_surface_fifo_commit() 763 cmd->body.destScreenId = dirty->unit->unit; in vmw_sou_surface_fifo_commit() [all …]
|
D | vmwgfx_ldu.c | 197 if (entry->base.unit > ldu->base.unit) in vmw_ldu_add_active() 340 static int vmw_ldu_init(struct vmw_private *dev_priv, unsigned unit) in vmw_ldu_init() argument 352 ldu->base.unit = unit; in vmw_ldu_init() 359 ldu->base.pref_active = (unit == 0); in vmw_ldu_init() 372 encoder->possible_crtcs = (1 << unit); in vmw_ldu_init()
|
D | vmwgfx_kms.c | 1357 if (num > du->unit) { in vmw_du_update_layout() 1358 du->pref_width = rects[du->unit].w; in vmw_du_update_layout() 1359 du->pref_height = rects[du->unit].h; in vmw_du_update_layout() 1361 du->gui_x = rects[du->unit].x; in vmw_du_update_layout() 1362 du->gui_y = rects[du->unit].y; in vmw_du_update_layout() 1423 return ((vmw_connector_to_du(connector)->unit < num_displays && in vmw_du_connector_detect() 1741 struct vmw_display_unit *unit = units[k]; in vmw_kms_helper_dirty() local 1742 s32 crtc_x = unit->crtc.x; in vmw_kms_helper_dirty() 1743 s32 crtc_y = unit->crtc.y; in vmw_kms_helper_dirty() 1744 s32 crtc_width = unit->crtc.mode.hdisplay; in vmw_kms_helper_dirty() [all …]
|
D | vmwgfx_kms.h | 69 struct vmw_display_unit *unit; member 165 unsigned unit; member 250 unsigned unit,
|
/linux-4.4.14/drivers/media/rc/img-ir/ |
D | img-ir-hw.c | 70 unsigned int unit) in img_ir_timing_preprocess() argument 74 if (unit) { in img_ir_timing_preprocess() 76 range->min = (range->min*unit)/1000; in img_ir_timing_preprocess() 77 range->max = (range->max*unit + 999)/1000; /* round up */ in img_ir_timing_preprocess() 82 unsigned int unit) in img_ir_symbol_timing_preprocess() argument 84 img_ir_timing_preprocess(&timing->pulse, unit); in img_ir_symbol_timing_preprocess() 85 img_ir_timing_preprocess(&timing->space, unit); in img_ir_symbol_timing_preprocess() 89 unsigned int unit) in img_ir_timings_preprocess() argument 91 img_ir_symbol_timing_preprocess(&timings->ldr, unit); in img_ir_timings_preprocess() 92 img_ir_symbol_timing_preprocess(&timings->s00, unit); in img_ir_timings_preprocess() [all …]
|
/linux-4.4.14/drivers/crypto/ccp/ |
D | ccp-crypto-aes-xts.c | 124 unsigned int unit; in ccp_aes_xts_crypt() local 139 for (unit = 0; unit < ARRAY_SIZE(unit_size_map); unit++) { in ccp_aes_xts_crypt() 140 if (!(req->nbytes & (unit_size_map[unit].size - 1))) { in ccp_aes_xts_crypt() 141 unit_size = unit_size_map[unit].value; in ccp_aes_xts_crypt()
|
/linux-4.4.14/drivers/clk/sirf/ |
D | clk-atlas7.c | 1277 struct clk_unit *unit; in atlas7_unit_clk_register() local 1280 unit = kzalloc(sizeof(*unit), GFP_KERNEL); in atlas7_unit_clk_register() 1281 if (!unit) in atlas7_unit_clk_register() 1290 unit->hw.init = &init; in atlas7_unit_clk_register() 1291 unit->regofs = regofs; in atlas7_unit_clk_register() 1292 unit->bit = bit; in atlas7_unit_clk_register() 1294 unit->type = type; in atlas7_unit_clk_register() 1295 unit->idle_bit = idle_bit; in atlas7_unit_clk_register() 1296 unit->lock = lock; in atlas7_unit_clk_register() 1298 clk = clk_register(dev, &unit->hw); in atlas7_unit_clk_register() [all …]
|
/linux-4.4.14/arch/mips/bcm63xx/ |
D | dev-enet.c | 202 int __init bcm63xx_enet_register(int unit, in bcm63xx_enet_register() argument 209 if (unit > 1) in bcm63xx_enet_register() 212 if (unit == 1 && (BCMCPU_IS_6338() || BCMCPU_IS_6345())) in bcm63xx_enet_register() 219 if (unit == 0) { in bcm63xx_enet_register() 245 if (unit == 1) in bcm63xx_enet_register()
|
/linux-4.4.14/Documentation/s390/ |
D | 3270.ChangeLog | 22 Sep 2002: Recognize 3270 control unit type 3174 23 * Recognize control-unit type 0x3174 as well as 0x327?. 24 The IBM 2047 device emulates a 3174 control unit. 25 Modularize control-unit recognition in tuball.c by
|
/linux-4.4.14/scripts/dtc/ |
D | dtc.c | 36 const char *unit; in fill_fullpaths() local 40 unit = strchr(tree->name, '@'); in fill_fullpaths() 41 if (unit) in fill_fullpaths() 42 tree->basenamelen = unit - tree->name; in fill_fullpaths()
|
/linux-4.4.14/arch/metag/include/asm/ |
D | core_reg.h | 6 extern void core_reg_write(int unit, int reg, int thread, unsigned int val); 7 extern unsigned int core_reg_read(int unit, int reg, int thread);
|
/linux-4.4.14/tools/perf/util/ |
D | pmu.c | 156 sret = read(fd, alias->unit, UNIT_MAX_LEN); in perf_pmu__parse_unit() 162 if (alias->unit[sret - 1] == '\n') in perf_pmu__parse_unit() 163 alias->unit[sret - 1] = '\0'; in perf_pmu__parse_unit() 165 alias->unit[sret] = '\0'; in perf_pmu__parse_unit() 170 alias->unit[0] = '\0'; in perf_pmu__parse_unit() 221 alias->unit[0] = '\0'; in __perf_pmu__new_alias() 824 if ((info->unit && alias->unit) || in check_info_data() 829 if (alias->unit) in check_info_data() 830 info->unit = alias->unit; in check_info_data() 858 info->unit = NULL; in perf_pmu__check_alias() [all …]
|
D | pmu.h | 31 const char *unit; member 43 char unit[UNIT_MAX_LEN+1]; member
|
D | util.c | 227 unsigned long convert_unit(unsigned long value, char *unit) in convert_unit() argument 229 *unit = ' '; in convert_unit() 233 *unit = 'K'; in convert_unit() 238 *unit = 'M'; in convert_unit() 243 *unit = 'G'; in convert_unit()
|
/linux-4.4.14/Documentation/devicetree/bindings/lpddr2/ |
D | lpddr2-timings.txt | 12 of type <u32> and the default unit is ps (pico seconds). Parameters with 13 a different unit have a suffix indicating the unit such as 'tRAS-max-ns'
|
/linux-4.4.14/arch/powerpc/platforms/cell/ |
D | interrupt.c | 64 unsigned char unit = bits.source & 0xf; in iic_pending_to_hwnum() local 72 return (node << IIC_IRQ_NODE_SHIFT) | (class << 4) | unit; in iic_pending_to_hwnum() 255 unsigned int node, ext, unit, class; in iic_host_xlate() local 270 unit = intspec[0] & 0xff; in iic_host_xlate() 278 if (unit == IIC_UNIT_IIC && class == 1) in iic_host_xlate() 282 (class << IIC_IRQ_CLASS_SHIFT) | unit; in iic_host_xlate()
|
D | spider-pic.c | 232 int imaplen, intsize, unit; in spider_find_cascade_and_node() local 264 unit = imap[intsize - 1]; in spider_find_cascade_and_node() 283 unit); in spider_find_cascade_and_node()
|
/linux-4.4.14/arch/ia64/mm/ |
D | discontig.c | 193 int node, prev_node, unit, nr_units, rc; in setup_per_cpu_areas() local 208 unit = 0; in setup_per_cpu_areas() 212 cpu_map[unit++] = cpu; in setup_per_cpu_areas() 213 nr_units = unit; in setup_per_cpu_areas() 236 for (unit = 0; unit < nr_units; unit++) { in setup_per_cpu_areas() 237 cpu = cpu_map[unit]; in setup_per_cpu_areas() 249 gi->cpu_map = &cpu_map[unit]; in setup_per_cpu_areas()
|
/linux-4.4.14/drivers/staging/fwserial/ |
D | fwserial.c | 1466 seq_printf(m, " %s:", dev_name(&peer->unit->device)); in fwtty_debugfs_show_peer() 1707 fwtty_info(&peer->unit, "peer (guid:%016llx) connected on %s\n", in fwserial_virt_plug_complete() 1729 fwtty_dbg(&peer->unit, "mgmt write error: %d\n", rcode); in fwserial_send_mgmt_sync() 1851 fwtty_err(&peer->unit, "avail ports in use\n"); in fwserial_connect_peer() 2060 static int fwserial_add_peer(struct fw_serial *serial, struct fw_unit *unit) in fwserial_add_peer() argument 2062 struct device *dev = &unit->device; in fwserial_add_peer() 2063 struct fw_device *parent = fw_parent_device(unit); in fwserial_add_peer() 2076 peer->unit = unit; in fwserial_add_peer() 2089 fw_csr_iterator_init(&ci, unit->directory); in fwserial_add_peer() 2115 fwtty_info(&peer->unit, "peer added (guid:%016llx)\n", in fwserial_add_peer() [all …]
|
/linux-4.4.14/drivers/video/console/ |
D | newport_con.c | 53 static int newport_set_def_font(int unit, struct console_font *op); 501 static int newport_set_font(int unit, struct console_font *op) in newport_set_font() argument 537 if (i == unit) in newport_set_font() 544 if (font_data[unit] != FONT_DATA) { in newport_set_font() 545 if (--REFCOUNT(font_data[unit]) == 0) in newport_set_font() 546 kfree(font_data[unit] - in newport_set_font() 550 font_data[unit] = new_data; in newport_set_font() 555 static int newport_set_def_font(int unit, struct console_font *op) in newport_set_def_font() argument 557 if (font_data[unit] != FONT_DATA) { in newport_set_def_font() 558 if (--REFCOUNT(font_data[unit]) == 0) in newport_set_def_font() [all …]
|
/linux-4.4.14/Documentation/networking/ |
D | ppp_generic.txt | 11 * the network interface unit (ppp0 etc.) 33 be linked to each ppp network interface unit. The generic layer is 89 * ppp_unit_number() returns the unit number of the ppp network 149 transmit packets for the PPP unit (network interface device) plus a 151 transmit queue for the unit will contain at most one packet; the 159 Transmit packets are dequeued from the PPP unit transmit queue and 252 /dev/ppp acts independently and can be attached either to a PPP unit 261 existing unit, attached to a newly-created unit, or attached to an 262 existing channel. An instance attached to a unit can be used to send 268 In multilink terms, the unit represents the bundle, while the channels [all …]
|
/linux-4.4.14/drivers/usb/core/ |
D | endpoint.c | 86 char unit; in interval_show() local 118 unit = 'u'; in interval_show() 120 unit = 'm'; in interval_show() 124 return sprintf(buf, "%d%cs\n", interval, unit); in interval_show()
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-bus-event_source-devices-events | 35 Each file (except for some of those with a '.' in them, '.unit' 67 What: /sys/bus/event_source/devices/<pmu>/events/<event>.unit 72 A string specifying the English plural numerical unit that <event> 86 recieved from the kernel to match the unit specified in the 87 <event>.unit file.
|
D | sysfs-bus-coresight-devices-etm4x | 83 Description: (W) Cancels all configuration on a trace unit and set it back 169 Description: (RW) Controls what type of comparison the trace unit performs. 212 Description: (RW) Select which counter unit to work with. 238 Description: (RW) Select which resource selection unit to work with. 244 Description: (RW) Controls the selection of the resources in the trace unit. 366 Description: (R) Returns the tracing capabilities of the trace unit (0x1E0). 373 Description: (R) Returns the tracing capabilities of the trace unit (0x1E4). 381 VMID, context ID and instuction address in the trace unit 389 available to the trace unit. See the Trace Macrocell 397 Description: (R) Returns how many resources the trace unit supports (0x1F0). [all …]
|
D | sysfs-class-iommu-intel-iommu | 16 of this DRHD unit. Format: %llx. 24 value of this DRHD unit. Format: %llx.
|
/linux-4.4.14/arch/mips/alchemy/common/ |
D | platform.c | 160 int unit; in alchemy_ohci_power_on() local 162 unit = (pdev->id == 1) ? in alchemy_ohci_power_on() 165 return alchemy_usb_control(unit, 1); in alchemy_ohci_power_on() 171 int unit; in alchemy_ohci_power_off() local 173 unit = (pdev->id == 1) ? in alchemy_ohci_power_off() 176 alchemy_usb_control(unit, 0); in alchemy_ohci_power_off()
|
/linux-4.4.14/drivers/net/wan/ |
D | sealevel.c | 84 int unit = slvl->channel; in sealevel_open() local 90 switch (unit) { in sealevel_open() 104 switch (unit) { in sealevel_open() 127 int unit = slvl->channel; in sealevel_close() local 138 switch (unit) { in sealevel_close()
|
/linux-4.4.14/drivers/mtd/devices/ |
D | slram.c | 217 static unsigned long handle_unit(unsigned long value, char *unit) in handle_unit() argument 219 if ((*unit == 'M') || (*unit == 'm')) { in handle_unit() 221 } else if ((*unit == 'K') || (*unit == 'k')) { in handle_unit()
|
/linux-4.4.14/arch/s390/mm/ |
D | dump_pagetables.c | 61 const char *unit = units; in note_page() local 86 while (!(delta & 0x3ff) && unit[1]) { in note_page() 88 unit++; in note_page() 90 seq_printf(m, "%9lu%c ", delta, *unit); in note_page()
|
/linux-4.4.14/Documentation/devicetree/bindings/input/ |
D | regulator-haptic.txt | 9 [The unit of the voltage is a micro] 12 [The unit of the voltage is a micro]
|
/linux-4.4.14/net/netfilter/ |
D | nft_limit.c | 57 u64 unit; in nft_limit_init() local 64 unit = be64_to_cpu(nla_get_be64(tb[NFTA_LIMIT_UNIT])); in nft_limit_init() 65 limit->nsecs = unit * NSEC_PER_SEC; in nft_limit_init() 66 if (limit->rate == 0 || limit->nsecs < unit) in nft_limit_init()
|
/linux-4.4.14/fs/btrfs/ |
D | free-space-cache.c | 1407 static inline unsigned long offset_to_bit(u64 bitmap_start, u32 unit, in offset_to_bit() argument 1412 return (unsigned long)(div_u64(offset, unit)); in offset_to_bit() 1415 static inline unsigned long bytes_to_bits(u64 bytes, u32 unit) in bytes_to_bits() argument 1417 return (unsigned long)(div_u64(bytes, unit)); in bytes_to_bits() 1426 bytes_per_bitmap = BITS_PER_BITMAP * ctl->unit; in offset_to_bitmap() 1583 if (entry->offset + BITS_PER_BITMAP * ctl->unit > offset) in tree_search_offset() 1594 ctl->unit > offset) in tree_search_offset() 1647 u32 bytes_per_bg = BITS_PER_BITMAP * ctl->unit; in recalculate_thresholds() 1694 start = offset_to_bit(info->offset, ctl->unit, offset); in __bitmap_clear_bits() 1695 count = bytes_to_bits(bytes, ctl->unit); in __bitmap_clear_bits() [all …]
|
/linux-4.4.14/lib/ |
D | string_helpers.c | 50 const char *unit; in string_get_size() local 119 unit = "UNK"; in string_get_size() 121 unit = units_str[units][i]; in string_get_size() 124 tmp, unit); in string_get_size()
|
/linux-4.4.14/Documentation/metag/ |
D | kernel-ABI.txt | 23 CT Special Control unit 24 D0 General Data unit 0 0-7 8-15 16-31 16-31 25 D1 General Data unit 1 0-7 8-15 16-31 16-31 26 A0 General Address unit 0 0-3 4-7 8-15 8-15 27 A1 General Address unit 1 0-3 4-7 8-15 8-15 28 PC Special PC unit 0 1 30 TR Special Trigger unit 0-7 31 TT Special Trace unit 0-5 32 FX General FP unit 0-15
|
/linux-4.4.14/drivers/scsi/ |
D | zalon.c | 93 static int unit = 0; in zalon_probe() local 135 host = ncr_attach(&zalon7xx_template, unit, &device); in zalon_probe() 145 unit++; in zalon_probe()
|
D | sgiwd93.c | 237 unsigned int unit = pd->unit; in sgiwd93_probe() local 256 "host %d buffer.\n", unit); in sgiwd93_probe() 275 "for host %d.\n", irq, unit); in sgiwd93_probe()
|
D | dpt_i2o.c | 281 NULL, MKDEV(DPTI_I2O_MAJOR, pHba->unit), NULL, in adpt_detect() 282 "dpti%d", pHba->unit); in adpt_detect() 286 pHba->unit); in adpt_detect() 549 int unit; in adpt_show_info() local 579 unit = d->pI2o_dev->lct_data.tid; in adpt_show_info() 581 unit, (int)d->scsi_channel, (int)d->scsi_id, d->scsi_lun, in adpt_show_info() 1021 pHba->unit = hba_count; in adpt_install_hba() 1151 MKDEV(DPTI_I2O_MAJOR, pHba->unit)); in adpt_i2o_delete_hba() 1253 printk(KERN_INFO"dpti%d: POST WAIT TIMEOUT\n",pHba->unit); in adpt_i2o_post_wait() 1295 printk(KERN_WARNING"dpti%d: Timeout waiting for message frame!\n", pHba->unit); in adpt_i2o_post_this() [all …]
|
/linux-4.4.14/drivers/net/ethernet/amd/ |
D | mvme147.c | 71 struct net_device * __init mvme147lance_probe(int unit) in mvme147lance_probe() argument 89 if (unit >= 0) in mvme147lance_probe() 90 sprintf(dev->name, "eth%d", unit); in mvme147lance_probe()
|
/linux-4.4.14/tools/testing/selftests/vm/ |
D | run_vmtests | 10 while read name size unit; do 32 while read name size unit; do
|
/linux-4.4.14/arch/um/drivers/ |
D | ubd_kern.c | 805 static int ubd_disk_register(int major, u64 size, int unit, in ubd_disk_register() argument 815 disk->first_minor = unit << UBD_SHIFT; in ubd_disk_register() 819 sprintf(disk->disk_name, "ubd%c", 'a' + unit); in ubd_disk_register() 821 sprintf(disk->disk_name, "ubd_fake%d", unit); in ubd_disk_register() 825 ubd_devs[unit].pdev.id = unit; in ubd_disk_register() 826 ubd_devs[unit].pdev.name = DRIVER_NAME; in ubd_disk_register() 827 ubd_devs[unit].pdev.dev.release = ubd_device_release; in ubd_disk_register() 828 dev_set_drvdata(&ubd_devs[unit].pdev.dev, &ubd_devs[unit]); in ubd_disk_register() 829 platform_device_register(&ubd_devs[unit].pdev); in ubd_disk_register() 830 disk->driverfs_dev = &ubd_devs[unit].pdev.dev; in ubd_disk_register() [all …]
|
/linux-4.4.14/Documentation/video4linux/ |
D | uvcvideo.txt | 17 units (XUs). The Linux UVC driver supports extension unit controls (XU controls) 63 In order to make such a request the UVC unit ID of the control's extension unit 145 __u8 entity[16] UVC extension unit GUID 178 This ioctl queries a UVC XU control identified by its extension unit ID 222 extension unit could not be found. 235 __u8 unit Extension unit ID
|
/linux-4.4.14/arch/arm64/mm/ |
D | dump.c | 213 const char *unit = units; in note_page() local 221 while (!(delta & 1023) && unit[1]) { in note_page() 223 unit++; in note_page() 225 seq_printf(st->seq, "%9lu%c", delta, *unit); in note_page()
|
/linux-4.4.14/Documentation/scsi/ |
D | hptiop.txt | 139 Fill a free inbound list unit with the physical address and the size of 142 Set up the inbound list write pointer with the index of previous unit, 149 free outbound list unit and the index of the outbound list unit will be 155 read the (N+1)th outbound list unit. 158 unit and complete the request.
|
/linux-4.4.14/drivers/of/ |
D | Kconfig | 15 bool "Device Tree runtime unit tests" 56 can enable it manually to improve device tree unit test coverage. 113 enable it manually to improve device tree unit test coverage.
|
/linux-4.4.14/arch/arm/mm/ |
D | dump.c | 229 const char *unit = units; in note_page() local 237 while (!(delta & 1023) && unit[1]) { in note_page() 239 unit++; in note_page() 241 seq_printf(st->seq, "%9lu%c", delta, *unit); in note_page()
|
/linux-4.4.14/arch/powerpc/boot/dts/ |
D | mpc8641_hpcn.dts | 360 message-unit@0 { 361 compatible = "fsl,srio-msg-unit"; 367 message-unit@100 { 368 compatible = "fsl,srio-msg-unit"; 374 doorbell-unit@400 { 375 compatible = "fsl,srio-dbell-unit"; 381 port-write-unit@4e0 { 382 compatible = "fsl,srio-port-write-unit";
|
/linux-4.4.14/drivers/gpu/ipu-v3/ |
D | ipu-common.c | 803 char *unit; in ipu_submodules_init() local 810 unit = "cpmem"; in ipu_submodules_init() 817 unit = "csi0"; in ipu_submodules_init() 824 unit = "csi1"; in ipu_submodules_init() 832 unit = "ic"; in ipu_submodules_init() 839 unit = "di0"; in ipu_submodules_init() 846 unit = "di1"; in ipu_submodules_init() 853 unit = "dc_template"; in ipu_submodules_init() 860 unit = "dmfc"; in ipu_submodules_init() 866 unit = "dp"; in ipu_submodules_init() [all …]
|
/linux-4.4.14/sound/soc/sh/ |
D | Kconfig | 12 ## Audio unit modules 62 AC97 unit of the SH7760.
|
/linux-4.4.14/drivers/mfd/ |
D | sm501.c | 316 int sm501_unit_power(struct device *dev, unsigned int unit, unsigned int to) in sm501_unit_power() argument 331 if (unit >= ARRAY_SIZE(sm->unit_power)) { in sm501_unit_power() 332 dev_err(dev, "%s: bad unit %d\n", __func__, unit); in sm501_unit_power() 336 dev_dbg(sm->dev, "%s: unit %d, cur %d, to %d\n", __func__, unit, in sm501_unit_power() 337 sm->unit_power[unit], to); in sm501_unit_power() 339 if (to == 0 && sm->unit_power[unit] == 0) { in sm501_unit_power() 340 dev_err(sm->dev, "unit %d is already shutdown\n", unit); in sm501_unit_power() 344 sm->unit_power[unit] += to ? 1 : -1; in sm501_unit_power() 345 to = sm->unit_power[unit] ? 1 : 0; in sm501_unit_power() 348 if (gate & (1 << unit)) in sm501_unit_power() [all …]
|
/linux-4.4.14/arch/mips/include/asm/sgi/ |
D | wd.h | 14 unsigned int unit; member
|
/linux-4.4.14/drivers/staging/gdm72xx/ |
D | netlink_k.c | 91 struct sock *netlink_init(int unit, void (*cb)(struct net_device *dev, u16 type, in netlink_init() argument 103 sock = netlink_kernel_create(&init_net, unit, &cfg); in netlink_init()
|
D | netlink_k.h | 20 struct sock *netlink_init(int unit, void (*cb)(struct net_device *dev, u16 type,
|
/linux-4.4.14/drivers/staging/gdm724x/ |
D | netlink_k.c | 90 struct sock *netlink_init(int unit, in netlink_init() argument 102 sock = netlink_kernel_create(&init_net, unit, &cfg); in netlink_init()
|
D | netlink_k.h | 20 struct sock *netlink_init(int unit,
|
/linux-4.4.14/arch/mips/cavium-octeon/ |
D | octeon-memcpy.S | 131 #define FIRST(unit) ((unit)*NBYTES) argument 132 #define REST(unit) (FIRST(unit)+NBYTES-1) argument 133 #define UNIT(unit) FIRST(unit) argument
|
/linux-4.4.14/arch/mn10300/unit-asb2303/ |
D | Makefile | 6 obj-y := unit-init.o smc91111.o flash.o leds.o
|
/linux-4.4.14/drivers/platform/x86/ |
D | dell-laptop.c | 1625 u8 unit; in kbd_led_timeout_store() local 1643 unit = KBD_TIMEOUT_SECONDS; in kbd_led_timeout_store() 1648 unit = KBD_TIMEOUT_MINUTES; in kbd_led_timeout_store() 1653 unit = KBD_TIMEOUT_HOURS; in kbd_led_timeout_store() 1658 unit = KBD_TIMEOUT_DAYS; in kbd_led_timeout_store() 1669 switch (unit) { in kbd_led_timeout_store() 1676 unit = KBD_TIMEOUT_SECONDS; in kbd_led_timeout_store() 1689 unit = KBD_TIMEOUT_SECONDS; in kbd_led_timeout_store() 1692 unit = KBD_TIMEOUT_MINUTES; in kbd_led_timeout_store() 1695 unit = KBD_TIMEOUT_HOURS; in kbd_led_timeout_store() [all …]
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | mcdi_mon.c | 110 const char *name = NULL, *state_txt, *unit; in efx_mcdi_sensor_event() local 127 unit = efx_hwmon_unit[hwmon_type]; in efx_mcdi_sensor_event() 128 if (!unit) in efx_mcdi_sensor_event() 129 unit = ""; in efx_mcdi_sensor_event() 133 type, name, state_txt, value, unit); in efx_mcdi_sensor_event()
|
/linux-4.4.14/arch/mn10300/unit-asb2364/ |
D | Makefile | 10 obj-y := unit-init.o leds.o irq-fpga.o
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | hfi.h | 935 int unit; /* unit # of this chip */ member 1109 struct hfi1_devdata *hfi1_lookup(int unit); 1625 const char *get_unit_name(int unit); 1765 get_unit_name((dd)->unit), ##__VA_ARGS__) 1768 get_unit_name((dd)->unit), ##__VA_ARGS__) 1771 get_unit_name((dd)->unit), ##__VA_ARGS__) 1775 get_unit_name((dd)->unit), ##__VA_ARGS__) 1779 get_unit_name((dd)->unit), ##__VA_ARGS__) 1783 get_unit_name((dd)->unit), (dd)->unit, (port), \
|
D | driver.c | 157 const char *get_unit_name(int unit) in get_unit_name() argument 161 snprintf(iname, sizeof(iname), DRIVER_NAME"_%u", unit); in get_unit_name() 1007 dd_dev_info(dd, "IB%u:%u got a lid: 0x%x\n", dd->unit, ppd->port, lid); in hfi1_set_lid() 1097 int hfi1_reset_device(int unit) in hfi1_reset_device() argument 1100 struct hfi1_devdata *dd = hfi1_lookup(unit); in hfi1_reset_device() 1110 dd_dev_info(dd, "Reset on unit %u requested\n", unit); in hfi1_reset_device() 1115 unit); in hfi1_reset_device() 1152 unit, ret); in hfi1_reset_device() 1155 unit); in hfi1_reset_device()
|
/linux-4.4.14/arch/mn10300/unit-asb2305/ |
D | Makefile | 6 obj-y := unit-init.o leds.o
|
/linux-4.4.14/arch/mips/sgi-ip22/ |
D | ip22-platform.c | 23 .unit = 0, 47 .unit = 1,
|
/linux-4.4.14/arch/x86/mm/ |
D | dump_pagetables.c | 216 const char *unit = units; in note_page() local 241 while (!(delta & 1023) && unit[1]) { in note_page() 243 unit++; in note_page() 246 delta, *unit); in note_page()
|