Home
last modified time | relevance | path

Searched refs:P2 (Results 1 – 17 of 17) sorted by relevance

/drivers/ata/pata_parport/
Don26.c33 #define P2 \ macro
51 w0(1); P1; w0(r); P2; w0(0); P1; in on26_read_regr()
57 w0(1); P1; w0(r); P2; w0(0); P1; in on26_read_regr()
79 w0(1); P1; w0(r); P2; w0(0); P1; in on26_write_regr()
80 w0(val); P2; w0(val); P2; in on26_write_regr()
113 w0(2); P1; w0(8); P2; in on26_connect()
114 w0(2); P1; w0(x); P2; in on26_connect()
156 w0(2); P1; w0(0); P2; in on26_test_port()
157 w0(3); P1; w0(0); P2; in on26_test_port()
158 w0(2); P1; w0(8); P2; udelay(100); in on26_test_port()
[all …]
Ddstr.c30 #define P2 w2(5);w2(7);w2(5);w2(4); macro
50 P2; w0(r); P1; in dstr_read_regr()
78 P2; w0(r); P1; in dstr_write_regr()
124 P2; w0(0x82); P1; P3; w0(0x20); P1; in dstr_read_block()
173 P2; w0(0x82); P1; P3; w0(0x20); P1; in dstr_write_block()
Dcomm.c28 #define P2 w2(5);w2(7);w2(7);w2(5);w2(4); macro
71 w0(r); P1; w0(val); P2; in comm_write_regr()
/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dmcp77.c208 int N, M, P1, P2 = 0; in mcp77_clk_calc() local
226 P2 = P1 - 2; in mcp77_clk_calc()
233 clk->cctrl = (P2 + 1) << 16; in mcp77_clk_calc()
248 (divs + P2) <= 7) { in mcp77_clk_calc()
250 clk->sctrl = (divs + P2) << 16; in mcp77_clk_calc()
Dnv50.c381 int N, M, P1, P2; in nv50_clk_calc() local
407 out = calc_div(out, vdec, &P2); in nv50_clk_calc()
416 divsv |= P2 << 8; in nv50_clk_calc()
/drivers/usb/serial/
Dio_ionsp.h424 #define GET_TX_BUFFER_SIZE(P2) (((P2) + 1) * 64) argument
Diuu_phoenix.c405 unsigned int P2 = 0; in iuu_clk() local
469 P2 = ((P - PO) / 2) - 4; in iuu_clk()
471 PBmsb = (P2 >> 8 & 0x03); in iuu_clk()
472 PBlsb = P2 & 0xFF; in iuu_clk()
/drivers/ata/
Data_piix.c108 P2 = 2, /* port 2 */ enumerator
360 { P0, P2, P1, P3 }, /* 00b */
362 { P0, P2, IDE, IDE }, /* 10b */
377 { P0, P2, NA, NA }, /* 00b */
379 { P0, P2, IDE, IDE }, /* 10b */
389 { P0, P2, P1, P3 }, /* 00b (hardwired when in AHCI) */
391 { P0, P2, IDE, IDE }, /* 10b (IDE mode) */
415 { P0, P2, IDE, IDE }, /* 10b */
/drivers/iio/pressure/
Dbmp280.h331 s16 P2; member
353 s16 P2; member
Dbmp280-core.c115 enum { T1, T2, T3, P1, P2, P3, P4, P5, P6, P7, P8, P9 }; enumerator
203 calib->P2 = le16_to_cpu(data->bmp280_cal_buf[P2]); in bmp280_read_calib()
350 ((var1 * (s64)calib->P2) << 12); in bmp280_compensate_press()
969 var5 = ((s64)calib->P2 - ((s64)1 << 14)) * in bmp380_compensate_press()
1081 calib->P2 = get_unaligned_le16(&data->bmp380_cal_buf[BMP380_P2]); in bmp380_read_calib()
/drivers/net/fddi/skfp/h/
Dskfbi.h668 #define P2(a) (0x0600|((a)<<2)) /* PLC2 (r/w) (covered by the SN3) */ macro
725 #define P2_A(a) ADDR(P2(a)) /* PLC2 (r/w) (DAS) */
/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dramgk104.c134 int N2, M2, P2; member
160 const u32 mcoef = ((--ram->P2 << 28) | (ram->N2 << 8) | ram->M2); in r1373f4_init()
990 int *N2, int *M2, int *P2) in gk104_pll_calc_hiclk() argument
999 *P2 = 1; in gk104_pll_calc_hiclk()
1033 *fN1 = (u16)((((best_err / *N2 * *P2) * (*P1 * *M1)) << 13) / crystal); in gk104_pll_calc_hiclk()
1067 &ram->N2, &ram->M2, &ram->P2); in gk104_ram_calc_xits()
/drivers/net/wireless/marvell/libertas/
Dhost.h884 int8_t P2; member
896 int8_t P2; member
Dcmd.c1468 cmd.P2 = p2; in lbs_set_tpc_cfg()
1499 cmd.P2 = p2; in lbs_set_power_adapt_cfg()
/drivers/pinctrl/aspeed/
Dpinctrl-aspeed-g5.c681 #define P2 86 macro
682 SIG_EXPR_LIST_DECL_SINGLE(P2, SCL8, I2C8, I2C8_DESC);
683 PIN_DECL_1(P2, GPIOK6, SCL8);
689 FUNC_GROUP_DECL(I2C8, P2, R1);
2069 ASPEED_PINCTRL_PIN(P2),
/drivers/video/fbdev/
DKconfig104 3DLabs Oxygen ACX aka EONtronics Picasso P2 PCI
/drivers/gpu/drm/amd/include/
Dnavi10_enum.h1697 P2 = 0x00000000, enumerator