/linux-4.4.14/drivers/i2c/muxes/ |
H A D | i2c-mux-gpio.c | 20 struct gpiomux { struct 27 static void i2c_mux_gpio_set(const struct gpiomux *mux, unsigned val) i2c_mux_gpio_set() 38 struct gpiomux *mux = data; i2c_mux_gpio_select() 47 struct gpiomux *mux = data; i2c_mux_gpio_deselect() 61 static int i2c_mux_gpio_probe_dt(struct gpiomux *mux, i2c_mux_gpio_probe_dt() 130 static int i2c_mux_gpio_probe_dt(struct gpiomux *mux, i2c_mux_gpio_probe_dt() 139 struct gpiomux *mux; i2c_mux_gpio_probe() 147 dev_err(&pdev->dev, "Cannot allocate gpiomux structure"); i2c_mux_gpio_probe() 256 struct gpiomux *mux = platform_get_drvdata(pdev); i2c_mux_gpio_remove()
|
/linux-4.4.14/drivers/media/pci/bt8xx/ |
H A D | bttv-cards.c | 372 .gpiomux = { 2, 0, 0, 0 }, 384 .gpiomux = { 0, 1, 2, 3 }, 396 .gpiomux = { 4, 0, 2, 3 }, 413 .gpiomux = { 0 }, 424 .gpiomux = { 0, 1, 0, 1 }, 436 .gpiomux = { 0x0c, 0x04, 0x08, 0x04 }, 450 .gpiomux = { 0 }, 463 .gpiomux = { 0, 0xc00, 0x800, 0x400 }, 476 .gpiomux = { 1, 1, 2, 3 }, 488 .gpiomux = { 0, 1, 2, 3 }, 501 .gpiomux = { 0x20001,0x10001, 0, 0 }, 515 .gpiomux = { 13, 14, 11, 7 }, 526 .gpiomux = { 13, 14, 11, 7 }, 541 .gpiomux = { 0, 2, 1, 3 }, /* old: {0, 1, 2, 3, 4} */ 554 .gpiomux = { 0, 0, 1, 0 }, 569 .gpiomux = { 0x001e00, 0, 0x018000, 0x014000 }, 582 .gpiomux = { 0x4fa007,0xcfa007,0xcfa007,0xcfa007 }, 596 .gpiomux = { 1, 0, 0, 0 }, 607 .gpiomux = { 0 }, 630 .gpiomux = { 0, 0x800, 0x1000, 0x1000 }, 643 .gpiomux = { 0, 1, 0x800, 0x400 }, 658 .gpiomux = { 0, 0, 0, 0 }, 673 .gpiomux = {0x400, 0x400, 0x400, 0x400 }, 688 .gpiomux = { 0x20000, 0x30000, 0x10000, 0 }, 701 .gpiomux = { 0, 1, 2, 3 }, 713 .gpiomux = { 0, 0x800, 0x1000, 0x1000 }, 728 .gpiomux = { 0x20000, 0x30000, 0x10000, 0x00000 }, 773 .gpiomux = { 0 }, 786 .gpiomux = { 0, 0x0800, 0x1000, 0x1000 }, 799 .gpiomux = { 1, 0, 0, 0 }, 813 .gpiomux = { 0 }, 824 .gpiomux = { 0x500, 0, 0x300, 0x900 }, 839 .gpiomux = { 0x122000,0x1000,0x0000,0x620000 }, 866 .gpiomux = { 0, 0x800, 0x1000, 0x1000 }, 881 .gpiomux = { 0, 0x800, 0x1000, 0x1000 }, 895 .gpiomux = { 0x21, 0x20, 0x24, 0x2c }, 909 .gpiomux = { 0x551400, 0x551200, 0, 0 }, 923 .gpiomux = { 2, 0xd0001, 0, 0 }, 938 .gpiomux = { 4, 0, 2, 3 }, 953 .gpiomux = { 13, 4, 11, 7 }, 967 .gpiomux = { 0, 0, 0, 0}, 980 .gpiomux = { 0xff9ff6, 0xff9ff6, 0xff1ff7, 0 }, 995 .gpiomux = { 1, 1, 0, 2 }, 1009 .gpiomux = { 0 }, 1022 .gpiomux = { 0xbc803f, 0xbc903f, 0xbcb03f, 0 }, 1036 .gpiomux = { 0x20000, 0x30000, 0x10000, 0 }, 1053 .gpiomux = {2,0,0,0 }, 1066 .gpiomux = {0x10000, 0, 0x10000, 0 }, 1082 .gpiomux = { 0x20000, 0, 0x80000, 0x80000 }, 1106 .gpiomux = { 0, 1, 2, 3 }, 1122 .gpiomux = { 1, 0xd0001, 0, 0 }, 1146 .gpiomux = { 0, 0, 0x10, 8 }, 1157 gpiomux =0x44c71f,0x44d71f,0,0x44d71f,0x44dfff 1165 .gpiomux = { 0x0000,0x0800,0x1000,0x1000 }, 1184 .gpiomux = { 2, 0, 0, 0 }, 1200 .gpiomux = { 0, 0x800, 0x1000, 0x1000 }, 1216 .gpiomux = { 0 }, 1230 .gpiomux = { 0x400, 0x400, 0x400, 0x400 }, 1244 .gpiomux = { 2, 0, 0, 0 }, 1261 .gpiomux = { 2, 0, 0, 1 }, 1275 .gpiomux = { }, 1291 .gpiomux = { 1, 0, 4, 4 }, 1305 .gpiomux = { 0xbffe, 0, 0xbfff, 0 }, 1321 .gpiomux = { 0, 0, 1, 0 }, 1338 .gpiomux = { 0x0000,0x0800,0x1000,0x1000 }, 1353 .gpiomux = { 0x500, 0x500, 0x300, 0x900 }, 1368 .gpiomux = {0x10000, 0, 0x10000, 0 }, 1387 .gpiomux = {0x947fff, 0x987fff,0x947fff,0x947fff }, 1407 .gpiomux = {0x947fff, 0x987fff,0x947fff,0x947fff }, 1436 .gpiomux = { 0, 0, 11, 7 }, /* TV and Radio with same GPIO ! */ 1472 .gpiomux = { 0x01, 0x00, 0x03, 0x03 }, 1498 .gpiomux = { 0 }, 1523 .gpiomux = { 0, 1, 2, 2 }, 1540 .gpiomux = { 0, 1, 2, 3 }, 1553 .gpiomux = { 0 }, 1567 .gpiomux = { 0, 0, 4, 4 },/* Yes, this tuner uses the same audio output for TV and FM radio! 1571 * gpiomux =1: lower volume, 2+3: mute 1615 .gpiomux = {7}, 1624 .gpiomux = {0x030000, 0x010000, 0, 0 }, 1805 .gpiomux = { 2, 2, 0, 0 }, 1827 .gpiomux = { 0, 1, 2, 3}, 1854 .gpiomux = { 0 }, 1870 .gpiomux = { 0x08, 0x0f, 0x0a, 0x08 }, 1983 .gpiomux = { 0 }, 1997 .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ 2009 .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ 2025 .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ 2039 .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ 2111 .gpiomux = { 1, 1, 1, 1 }, 2137 .gpiomux = { 0, 0, 0, 0 }, 2166 .gpiomux = { 0x68, 0x68, 0x61, 0x61 }, 2180 .gpiomux = { 0, 1, 2, 2 }, 2203 .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ 2218 .gpiomux = { 0x02, 0x00, 0x00, 0x00 }, 2264 .gpiomux = { 0 }, 2279 .gpiomux = { 0 }, 2295 .gpiomux = { 2, 0, 0, 0 }, 2324 .gpiomux = {0x31, 0x31, 0x31, 0x31 }, 2342 .gpiomux = { 0, 0x000001,0,0 }, 2438 .gpiomux = { 0x00400005, 0, 0x00000001, 0 }, 2453 .gpiomux = { 0x001e00, 0, 0x018000, 0x014000 }, 2468 .gpiomux = { 0, 1, 2, 2 }, 2486 .gpiomux = { 0x00400, 0x10400, 0x04400, 0x80000 }, 2503 .gpiomux = { 0x21, 0x20, 0x24, 0x2c }, 2533 .gpiomux = { 0, 0, 0x000, 0x100}, 2548 .gpiomux = { 2, 0, 0, 0 }, 2562 .gpiomux = { 100000, 100002, 100002, 100000 }, 2597 .gpiomux = { 0, 1, 2, 3 }, 2633 .gpiomux = { 0x00400005, 0, 0x00000001, 0 }, 2646 .gpiomux = { 0x20001,0x10001, 0, 0 }, 2661 .gpiomux = { 0 }, 2677 .gpiomux = { 0, 1, 2, 2 }, /* CONTVFMi */ 2700 .gpiomux = { 0x60000, 0x60000, 0x20000, 0x20000 }, 2716 .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ 2729 .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ 2742 .gpiomux = { 0, 0, 0, 0 }, /* card has no audio */ 2805 .gpiomux = { 0 }, 2866 .gpiomux = { 0, 1, 2, 2 }, 2948 for (i = 0; i < ARRAY_SIZE(bttv_tvcards->gpiomux); i++) { bttv_idcard() 2949 bttv_tvcards[btv->c.type].gpiomux[i] = audiomux[i]; bttv_idcard() 2954 for (i = 0; i < ARRAY_SIZE(bttv_tvcards->gpiomux); i++) { bttv_idcard() 2955 bttv_tvcards[btv->c.type].gpiomux[i] = audioall; bttv_idcard() 2961 for (i = 0; i < ARRAY_SIZE(bttv_tvcards->gpiomux); i++) { bttv_idcard() 2963 i ? "," : "", bttv_tvcards[btv->c.type].gpiomux[i]); bttv_idcard()
|
H A D | bttv.h | 227 u32 gpiomux[4]; /* Tuner, Radio, external, internal */ member in struct:tvcard
|
H A D | bttv-driver.c | 1017 gpio_val = bttv_tvcards[btv->c.type].gpiomux[input]; audio_mux_gpio()
|