Searched refs:pad (Results 1 - 200 of 995) sorted by relevance

12345

/linux-4.1.27/drivers/net/wireless/b43/
H A Dtables_lpphy.c1083 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 152, },
1084 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 147, },
1085 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 143, },
1086 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 139, },
1087 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 135, },
1088 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 131, },
1089 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 128, },
1090 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 124, },
1091 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 121, },
1092 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 117, },
1093 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 114, },
1094 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 111, },
1095 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 107, },
1096 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 104, },
1097 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 101, },
1098 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 99, },
1099 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 96, },
1100 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 93, },
1101 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 90, },
1102 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 88, },
1103 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 85, },
1104 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 83, },
1105 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 81, },
1106 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 78, },
1107 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 76, },
1108 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 74, },
1109 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 72, },
1110 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 70, },
1111 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 68, },
1112 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 66, },
1113 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 64, },
1114 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 62, },
1115 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 60, },
1116 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 59, },
1117 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 57, },
1118 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 72, },
1119 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 70, },
1120 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 68, },
1121 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 66, },
1122 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 64, },
1123 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 62, },
1124 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 60, },
1125 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 59, },
1126 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 57, },
1127 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 71, },
1128 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 69, },
1129 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 67, },
1130 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 65, },
1131 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 63, },
1132 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 62, },
1133 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 60, },
1134 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 58, },
1135 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 57, },
1136 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 70, },
1137 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 68, },
1138 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 66, },
1139 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 65, },
1140 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 63, },
1141 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 61, },
1142 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 59, },
1143 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 58, },
1144 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 71, },
1145 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 69, },
1146 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 67, },
1147 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 65, },
1148 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 63, },
1149 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 61, },
1150 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 60, },
1151 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 58, },
1152 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 56, },
1153 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 70, },
1154 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 68, },
1155 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 66, },
1156 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 64, },
1157 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 62, },
1158 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 60, },
1159 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 59, },
1160 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 72, },
1161 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 70, },
1162 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 68, },
1163 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 66, },
1164 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 64, },
1165 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 62, },
1166 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 60, },
1167 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 59, },
1168 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 72, },
1169 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 70, },
1170 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 68, },
1171 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 66, },
1172 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 64, },
1173 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 63, },
1174 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 61, },
1175 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 59, },
1176 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 57, },
1177 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 72, },
1178 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 70, },
1179 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 68, },
1180 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 66, },
1181 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 64, },
1182 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 62, },
1183 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 60, },
1184 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 59, },
1185 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 72, },
1186 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 70, },
1187 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 68, },
1188 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 66, },
1189 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 64, },
1190 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 62, },
1191 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 61, },
1192 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 59, },
1193 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 73, },
1194 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 71, },
1195 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 69, },
1196 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 67, },
1197 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 65, },
1198 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 63, },
1199 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 61, },
1200 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 59, },
1201 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 72, },
1202 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 70, },
1203 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 68, },
1204 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 66, },
1205 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 65, },
1206 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 63, },
1207 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 61, },
1208 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 59, },
1209 { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 73, },
1210 { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 71, },
1214 { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 64, },
1215 { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 62, },
1216 { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 60, },
1217 { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 59, },
1218 { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 72, },
1219 { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 70, },
1220 { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 68, },
1221 { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 66, },
1222 { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 64, },
1223 { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 62, },
1224 { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 60, },
1225 { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 59, },
1226 { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 72, },
1227 { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 70, },
1228 { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 68, },
1229 { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 66, },
1230 { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 64, },
1231 { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 63, },
1232 { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 61, },
1233 { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 59, },
1234 { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 57, },
1235 { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 72, },
1236 { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 70, },
1237 { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 68, },
1238 { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 66, },
1239 { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 64, },
1240 { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 62, },
1241 { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 60, },
1242 { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 59, },
1243 { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 72, },
1244 { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 70, },
1245 { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 68, },
1246 { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 66, },
1247 { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 64, },
1248 { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 62, },
1249 { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 61, },
1250 { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 59, },
1251 { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 73, },
1252 { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 71, },
1253 { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 69, },
1254 { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 67, },
1255 { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 65, },
1256 { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 63, },
1257 { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 61, },
1258 { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 59, },
1259 { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 72, },
1260 { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 70, },
1261 { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 68, },
1262 { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 66, },
1263 { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 65, },
1264 { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 63, },
1265 { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 61, },
1266 { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 59, },
1267 { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 73, },
1268 { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 71, },
1269 { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 69, },
1270 { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 67, },
1271 { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 65, },
1272 { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 63, },
1273 { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 61, },
1274 { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 60, },
1275 { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 72, },
1276 { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 70, },
1277 { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 68, },
1278 { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 66, },
1279 { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 64, },
1280 { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 62, },
1281 { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 60, },
1282 { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 59, },
1283 { .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 72, },
1284 { .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 70, },
1285 { .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 68, },
1286 { .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 66, },
1287 { .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 64, },
1288 { .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 62, },
1289 { .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 60, },
1290 { .gm = 4, .pga = 10, .pad = 5, .dac = 0, .bb_mult = 59, },
1291 { .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 70, },
1292 { .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 68, },
1293 { .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 66, },
1294 { .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 64, },
1295 { .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 63, },
1296 { .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 61, },
1297 { .gm = 4, .pga = 9, .pad = 5, .dac = 0, .bb_mult = 59, },
1298 { .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 71, },
1299 { .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 69, },
1300 { .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 67, },
1301 { .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 65, },
1302 { .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 63, },
1303 { .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 62, },
1304 { .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 60, },
1305 { .gm = 4, .pga = 9, .pad = 4, .dac = 0, .bb_mult = 58, },
1306 { .gm = 4, .pga = 8, .pad = 4, .dac = 0, .bb_mult = 70, },
1307 { .gm = 4, .pga = 8, .pad = 4, .dac = 0, .bb_mult = 68, },
1308 { .gm = 4, .pga = 8, .pad = 4, .dac = 0, .bb_mult = 66, },
1309 { .gm = 4, .pga = 8, .pad = 4, .dac = 0, .bb_mult = 65, },
1310 { .gm = 4, .pga = 8, .pad = 4, .dac = 0, .bb_mult = 63, },
1311 { .gm = 4, .pga = 8, .pad = 4, .dac = 0, .bb_mult = 61, },
1312 { .gm = 4, .pga = 8, .pad = 4, .dac = 0, .bb_mult = 59, },
1313 { .gm = 4, .pga = 7, .pad = 4, .dac = 0, .bb_mult = 68, },
1314 { .gm = 4, .pga = 7, .pad = 4, .dac = 0, .bb_mult = 66, },
1315 { .gm = 4, .pga = 7, .pad = 4, .dac = 0, .bb_mult = 64, },
1316 { .gm = 4, .pga = 7, .pad = 4, .dac = 0, .bb_mult = 62, },
1317 { .gm = 4, .pga = 7, .pad = 4, .dac = 0, .bb_mult = 61, },
1318 { .gm = 4, .pga = 7, .pad = 4, .dac = 0, .bb_mult = 59, },
1319 { .gm = 4, .pga = 7, .pad = 3, .dac = 0, .bb_mult = 67, },
1320 { .gm = 4, .pga = 7, .pad = 3, .dac = 0, .bb_mult = 65, },
1321 { .gm = 4, .pga = 7, .pad = 3, .dac = 0, .bb_mult = 63, },
1322 { .gm = 4, .pga = 7, .pad = 3, .dac = 0, .bb_mult = 62, },
1323 { .gm = 4, .pga = 7, .pad = 3, .dac = 0, .bb_mult = 60, },
1324 { .gm = 4, .pga = 6, .pad = 3, .dac = 0, .bb_mult = 65, },
1325 { .gm = 4, .pga = 6, .pad = 3, .dac = 0, .bb_mult = 63, },
1326 { .gm = 4, .pga = 6, .pad = 3, .dac = 0, .bb_mult = 61, },
1327 { .gm = 4, .pga = 6, .pad = 3, .dac = 0, .bb_mult = 60, },
1328 { .gm = 4, .pga = 6, .pad = 3, .dac = 0, .bb_mult = 58, },
1329 { .gm = 4, .pga = 5, .pad = 3, .dac = 0, .bb_mult = 68, },
1330 { .gm = 4, .pga = 5, .pad = 3, .dac = 0, .bb_mult = 66, },
1331 { .gm = 4, .pga = 5, .pad = 3, .dac = 0, .bb_mult = 64, },
1332 { .gm = 4, .pga = 5, .pad = 3, .dac = 0, .bb_mult = 62, },
1333 { .gm = 4, .pga = 5, .pad = 3, .dac = 0, .bb_mult = 60, },
1334 { .gm = 4, .pga = 5, .pad = 3, .dac = 0, .bb_mult = 59, },
1335 { .gm = 4, .pga = 5, .pad = 3, .dac = 0, .bb_mult = 57, },
1336 { .gm = 4, .pga = 4, .pad = 2, .dac = 0, .bb_mult = 83, },
1337 { .gm = 4, .pga = 4, .pad = 2, .dac = 0, .bb_mult = 81, },
1338 { .gm = 4, .pga = 4, .pad = 2, .dac = 0, .bb_mult = 78, },
1339 { .gm = 4, .pga = 4, .pad = 2, .dac = 0, .bb_mult = 76, },
1340 { .gm = 4, .pga = 4, .pad = 2, .dac = 0, .bb_mult = 74, },
1341 { .gm = 4, .pga = 4, .pad = 2, .dac = 0, .bb_mult = 72, },
1345 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 99, },
1346 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 96, },
1347 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 93, },
1348 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 90, },
1349 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 88, },
1350 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 85, },
1351 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 83, },
1352 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 81, },
1353 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 78, },
1354 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 76, },
1355 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 74, },
1356 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 72, },
1357 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 70, },
1358 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 68, },
1359 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 66, },
1360 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 64, },
1361 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 62, },
1362 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 60, },
1363 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 59, },
1364 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 57, },
1365 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 55, },
1366 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 72, },
1367 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 70, },
1368 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 68, },
1369 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 66, },
1370 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 64, },
1371 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 62, },
1372 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 60, },
1373 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 58, },
1374 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 56, },
1375 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 55, },
1376 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 71, },
1377 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 69, },
1378 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 67, },
1379 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 65, },
1380 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 63, },
1381 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 62, },
1382 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 60, },
1383 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 58, },
1384 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 56, },
1385 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 72, },
1386 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 70, },
1387 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 68, },
1388 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 66, },
1389 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 64, },
1390 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 62, },
1391 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 60, },
1392 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 59, },
1393 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 57, },
1394 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 73, },
1395 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 71, },
1396 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 69, },
1397 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 67, },
1398 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 65, },
1399 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 63, },
1400 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 61, },
1401 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 60, },
1402 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 58, },
1403 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 71, },
1404 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 69, },
1405 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 67, },
1406 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 65, },
1407 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 63, },
1408 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 61, },
1409 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 60, },
1410 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 58, },
1411 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 70, },
1412 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 68, },
1413 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 66, },
1414 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 64, },
1415 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 62, },
1416 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 61, },
1417 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 59, },
1418 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 57, },
1419 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 56, },
1420 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 68, },
1421 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 66, },
1422 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 65, },
1423 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 63, },
1424 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 61, },
1425 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 59, },
1426 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 58, },
1427 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 70, },
1428 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 68, },
1429 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 66, },
1430 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 64, },
1431 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 63, },
1432 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 61, },
1433 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 59, },
1434 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 57, },
1435 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 70, },
1436 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 68, },
1437 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 66, },
1438 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 64, },
1439 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 62, },
1440 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 60, },
1441 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 59, },
1442 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 57, },
1443 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 70, },
1444 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 68, },
1445 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 66, },
1446 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 64, },
1447 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 62, },
1448 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 61, },
1449 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 59, },
1450 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 57, },
1451 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 70, },
1452 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 68, },
1453 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 66, },
1454 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 64, },
1455 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 62, },
1456 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 61, },
1457 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 59, },
1458 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 57, },
1459 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 70, },
1460 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 68, },
1461 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 66, },
1462 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 64, },
1463 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 62, },
1464 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 61, },
1465 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 59, },
1466 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 57, },
1467 { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 69, },
1468 { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 67, },
1469 { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 65, },
1470 { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 63, },
1471 { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 62, },
1472 { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 60, },
1476 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 152, },
1477 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 147, },
1478 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 143, },
1479 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 139, },
1480 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 135, },
1481 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 131, },
1482 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 128, },
1483 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 124, },
1484 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 121, },
1485 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 117, },
1486 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 114, },
1487 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 111, },
1488 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 107, },
1489 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 104, },
1490 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 101, },
1491 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 99, },
1492 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 96, },
1493 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 93, },
1494 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 90, },
1495 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 88, },
1496 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 85, },
1497 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 83, },
1498 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 81, },
1499 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 78, },
1500 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 76, },
1501 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 74, },
1502 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 72, },
1503 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 70, },
1504 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 68, },
1505 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 66, },
1506 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 64, },
1507 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 62, },
1508 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 60, },
1509 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 59, },
1510 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 57, },
1511 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 72, },
1512 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 70, },
1513 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 68, },
1514 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 66, },
1515 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 64, },
1516 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 62, },
1517 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 60, },
1518 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 59, },
1519 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 57, },
1520 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 72, },
1521 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 70, },
1522 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 68, },
1523 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 66, },
1524 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 64, },
1525 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 62, },
1526 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 60, },
1527 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 59, },
1528 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 57, },
1529 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 71, },
1530 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 69, },
1531 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 67, },
1532 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 65, },
1533 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 63, },
1534 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 62, },
1535 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 60, },
1536 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 58, },
1537 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 57, },
1538 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 70, },
1539 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 68, },
1540 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 66, },
1541 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 65, },
1542 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 63, },
1543 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 61, },
1544 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 59, },
1545 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 58, },
1546 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 71, },
1547 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 69, },
1548 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 67, },
1549 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 65, },
1550 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 63, },
1551 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 61, },
1552 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 60, },
1553 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 58, },
1554 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 56, },
1555 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 70, },
1556 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 68, },
1557 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 66, },
1558 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 64, },
1559 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 62, },
1560 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 60, },
1561 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 59, },
1562 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 72, },
1563 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 70, },
1564 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 68, },
1565 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 66, },
1566 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 64, },
1567 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 62, },
1568 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 60, },
1569 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 59, },
1570 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 72, },
1571 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 70, },
1572 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 68, },
1573 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 66, },
1574 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 64, },
1575 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 63, },
1576 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 61, },
1577 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 59, },
1578 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 57, },
1579 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 72, },
1580 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 70, },
1581 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 68, },
1582 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 66, },
1583 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 64, },
1584 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 62, },
1585 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 60, },
1586 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 59, },
1587 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 72, },
1588 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 70, },
1589 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 68, },
1590 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 66, },
1591 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 64, },
1592 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 62, },
1593 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 61, },
1594 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 59, },
1595 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 73, },
1596 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 71, },
1597 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 69, },
1598 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 67, },
1599 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 65, },
1600 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 63, },
1601 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 61, },
1602 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 59, },
1603 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 72, },
1604 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 70, },
1605 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 68, },
1606 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 66, },
1607 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 65, },
1608 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 63, },
1609 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 61, },
1610 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 59, },
1611 { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 73, },
1612 { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 71, },
1616 { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 90, },
1617 { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 88, },
1618 { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 85, },
1619 { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 83, },
1620 { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 81, },
1621 { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 78, },
1622 { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 76, },
1623 { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 74, },
1624 { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 72, },
1625 { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 70, },
1626 { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 68, },
1627 { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 66, },
1628 { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 64, },
1629 { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 62, },
1630 { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 60, },
1631 { .gm = 4, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 59, },
1632 { .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 72, },
1633 { .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 70, },
1634 { .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 68, },
1635 { .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 66, },
1636 { .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 64, },
1637 { .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 62, },
1638 { .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 60, },
1639 { .gm = 4, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 59, },
1640 { .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 72, },
1641 { .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 70, },
1642 { .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 68, },
1643 { .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 66, },
1644 { .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 64, },
1645 { .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 62, },
1646 { .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 60, },
1647 { .gm = 4, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 59, },
1648 { .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 72, },
1649 { .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 70, },
1650 { .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 68, },
1651 { .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 66, },
1652 { .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 64, },
1653 { .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 62, },
1654 { .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 60, },
1655 { .gm = 4, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 59, },
1656 { .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 72, },
1657 { .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 70, },
1658 { .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 68, },
1659 { .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 66, },
1660 { .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 64, },
1661 { .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 62, },
1662 { .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 60, },
1663 { .gm = 4, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 59, },
1664 { .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 72, },
1665 { .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 70, },
1666 { .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 68, },
1667 { .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 66, },
1668 { .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 64, },
1669 { .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 62, },
1670 { .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 60, },
1671 { .gm = 4, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 59, },
1672 { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 72, },
1673 { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 70, },
1674 { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 68, },
1675 { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 66, },
1676 { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 64, },
1677 { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 62, },
1678 { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 60, },
1679 { .gm = 4, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 59, },
1680 { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 72, },
1681 { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 70, },
1682 { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 68, },
1683 { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 66, },
1684 { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 64, },
1685 { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 62, },
1686 { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 60, },
1687 { .gm = 4, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 59, },
1688 { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 72, },
1689 { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 70, },
1690 { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 68, },
1691 { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 66, },
1692 { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 64, },
1693 { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 63, },
1694 { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 61, },
1695 { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 59, },
1696 { .gm = 4, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 57, },
1697 { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 72, },
1698 { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 70, },
1699 { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 68, },
1700 { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 66, },
1701 { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 64, },
1702 { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 62, },
1703 { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 60, },
1704 { .gm = 4, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 59, },
1705 { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 72, },
1706 { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 70, },
1707 { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 68, },
1708 { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 66, },
1709 { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 64, },
1710 { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 62, },
1711 { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 61, },
1712 { .gm = 4, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 59, },
1713 { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 73, },
1714 { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 71, },
1715 { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 69, },
1716 { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 67, },
1717 { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 65, },
1718 { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 63, },
1719 { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 61, },
1720 { .gm = 4, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 59, },
1721 { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 72, },
1722 { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 70, },
1723 { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 68, },
1724 { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 66, },
1725 { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 65, },
1726 { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 63, },
1727 { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 61, },
1728 { .gm = 4, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 59, },
1729 { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 73, },
1730 { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 71, },
1731 { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 69, },
1732 { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 67, },
1733 { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 65, },
1734 { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 63, },
1735 { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 61, },
1736 { .gm = 4, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 60, },
1737 { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 72, },
1738 { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 70, },
1739 { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 68, },
1740 { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 66, },
1741 { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 64, },
1742 { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 62, },
1743 { .gm = 4, .pga = 10, .pad = 6, .dac = 0, .bb_mult = 60, },
1747 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 99, },
1748 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 96, },
1749 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 93, },
1750 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 90, },
1751 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 88, },
1752 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 85, },
1753 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 83, },
1754 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 81, },
1755 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 78, },
1756 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 76, },
1757 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 74, },
1758 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 72, },
1759 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 70, },
1760 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 68, },
1761 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 66, },
1762 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 64, },
1763 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 62, },
1764 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 60, },
1765 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 59, },
1766 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 57, },
1767 { .gm = 7, .pga = 15, .pad = 15, .dac = 0, .bb_mult = 55, },
1768 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 72, },
1769 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 70, },
1770 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 68, },
1771 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 66, },
1772 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 64, },
1773 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 62, },
1774 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 60, },
1775 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 58, },
1776 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 56, },
1777 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 55, },
1778 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 71, },
1779 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 69, },
1780 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 67, },
1781 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 65, },
1782 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 63, },
1783 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 62, },
1784 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 60, },
1785 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 58, },
1786 { .gm = 7, .pga = 15, .pad = 13, .dac = 0, .bb_mult = 56, },
1787 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 72, },
1788 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 70, },
1789 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 68, },
1790 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 66, },
1791 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 64, },
1792 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 62, },
1793 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 60, },
1794 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 59, },
1795 { .gm = 7, .pga = 15, .pad = 12, .dac = 0, .bb_mult = 57, },
1796 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 73, },
1797 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 71, },
1798 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 69, },
1799 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 67, },
1800 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 65, },
1801 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 63, },
1802 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 61, },
1803 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 60, },
1804 { .gm = 7, .pga = 15, .pad = 11, .dac = 0, .bb_mult = 58, },
1805 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 71, },
1806 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 69, },
1807 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 67, },
1808 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 65, },
1809 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 63, },
1810 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 61, },
1811 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 60, },
1812 { .gm = 7, .pga = 15, .pad = 10, .dac = 0, .bb_mult = 58, },
1813 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 70, },
1814 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 68, },
1815 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 66, },
1816 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 64, },
1817 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 62, },
1818 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 61, },
1819 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 59, },
1820 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 57, },
1821 { .gm = 7, .pga = 15, .pad = 9, .dac = 0, .bb_mult = 56, },
1822 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 68, },
1823 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 66, },
1824 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 65, },
1825 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 63, },
1826 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 61, },
1827 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 59, },
1828 { .gm = 7, .pga = 14, .pad = 9, .dac = 0, .bb_mult = 58, },
1829 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 70, },
1830 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 68, },
1831 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 66, },
1832 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 64, },
1833 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 63, },
1834 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 61, },
1835 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 59, },
1836 { .gm = 7, .pga = 13, .pad = 9, .dac = 0, .bb_mult = 57, },
1837 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 70, },
1838 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 68, },
1839 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 66, },
1840 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 64, },
1841 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 62, },
1842 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 60, },
1843 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 59, },
1844 { .gm = 7, .pga = 13, .pad = 8, .dac = 0, .bb_mult = 57, },
1845 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 70, },
1846 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 68, },
1847 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 66, },
1848 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 64, },
1849 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 62, },
1850 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 61, },
1851 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 59, },
1852 { .gm = 7, .pga = 12, .pad = 8, .dac = 0, .bb_mult = 57, },
1853 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 70, },
1854 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 68, },
1855 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 66, },
1856 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 64, },
1857 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 62, },
1858 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 61, },
1859 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 59, },
1860 { .gm = 7, .pga = 12, .pad = 7, .dac = 0, .bb_mult = 57, },
1861 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 70, },
1862 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 68, },
1863 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 66, },
1864 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 64, },
1865 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 62, },
1866 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 61, },
1867 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 59, },
1868 { .gm = 7, .pga = 11, .pad = 7, .dac = 0, .bb_mult = 57, },
1869 { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 69, },
1870 { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 67, },
1871 { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 65, },
1872 { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 63, },
1873 { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 62, },
1874 { .gm = 7, .pga = 11, .pad = 6, .dac = 0, .bb_mult = 60, },
1878 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 152, },
1879 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 147, },
1880 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 143, },
1881 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 139, },
1882 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 135, },
1883 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 131, },
1884 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 128, },
1885 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 124, },
1886 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 121, },
1887 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 117, },
1888 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 114, },
1889 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 111, },
1890 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 107, },
1891 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 104, },
1892 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 101, },
1893 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 99, },
1894 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 96, },
1895 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 93, },
1896 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 90, },
1897 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 88, },
1898 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 85, },
1899 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 83, },
1900 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 81, },
1901 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 78, },
1902 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 76, },
1903 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 74, },
1904 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 72, },
1905 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 70, },
1906 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 68, },
1907 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 66, },
1908 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 64, },
1909 { .gm = 255, .pga = 255, .pad = 197, .dac = 0, .bb_mult = 64, },
1910 { .gm = 255, .pga = 255, .pad = 192, .dac = 0, .bb_mult = 64, },
1911 { .gm = 255, .pga = 255, .pad = 186, .dac = 0, .bb_mult = 64, },
1912 { .gm = 255, .pga = 255, .pad = 181, .dac = 0, .bb_mult = 64, },
1913 { .gm = 255, .pga = 255, .pad = 176, .dac = 0, .bb_mult = 64, },
1914 { .gm = 255, .pga = 255, .pad = 171, .dac = 0, .bb_mult = 64, },
1915 { .gm = 255, .pga = 255, .pad = 166, .dac = 0, .bb_mult = 64, },
1916 { .gm = 255, .pga = 255, .pad = 161, .dac = 0, .bb_mult = 64, },
1917 { .gm = 255, .pga = 255, .pad = 157, .dac = 0, .bb_mult = 64, },
1918 { .gm = 255, .pga = 255, .pad = 152, .dac = 0, .bb_mult = 64, },
1919 { .gm = 255, .pga = 255, .pad = 148, .dac = 0, .bb_mult = 64, },
1920 { .gm = 255, .pga = 255, .pad = 144, .dac = 0, .bb_mult = 64, },
1921 { .gm = 255, .pga = 255, .pad = 140, .dac = 0, .bb_mult = 64, },
1922 { .gm = 255, .pga = 255, .pad = 136, .dac = 0, .bb_mult = 64, },
1923 { .gm = 255, .pga = 255, .pad = 132, .dac = 0, .bb_mult = 64, },
1924 { .gm = 255, .pga = 255, .pad = 128, .dac = 0, .bb_mult = 64, },
1925 { .gm = 255, .pga = 255, .pad = 124, .dac = 0, .bb_mult = 64, },
1926 { .gm = 255, .pga = 255, .pad = 121, .dac = 0, .bb_mult = 64, },
1927 { .gm = 255, .pga = 255, .pad = 117, .dac = 0, .bb_mult = 64, },
1928 { .gm = 255, .pga = 255, .pad = 114, .dac = 0, .bb_mult = 64, },
1929 { .gm = 255, .pga = 255, .pad = 111, .dac = 0, .bb_mult = 64, },
1930 { .gm = 255, .pga = 255, .pad = 108, .dac = 0, .bb_mult = 64, },
1931 { .gm = 255, .pga = 255, .pad = 105, .dac = 0, .bb_mult = 64, },
1932 { .gm = 255, .pga = 255, .pad = 102, .dac = 0, .bb_mult = 64, },
1933 { .gm = 255, .pga = 255, .pad = 99, .dac = 0, .bb_mult = 64, },
1934 { .gm = 255, .pga = 255, .pad = 96, .dac = 0, .bb_mult = 64, },
1935 { .gm = 255, .pga = 255, .pad = 93, .dac = 0, .bb_mult = 64, },
1936 { .gm = 255, .pga = 255, .pad = 91, .dac = 0, .bb_mult = 64, },
1937 { .gm = 255, .pga = 255, .pad = 88, .dac = 0, .bb_mult = 64, },
1938 { .gm = 255, .pga = 255, .pad = 86, .dac = 0, .bb_mult = 64, },
1939 { .gm = 255, .pga = 255, .pad = 83, .dac = 0, .bb_mult = 64, },
1940 { .gm = 255, .pga = 255, .pad = 81, .dac = 0, .bb_mult = 64, },
1941 { .gm = 255, .pga = 255, .pad = 79, .dac = 0, .bb_mult = 64, },
1942 { .gm = 255, .pga = 255, .pad = 76, .dac = 0, .bb_mult = 64, },
1943 { .gm = 255, .pga = 255, .pad = 74, .dac = 0, .bb_mult = 64, },
1944 { .gm = 255, .pga = 255, .pad = 72, .dac = 0, .bb_mult = 64, },
1945 { .gm = 255, .pga = 255, .pad = 70, .dac = 0, .bb_mult = 64, },
1946 { .gm = 255, .pga = 255, .pad = 68, .dac = 0, .bb_mult = 64, },
1947 { .gm = 255, .pga = 255, .pad = 66, .dac = 0, .bb_mult = 64, },
1948 { .gm = 255, .pga = 255, .pad = 64, .dac = 0, .bb_mult = 64, },
1949 { .gm = 255, .pga = 248, .pad = 64, .dac = 0, .bb_mult = 64, },
1950 { .gm = 255, .pga = 248, .pad = 62, .dac = 0, .bb_mult = 64, },
1951 { .gm = 255, .pga = 241, .pad = 62, .dac = 0, .bb_mult = 64, },
1952 { .gm = 255, .pga = 241, .pad = 60, .dac = 0, .bb_mult = 64, },
1953 { .gm = 255, .pga = 234, .pad = 60, .dac = 0, .bb_mult = 64, },
1954 { .gm = 255, .pga = 234, .pad = 59, .dac = 0, .bb_mult = 64, },
1955 { .gm = 255, .pga = 227, .pad = 59, .dac = 0, .bb_mult = 64, },
1956 { .gm = 255, .pga = 227, .pad = 57, .dac = 0, .bb_mult = 64, },
1957 { .gm = 255, .pga = 221, .pad = 57, .dac = 0, .bb_mult = 64, },
1958 { .gm = 255, .pga = 221, .pad = 55, .dac = 0, .bb_mult = 64, },
1959 { .gm = 255, .pga = 215, .pad = 55, .dac = 0, .bb_mult = 64, },
1960 { .gm = 255, .pga = 215, .pad = 54, .dac = 0, .bb_mult = 64, },
1961 { .gm = 255, .pga = 208, .pad = 54, .dac = 0, .bb_mult = 64, },
1962 { .gm = 255, .pga = 208, .pad = 52, .dac = 0, .bb_mult = 64, },
1963 { .gm = 255, .pga = 203, .pad = 52, .dac = 0, .bb_mult = 64, },
1964 { .gm = 255, .pga = 203, .pad = 51, .dac = 0, .bb_mult = 64, },
1965 { .gm = 255, .pga = 197, .pad = 51, .dac = 0, .bb_mult = 64, },
1966 { .gm = 255, .pga = 197, .pad = 49, .dac = 0, .bb_mult = 64, },
1967 { .gm = 255, .pga = 191, .pad = 49, .dac = 0, .bb_mult = 64, },
1968 { .gm = 255, .pga = 191, .pad = 48, .dac = 0, .bb_mult = 64, },
1969 { .gm = 255, .pga = 186, .pad = 48, .dac = 0, .bb_mult = 64, },
1970 { .gm = 255, .pga = 186, .pad = 47, .dac = 0, .bb_mult = 64, },
1971 { .gm = 255, .pga = 181, .pad = 47, .dac = 0, .bb_mult = 64, },
1972 { .gm = 255, .pga = 181, .pad = 45, .dac = 0, .bb_mult = 64, },
1973 { .gm = 255, .pga = 175, .pad = 45, .dac = 0, .bb_mult = 64, },
1974 { .gm = 255, .pga = 175, .pad = 44, .dac = 0, .bb_mult = 64, },
1975 { .gm = 255, .pga = 170, .pad = 44, .dac = 0, .bb_mult = 64, },
1976 { .gm = 255, .pga = 170, .pad = 43, .dac = 0, .bb_mult = 64, },
1977 { .gm = 255, .pga = 166, .pad = 43, .dac = 0, .bb_mult = 64, },
1978 { .gm = 255, .pga = 166, .pad = 42, .dac = 0, .bb_mult = 64, },
1979 { .gm = 255, .pga = 161, .pad = 42, .dac = 0, .bb_mult = 64, },
1980 { .gm = 255, .pga = 161, .pad = 40, .dac = 0, .bb_mult = 64, },
1981 { .gm = 255, .pga = 156, .pad = 40, .dac = 0, .bb_mult = 64, },
1982 { .gm = 255, .pga = 156, .pad = 39, .dac = 0, .bb_mult = 64, },
1983 { .gm = 255, .pga = 152, .pad = 39, .dac = 0, .bb_mult = 64, },
1984 { .gm = 255, .pga = 152, .pad = 38, .dac = 0, .bb_mult = 64, },
1985 { .gm = 255, .pga = 148, .pad = 38, .dac = 0, .bb_mult = 64, },
1986 { .gm = 255, .pga = 148, .pad = 37, .dac = 0, .bb_mult = 64, },
1987 { .gm = 255, .pga = 143, .pad = 37, .dac = 0, .bb_mult = 64, },
1988 { .gm = 255, .pga = 143, .pad = 36, .dac = 0, .bb_mult = 64, },
1989 { .gm = 255, .pga = 139, .pad = 36, .dac = 0, .bb_mult = 64, },
1990 { .gm = 255, .pga = 139, .pad = 35, .dac = 0, .bb_mult = 64, },
1991 { .gm = 255, .pga = 135, .pad = 35, .dac = 0, .bb_mult = 64, },
1992 { .gm = 255, .pga = 135, .pad = 34, .dac = 0, .bb_mult = 64, },
1993 { .gm = 255, .pga = 132, .pad = 34, .dac = 0, .bb_mult = 64, },
1994 { .gm = 255, .pga = 132, .pad = 33, .dac = 0, .bb_mult = 64, },
1995 { .gm = 255, .pga = 128, .pad = 33, .dac = 0, .bb_mult = 64, },
1996 { .gm = 255, .pga = 128, .pad = 32, .dac = 0, .bb_mult = 64, },
1997 { .gm = 255, .pga = 124, .pad = 32, .dac = 0, .bb_mult = 64, },
1998 { .gm = 255, .pga = 124, .pad = 31, .dac = 0, .bb_mult = 64, },
1999 { .gm = 255, .pga = 121, .pad = 31, .dac = 0, .bb_mult = 64, },
2000 { .gm = 255, .pga = 121, .pad = 30, .dac = 0, .bb_mult = 64, },
2001 { .gm = 255, .pga = 117, .pad = 30, .dac = 0, .bb_mult = 64, },
2002 { .gm = 255, .pga = 117, .pad = 29, .dac = 0, .bb_mult = 64, },
2003 { .gm = 255, .pga = 114, .pad = 29, .dac = 0, .bb_mult = 64, },
2004 { .gm = 255, .pga = 114, .pad = 29, .dac = 0, .bb_mult = 64, },
2005 { .gm = 255, .pga = 111, .pad = 29, .dac = 0, .bb_mult = 64, },
2009 { .gm = 7, .pga = 99, .pad = 255, .dac = 0, .bb_mult = 64, },
2010 { .gm = 7, .pga = 96, .pad = 255, .dac = 0, .bb_mult = 64, },
2011 { .gm = 7, .pga = 93, .pad = 255, .dac = 0, .bb_mult = 64, },
2012 { .gm = 7, .pga = 90, .pad = 255, .dac = 0, .bb_mult = 64, },
2013 { .gm = 7, .pga = 88, .pad = 255, .dac = 0, .bb_mult = 64, },
2014 { .gm = 7, .pga = 85, .pad = 255, .dac = 0, .bb_mult = 64, },
2015 { .gm = 7, .pga = 83, .pad = 255, .dac = 0, .bb_mult = 64, },
2016 { .gm = 7, .pga = 81, .pad = 255, .dac = 0, .bb_mult = 64, },
2017 { .gm = 7, .pga = 78, .pad = 255, .dac = 0, .bb_mult = 64, },
2018 { .gm = 7, .pga = 76, .pad = 255, .dac = 0, .bb_mult = 64, },
2019 { .gm = 7, .pga = 74, .pad = 255, .dac = 0, .bb_mult = 64, },
2020 { .gm = 7, .pga = 72, .pad = 255, .dac = 0, .bb_mult = 64, },
2021 { .gm = 7, .pga = 70, .pad = 255, .dac = 0, .bb_mult = 64, },
2022 { .gm = 7, .pga = 68, .pad = 255, .dac = 0, .bb_mult = 64, },
2023 { .gm = 7, .pga = 66, .pad = 255, .dac = 0, .bb_mult = 64, },
2024 { .gm = 7, .pga = 64, .pad = 255, .dac = 0, .bb_mult = 64, },
2025 { .gm = 7, .pga = 64, .pad = 255, .dac = 0, .bb_mult = 64, },
2026 { .gm = 7, .pga = 62, .pad = 255, .dac = 0, .bb_mult = 64, },
2027 { .gm = 7, .pga = 62, .pad = 248, .dac = 0, .bb_mult = 64, },
2028 { .gm = 7, .pga = 60, .pad = 248, .dac = 0, .bb_mult = 64, },
2029 { .gm = 7, .pga = 60, .pad = 241, .dac = 0, .bb_mult = 64, },
2030 { .gm = 7, .pga = 59, .pad = 241, .dac = 0, .bb_mult = 64, },
2031 { .gm = 7, .pga = 59, .pad = 234, .dac = 0, .bb_mult = 64, },
2032 { .gm = 7, .pga = 57, .pad = 234, .dac = 0, .bb_mult = 64, },
2033 { .gm = 7, .pga = 57, .pad = 227, .dac = 0, .bb_mult = 64, },
2034 { .gm = 7, .pga = 55, .pad = 227, .dac = 0, .bb_mult = 64, },
2035 { .gm = 7, .pga = 55, .pad = 221, .dac = 0, .bb_mult = 64, },
2036 { .gm = 7, .pga = 54, .pad = 221, .dac = 0, .bb_mult = 64, },
2037 { .gm = 7, .pga = 54, .pad = 215, .dac = 0, .bb_mult = 64, },
2038 { .gm = 7, .pga = 52, .pad = 215, .dac = 0, .bb_mult = 64, },
2039 { .gm = 7, .pga = 52, .pad = 208, .dac = 0, .bb_mult = 64, },
2040 { .gm = 7, .pga = 51, .pad = 208, .dac = 0, .bb_mult = 64, },
2041 { .gm = 7, .pga = 51, .pad = 203, .dac = 0, .bb_mult = 64, },
2042 { .gm = 7, .pga = 49, .pad = 203, .dac = 0, .bb_mult = 64, },
2043 { .gm = 7, .pga = 49, .pad = 197, .dac = 0, .bb_mult = 64, },
2044 { .gm = 7, .pga = 48, .pad = 197, .dac = 0, .bb_mult = 64, },
2045 { .gm = 7, .pga = 48, .pad = 191, .dac = 0, .bb_mult = 64, },
2046 { .gm = 7, .pga = 47, .pad = 191, .dac = 0, .bb_mult = 64, },
2047 { .gm = 7, .pga = 47, .pad = 186, .dac = 0, .bb_mult = 64, },
2048 { .gm = 7, .pga = 45, .pad = 186, .dac = 0, .bb_mult = 64, },
2049 { .gm = 7, .pga = 45, .pad = 181, .dac = 0, .bb_mult = 64, },
2050 { .gm = 7, .pga = 44, .pad = 181, .dac = 0, .bb_mult = 64, },
2051 { .gm = 7, .pga = 44, .pad = 175, .dac = 0, .bb_mult = 64, },
2052 { .gm = 7, .pga = 43, .pad = 175, .dac = 0, .bb_mult = 64, },
2053 { .gm = 7, .pga = 43, .pad = 170, .dac = 0, .bb_mult = 64, },
2054 { .gm = 7, .pga = 42, .pad = 170, .dac = 0, .bb_mult = 64, },
2055 { .gm = 7, .pga = 42, .pad = 166, .dac = 0, .bb_mult = 64, },
2056 { .gm = 7, .pga = 40, .pad = 166, .dac = 0, .bb_mult = 64, },
2057 { .gm = 7, .pga = 40, .pad = 161, .dac = 0, .bb_mult = 64, },
2058 { .gm = 7, .pga = 39, .pad = 161, .dac = 0, .bb_mult = 64, },
2059 { .gm = 7, .pga = 39, .pad = 156, .dac = 0, .bb_mult = 64, },
2060 { .gm = 7, .pga = 38, .pad = 156, .dac = 0, .bb_mult = 64, },
2061 { .gm = 7, .pga = 38, .pad = 152, .dac = 0, .bb_mult = 64, },
2062 { .gm = 7, .pga = 37, .pad = 152, .dac = 0, .bb_mult = 64, },
2063 { .gm = 7, .pga = 37, .pad = 148, .dac = 0, .bb_mult = 64, },
2064 { .gm = 7, .pga = 36, .pad = 148, .dac = 0, .bb_mult = 64, },
2065 { .gm = 7, .pga = 36, .pad = 143, .dac = 0, .bb_mult = 64, },
2066 { .gm = 7, .pga = 35, .pad = 143, .dac = 0, .bb_mult = 64, },
2067 { .gm = 7, .pga = 35, .pad = 139, .dac = 0, .bb_mult = 64, },
2068 { .gm = 7, .pga = 34, .pad = 139, .dac = 0, .bb_mult = 64, },
2069 { .gm = 7, .pga = 34, .pad = 135, .dac = 0, .bb_mult = 64, },
2070 { .gm = 7, .pga = 33, .pad = 135, .dac = 0, .bb_mult = 64, },
2071 { .gm = 7, .pga = 33, .pad = 132, .dac = 0, .bb_mult = 64, },
2072 { .gm = 7, .pga = 32, .pad = 132, .dac = 0, .bb_mult = 64, },
2073 { .gm = 7, .pga = 32, .pad = 128, .dac = 0, .bb_mult = 64, },
2074 { .gm = 7, .pga = 31, .pad = 128, .dac = 0, .bb_mult = 64, },
2075 { .gm = 7, .pga = 31, .pad = 124, .dac = 0, .bb_mult = 64, },
2076 { .gm = 7, .pga = 30, .pad = 124, .dac = 0, .bb_mult = 64, },
2077 { .gm = 7, .pga = 30, .pad = 121, .dac = 0, .bb_mult = 64, },
2078 { .gm = 7, .pga = 29, .pad = 121, .dac = 0, .bb_mult = 64, },
2079 { .gm = 7, .pga = 29, .pad = 117, .dac = 0, .bb_mult = 64, },
2080 { .gm = 7, .pga = 29, .pad = 117, .dac = 0, .bb_mult = 64, },
2081 { .gm = 7, .pga = 29, .pad = 114, .dac = 0, .bb_mult = 64, },
2082 { .gm = 7, .pga = 28, .pad = 114, .dac = 0, .bb_mult = 64, },
2083 { .gm = 7, .pga = 28, .pad = 111, .dac = 0, .bb_mult = 64, },
2084 { .gm = 7, .pga = 27, .pad = 111, .dac = 0, .bb_mult = 64, },
2085 { .gm = 7, .pga = 27, .pad = 108, .dac = 0, .bb_mult = 64, },
2086 { .gm = 7, .pga = 26, .pad = 108, .dac = 0, .bb_mult = 64, },
2087 { .gm = 7, .pga = 26, .pad = 104, .dac = 0, .bb_mult = 64, },
2088 { .gm = 7, .pga = 25, .pad = 104, .dac = 0, .bb_mult = 64, },
2089 { .gm = 7, .pga = 25, .pad = 102, .dac = 0, .bb_mult = 64, },
2090 { .gm = 7, .pga = 25, .pad = 102, .dac = 0, .bb_mult = 64, },
2091 { .gm = 7, .pga = 25, .pad = 99, .dac = 0, .bb_mult = 64, },
2092 { .gm = 7, .pga = 24, .pad = 99, .dac = 0, .bb_mult = 64, },
2093 { .gm = 7, .pga = 24, .pad = 96, .dac = 0, .bb_mult = 64, },
2094 { .gm = 7, .pga = 23, .pad = 96, .dac = 0, .bb_mult = 64, },
2095 { .gm = 7, .pga = 23, .pad = 93, .dac = 0, .bb_mult = 64, },
2096 { .gm = 7, .pga = 23, .pad = 93, .dac = 0, .bb_mult = 64, },
2097 { .gm = 7, .pga = 23, .pad = 90, .dac = 0, .bb_mult = 64, },
2098 { .gm = 7, .pga = 22, .pad = 90, .dac = 0, .bb_mult = 64, },
2099 { .gm = 7, .pga = 22, .pad = 88, .dac = 0, .bb_mult = 64, },
2100 { .gm = 7, .pga = 21, .pad = 88, .dac = 0, .bb_mult = 64, },
2101 { .gm = 7, .pga = 21, .pad = 85, .dac = 0, .bb_mult = 64, },
2102 { .gm = 7, .pga = 21, .pad = 85, .dac = 0, .bb_mult = 64, },
2103 { .gm = 7, .pga = 21, .pad = 83, .dac = 0, .bb_mult = 64, },
2104 { .gm = 7, .pga = 20, .pad = 83, .dac = 0, .bb_mult = 64, },
2105 { .gm = 7, .pga = 20, .pad = 81, .dac = 0, .bb_mult = 64, },
2106 { .gm = 7, .pga = 20, .pad = 81, .dac = 0, .bb_mult = 64, },
2107 { .gm = 7, .pga = 20, .pad = 78, .dac = 0, .bb_mult = 64, },
2108 { .gm = 7, .pga = 19, .pad = 78, .dac = 0, .bb_mult = 64, },
2109 { .gm = 7, .pga = 19, .pad = 76, .dac = 0, .bb_mult = 64, },
2110 { .gm = 7, .pga = 19, .pad = 76, .dac = 0, .bb_mult = 64, },
2111 { .gm = 7, .pga = 19, .pad = 74, .dac = 0, .bb_mult = 64, },
2112 { .gm = 7, .pga = 18, .pad = 74, .dac = 0, .bb_mult = 64, },
2113 { .gm = 7, .pga = 18, .pad = 72, .dac = 0, .bb_mult = 64, },
2114 { .gm = 7, .pga = 18, .pad = 72, .dac = 0, .bb_mult = 64, },
2115 { .gm = 7, .pga = 18, .pad = 70, .dac = 0, .bb_mult = 64, },
2116 { .gm = 7, .pga = 17, .pad = 70, .dac = 0, .bb_mult = 64, },
2117 { .gm = 7, .pga = 17, .pad = 68, .dac = 0, .bb_mult = 64, },
2118 { .gm = 7, .pga = 17, .pad = 68, .dac = 0, .bb_mult = 64, },
2119 { .gm = 7, .pga = 17, .pad = 66, .dac = 0, .bb_mult = 64, },
2120 { .gm = 7, .pga = 16, .pad = 66, .dac = 0, .bb_mult = 64, },
2121 { .gm = 7, .pga = 16, .pad = 64, .dac = 0, .bb_mult = 64, },
2122 { .gm = 7, .pga = 16, .pad = 64, .dac = 0, .bb_mult = 64, },
2123 { .gm = 7, .pga = 16, .pad = 62, .dac = 0, .bb_mult = 64, },
2124 { .gm = 7, .pga = 15, .pad = 62, .dac = 0, .bb_mult = 64, },
2125 { .gm = 7, .pga = 15, .pad = 60, .dac = 0, .bb_mult = 64, },
2126 { .gm = 7, .pga = 15, .pad = 60, .dac = 0, .bb_mult = 64, },
2127 { .gm = 7, .pga = 15, .pad = 59, .dac = 0, .bb_mult = 64, },
2128 { .gm = 7, .pga = 14, .pad = 59, .dac = 0, .bb_mult = 64, },
2129 { .gm = 7, .pga = 14, .pad = 57, .dac = 0, .bb_mult = 64, },
2130 { .gm = 7, .pga = 14, .pad = 57, .dac = 0, .bb_mult = 64, },
2131 { .gm = 7, .pga = 14, .pad = 55, .dac = 0, .bb_mult = 64, },
2132 { .gm = 7, .pga = 14, .pad = 55, .dac = 0, .bb_mult = 64, },
2133 { .gm = 7, .pga = 14, .pad = 54, .dac = 0, .bb_mult = 64, },
2134 { .gm = 7, .pga = 13, .pad = 54, .dac = 0, .bb_mult = 64, },
2135 { .gm = 7, .pga = 13, .pad = 52, .dac = 0, .bb_mult = 64, },
2136 { .gm = 7, .pga = 13, .pad = 52, .dac = 0, .bb_mult = 64, },
2140 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 152, },
2141 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 147, },
2142 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 143, },
2143 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 139, },
2144 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 135, },
2145 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 131, },
2146 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 128, },
2147 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 124, },
2148 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 121, },
2149 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 117, },
2150 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 114, },
2151 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 111, },
2152 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 107, },
2153 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 104, },
2154 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 101, },
2155 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 99, },
2156 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 96, },
2157 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 93, },
2158 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 90, },
2159 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 88, },
2160 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 85, },
2161 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 83, },
2162 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 81, },
2163 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 78, },
2164 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 76, },
2165 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 74, },
2166 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 72, },
2167 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 70, },
2168 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 68, },
2169 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 66, },
2170 { .gm = 255, .pga = 255, .pad = 255, .dac = 0, .bb_mult = 64, },
2171 { .gm = 255, .pga = 255, .pad = 248, .dac = 0, .bb_mult = 64, },
2172 { .gm = 255, .pga = 255, .pad = 241, .dac = 0, .bb_mult = 64, },
2173 { .gm = 255, .pga = 255, .pad = 234, .dac = 0, .bb_mult = 64, },
2174 { .gm = 255, .pga = 255, .pad = 227, .dac = 0, .bb_mult = 64, },
2175 { .gm = 255, .pga = 255, .pad = 221, .dac = 0, .bb_mult = 64, },
2176 { .gm = 255, .pga = 255, .pad = 215, .dac = 0, .bb_mult = 64, },
2177 { .gm = 255, .pga = 255, .pad = 208, .dac = 0, .bb_mult = 64, },
2178 { .gm = 255, .pga = 255, .pad = 203, .dac = 0, .bb_mult = 64, },
2179 { .gm = 255, .pga = 255, .pad = 197, .dac = 0, .bb_mult = 64, },
2180 { .gm = 255, .pga = 255, .pad = 191, .dac = 0, .bb_mult = 64, },
2181 { .gm = 255, .pga = 255, .pad = 186, .dac = 0, .bb_mult = 64, },
2182 { .gm = 255, .pga = 255, .pad = 181, .dac = 0, .bb_mult = 64, },
2183 { .gm = 255, .pga = 255, .pad = 175, .dac = 0, .bb_mult = 64, },
2184 { .gm = 255, .pga = 255, .pad = 170, .dac = 0, .bb_mult = 64, },
2185 { .gm = 255, .pga = 255, .pad = 166, .dac = 0, .bb_mult = 64, },
2186 { .gm = 255, .pga = 255, .pad = 161, .dac = 0, .bb_mult = 64, },
2187 { .gm = 255, .pga = 255, .pad = 156, .dac = 0, .bb_mult = 64, },
2188 { .gm = 255, .pga = 255, .pad = 152, .dac = 0, .bb_mult = 64, },
2189 { .gm = 255, .pga = 255, .pad = 148, .dac = 0, .bb_mult = 64, },
2190 { .gm = 255, .pga = 255, .pad = 143, .dac = 0, .bb_mult = 64, },
2191 { .gm = 255, .pga = 255, .pad = 139, .dac = 0, .bb_mult = 64, },
2192 { .gm = 255, .pga = 255, .pad = 135, .dac = 0, .bb_mult = 64, },
2193 { .gm = 255, .pga = 255, .pad = 132, .dac = 0, .bb_mult = 64, },
2194 { .gm = 255, .pga = 255, .pad = 128, .dac = 0, .bb_mult = 64, },
2195 { .gm = 255, .pga = 255, .pad = 124, .dac = 0, .bb_mult = 64, },
2196 { .gm = 255, .pga = 255, .pad = 121, .dac = 0, .bb_mult = 64, },
2197 { .gm = 255, .pga = 255, .pad = 117, .dac = 0, .bb_mult = 64, },
2198 { .gm = 255, .pga = 255, .pad = 114, .dac = 0, .bb_mult = 64, },
2199 { .gm = 255, .pga = 255, .pad = 111, .dac = 0, .bb_mult = 64, },
2200 { .gm = 255, .pga = 255, .pad = 108, .dac = 0, .bb_mult = 64, },
2201 { .gm = 255, .pga = 255, .pad = 104, .dac = 0, .bb_mult = 64, },
2202 { .gm = 255, .pga = 255, .pad = 102, .dac = 0, .bb_mult = 64, },
2203 { .gm = 255, .pga = 255, .pad = 99, .dac = 0, .bb_mult = 64, },
2204 { .gm = 255, .pga = 255, .pad = 96, .dac = 0, .bb_mult = 64, },
2205 { .gm = 255, .pga = 255, .pad = 93, .dac = 0, .bb_mult = 64, },
2206 { .gm = 255, .pga = 255, .pad = 90, .dac = 0, .bb_mult = 64, },
2207 { .gm = 255, .pga = 255, .pad = 88, .dac = 0, .bb_mult = 64, },
2208 { .gm = 255, .pga = 255, .pad = 85, .dac = 0, .bb_mult = 64, },
2209 { .gm = 255, .pga = 255, .pad = 83, .dac = 0, .bb_mult = 64, },
2210 { .gm = 255, .pga = 255, .pad = 81, .dac = 0, .bb_mult = 64, },
2211 { .gm = 255, .pga = 255, .pad = 78, .dac = 0, .bb_mult = 64, },
2212 { .gm = 255, .pga = 255, .pad = 76, .dac = 0, .bb_mult = 64, },
2213 { .gm = 255, .pga = 255, .pad = 74, .dac = 0, .bb_mult = 64, },
2214 { .gm = 255, .pga = 255, .pad = 72, .dac = 0, .bb_mult = 64, },
2215 { .gm = 255, .pga = 255, .pad = 70, .dac = 0, .bb_mult = 64, },
2216 { .gm = 255, .pga = 255, .pad = 68, .dac = 0, .bb_mult = 64, },
2217 { .gm = 255, .pga = 255, .pad = 66, .dac = 0, .bb_mult = 64, },
2218 { .gm = 255, .pga = 255, .pad = 64, .dac = 0, .bb_mult = 64, },
2219 { .gm = 255, .pga = 255, .pad = 64, .dac = 0, .bb_mult = 64, },
2220 { .gm = 255, .pga = 255, .pad = 62, .dac = 0, .bb_mult = 64, },
2221 { .gm = 255, .pga = 248, .pad = 62, .dac = 0, .bb_mult = 64, },
2222 { .gm = 255, .pga = 248, .pad = 60, .dac = 0, .bb_mult = 64, },
2223 { .gm = 255, .pga = 241, .pad = 60, .dac = 0, .bb_mult = 64, },
2224 { .gm = 255, .pga = 241, .pad = 59, .dac = 0, .bb_mult = 64, },
2225 { .gm = 255, .pga = 234, .pad = 59, .dac = 0, .bb_mult = 64, },
2226 { .gm = 255, .pga = 234, .pad = 57, .dac = 0, .bb_mult = 64, },
2227 { .gm = 255, .pga = 227, .pad = 57, .dac = 0, .bb_mult = 64, },
2228 { .gm = 255, .pga = 227, .pad = 55, .dac = 0, .bb_mult = 64, },
2229 { .gm = 255, .pga = 221, .pad = 55, .dac = 0, .bb_mult = 64, },
2230 { .gm = 255, .pga = 221, .pad = 54, .dac = 0, .bb_mult = 64, },
2231 { .gm = 255, .pga = 215, .pad = 54, .dac = 0, .bb_mult = 64, },
2232 { .gm = 255, .pga = 215, .pad = 52, .dac = 0, .bb_mult = 64, },
2233 { .gm = 255, .pga = 208, .pad = 52, .dac = 0, .bb_mult = 64, },
2234 { .gm = 255, .pga = 208, .pad = 51, .dac = 0, .bb_mult = 64, },
2235 { .gm = 255, .pga = 203, .pad = 51, .dac = 0, .bb_mult = 64, },
2236 { .gm = 255, .pga = 203, .pad = 49, .dac = 0, .bb_mult = 64, },
2237 { .gm = 255, .pga = 197, .pad = 49, .dac = 0, .bb_mult = 64, },
2238 { .gm = 255, .pga = 197, .pad = 48, .dac = 0, .bb_mult = 64, },
2239 { .gm = 255, .pga = 191, .pad = 48, .dac = 0, .bb_mult = 64, },
2240 { .gm = 255, .pga = 191, .pad = 47, .dac = 0, .bb_mult = 64, },
2241 { .gm = 255, .pga = 186, .pad = 47, .dac = 0, .bb_mult = 64, },
2242 { .gm = 255, .pga = 186, .pad = 45, .dac = 0, .bb_mult = 64, },
2243 { .gm = 255, .pga = 181, .pad = 45, .dac = 0, .bb_mult = 64, },
2244 { .gm = 255, .pga = 181, .pad = 44, .dac = 0, .bb_mult = 64, },
2245 { .gm = 255, .pga = 175, .pad = 44, .dac = 0, .bb_mult = 64, },
2246 { .gm = 255, .pga = 175, .pad = 43, .dac = 0, .bb_mult = 64, },
2247 { .gm = 255, .pga = 170, .pad = 43, .dac = 0, .bb_mult = 64, },
2248 { .gm = 255, .pga = 170, .pad = 42, .dac = 0, .bb_mult = 64, },
2249 { .gm = 255, .pga = 166, .pad = 42, .dac = 0, .bb_mult = 64, },
2250 { .gm = 255, .pga = 166, .pad = 40, .dac = 0, .bb_mult = 64, },
2251 { .gm = 255, .pga = 161, .pad = 40, .dac = 0, .bb_mult = 64, },
2252 { .gm = 255, .pga = 161, .pad = 39, .dac = 0, .bb_mult = 64, },
2253 { .gm = 255, .pga = 156, .pad = 39, .dac = 0, .bb_mult = 64, },
2254 { .gm = 255, .pga = 156, .pad = 38, .dac = 0, .bb_mult = 64, },
2255 { .gm = 255, .pga = 152, .pad = 38, .dac = 0, .bb_mult = 64, },
2256 { .gm = 255, .pga = 152, .pad = 37, .dac = 0, .bb_mult = 64, },
2257 { .gm = 255, .pga = 148, .pad = 37, .dac = 0, .bb_mult = 64, },
2258 { .gm = 255, .pga = 148, .pad = 36, .dac = 0, .bb_mult = 64, },
2259 { .gm = 255, .pga = 143, .pad = 36, .dac = 0, .bb_mult = 64, },
2260 { .gm = 255, .pga = 143, .pad = 35, .dac = 0, .bb_mult = 64, },
2261 { .gm = 255, .pga = 139, .pad = 35, .dac = 0, .bb_mult = 64, },
2262 { .gm = 255, .pga = 139, .pad = 34, .dac = 0, .bb_mult = 64, },
2263 { .gm = 255, .pga = 135, .pad = 34, .dac = 0, .bb_mult = 64, },
2264 { .gm = 255, .pga = 135, .pad = 33, .dac = 0, .bb_mult = 64, },
2265 { .gm = 255, .pga = 132, .pad = 33, .dac = 0, .bb_mult = 64, },
2266 { .gm = 255, .pga = 132, .pad = 32, .dac = 0, .bb_mult = 64, },
2267 { .gm = 255, .pga = 128, .pad = 32, .dac = 0, .bb_mult = 64, },
2362 tmp = data.pad << 11; lpphy_rev0_1_write_gain_table()
2378 tmp = data.pad << 16; lpphy_rev2plus_write_gain_table()
H A Dtables_lpphy.h32 u8 gm, pga, pad, dac, bb_mult; member in struct:lpphy_tx_gain_table_entry
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dpad.c24 #include "pad.h"
29 struct nvkm_i2c_pad *pad = (void *)object; _nvkm_i2c_pad_fini() local
31 pad->port = NULL; _nvkm_i2c_pad_fini()
32 return nvkm_object_fini(&pad->base, suspend); _nvkm_i2c_pad_fini()
38 struct nvkm_i2c_pad *pad = (void *)object; _nvkm_i2c_pad_init() local
39 DBG("-> PORT:%02x\n", pad->next->index); _nvkm_i2c_pad_init()
40 pad->port = pad->next; _nvkm_i2c_pad_init()
41 return nvkm_object_init(&pad->base); _nvkm_i2c_pad_init()
52 struct nvkm_i2c_pad *pad; nvkm_i2c_pad_create_() local
56 pad = nvkm_i2c_pad(port); nvkm_i2c_pad_create_()
57 if (pad->index == index) { nvkm_i2c_pad_create_()
58 atomic_inc(&nv_object(pad)->refcount); nvkm_i2c_pad_create_()
59 *pobject = pad; nvkm_i2c_pad_create_()
65 pad = *pobject; nvkm_i2c_pad_create_()
69 pad->index = index; nvkm_i2c_pad_create_()
78 struct nvkm_i2c_pad *pad; _nvkm_i2c_pad_ctor() local
80 ret = nvkm_i2c_pad_create(parent, engine, oclass, index, &pad); _nvkm_i2c_pad_ctor()
81 *pobject = nv_object(pad); _nvkm_i2c_pad_ctor()
H A Dpadg94.c24 #include "pad.h"
35 struct g94_i2c_pad *pad = (void *)object; g94_i2c_pad_fini() local
36 nv_mask(i2c, 0x00e50c + pad->addr, 0x00000001, 0x00000001); g94_i2c_pad_fini()
37 return nvkm_i2c_pad_fini(&pad->base, suspend); g94_i2c_pad_fini()
44 struct g94_i2c_pad *pad = (void *)object; g94_i2c_pad_init() local
46 switch (nv_oclass(pad->base.next)->handle) { g94_i2c_pad_init()
48 nv_mask(i2c, 0x00e500 + pad->addr, 0x0000c003, 0x00000002); g94_i2c_pad_init()
52 nv_mask(i2c, 0x00e500 + pad->addr, 0x0000c003, 0x0000c001); g94_i2c_pad_init()
56 nv_mask(i2c, 0x00e50c + pad->addr, 0x00000001, 0x00000000); g94_i2c_pad_init()
57 return nvkm_i2c_pad_init(&pad->base); g94_i2c_pad_init()
65 struct g94_i2c_pad *pad; g94_i2c_pad_ctor() local
68 ret = nvkm_i2c_pad_create(parent, engine, oclass, index, &pad); g94_i2c_pad_ctor()
69 *pobject = nv_object(pad); g94_i2c_pad_ctor()
73 pad->addr = index * 0x50;; g94_i2c_pad_ctor()
H A Dpadgm204.c24 #include "pad.h"
35 struct gm204_i2c_pad *pad = (void *)object; gm204_i2c_pad_fini() local
36 nv_mask(i2c, 0x00d97c + pad->addr, 0x00000001, 0x00000001); gm204_i2c_pad_fini()
37 return nvkm_i2c_pad_fini(&pad->base, suspend); gm204_i2c_pad_fini()
44 struct gm204_i2c_pad *pad = (void *)object; gm204_i2c_pad_init() local
46 switch (nv_oclass(pad->base.next)->handle) { gm204_i2c_pad_init()
48 nv_mask(i2c, 0x00d970 + pad->addr, 0x0000c003, 0x00000002); gm204_i2c_pad_init()
52 nv_mask(i2c, 0x00d970 + pad->addr, 0x0000c003, 0x0000c001); gm204_i2c_pad_init()
56 nv_mask(i2c, 0x00d97c + pad->addr, 0x00000001, 0x00000000); gm204_i2c_pad_init()
57 return nvkm_i2c_pad_init(&pad->base); gm204_i2c_pad_init()
65 struct gm204_i2c_pad *pad; gm204_i2c_pad_ctor() local
68 ret = nvkm_i2c_pad_create(parent, engine, oclass, index, &pad); gm204_i2c_pad_ctor()
69 *pobject = nv_object(pad); gm204_i2c_pad_ctor()
73 pad->addr = index * 0x50;; gm204_i2c_pad_ctor()
H A Dpad.h15 struct nvkm_object *pad = nv_object(port); nvkm_i2c_pad() local
16 while (!nv_iclass(pad->parent, NV_SUBDEV_CLASS)) nvkm_i2c_pad()
17 pad = pad->parent; nvkm_i2c_pad()
18 return (void *)pad; nvkm_i2c_pad()
48 struct nvkm_i2c_pad *_pad = (void *)pad; \
H A Dbase.c25 #include "pad.h"
95 struct nvkm_i2c_pad *pad = nvkm_i2c_pad(port); _nvkm_i2c_port_fini() local
96 nv_ofuncs(pad)->fini(nv_object(pad), suspend); _nvkm_i2c_port_fini()
214 struct nvkm_i2c_pad *pad = nvkm_i2c_pad(port); nvkm_i2c_release_pad() local
217 if (atomic_dec_and_test(&nv_object(pad)->usecount)) { nvkm_i2c_release_pad()
218 nv_ofuncs(pad)->fini(nv_object(pad), false); nvkm_i2c_release_pad()
226 struct nvkm_i2c_pad *pad = nvkm_i2c_pad(port); nvkm_i2c_try_acquire_pad() local
228 if (atomic_add_return(1, &nv_object(pad)->usecount) != 1) { nvkm_i2c_try_acquire_pad()
229 struct nvkm_object *owner = (void *)pad->port; nvkm_i2c_try_acquire_pad()
239 pad->next = port; nvkm_i2c_try_acquire_pad()
240 nv_ofuncs(pad)->init(nv_object(pad)); nvkm_i2c_try_acquire_pad()
263 __releases(pad->mutex)
271 __acquires(pad->mutex)
479 int ret, pad; nvkm_i2c_create_port() local
482 pad = info->share; nvkm_i2c_create_port()
486 pad = 0x100 + info->drive; nvkm_i2c_create_port()
488 pad = 0x100 + info->auxch; nvkm_i2c_create_port()
493 NULL, pad, &parent); nvkm_i2c_create_port()
H A Dpadnv04.c24 #include "pad.h"
/linux-4.1.27/drivers/pinctrl/qcom/
H A Dpinctrl-spmi-mpp.c159 struct pmic_mpp_pad *pad, unsigned int addr) pmic_mpp_read()
164 ret = regmap_read(state->map, pad->base + addr, &val); pmic_mpp_read()
174 struct pmic_mpp_pad *pad, unsigned int addr, pmic_mpp_write()
179 ret = regmap_write(state->map, pad->base + addr, val); pmic_mpp_write()
347 struct pmic_mpp_pad *pad; pmic_mpp_set_mux() local
351 pad = pctldev->desc->pins[pin].drv_data; pmic_mpp_set_mux()
353 pad->function = function; pmic_mpp_set_mux()
355 if (!pad->analog_mode) { pmic_mpp_set_mux()
357 if (pad->output_enabled) { pmic_mpp_set_mux()
358 if (pad->input_enabled) pmic_mpp_set_mux()
365 if (pad->output_enabled) { pmic_mpp_set_mux()
366 if (pad->input_enabled) pmic_mpp_set_mux()
374 val |= pad->function << PMIC_MPP_REG_MODE_FUNCTION_SHIFT; pmic_mpp_set_mux()
375 val |= pad->out_value & PMIC_MPP_REG_MODE_VALUE_MASK; pmic_mpp_set_mux()
377 ret = pmic_mpp_write(state, pad, PMIC_MPP_REG_MODE_CTL, val); pmic_mpp_set_mux()
381 val = pad->is_enabled << PMIC_MPP_REG_MASTER_EN_SHIFT; pmic_mpp_set_mux()
383 return pmic_mpp_write(state, pad, PMIC_MPP_REG_EN_CTL, val); pmic_mpp_set_mux()
397 struct pmic_mpp_pad *pad; pmic_mpp_config_get() local
400 pad = pctldev->desc->pins[pin].drv_data; pmic_mpp_config_get()
404 arg = pad->pullup == PMIC_MPP_PULL_UP_OPEN; pmic_mpp_config_get()
407 switch (pad->pullup) { pmic_mpp_config_get()
425 arg = !pad->is_enabled; pmic_mpp_config_get()
428 arg = pad->power_source; pmic_mpp_config_get()
431 arg = pad->input_enabled; pmic_mpp_config_get()
434 arg = pad->out_value; pmic_mpp_config_get()
437 arg = pad->amux_input; pmic_mpp_config_get()
440 arg = pad->analog_mode; pmic_mpp_config_get()
455 struct pmic_mpp_pad *pad; pmic_mpp_config_set() local
460 pad = pctldev->desc->pins[pin].drv_data; pmic_mpp_config_set()
468 pad->pullup = PMIC_MPP_PULL_UP_OPEN; pmic_mpp_config_set()
473 pad->pullup = PMIC_MPP_PULL_UP_0P6KOHM; pmic_mpp_config_set()
476 pad->pullup = PMIC_MPP_PULL_UP_10KOHM; pmic_mpp_config_set()
479 pad->pullup = PMIC_MPP_PULL_UP_30KOHM; pmic_mpp_config_set()
486 pad->is_enabled = false; pmic_mpp_config_set()
489 if (arg >= pad->num_sources) pmic_mpp_config_set()
491 pad->power_source = arg; pmic_mpp_config_set()
494 pad->input_enabled = arg ? true : false; pmic_mpp_config_set()
497 pad->output_enabled = true; pmic_mpp_config_set()
498 pad->out_value = arg; pmic_mpp_config_set()
503 pad->amux_input = arg; pmic_mpp_config_set()
506 pad->analog_mode = true; pmic_mpp_config_set()
513 val = pad->power_source << PMIC_MPP_REG_VIN_SHIFT; pmic_mpp_config_set()
515 ret = pmic_mpp_write(state, pad, PMIC_MPP_REG_DIG_VIN_CTL, val); pmic_mpp_config_set()
519 val = pad->pullup << PMIC_MPP_REG_PULL_SHIFT; pmic_mpp_config_set()
521 ret = pmic_mpp_write(state, pad, PMIC_MPP_REG_DIG_PULL_CTL, val); pmic_mpp_config_set()
525 val = pad->amux_input & PMIC_MPP_REG_AIN_ROUTE_MASK; pmic_mpp_config_set()
527 ret = pmic_mpp_write(state, pad, PMIC_MPP_REG_AIN_CTL, val); pmic_mpp_config_set()
531 if (!pad->analog_mode) { pmic_mpp_config_set()
533 if (pad->output_enabled) { pmic_mpp_config_set()
534 if (pad->input_enabled) pmic_mpp_config_set()
541 if (pad->output_enabled) { pmic_mpp_config_set()
542 if (pad->input_enabled) pmic_mpp_config_set()
550 val |= pad->function << PMIC_MPP_REG_MODE_FUNCTION_SHIFT; pmic_mpp_config_set()
551 val |= pad->out_value & PMIC_MPP_REG_MODE_VALUE_MASK; pmic_mpp_config_set()
553 return pmic_mpp_write(state, pad, PMIC_MPP_REG_MODE_CTL, val); pmic_mpp_config_set()
560 struct pmic_mpp_pad *pad; pmic_mpp_config_dbg_show() local
568 pad = pctldev->desc->pins[pin].drv_data; pmic_mpp_config_dbg_show()
572 val = pmic_mpp_read(state, pad, PMIC_MPP_REG_EN_CTL); pmic_mpp_config_dbg_show()
578 if (pad->input_enabled) { pmic_mpp_config_dbg_show()
579 ret = pmic_mpp_read(state, pad, PMIC_MPP_REG_RT_STS); pmic_mpp_config_dbg_show()
584 pad->out_value = ret; pmic_mpp_config_dbg_show()
587 seq_printf(s, " %-4s", pad->output_enabled ? "out" : "in"); pmic_mpp_config_dbg_show()
588 seq_printf(s, " %-4s", pad->analog_mode ? "ana" : "dig"); pmic_mpp_config_dbg_show()
589 seq_printf(s, " %-7s", pmic_mpp_functions[pad->function]); pmic_mpp_config_dbg_show()
590 seq_printf(s, " vin-%d", pad->power_source); pmic_mpp_config_dbg_show()
591 seq_printf(s, " %-8s", biases[pad->pullup]); pmic_mpp_config_dbg_show()
592 seq_printf(s, " %-4s", pad->out_value ? "high" : "low"); pmic_mpp_config_dbg_show()
626 struct pmic_mpp_pad *pad; pmic_mpp_get() local
629 pad = state->ctrl->desc->pins[pin].drv_data; pmic_mpp_get()
631 if (pad->input_enabled) { pmic_mpp_get()
632 ret = pmic_mpp_read(state, pad, PMIC_MPP_REG_RT_STS); pmic_mpp_get()
636 pad->out_value = ret & PMIC_MPP_REG_RT_STS_VAL_MASK; pmic_mpp_get()
639 return pad->out_value; pmic_mpp_get()
678 struct pmic_mpp_pad *pad; pmic_mpp_to_irq() local
680 pad = state->ctrl->desc->pins[pin].drv_data; pmic_mpp_to_irq()
682 return pad->irq; pmic_mpp_to_irq()
709 struct pmic_mpp_pad *pad) pmic_mpp_populate()
713 type = pmic_mpp_read(state, pad, PMIC_MPP_REG_TYPE); pmic_mpp_populate()
719 type, pad->base); pmic_mpp_populate()
723 subtype = pmic_mpp_read(state, pad, PMIC_MPP_REG_SUBTYPE); pmic_mpp_populate()
733 pad->num_sources = 4; pmic_mpp_populate()
736 pad->num_sources = 8; pmic_mpp_populate()
740 subtype, pad->base); pmic_mpp_populate()
744 val = pmic_mpp_read(state, pad, PMIC_MPP_REG_MODE_CTL); pmic_mpp_populate()
748 pad->out_value = val & PMIC_MPP_REG_MODE_VALUE_MASK; pmic_mpp_populate()
755 pad->input_enabled = true; pmic_mpp_populate()
756 pad->output_enabled = false; pmic_mpp_populate()
757 pad->analog_mode = false; pmic_mpp_populate()
760 pad->input_enabled = false; pmic_mpp_populate()
761 pad->output_enabled = true; pmic_mpp_populate()
762 pad->analog_mode = false; pmic_mpp_populate()
765 pad->input_enabled = true; pmic_mpp_populate()
766 pad->output_enabled = true; pmic_mpp_populate()
767 pad->analog_mode = false; pmic_mpp_populate()
770 pad->input_enabled = true; pmic_mpp_populate()
771 pad->output_enabled = true; pmic_mpp_populate()
772 pad->analog_mode = true; pmic_mpp_populate()
775 pad->input_enabled = true; pmic_mpp_populate()
776 pad->output_enabled = false; pmic_mpp_populate()
777 pad->analog_mode = true; pmic_mpp_populate()
780 pad->input_enabled = false; pmic_mpp_populate()
781 pad->output_enabled = true; pmic_mpp_populate()
782 pad->analog_mode = true; pmic_mpp_populate()
789 pad->function = val >> PMIC_MPP_REG_MODE_FUNCTION_SHIFT; pmic_mpp_populate()
790 pad->function &= PMIC_MPP_REG_MODE_FUNCTION_MASK; pmic_mpp_populate()
792 val = pmic_mpp_read(state, pad, PMIC_MPP_REG_DIG_VIN_CTL); pmic_mpp_populate()
796 pad->power_source = val >> PMIC_MPP_REG_VIN_SHIFT; pmic_mpp_populate()
797 pad->power_source &= PMIC_MPP_REG_VIN_MASK; pmic_mpp_populate()
799 val = pmic_mpp_read(state, pad, PMIC_MPP_REG_DIG_PULL_CTL); pmic_mpp_populate()
803 pad->pullup = val >> PMIC_MPP_REG_PULL_SHIFT; pmic_mpp_populate()
804 pad->pullup &= PMIC_MPP_REG_PULL_MASK; pmic_mpp_populate()
806 val = pmic_mpp_read(state, pad, PMIC_MPP_REG_AIN_CTL); pmic_mpp_populate()
810 pad->amux_input = val >> PMIC_MPP_REG_AIN_ROUTE_SHIFT; pmic_mpp_populate()
811 pad->amux_input &= PMIC_MPP_REG_AIN_ROUTE_MASK; pmic_mpp_populate()
814 pad->is_enabled = true; pmic_mpp_populate()
823 struct pmic_mpp_pad *pad, *pads; pmic_mpp_probe() local
870 pad = &pads[i]; pmic_mpp_probe()
871 pindesc->drv_data = pad; pmic_mpp_probe()
875 pad->irq = platform_get_irq(pdev, i); pmic_mpp_probe()
876 if (pad->irq < 0) pmic_mpp_probe()
877 return pad->irq; pmic_mpp_probe()
879 pad->base = res[0] + i * PMIC_MPP_ADDRESS_RANGE; pmic_mpp_probe()
881 ret = pmic_mpp_populate(state, pad); pmic_mpp_probe()
158 pmic_mpp_read(struct pmic_mpp_state *state, struct pmic_mpp_pad *pad, unsigned int addr) pmic_mpp_read() argument
173 pmic_mpp_write(struct pmic_mpp_state *state, struct pmic_mpp_pad *pad, unsigned int addr, unsigned int val) pmic_mpp_write() argument
708 pmic_mpp_populate(struct pmic_mpp_state *state, struct pmic_mpp_pad *pad) pmic_mpp_populate() argument
H A Dpinctrl-spmi-gpio.c167 struct pmic_gpio_pad *pad, unsigned int addr) pmic_gpio_read()
172 ret = regmap_read(state->map, pad->base + addr, &val); pmic_gpio_read()
182 struct pmic_gpio_pad *pad, unsigned int addr, pmic_gpio_write()
187 ret = regmap_write(state->map, pad->base + addr, val); pmic_gpio_write()
247 struct pmic_gpio_pad *pad; pmic_gpio_set_mux() local
251 pad = pctldev->desc->pins[pin].drv_data; pmic_gpio_set_mux()
253 pad->function = function; pmic_gpio_set_mux()
256 if (pad->output_enabled) { pmic_gpio_set_mux()
257 if (pad->input_enabled) pmic_gpio_set_mux()
264 val |= pad->function << PMIC_GPIO_REG_MODE_FUNCTION_SHIFT; pmic_gpio_set_mux()
265 val |= pad->out_value & PMIC_GPIO_REG_MODE_VALUE_SHIFT; pmic_gpio_set_mux()
267 ret = pmic_gpio_write(state, pad, PMIC_GPIO_REG_MODE_CTL, val); pmic_gpio_set_mux()
271 val = pad->is_enabled << PMIC_GPIO_REG_MASTER_EN_SHIFT; pmic_gpio_set_mux()
273 return pmic_gpio_write(state, pad, PMIC_GPIO_REG_EN_CTL, val); pmic_gpio_set_mux()
287 struct pmic_gpio_pad *pad; pmic_gpio_config_get() local
290 pad = pctldev->desc->pins[pin].drv_data; pmic_gpio_config_get()
294 arg = pad->buffer_type == PMIC_GPIO_OUT_BUF_CMOS; pmic_gpio_config_get()
297 arg = pad->buffer_type == PMIC_GPIO_OUT_BUF_OPEN_DRAIN_NMOS; pmic_gpio_config_get()
300 arg = pad->buffer_type == PMIC_GPIO_OUT_BUF_OPEN_DRAIN_PMOS; pmic_gpio_config_get()
303 arg = pad->pullup == PMIC_GPIO_PULL_DOWN; pmic_gpio_config_get()
306 arg = pad->pullup = PMIC_GPIO_PULL_DISABLE; pmic_gpio_config_get()
309 arg = pad->pullup == PMIC_GPIO_PULL_UP_30; pmic_gpio_config_get()
312 arg = !pad->is_enabled; pmic_gpio_config_get()
315 arg = pad->power_source; pmic_gpio_config_get()
318 arg = pad->input_enabled; pmic_gpio_config_get()
321 arg = pad->out_value; pmic_gpio_config_get()
324 arg = pad->pullup; pmic_gpio_config_get()
327 arg = pad->strength; pmic_gpio_config_get()
341 struct pmic_gpio_pad *pad; pmic_gpio_config_set() local
346 pad = pctldev->desc->pins[pin].drv_data; pmic_gpio_config_set()
354 pad->buffer_type = PMIC_GPIO_OUT_BUF_CMOS; pmic_gpio_config_set()
357 if (!pad->have_buffer) pmic_gpio_config_set()
359 pad->buffer_type = PMIC_GPIO_OUT_BUF_OPEN_DRAIN_NMOS; pmic_gpio_config_set()
362 if (!pad->have_buffer) pmic_gpio_config_set()
364 pad->buffer_type = PMIC_GPIO_OUT_BUF_OPEN_DRAIN_PMOS; pmic_gpio_config_set()
367 pad->pullup = PMIC_GPIO_PULL_DISABLE; pmic_gpio_config_set()
370 pad->pullup = PMIC_GPIO_PULL_UP_30; pmic_gpio_config_set()
374 pad->pullup = PMIC_GPIO_PULL_DOWN; pmic_gpio_config_set()
376 pad->pullup = PMIC_GPIO_PULL_DISABLE; pmic_gpio_config_set()
379 pad->is_enabled = false; pmic_gpio_config_set()
382 if (arg > pad->num_sources) pmic_gpio_config_set()
384 pad->power_source = arg; pmic_gpio_config_set()
387 pad->input_enabled = arg ? true : false; pmic_gpio_config_set()
390 pad->output_enabled = true; pmic_gpio_config_set()
391 pad->out_value = arg; pmic_gpio_config_set()
396 pad->pullup = arg; pmic_gpio_config_set()
401 pad->strength = arg; pmic_gpio_config_set()
408 val = pad->power_source << PMIC_GPIO_REG_VIN_SHIFT; pmic_gpio_config_set()
410 ret = pmic_gpio_write(state, pad, PMIC_GPIO_REG_DIG_VIN_CTL, val); pmic_gpio_config_set()
414 val = pad->pullup << PMIC_GPIO_REG_PULL_SHIFT; pmic_gpio_config_set()
416 ret = pmic_gpio_write(state, pad, PMIC_GPIO_REG_DIG_PULL_CTL, val); pmic_gpio_config_set()
420 val = pad->buffer_type << PMIC_GPIO_REG_OUT_TYPE_SHIFT; pmic_gpio_config_set()
421 val |= pad->strength << PMIC_GPIO_REG_OUT_STRENGTH_SHIFT; pmic_gpio_config_set()
423 ret = pmic_gpio_write(state, pad, PMIC_GPIO_REG_DIG_OUT_CTL, val); pmic_gpio_config_set()
428 if (pad->output_enabled) { pmic_gpio_config_set()
429 if (pad->input_enabled) pmic_gpio_config_set()
436 val |= pad->function << PMIC_GPIO_REG_MODE_FUNCTION_SHIFT; pmic_gpio_config_set()
437 val |= pad->out_value & PMIC_GPIO_REG_MODE_VALUE_SHIFT; pmic_gpio_config_set()
439 return pmic_gpio_write(state, pad, PMIC_GPIO_REG_MODE_CTL, val); pmic_gpio_config_set()
446 struct pmic_gpio_pad *pad; pmic_gpio_config_dbg_show() local
460 pad = pctldev->desc->pins[pin].drv_data; pmic_gpio_config_dbg_show()
464 val = pmic_gpio_read(state, pad, PMIC_GPIO_REG_EN_CTL); pmic_gpio_config_dbg_show()
470 if (pad->input_enabled) { pmic_gpio_config_dbg_show()
471 ret = pmic_gpio_read(state, pad, PMIC_MPP_REG_RT_STS); pmic_gpio_config_dbg_show()
476 pad->out_value = ret; pmic_gpio_config_dbg_show()
479 seq_printf(s, " %-4s", pad->output_enabled ? "out" : "in"); pmic_gpio_config_dbg_show()
480 seq_printf(s, " %-7s", pmic_gpio_functions[pad->function]); pmic_gpio_config_dbg_show()
481 seq_printf(s, " vin-%d", pad->power_source); pmic_gpio_config_dbg_show()
482 seq_printf(s, " %-27s", biases[pad->pullup]); pmic_gpio_config_dbg_show()
483 seq_printf(s, " %-10s", buffer_types[pad->buffer_type]); pmic_gpio_config_dbg_show()
484 seq_printf(s, " %-4s", pad->out_value ? "high" : "low"); pmic_gpio_config_dbg_show()
485 seq_printf(s, " %-7s", strengths[pad->strength]); pmic_gpio_config_dbg_show()
520 struct pmic_gpio_pad *pad; pmic_gpio_get() local
523 pad = state->ctrl->desc->pins[pin].drv_data; pmic_gpio_get()
525 if (!pad->is_enabled) pmic_gpio_get()
528 if (pad->input_enabled) { pmic_gpio_get()
529 ret = pmic_gpio_read(state, pad, PMIC_MPP_REG_RT_STS); pmic_gpio_get()
533 pad->out_value = ret & PMIC_MPP_REG_RT_STS_VAL_MASK; pmic_gpio_get()
536 return pad->out_value; pmic_gpio_get()
575 struct pmic_gpio_pad *pad; pmic_gpio_to_irq() local
577 pad = state->ctrl->desc->pins[pin].drv_data; pmic_gpio_to_irq()
579 return pad->irq; pmic_gpio_to_irq()
606 struct pmic_gpio_pad *pad) pmic_gpio_populate()
610 type = pmic_gpio_read(state, pad, PMIC_GPIO_REG_TYPE); pmic_gpio_populate()
616 type, pad->base); pmic_gpio_populate()
620 subtype = pmic_gpio_read(state, pad, PMIC_GPIO_REG_SUBTYPE); pmic_gpio_populate()
626 pad->have_buffer = true; pmic_gpio_populate()
628 pad->num_sources = 4; pmic_gpio_populate()
631 pad->have_buffer = true; pmic_gpio_populate()
633 pad->num_sources = 8; pmic_gpio_populate()
640 val = pmic_gpio_read(state, pad, PMIC_GPIO_REG_MODE_CTL); pmic_gpio_populate()
644 pad->out_value = val & PMIC_GPIO_REG_MODE_VALUE_SHIFT; pmic_gpio_populate()
650 pad->input_enabled = true; pmic_gpio_populate()
651 pad->output_enabled = false; pmic_gpio_populate()
654 pad->input_enabled = false; pmic_gpio_populate()
655 pad->output_enabled = true; pmic_gpio_populate()
658 pad->input_enabled = true; pmic_gpio_populate()
659 pad->output_enabled = true; pmic_gpio_populate()
666 pad->function = val >> PMIC_GPIO_REG_MODE_FUNCTION_SHIFT; pmic_gpio_populate()
667 pad->function &= PMIC_GPIO_REG_MODE_FUNCTION_MASK; pmic_gpio_populate()
669 val = pmic_gpio_read(state, pad, PMIC_GPIO_REG_DIG_VIN_CTL); pmic_gpio_populate()
673 pad->power_source = val >> PMIC_GPIO_REG_VIN_SHIFT; pmic_gpio_populate()
674 pad->power_source &= PMIC_GPIO_REG_VIN_MASK; pmic_gpio_populate()
676 val = pmic_gpio_read(state, pad, PMIC_GPIO_REG_DIG_PULL_CTL); pmic_gpio_populate()
680 pad->pullup = val >> PMIC_GPIO_REG_PULL_SHIFT; pmic_gpio_populate()
681 pad->pullup &= PMIC_GPIO_REG_PULL_MASK; pmic_gpio_populate()
683 val = pmic_gpio_read(state, pad, PMIC_GPIO_REG_DIG_OUT_CTL); pmic_gpio_populate()
687 pad->strength = val >> PMIC_GPIO_REG_OUT_STRENGTH_SHIFT; pmic_gpio_populate()
688 pad->strength &= PMIC_GPIO_REG_OUT_STRENGTH_MASK; pmic_gpio_populate()
690 pad->buffer_type = val >> PMIC_GPIO_REG_OUT_TYPE_SHIFT; pmic_gpio_populate()
691 pad->buffer_type &= PMIC_GPIO_REG_OUT_TYPE_MASK; pmic_gpio_populate()
694 pad->is_enabled = true; pmic_gpio_populate()
703 struct pmic_gpio_pad *pad, *pads; pmic_gpio_probe() local
756 pad = &pads[i]; pmic_gpio_probe()
757 pindesc->drv_data = pad; pmic_gpio_probe()
761 pad->irq = platform_get_irq(pdev, i); pmic_gpio_probe()
762 if (pad->irq < 0) pmic_gpio_probe()
763 return pad->irq; pmic_gpio_probe()
765 pad->base = res[0] + i * PMIC_GPIO_ADDRESS_RANGE; pmic_gpio_probe()
767 ret = pmic_gpio_populate(state, pad); pmic_gpio_probe()
166 pmic_gpio_read(struct pmic_gpio_state *state, struct pmic_gpio_pad *pad, unsigned int addr) pmic_gpio_read() argument
181 pmic_gpio_write(struct pmic_gpio_state *state, struct pmic_gpio_pad *pad, unsigned int addr, unsigned int val) pmic_gpio_write() argument
605 pmic_gpio_populate(struct pmic_gpio_state *state, struct pmic_gpio_pad *pad) pmic_gpio_populate() argument
/linux-4.1.27/drivers/media/platform/exynos4-is/
H A Dcommon.c19 struct media_pad *pad = &entity->pads[0]; fimc_find_remote_sensor() local
22 while (pad->flags & MEDIA_PAD_FL_SINK) { fimc_find_remote_sensor()
23 /* source pad */ fimc_find_remote_sensor()
24 pad = media_entity_remote_pad(pad); fimc_find_remote_sensor()
25 if (pad == NULL || fimc_find_remote_sensor()
26 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) fimc_find_remote_sensor()
29 sd = media_entity_to_v4l2_subdev(pad->entity); fimc_find_remote_sensor()
34 /* sink pad */ fimc_find_remote_sensor()
35 pad = &sd->entity.pads[0]; fimc_find_remote_sensor()
H A Dfimc-isp.c135 *mf = *v4l2_subdev_get_try_format(sd, cfg, fmt->pad); fimc_isp_subdev_get_fmt()
143 if (fmt->pad == FIMC_ISP_SD_PAD_SINK) { fimc_isp_subdev_get_fmt()
150 if (fmt->pad == FIMC_ISP_SD_PAD_SRC_FIFO) { fimc_isp_subdev_get_fmt()
158 isp_dbg(1, sd, "%s: pad%d: fmt: 0x%x, %dx%d\n", __func__, fimc_isp_subdev_get_fmt()
159 fmt->pad, mf->code, mf->width, mf->height); fimc_isp_subdev_get_fmt()
173 if (fmt->pad == FIMC_ISP_SD_PAD_SINK) { __isp_subdev_try_format()
186 /* Allow changing format only on sink pad */ __isp_subdev_try_format()
190 if (fmt->pad == FIMC_ISP_SD_PAD_SRC_FIFO) { __isp_subdev_try_format()
208 isp_dbg(1, sd, "%s: pad%d: code: 0x%x, %dx%d\n", fimc_isp_subdev_set_fmt()
209 __func__, fmt->pad, mf->code, mf->width, mf->height); fimc_isp_subdev_set_fmt()
215 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); fimc_isp_subdev_set_fmt()
219 if (fmt->pad == FIMC_ISP_SD_PAD_SINK) { fimc_isp_subdev_set_fmt()
221 unsigned int pad; fimc_isp_subdev_set_fmt() local
223 for (pad = FIMC_ISP_SD_PAD_SRC_FIFO; fimc_isp_subdev_set_fmt()
224 pad < FIMC_ISP_SD_PADS_NUM; pad++) { fimc_isp_subdev_set_fmt()
225 format.pad = pad; fimc_isp_subdev_set_fmt()
227 mf = v4l2_subdev_get_try_format(sd, cfg, pad); fimc_isp_subdev_set_fmt()
233 if (fmt->pad == FIMC_ISP_SD_PAD_SINK) { fimc_isp_subdev_set_fmt()
238 format.pad = FIMC_ISP_SD_PAD_SRC_DMA; fimc_isp_subdev_set_fmt()
372 format = v4l2_subdev_get_try_format(sd, fh->pad, FIMC_ISP_SD_PAD_SINK); fimc_isp_subdev_open()
381 format = v4l2_subdev_get_try_format(sd, fh->pad, FIMC_ISP_SD_PAD_SRC_FIFO); fimc_isp_subdev_open()
386 format = v4l2_subdev_get_try_format(sd, fh->pad, FIMC_ISP_SD_PAD_SRC_DMA); fimc_isp_subdev_open()
439 .pad = &fimc_is_subdev_pad_ops,
H A Dfimc-capture.c585 u32 *code, u32 *fourcc, int pad) fimc_capture_try_format()
597 if (code && ctx->s_frame.fmt && pad == FIMC_SD_PAD_SOURCE && fimc_capture_try_format()
601 if (fourcc && *fourcc != V4L2_PIX_FMT_JPEG && pad == FIMC_SD_PAD_SOURCE) fimc_capture_try_format()
604 if (pad == FIMC_SD_PAD_SINK_FIFO) fimc_capture_try_format()
616 if (pad != FIMC_SD_PAD_SOURCE) { fimc_capture_try_format()
653 dbg("pad%d: code: 0x%x, %dx%d. dst fmt: %dx%d", fimc_capture_try_format()
654 pad, code ? *code : 0, *width, *height, fimc_capture_try_format()
695 * - it must fit in the sink pad format rectangle (f_width/f_height); fimc_capture_try_selection()
698 * - the sink pad format width/height must be 4 multiple of the fimc_capture_try_selection()
699 * prescaler ratios determined by sink pad size and source pad crop, fimc_capture_try_selection()
759 struct media_pad *pad = &me->pads[0]; fimc_pipeline_get_head() local
761 while (!(pad->flags & MEDIA_PAD_FL_SOURCE)) { fimc_pipeline_get_head()
762 pad = media_entity_remote_pad(pad); fimc_pipeline_get_head()
763 if (!pad) fimc_pipeline_get_head()
765 me = pad->entity; fimc_pipeline_get_head()
766 pad = &me->pads[0]; fimc_pipeline_get_head()
792 struct media_pad *pad; fimc_pipeline_try_format() local
821 sfmt.pad = 0; fimc_pipeline_try_format()
822 ret = v4l2_subdev_call(sd, pad, set_fmt, NULL, &sfmt); fimc_pipeline_try_format()
827 sfmt.pad = me->num_pads - 1; fimc_pipeline_try_format()
829 ret = v4l2_subdev_call(sd, pad, set_fmt, NULL, fimc_pipeline_try_format()
835 pad = media_entity_remote_pad(&me->pads[sfmt.pad]); fimc_pipeline_try_format()
836 if (!pad) fimc_pipeline_try_format()
838 me = pad->entity; fimc_pipeline_try_format()
880 int pad; fimc_get_sensor_frame_desc() local
885 pad = sensor->entity.num_pads - 1; fimc_get_sensor_frame_desc()
887 ret = v4l2_subdev_call(sensor, pad, set_frame_desc, pad, &fd); fimc_get_sensor_frame_desc()
889 ret = v4l2_subdev_call(sensor, pad, get_frame_desc, pad, &fd); fimc_get_sensor_frame_desc()
1112 * between source and sink pad of each link
1127 * Find current entity sink pad and any remote sink pad linked fimc_pipeline_validate()
1128 * to it. We stop if there is no sink pad in current entity or fimc_pipeline_validate()
1155 sink_fmt.pad = sink_pad->index; fimc_pipeline_validate()
1157 ret = v4l2_subdev_call(sd, pad, get_fmt, NULL, &sink_fmt); fimc_pipeline_validate()
1162 /* Retrieve format at the source pad */ fimc_pipeline_validate()
1164 src_fmt.pad = src_pad->index; fimc_pipeline_validate()
1166 ret = v4l2_subdev_call(sd, pad, get_fmt, NULL, &src_fmt); fimc_pipeline_validate()
1507 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); fimc_subdev_get_fmt()
1515 switch (fmt->pad) { fimc_subdev_get_fmt()
1549 dbg("pad%d: code: 0x%x, %dx%d", fimc_subdev_set_fmt()
1550 fmt->pad, mf->code, mf->width, mf->height); fimc_subdev_set_fmt()
1552 if (fmt->pad == FIMC_SD_PAD_SOURCE && vb2_is_busy(&vc->vbq)) fimc_subdev_set_fmt()
1557 &mf->code, NULL, fmt->pad); fimc_subdev_set_fmt()
1562 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); fimc_subdev_set_fmt()
1574 if (fmt->pad == FIMC_SD_PAD_SOURCE) { fimc_subdev_set_fmt()
1586 if (fmt->pad == FIMC_SD_PAD_SINK_FIFO) fimc_subdev_set_fmt()
1588 else if (fmt->pad == FIMC_SD_PAD_SINK_CAM) fimc_subdev_set_fmt()
1594 if (!(fmt->pad == FIMC_SD_PAD_SOURCE && (ctx->state & FIMC_COMPOSE))) fimc_subdev_set_fmt()
1597 if (fmt->pad != FIMC_SD_PAD_SOURCE) fimc_subdev_set_fmt()
1614 if (sel->pad == FIMC_SD_PAD_SOURCE) fimc_subdev_get_selection()
1631 try_sel = v4l2_subdev_get_try_crop(sd, cfg, sel->pad); fimc_subdev_get_selection()
1634 try_sel = v4l2_subdev_get_try_compose(sd, cfg, sel->pad); fimc_subdev_get_selection()
1652 sel->pad, r->left, r->top, r->width, r->height, fimc_subdev_get_selection()
1670 if (sel->pad == FIMC_SD_PAD_SOURCE) fimc_subdev_set_selection()
1678 try_sel = v4l2_subdev_get_try_crop(sd, cfg, sel->pad); fimc_subdev_set_selection()
1681 try_sel = v4l2_subdev_get_try_compose(sd, cfg, sel->pad); fimc_subdev_set_selection()
1716 .pad = &fimc_subdev_pad_ops,
583 fimc_capture_try_format(struct fimc_ctx *ctx, u32 *width, u32 *height, u32 *code, u32 *fourcc, int pad) fimc_capture_try_format() argument
H A Dfimc-isp-video.c222 "dma_buf %pad (%d/%d/%d) addr: %pad\n", isp_video_capture_buffer_queue()
454 struct media_pad *pad; isp_video_pipeline_validate() local
458 /* Retrieve format at the sink pad */ isp_video_pipeline_validate()
459 pad = &sd->entity.pads[0]; isp_video_pipeline_validate()
460 if (!(pad->flags & MEDIA_PAD_FL_SINK)) isp_video_pipeline_validate()
462 sink_fmt.pad = pad->index; isp_video_pipeline_validate()
464 ret = v4l2_subdev_call(sd, pad, get_fmt, NULL, &sink_fmt); isp_video_pipeline_validate()
468 /* Retrieve format at the source pad */ isp_video_pipeline_validate()
469 pad = media_entity_remote_pad(pad); isp_video_pipeline_validate()
470 if (pad == NULL || isp_video_pipeline_validate()
471 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) isp_video_pipeline_validate()
474 sd = media_entity_to_v4l2_subdev(pad->entity); isp_video_pipeline_validate()
475 src_fmt.pad = pad->index; isp_video_pipeline_validate()
477 ret = v4l2_subdev_call(sd, pad, get_fmt, NULL, &src_fmt); isp_video_pipeline_validate()
620 iv->pad.flags = MEDIA_PAD_FL_SINK; fimc_isp_video_device_register()
621 ret = media_entity_init(&vdev->entity, 1, &iv->pad, 0); fimc_isp_video_device_register()
H A Dfimc-lite.c578 if (format->pad == FLITE_SD_PAD_SINK) { fimc_lite_subdev_try_fmt()
609 /* Allow changing format only on sink pad */ fimc_lite_subdev_try_fmt()
793 struct media_pad *pad; fimc_pipeline_validate() local
797 /* Retrieve format at the sink pad */ fimc_pipeline_validate()
798 pad = &sd->entity.pads[0]; fimc_pipeline_validate()
799 if (!(pad->flags & MEDIA_PAD_FL_SINK)) fimc_pipeline_validate()
808 sink_fmt.pad = pad->index; fimc_pipeline_validate()
810 ret = v4l2_subdev_call(sd, pad, get_fmt, NULL, fimc_pipeline_validate()
815 /* Retrieve format at the source pad */ fimc_pipeline_validate()
816 pad = media_entity_remote_pad(pad); fimc_pipeline_validate()
817 if (pad == NULL || fimc_pipeline_validate()
818 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) fimc_pipeline_validate()
821 sd = media_entity_to_v4l2_subdev(pad->entity); fimc_pipeline_validate()
822 src_fmt.pad = pad->index; fimc_pipeline_validate()
824 ret = v4l2_subdev_call(sd, pad, get_fmt, NULL, &src_fmt); fimc_pipeline_validate()
1037 v4l2_err(sd, "Invalid pad index\n"); fimc_lite_link_setup()
1064 struct v4l2_subdev_pad_config *cfg, unsigned int pad) __fimc_lite_subdev_get_try_fmt()
1066 if (pad != FLITE_SD_PAD_SINK) __fimc_lite_subdev_get_try_fmt()
1067 pad = FLITE_SD_PAD_SOURCE_DMA; __fimc_lite_subdev_get_try_fmt()
1069 return v4l2_subdev_get_try_format(sd, cfg, pad); __fimc_lite_subdev_get_try_fmt()
1081 mf = __fimc_lite_subdev_get_try_fmt(sd, cfg, fmt->pad); fimc_lite_subdev_get_fmt()
1090 if (fmt->pad == FLITE_SD_PAD_SINK) { fimc_lite_subdev_get_fmt()
1113 v4l2_dbg(1, debug, sd, "pad%d: code: 0x%x, %dx%d\n", fimc_lite_subdev_set_fmt()
1114 fmt->pad, mf->code, mf->width, mf->height); fimc_lite_subdev_set_fmt()
1131 mf = __fimc_lite_subdev_get_try_fmt(sd, cfg, fmt->pad); fimc_lite_subdev_set_fmt()
1134 if (fmt->pad == FLITE_SD_PAD_SINK) { fimc_lite_subdev_set_fmt()
1135 unsigned int pad = FLITE_SD_PAD_SOURCE_DMA; fimc_lite_subdev_set_fmt() local
1136 src_fmt = __fimc_lite_subdev_get_try_fmt(sd, cfg, pad); fimc_lite_subdev_set_fmt()
1144 if (fmt->pad == FLITE_SD_PAD_SINK) { fimc_lite_subdev_set_fmt()
1172 sel->pad != FLITE_SD_PAD_SINK) fimc_lite_subdev_get_selection()
1176 sel->r = *v4l2_subdev_get_try_crop(sd, cfg, sel->pad); fimc_lite_subdev_get_selection()
1206 if (sel->target != V4L2_SEL_TGT_CROP || sel->pad != FLITE_SD_PAD_SINK) fimc_lite_subdev_set_selection()
1213 *v4l2_subdev_get_try_crop(sd, cfg, sel->pad) = sel->r; fimc_lite_subdev_set_selection()
1218 /* Same crop rectangle on the source pad */ fimc_lite_subdev_set_selection()
1386 .pad = &fimc_lite_subdev_pad_ops,
1062 __fimc_lite_subdev_get_try_fmt( struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, unsigned int pad) __fimc_lite_subdev_get_try_fmt() argument
H A Dmedia-dev.c79 struct media_pad *pad = NULL; fimc_pipeline_prepare() local
81 /* Find remote source pad */ fimc_pipeline_prepare()
86 pad = media_entity_remote_pad(spad); fimc_pipeline_prepare()
87 if (pad) fimc_pipeline_prepare()
91 if (pad == NULL || fimc_pipeline_prepare()
92 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) fimc_pipeline_prepare()
94 sd = media_entity_to_v4l2_subdev(pad->entity); fimc_pipeline_prepare()
699 * @pad: the source entity pad index
705 int pad, int link_mask) __fimc_md_create_fimc_sink_links()
732 ret = media_entity_create_link(source, pad, sink, __fimc_md_create_fimc_sink_links()
739 &source->pads[pad], flags); __fimc_md_create_fimc_sink_links()
752 ret = media_entity_create_link(source, pad, sink, __fimc_md_create_fimc_sink_links()
759 &source->pads[pad], 0); __fimc_md_create_fimc_sink_links()
849 int i, pad, fimc_id = 0, ret = 0; fimc_md_create_links() local
875 pad = sensor->entity.num_pads - 1; fimc_md_create_links()
876 ret = media_entity_create_link(&sensor->entity, pad, fimc_md_create_links()
892 pad = 0; fimc_md_create_links()
905 pad, link_mask); fimc_md_create_links()
913 pad = CSIS_PAD_SOURCE; fimc_md_create_links()
918 pad, link_mask); fimc_md_create_links()
702 __fimc_md_create_fimc_sink_links(struct fimc_md *fmd, struct media_entity *source, struct v4l2_subdev *sensor, int pad, int link_mask) __fimc_md_create_fimc_sink_links() argument
H A Dfimc-isp.h118 * @pad: video device media (sink) pad
130 struct media_pad pad; member in struct:fimc_is_video
/linux-4.1.27/net/mac80211/
H A Daes_cmac.c26 static void gf_mulx(u8 *pad) gf_mulx() argument
30 carry = pad[0] & 0x80; gf_mulx()
32 pad[i] = (pad[i] << 1) | (pad[i + 1] >> 7); gf_mulx()
33 pad[AES_BLOCK_SIZE - 1] <<= 1; gf_mulx()
35 pad[AES_BLOCK_SIZE - 1] ^= 0x87; gf_mulx()
42 u8 cbc[AES_BLOCK_SIZE], pad[AES_BLOCK_SIZE]; aes_cmac_vector() local
71 memset(pad, 0, AES_BLOCK_SIZE); aes_cmac_vector()
72 crypto_cipher_encrypt_one(tfm, pad, pad); aes_cmac_vector()
73 gf_mulx(pad); aes_cmac_vector()
85 gf_mulx(pad); aes_cmac_vector()
89 pad[i] ^= cbc[i]; aes_cmac_vector()
90 crypto_cipher_encrypt_one(tfm, pad, pad); aes_cmac_vector()
91 memcpy(mac, pad, mac_len); aes_cmac_vector()
/linux-4.1.27/include/uapi/linux/
H A Dv4l2-subdev.h44 * @pad: pad number, as reported by the media API
49 __u32 pad; member in struct:v4l2_subdev_format
57 * @pad: pad number, as reported by the media API
58 * @rect: pad crop rectangle boundaries
62 __u32 pad; member in struct:v4l2_subdev_crop
69 * @pad: pad number, as reported by the media API
75 __u32 pad; member in struct:v4l2_subdev_mbus_code_enum
84 * @pad: pad number, as reported by the media API
91 __u32 pad; member in struct:v4l2_subdev_frame_size_enum
103 * @pad: pad number, as reported by the media API
107 __u32 pad; member in struct:v4l2_subdev_frame_interval
114 * @pad: pad number, as reported by the media API
124 __u32 pad; member in struct:v4l2_subdev_frame_interval_enum
137 * @pad: pad number, as reported by the media API
150 __u32 pad; member in struct:v4l2_subdev_selection
H A Dunix_diag.h9 __u16 pad; member in struct:unix_diag_req
27 __u8 pad; member in struct:unix_diag_msg
H A Dnetlink_diag.h9 __u16 pad; member in struct:netlink_diag_req
H A Dsysinfo.h17 __u16 pad; /* Explicit padding for m68k */ member in struct:sysinfo
H A Dkfd_ioctl.h66 uint32_t pad; member in struct:kfd_ioctl_destroy_queue_args
89 uint32_t pad; member in struct:kfd_ioctl_set_memory_policy_args
106 uint32_t pad; member in struct:kfd_ioctl_get_clock_counters_args
119 uint32_t pad; member in struct:kfd_process_device_apertures
128 uint32_t pad; member in struct:kfd_ioctl_get_process_apertures_args
H A Dkeyboard.h340 #define K_PPLUS K(KT_PAD,10) /* key-pad plus */
341 #define K_PMINUS K(KT_PAD,11) /* key-pad minus */
342 #define K_PSTAR K(KT_PAD,12) /* key-pad asterisk (star) */
343 #define K_PSLASH K(KT_PAD,13) /* key-pad slash */
344 #define K_PENTER K(KT_PAD,14) /* key-pad enter */
345 #define K_PCOMMA K(KT_PAD,15) /* key-pad comma: kludge... */
346 #define K_PDOT K(KT_PAD,16) /* key-pad dot (period): kludge... */
347 #define K_PPLUSMINUS K(KT_PAD,17) /* key-pad plus/minus */
348 #define K_PPARENL K(KT_PAD,18) /* key-pad left parenthesis */
349 #define K_PPARENR K(KT_PAD,19) /* key-pad right parenthesis */
H A Dpacket_diag.h9 __u16 pad; member in struct:packet_diag_req
H A Dsignalfd.h40 * pad size when you add new members. We use a fixed
H A Dkvm.h77 __u32 pad; member in struct:kvm_debug_guest
130 __u32 pad; member in struct:kvm_irqchip
145 __u32 pad[15]; member in struct:kvm_pit_config
256 __u32 pad; member in struct:kvm_run::__anon13391::__anon13398
262 __u32 pad; member in struct:kvm_run::__anon13391::__anon13399
356 __u32 pad; member in struct:kvm_coalesced_mmio_zone
362 __u32 pad; member in struct:kvm_coalesced_mmio
385 __u8 pad[5]; member in struct:kvm_translation
501 __u32 pad; member in struct:kvm_s390_ext_info
517 __u8 pad[3]; member in struct:kvm_s390_pgm_info
542 __u32 pad; member in struct:kvm_s390_mchk_info
575 __u32 pad; member in struct:kvm_guest_debug
602 __u8 pad[36]; member in struct:kvm_ioeventfd
611 __u8 pad[64]; member in struct:kvm_enable_cap
619 __u8 pad[108]; member in struct:kvm_ppc_pvinfo
642 __u32 pad; member in struct:kvm_ppc_smmu_info
829 __u32 pad; member in struct:kvm_irq_routing_msi
849 __u32 pad; member in struct:kvm_irq_routing_entry
854 __u32 pad[8]; member in union:kvm_irq_routing_entry::__anon13414
906 __u8 pad[16]; member in struct:kvm_irqfd
912 __u32 pad[9]; member in struct:kvm_clock_data
973 __u8 pad[16]; member in struct:kvm_msi
H A Dbcache.h172 __u64 pad[8]; member in struct:cache_sb
286 __u16 pad[3]; member in struct:jset
303 __u32 pad; member in struct:prio_set
329 __u8 pad[128]; member in union:uuid_entry::__anon13129
371 __u32 pad; member in struct:uuid_entry_v0
H A Dmedia.h145 __u16 index; /* pad index */
146 __u32 flags; /* pad flags */
/linux-4.1.27/arch/arm/mach-imx/
H A Diomux-v3.c36 * configures a single pad in the iomuxer
38 int mxc_iomux_v3_setup_pad(iomux_v3_cfg_t pad) mxc_iomux_v3_setup_pad() argument
40 u32 mux_ctrl_ofs = (pad & MUX_CTRL_OFS_MASK) >> MUX_CTRL_OFS_SHIFT; mxc_iomux_v3_setup_pad()
41 u32 mux_mode = (pad & MUX_MODE_MASK) >> MUX_MODE_SHIFT; mxc_iomux_v3_setup_pad()
42 u32 sel_input_ofs = (pad & MUX_SEL_INPUT_OFS_MASK) >> MUX_SEL_INPUT_OFS_SHIFT; mxc_iomux_v3_setup_pad()
43 u32 sel_input = (pad & MUX_SEL_INPUT_MASK) >> MUX_SEL_INPUT_SHIFT; mxc_iomux_v3_setup_pad()
44 u32 pad_ctrl_ofs = (pad & MUX_PAD_CTRL_OFS_MASK) >> MUX_PAD_CTRL_OFS_SHIFT; mxc_iomux_v3_setup_pad()
45 u32 pad_ctrl = (pad & MUX_PAD_CTRL_MASK) >> MUX_PAD_CTRL_SHIFT; mxc_iomux_v3_setup_pad()
H A Diomux-v3.h29 * - Each pad has a pad control register (IOMUXC_SW_PAD_CTRL_x) which controls
31 * - Each pad can have but not necessarily does have an output routing register
33 * - Each pad can have but not necessarily does have an input routing register
37 * hence we order this table by pad control registers (which all pads
41 * The naming convention for the pad modes is MX35_PAD_<padname>__<padmode>
83 #define NEW_PAD_CTRL(cfg, pad) (((cfg) & ~MUX_PAD_CTRL_MASK) | MUX_PAD_CTRL(pad))
126 * setups a single pad in the iomuxer
128 int mxc_iomux_v3_setup_pad(iomux_v3_cfg_t pad);
H A Diomux-imx31.c69 * This function configures the pad value for a IOMUX pin.
100 unsigned pad = pin & IOMUX_PADNUM_MASK; mxc_iomux_alloc_pin() local
102 if (pad >= (PIN_MAX + 1)) { mxc_iomux_alloc_pin()
104 pad, label ? label : "?"); mxc_iomux_alloc_pin()
108 if (test_and_set_bit(pad, mxc_pin_alloc_map)) { mxc_iomux_alloc_pin()
110 pad, label ? label : "?"); mxc_iomux_alloc_pin()
140 unsigned pad = pin & IOMUX_PADNUM_MASK; mxc_iomux_release_pin() local
142 if (pad < (PIN_MAX + 1)) mxc_iomux_release_pin()
143 clear_bit(pad, mxc_pin_alloc_map); mxc_iomux_release_pin()
/linux-4.1.27/fs/f2fs/
H A Dhash.c48 unsigned pad, val; str2hashbuf() local
51 pad = (__u32)len | ((__u32)len << 8); str2hashbuf()
52 pad |= pad << 16; str2hashbuf()
54 val = pad; str2hashbuf()
59 val = pad; str2hashbuf()
63 val = pad; str2hashbuf()
70 *buf++ = pad; str2hashbuf()
/linux-4.1.27/drivers/media/v4l2-core/
H A Dv4l2-subdev.c38 fh->pad = kzalloc(sizeof(*fh->pad) * sd->entity.num_pads, GFP_KERNEL); subdev_fh_init()
39 if (fh->pad == NULL) subdev_fh_init()
48 kfree(fh->pad); subdev_fh_free()
49 fh->pad = NULL; subdev_fh_free()
136 if (format->pad >= sd->entity.num_pads) check_format()
148 if (crop->pad >= sd->entity.num_pads) check_crop()
161 if (sel->pad >= sd->entity.num_pads) check_selection()
169 if (edid->pad >= sd->entity.num_pads) check_edid()
264 return v4l2_subdev_call(sd, pad, get_fmt, subdev_fh->pad, format); subdev_do_ioctl()
274 return v4l2_subdev_call(sd, pad, set_fmt, subdev_fh->pad, format); subdev_do_ioctl()
287 sel.pad = crop->pad; subdev_do_ioctl()
291 sd, pad, get_selection, subdev_fh->pad, &sel); subdev_do_ioctl()
308 sel.pad = crop->pad; subdev_do_ioctl()
313 sd, pad, set_selection, subdev_fh->pad, &sel); subdev_do_ioctl()
327 if (code->pad >= sd->entity.num_pads) subdev_do_ioctl()
330 return v4l2_subdev_call(sd, pad, enum_mbus_code, subdev_fh->pad, subdev_do_ioctl()
341 if (fse->pad >= sd->entity.num_pads) subdev_do_ioctl()
344 return v4l2_subdev_call(sd, pad, enum_frame_size, subdev_fh->pad, subdev_do_ioctl()
351 if (fi->pad >= sd->entity.num_pads) subdev_do_ioctl()
360 if (fi->pad >= sd->entity.num_pads) subdev_do_ioctl()
373 if (fie->pad >= sd->entity.num_pads) subdev_do_ioctl()
376 return v4l2_subdev_call(sd, pad, enum_frame_interval, subdev_fh->pad, subdev_do_ioctl()
388 sd, pad, get_selection, subdev_fh->pad, sel); subdev_do_ioctl()
399 sd, pad, set_selection, subdev_fh->pad, sel); subdev_do_ioctl()
409 return v4l2_subdev_call(sd, pad, get_edid, edid); subdev_do_ioctl()
419 return v4l2_subdev_call(sd, pad, set_edid, edid); subdev_do_ioctl()
425 if (cap->pad >= sd->entity.num_pads) subdev_do_ioctl()
428 return v4l2_subdev_call(sd, pad, dv_timings_cap, cap); subdev_do_ioctl()
434 if (dvt->pad >= sd->entity.num_pads) subdev_do_ioctl()
437 return v4l2_subdev_call(sd, pad, enum_dv_timings, dvt); subdev_do_ioctl()
526 v4l2_subdev_link_validate_get_format(struct media_pad *pad, v4l2_subdev_link_validate_get_format() argument
529 if (media_entity_type(pad->entity) == MEDIA_ENT_T_V4L2_SUBDEV) { v4l2_subdev_link_validate_get_format()
531 media_entity_to_v4l2_subdev(pad->entity); v4l2_subdev_link_validate_get_format()
534 fmt->pad = pad->index; v4l2_subdev_link_validate_get_format()
535 return v4l2_subdev_call(sd, pad, get_fmt, NULL, fmt); v4l2_subdev_link_validate_get_format()
538 WARN(pad->entity->type != MEDIA_ENT_T_DEVNODE_V4L, v4l2_subdev_link_validate_get_format()
540 pad->entity->type, pad->entity->name); v4l2_subdev_link_validate_get_format()
563 rval = v4l2_subdev_call(sink, pad, link_validate, link, v4l2_subdev_link_validate()
/linux-4.1.27/drivers/input/joystick/
H A Dmaplecontrol.c30 struct dc_pad *pad = maple_get_drvdata(mapledev); dc_pad_callback() local
31 struct input_dev *dev = pad->dev; dc_pad_callback()
64 struct dc_pad *pad = dev_get_platdata(&dev->dev); dc_pad_open() local
66 maple_getcond_callback(pad->mdev, dc_pad_callback, HZ/20, dc_pad_open()
74 struct dc_pad *pad = dev_get_platdata(&dev->dev); dc_pad_close() local
76 maple_getcond_callback(pad->mdev, dc_pad_callback, 0, dc_pad_close()
100 struct dc_pad *pad; probe_maple_controller() local
104 pad = kzalloc(sizeof(struct dc_pad), GFP_KERNEL); probe_maple_controller()
106 if (!pad || !idev) { probe_maple_controller()
111 pad->dev = idev; probe_maple_controller()
112 pad->mdev = mdev; probe_maple_controller()
138 idev->dev.platform_data = pad; probe_maple_controller()
142 input_set_drvdata(idev, pad); probe_maple_controller()
149 maple_set_drvdata(mdev, pad); probe_maple_controller()
155 kfree(pad); probe_maple_controller()
163 struct dc_pad *pad = maple_get_drvdata(mdev); remove_maple_controller() local
166 input_unregister_device(pad->dev); remove_maple_controller()
168 kfree(pad); remove_maple_controller()
H A Dgamecon.c107 NULL, "SNES pad", "NES pad", "NES FourPort", "Multisystem joystick",
138 /* Reading the main axes of any N64 pad is known to fail if the corresponding bit */
176 * Each pad uses one bit per byte. So all pads connected to this port
186 * Request the pad to transmit data gc_n64_read_packet()
195 * Wait for the pad response to be loaded into the 33-bit register gc_n64_read_packet()
352 * Each pad uses one bit per byte. So all pads connected to
376 struct gc_pad *pad; gc_nes_process_packet() local
388 pad = &gc->pads[i]; gc_nes_process_packet()
389 dev = pad->dev; gc_nes_process_packet()
392 switch (pad->type) { gc_nes_process_packet()
489 struct gc_pad *pad; gc_multi_process_packet() local
496 pad = &gc->pads[i]; gc_multi_process_packet()
497 dev = pad->dev; gc_multi_process_packet()
500 switch (pad->type) { gc_multi_process_packet()
562 * the psx pad.
580 struct gc_pad *pad = &gc->pads[j]; gc_psx_command() local
582 if (pad->type == GC_PSX || pad->type == GC_DDR) gc_psx_command()
604 /* Select pad */ gc_psx_read_packet()
613 gc_psx_command(gc, 0x01, data2); /* Access pad */ gc_psx_read_packet()
617 /* Find the longest pad */ gc_psx_read_packet()
619 struct gc_pad *pad = &gc->pads[i]; gc_psx_read_packet() local
621 if ((pad->type == GC_PSX || pad->type == GC_DDR) && gc_psx_read_packet()
644 static void gc_psx_report_one(struct gc_pad *pad, unsigned char psx_type, gc_psx_report_one() argument
647 struct input_dev *dev = pad->dev; gc_psx_report_one()
660 if (pad->type == GC_DDR) { gc_psx_report_one()
687 if (pad->type == GC_DDR) { gc_psx_report_one()
719 default: /* not a pad, ignore */ gc_psx_report_one()
728 struct gc_pad *pad; gc_psx_process_packet() local
734 pad = &gc->pads[i]; gc_psx_process_packet()
735 if (pad->type == GC_PSX || pad->type == GC_DDR) gc_psx_process_packet()
736 gc_psx_report_one(pad, id[i], data[i]); gc_psx_process_packet()
816 struct gc_pad *pad = &gc->pads[idx]; gc_setup_pad() local
826 pad->dev = input_dev = input_allocate_device(); gc_setup_pad()
832 pad->type = pad_type; gc_setup_pad()
834 snprintf(pad->phys, sizeof(pad->phys), gc_setup_pad()
838 input_dev->phys = pad->phys; gc_setup_pad()
917 err = input_register_device(pad->dev); gc_setup_pad()
924 input_free_device(pad->dev); gc_setup_pad()
925 pad->dev = NULL; gc_setup_pad()
H A Dxpad.c64 * - fixed d-pad to axes mapping
66 * 2002-07-17 - 0.0.5 : simplified d-pad handling
68 * 2004-10-02 - 0.0.6 : DDR pad support
73 * the D-PAD to map to buttons if your pad is not detected
85 #define DRIVER_DESC "X-Box pad driver"
122 { 0x045e, 0x0202, "Microsoft X-Box pad v1 (US)", 0, XTYPE_XBOX },
123 { 0x045e, 0x0285, "Microsoft X-Box pad (Japan)", 0, XTYPE_XBOX },
125 { 0x045e, 0x0289, "Microsoft X-Box pad v2 (US)", 0, XTYPE_XBOX },
126 { 0x045e, 0x028e, "Microsoft X-Box 360 pad", 0, XTYPE_XBOX360 },
127 { 0x045e, 0x02d1, "Microsoft X-Box One pad", 0, XTYPE_XBOXONE },
139 { 0x05fd, 0x107a, "InterAct 'PowerPad Pro' X-Box pad (Germany)", 0, XTYPE_XBOX },
163 { 0x0d2f, 0x0002, "Andamiro Pump It Up pad", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX },
216 { 0x0000, 0x0000, "Generic X-Box pad", 0, XTYPE_UNKNOWN }
234 BTN_TRIGGER_HAPPY1, BTN_TRIGGER_HAPPY2, /* d-pad left, right */
235 BTN_TRIGGER_HAPPY3, BTN_TRIGGER_HAPPY4, /* d-pad up, down */
260 ABS_HAT0X, ABS_HAT0Y, /* d-pad axes */
345 int mapping; /* map d-pad to buttons or to axes */
386 /* digital pad */ xpad_process_packet()
434 /* digital pad */ xpad360_process_packet()
517 /* Valid pad data */ xpad360w_process_packet()
543 /* digital pad */ xpadone_process_buttons()
1013 case ABS_HAT0Y: /* the d-pad (only if dpad is mapped to axes */ xpad_set_up_abs()
H A Dadi.c117 signed char pad; member in struct:adi
233 if (i == adi->pad) { adi_decode()
388 adi->pad = 4; adi_id_decode()
392 adi->pad = 0; adi_id_decode()
396 adi->pad = -1; adi_id_decode()
435 for (i = 0; i < adi->axes10 + adi->axes8 + (adi->hats + (adi->pad != -1)) * 2; i++) adi_init_input()
451 for (i = 0; i < adi->axes10 + adi->axes8 + (adi->hats + (adi->pad != -1)) * 2; i++) { adi_init_center()
H A Ddb9.c124 { "Genesis pad", db9_genesis_btn, 4, 1, 2, 1, 1 },
126 { "Genesis 5 pad", db9_genesis_btn, 6, 1, 2, 1, 1 },
127 { "Genesis 6 pad", db9_genesis_btn, 8, 1, 2, 1, 1 },
128 { "Saturn pad", db9_cd32_btn, 9, 6, 7, 0, 1 },
131 { "Amiga CD-32 pad", db9_cd32_btn, 7, 1, 2, 1, 1 },
215 /* 1111 no pad */ db9_saturn_read_packet()
247 /* read each pad */ db9_saturn_read_packet()
290 case 0x02: /* digital pad (digital 2 axis + buttons) */ db9_saturn_report()
325 default: /* no pad */ db9_saturn_report()
/linux-4.1.27/include/uapi/linux/netfilter/
H A Dxt_NFLOG.h16 __u16 pad; member in struct:xt_nflog_info
H A Dxt_quota.h15 __u32 pad; member in struct:xt_quota_info
/linux-4.1.27/include/uapi/linux/netfilter_bridge/
H A Debt_nflog.h19 __u16 pad; member in struct:ebt_nflog_info
/linux-4.1.27/include/uapi/linux/tc_ematch/
H A Dtc_em_text.h16 __u8 pad; member in struct:tcf_em_text
/linux-4.1.27/arch/sh/include/uapi/asm/
H A Dptrace_64.h10 unsigned long long pad[2]; member in struct:pt_regs
/linux-4.1.27/fs/ext3/
H A Dhash.c70 __u32 pad, val; str2hashbuf_signed() local
74 pad = (__u32)len | ((__u32)len << 8); str2hashbuf_signed()
75 pad |= pad << 16; str2hashbuf_signed()
77 val = pad; str2hashbuf_signed()
82 val = pad; str2hashbuf_signed()
86 val = pad; str2hashbuf_signed()
93 *buf++ = pad; str2hashbuf_signed()
98 __u32 pad, val; str2hashbuf_unsigned() local
102 pad = (__u32)len | ((__u32)len << 8); str2hashbuf_unsigned()
103 pad |= pad << 16; str2hashbuf_unsigned()
105 val = pad; str2hashbuf_unsigned()
110 val = pad; str2hashbuf_unsigned()
114 val = pad; str2hashbuf_unsigned()
121 *buf++ = pad; str2hashbuf_unsigned()
/linux-4.1.27/fs/ext4/
H A Dhash.c71 __u32 pad, val; str2hashbuf_signed() local
75 pad = (__u32)len | ((__u32)len << 8); str2hashbuf_signed()
76 pad |= pad << 16; str2hashbuf_signed()
78 val = pad; str2hashbuf_signed()
83 val = pad; str2hashbuf_signed()
87 val = pad; str2hashbuf_signed()
94 *buf++ = pad; str2hashbuf_signed()
99 __u32 pad, val; str2hashbuf_unsigned() local
103 pad = (__u32)len | ((__u32)len << 8); str2hashbuf_unsigned()
104 pad |= pad << 16; str2hashbuf_unsigned()
106 val = pad; str2hashbuf_unsigned()
111 val = pad; str2hashbuf_unsigned()
115 val = pad; str2hashbuf_unsigned()
122 *buf++ = pad; str2hashbuf_unsigned()
/linux-4.1.27/lib/reed_solomon/
H A Dencode_rs.c21 int i, j, pad; variable
31 pad = nn - nroots - len;
32 if (pad < 0 || pad >= nn)
H A Ddecode_rs.c21 int i, j, r, k, pad; variable
41 pad = nn - nroots - len;
42 BUG_ON(pad < 0 || pad >= nn);
246 if (num1 != 0 && loc[j] >= pad) {
259 data[loc[j] - pad] ^= cor;
267 eras_pos[i] = loc[i] - pad;
/linux-4.1.27/fs/reiserfs/
H A Dhashes.c50 u32 pad; keyed_hash() local
55 pad = (u32) len | ((u32) len << 8); keyed_hash()
56 pad |= pad << 16; keyed_hash()
85 d = pad; keyed_hash()
96 c = d = pad; keyed_hash()
105 b = c = d = pad; keyed_hash()
111 a = b = c = d = pad; keyed_hash()
/linux-4.1.27/drivers/media/platform/vsp1/
H A Dvsp1_rwpf.c51 format = vsp1_entity_get_pad_format(&rwpf->entity, cfg, fse->pad, vsp1_rwpf_enum_frame_size()
57 if (fse->pad == RWPF_PAD_SINK) { vsp1_rwpf_enum_frame_size()
63 /* The size on the source pad are fixed and always identical to vsp1_rwpf_enum_frame_size()
64 * the size on the sink pad. vsp1_rwpf_enum_frame_size()
93 fmt->format = *vsp1_entity_get_pad_format(&rwpf->entity, cfg, fmt->pad, vsp1_rwpf_get_format()
111 format = vsp1_entity_get_pad_format(&rwpf->entity, cfg, fmt->pad, vsp1_rwpf_set_format()
114 if (fmt->pad == RWPF_PAD_SOURCE) { vsp1_rwpf_set_format()
116 * format code can be changed on the source pad. vsp1_rwpf_set_format()
140 /* Propagate the format to the source pad. */ vsp1_rwpf_set_format()
155 /* Cropping is implemented on the sink pad. */ vsp1_rwpf_get_selection()
156 if (sel->pad != RWPF_PAD_SINK) vsp1_rwpf_get_selection()
188 /* Cropping is implemented on the sink pad. */ vsp1_rwpf_set_selection()
189 if (sel->pad != RWPF_PAD_SINK) vsp1_rwpf_set_selection()
214 /* Propagate the format to the source pad. */ vsp1_rwpf_set_selection()
H A Dvsp1_entity.c67 unsigned int pad, u32 which) vsp1_entity_get_pad_format()
71 return v4l2_subdev_get_try_format(&entity->subdev, cfg, pad); vsp1_entity_get_pad_format()
73 return &entity->formats[pad]; vsp1_entity_get_pad_format()
82 * @cfg: V4L2 subdev pad configuration
84 * Initialize all pad formats with default values. If cfg is not NULL, try
92 unsigned int pad; vsp1_entity_init_formats() local
94 for (pad = 0; pad < subdev->entity.num_pads - 1; ++pad) { vsp1_entity_init_formats()
97 format.pad = pad; vsp1_entity_init_formats()
101 v4l2_subdev_call(subdev, pad, set_fmt, cfg, &format); vsp1_entity_init_formats()
108 vsp1_entity_init_formats(subdev, fh->pad); vsp1_entity_open()
65 vsp1_entity_get_pad_format(struct vsp1_entity *entity, struct v4l2_subdev_pad_config *cfg, unsigned int pad, u32 which) vsp1_entity_get_pad_format() argument
H A Dvsp1_hsit.c66 if ((code->pad == HSIT_PAD_SINK && !hsit->inverse) | hsit_enum_mbus_code()
67 (code->pad == HSIT_PAD_SOURCE && hsit->inverse)) hsit_enum_mbus_code()
82 format = vsp1_entity_get_pad_format(&hsit->entity, cfg, fse->pad, hsit_enum_frame_size()
88 if (fse->pad == HSIT_PAD_SINK) { hsit_enum_frame_size()
94 /* The size on the source pad are fixed and always identical to hsit_enum_frame_size()
95 * the size on the sink pad. hsit_enum_frame_size()
112 fmt->format = *vsp1_entity_get_pad_format(&hsit->entity, cfg, fmt->pad, hsit_get_format()
125 format = vsp1_entity_get_pad_format(&hsit->entity, cfg, fmt->pad, hsit_set_format()
128 if (fmt->pad == HSIT_PAD_SOURCE) { hsit_set_format()
147 /* Propagate the format to the source pad. */ hsit_set_format()
174 .pad = &hsit_pad_ops,
H A Dvsp1_lut.c96 if (code->pad == LUT_PAD_SINK) { lut_enum_mbus_code()
124 fse->pad, fse->which); lut_enum_frame_size()
129 if (fse->pad == LUT_PAD_SINK) { lut_enum_frame_size()
135 /* The size on the source pad are fixed and always identical to lut_enum_frame_size()
136 * the size on the sink pad. lut_enum_frame_size()
152 fmt->format = *vsp1_entity_get_pad_format(&lut->entity, cfg, fmt->pad, lut_get_format()
170 format = vsp1_entity_get_pad_format(&lut->entity, cfg, fmt->pad, lut_set_format()
173 if (fmt->pad == LUT_PAD_SOURCE) { lut_set_format()
188 /* Propagate the format to the source pad. */ lut_set_format()
218 .pad = &lut_pad_ops,
H A Dvsp1_bru.c181 * identical. We pick the format on the first sink pad (pad 0) and propagate it
196 if (code->pad == BRU_PAD_SINK(0)) { bru_enum_mbus_code()
234 unsigned int pad, u32 which) bru_get_compose()
238 return v4l2_subdev_get_try_crop(&bru->entity.subdev, cfg, pad); bru_get_compose()
240 return &bru->inputs[pad].compose; bru_get_compose()
251 fmt->format = *vsp1_entity_get_pad_format(&bru->entity, cfg, fmt->pad, bru_get_format()
258 unsigned int pad, struct v4l2_mbus_framefmt *fmt, bru_try_format()
263 switch (pad) { bru_try_format()
291 bru_try_format(bru, cfg, fmt->pad, &fmt->format, fmt->which); bru_set_format()
293 format = vsp1_entity_get_pad_format(&bru->entity, cfg, fmt->pad, bru_set_format()
298 if (fmt->pad != BRU_PAD_SOURCE) { bru_set_format()
301 compose = bru_get_compose(bru, cfg, fmt->pad, fmt->which); bru_set_format()
309 if (fmt->pad == BRU_PAD_SINK(0)) { bru_set_format()
328 if (sel->pad == BRU_PAD_SOURCE) bru_get_selection()
340 sel->r = *bru_get_compose(bru, cfg, sel->pad, sel->which); bru_get_selection()
356 if (sel->pad == BRU_PAD_SOURCE) bru_set_selection()
373 format = vsp1_entity_get_pad_format(&bru->entity, cfg, sel->pad, bru_set_selection()
378 compose = bru_get_compose(bru, cfg, sel->pad, sel->which); bru_set_selection()
403 .pad = &bru_pad_ops,
232 bru_get_compose(struct vsp1_bru *bru, struct v4l2_subdev_pad_config *cfg, unsigned int pad, u32 which) bru_get_compose() argument
257 bru_try_format(struct vsp1_bru *bru, struct v4l2_subdev_pad_config *cfg, unsigned int pad, struct v4l2_mbus_framefmt *fmt, enum v4l2_subdev_format_whence which) bru_try_format() argument
H A Dvsp1_lif.c86 if (code->pad == LIF_PAD_SINK) { lif_enum_mbus_code()
121 if (fse->pad == LIF_PAD_SINK) { lif_enum_frame_size()
141 fmt->format = *vsp1_entity_get_pad_format(&lif->entity, cfg, fmt->pad, lif_get_format()
158 format = vsp1_entity_get_pad_format(&lif->entity, cfg, fmt->pad, lif_set_format()
161 if (fmt->pad == LIF_PAD_SOURCE) { lif_set_format()
179 /* Propagate the format to the source pad. */ lif_set_format()
204 .pad = &lif_pad_ops,
H A Dvsp1_sru.c179 if (code->pad == SRU_PAD_SINK) { sru_enum_mbus_code()
212 if (fse->pad == SRU_PAD_SINK) { sru_enum_frame_size()
238 fmt->format = *vsp1_entity_get_pad_format(&sru->entity, cfg, fmt->pad, sru_get_format()
245 unsigned int pad, struct v4l2_mbus_framefmt *fmt, sru_try_format()
252 switch (pad) { sru_try_format()
301 sru_try_format(sru, cfg, fmt->pad, &fmt->format, fmt->which); sru_set_format()
303 format = vsp1_entity_get_pad_format(&sru->entity, cfg, fmt->pad, sru_set_format()
307 if (fmt->pad == SRU_PAD_SINK) { sru_set_format()
308 /* Propagate the format to the source pad. */ sru_set_format()
336 .pad = &sru_pad_ops,
244 sru_try_format(struct vsp1_sru *sru, struct v4l2_subdev_pad_config *cfg, unsigned int pad, struct v4l2_mbus_framefmt *fmt, enum v4l2_subdev_format_whence which) sru_try_format() argument
H A Dvsp1_uds.c181 if (code->pad == UDS_PAD_SINK) { uds_enum_mbus_code()
216 if (fse->pad == UDS_PAD_SINK) { uds_enum_frame_size()
236 fmt->format = *vsp1_entity_get_pad_format(&uds->entity, cfg, fmt->pad, uds_get_format()
243 unsigned int pad, struct v4l2_mbus_framefmt *fmt, uds_try_format()
250 switch (pad) { uds_try_format()
284 uds_try_format(uds, cfg, fmt->pad, &fmt->format, fmt->which); uds_set_format()
286 format = vsp1_entity_get_pad_format(&uds->entity, cfg, fmt->pad, uds_set_format()
290 if (fmt->pad == UDS_PAD_SINK) { uds_set_format()
291 /* Propagate the format to the source pad. */ uds_set_format()
319 .pad = &uds_pad_ops,
242 uds_try_format(struct vsp1_uds *uds, struct v4l2_subdev_pad_config *cfg, unsigned int pad, struct v4l2_mbus_framefmt *fmt, enum v4l2_subdev_format_whence which) uds_try_format() argument
H A Dvsp1_video.c158 vsp1_video_remote_subdev(struct media_pad *local, u32 *pad) vsp1_video_remote_subdev() argument
167 if (pad) vsp1_video_remote_subdev()
168 *pad = remote->index; vsp1_video_remote_subdev()
179 subdev = vsp1_video_remote_subdev(&video->pad, &fmt.pad); vsp1_video_verify_format()
184 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt); vsp1_video_verify_format()
316 struct media_pad *pad; vsp1_pipeline_validate_branch() local
322 pad = media_entity_remote_pad(&input->entity.pads[RWPF_PAD_SOURCE]); vsp1_pipeline_validate_branch()
325 if (pad == NULL) vsp1_pipeline_validate_branch()
329 if (media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) vsp1_pipeline_validate_branch()
332 entity = to_vsp1_entity(media_entity_to_v4l2_subdev(pad->entity)); vsp1_pipeline_validate_branch()
340 &bru->inputs[pad->index].compose; vsp1_pipeline_validate_branch()
342 bru->inputs[pad->index].rpf = input; vsp1_pipeline_validate_branch()
375 pad = &entity->pads[entity->source_pad]; vsp1_pipeline_validate_branch()
376 pad = media_entity_remote_pad(pad); vsp1_pipeline_validate_branch()
678 struct media_pad *pad; vsp1_pipeline_propagate_alpha() local
680 pad = media_entity_remote_pad(&input->pads[RWPF_PAD_SOURCE]); vsp1_pipeline_propagate_alpha()
682 while (pad) { vsp1_pipeline_propagate_alpha()
683 if (media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) vsp1_pipeline_propagate_alpha()
686 entity = to_vsp1_entity(media_entity_to_v4l2_subdev(pad->entity)); vsp1_pipeline_propagate_alpha()
701 pad = &entity->pads[entity->source_pad]; vsp1_pipeline_propagate_alpha()
702 pad = media_entity_remote_pad(pad); vsp1_pipeline_propagate_alpha()
1119 video->pad.flags = MEDIA_PAD_FL_SINK; vsp1_video_init()
1124 video->pad.flags = MEDIA_PAD_FL_SOURCE; vsp1_video_init()
1145 ret = media_entity_init(&video->video.entity, 1, &video->pad, 0); vsp1_video_init()
H A Dvsp1_drv.c72 * pad. Links that would be invalid according to the VSP1 hardware capabilities
82 unsigned int pad; vsp1_create_links() local
100 for (pad = 0; pad < entity->num_pads; ++pad) { vsp1_create_links()
101 if (!(entity->pads[pad].flags & MEDIA_PAD_FL_SINK)) vsp1_create_links()
106 entity, pad, flags); vsp1_create_links()
/linux-4.1.27/drivers/xen/
H A DMakefile16 dom0-$(CONFIG_XEN_ACPI) += acpi.o $(xen-pad-y)
17 xen-pad-$(CONFIG_X86) += xen-acpi-pad.o
H A Dxen-acpi-pad.c2 * xen-acpi-pad.c - Xen pad interface
160 /* Only DOM0 is responsible for Xen acpi pad */ xen_acpi_pad_init()
164 /* Only Xen4.2 or later support Xen acpi pad */ xen_acpi_pad_init()
/linux-4.1.27/arch/arm/mach-omap2/
H A Dmux.c284 struct omap_device_pad *bpad = &bpads[i], *pad = &hmux->pads[i]; omap_hwmod_mux_init() local
291 if (!pad->partition) omap_hwmod_mux_init()
292 pad->partition = partition; omap_hwmod_mux_init()
293 if (!pad->mux) omap_hwmod_mux_init()
294 pad->mux = mux; omap_hwmod_mux_init()
296 pad->name = kzalloc(strlen(bpad->name) + 1, GFP_KERNEL); omap_hwmod_mux_init()
297 if (!pad->name) { omap_hwmod_mux_init()
304 strcpy(pad->name, bpad->name); omap_hwmod_mux_init()
306 pad->flags = bpad->flags; omap_hwmod_mux_init()
307 pad->enable = bpad->enable; omap_hwmod_mux_init()
308 pad->idle = bpad->idle; omap_hwmod_mux_init()
309 pad->off = bpad->off; omap_hwmod_mux_init()
311 if (pad->flags & omap_hwmod_mux_init()
315 pr_debug("%s: Initialized %s\n", __func__, pad->name); omap_hwmod_mux_init()
335 struct omap_device_pad *pad = &hmux->pads[i]; omap_hwmod_mux_init() local
337 if (pad->flags & omap_hwmod_mux_init()
339 pr_debug("%s: pad %s tagged dynamic\n", omap_hwmod_mux_init()
340 __func__, pad->name); omap_hwmod_mux_init()
341 hmux->pads_dynamic[nr_pads_dynamic] = pad; omap_hwmod_mux_init()
366 * first wakeup active pad and return. Returns true if there is a
377 struct omap_device_pad *pad = hmux->pads_dynamic[i]; omap_hwmod_mux_scan_wakeups() local
379 if (!(pad->flags & OMAP_DEVICE_PAD_WAKEUP) || omap_hwmod_mux_scan_wakeups()
380 !(pad->idle & OMAP_WAKEUP_EN)) omap_hwmod_mux_scan_wakeups()
383 val = omap_mux_read(pad->partition, pad->mux->reg_offset); omap_hwmod_mux_scan_wakeups()
406 * Checks a single hwmod for every wakeup capable pad to see if there is an
419 * omap_hwmod_mux_handle_irq - Process pad wakeup irqs.
422 * pad wakeup statuses.
438 struct omap_device_pad *pad = hmux->pads_dynamic[i]; omap_hwmod_mux() local
441 val = pad->idle; omap_hwmod_mux()
442 omap_mux_write(pad->partition, val, omap_hwmod_mux()
443 pad->mux->reg_offset); omap_hwmod_mux()
453 struct omap_device_pad *pad = hmux->pads_dynamic[i]; omap_hwmod_mux() local
456 val = pad->enable; omap_hwmod_mux()
457 omap_mux_write(pad->partition, val, omap_hwmod_mux()
458 pad->mux->reg_offset); omap_hwmod_mux()
466 struct omap_device_pad *pad = &hmux->pads[i]; omap_hwmod_mux() local
469 flags = pad->flags; omap_hwmod_mux()
473 val = pad->enable; omap_hwmod_mux()
475 pad->name, val); omap_hwmod_mux()
480 val = pad->off; omap_hwmod_mux()
484 pad->name, val); omap_hwmod_mux()
492 omap_mux_write(pad->partition, val, omap_hwmod_mux()
493 pad->mux->reg_offset); omap_hwmod_mux()
494 pad->flags = flags; omap_hwmod_mux()
H A Dhsmmc.h25 /* Remux (pad configuration) when powering on/off */
H A Dmux.h73 * OMAP_GPIO_MUX_MODE, bits 0-2: gpio muxing mode, same like pad control
162 #define OMAP_DEVICE_PAD_REMUX BIT(1) /* Dynamically remux a pad,
168 * struct omap_device_pad - device specific pad configuration
170 * @flags: pad specific runtime flags
171 * @enable: runtime value for a pad
172 * @idle: idle value for a pad
173 * @off: off value for a pad, defaults to safe mode
H A Domap4-sar-layout.h22 /* Scratch pad memory offsets from SAR_BANK1 */
/linux-4.1.27/drivers/scsi/megaraid/
H A Dmegaraid_mm.h51 * @pad :
56 * @pad :
77 uint8_t pad[4]; member in struct:mimd::__anon9276::__anon9277
91 char pad[4]; member in struct:mimd
/linux-4.1.27/arch/x86/include/asm/
H A Dkbdleds.h5 * Some laptops take the 789uiojklm,. keys as number pad when NumLock is on.
H A Dpvclock-abi.h33 u8 pad[2]; member in struct:pvclock_vcpu_time_info
/linux-4.1.27/arch/parisc/include/asm/
H A Dcompat_ucontext.h12 compat_uint_t pad[1]; member in struct:compat_ucontext
H A Deisa_eeprom.h31 u_int8_t pad[10]; member in struct:eeprom_header
76 u_int8_t pad[24]; member in struct:eeprom_eisa_slot_info
/linux-4.1.27/arch/hexagon/include/uapi/asm/
H A Duser.h59 unsigned long pad1; /* pad out to 48 words total */
60 unsigned long pad2; /* pad out to 48 words total */
61 unsigned long pad3; /* pad out to 48 words total */
65 unsigned long pad1; /* pad out to 48 words total */
/linux-4.1.27/drivers/staging/media/omap4iss/
H A Diss_ipipe.c28 unsigned int pad, enum v4l2_subdev_format_whence which);
180 unsigned int pad, enum v4l2_subdev_format_whence which) __ipipe_get_format()
183 return v4l2_subdev_get_try_format(&ipipe->subdev, cfg, pad); __ipipe_get_format()
185 return &ipipe->formats[pad]; __ipipe_get_format()
189 * ipipe_try_format - Try video format on a pad
191 * @cfg: V4L2 subdev pad config
192 * @pad: Pad number
197 unsigned int pad, struct v4l2_mbus_framefmt *fmt, ipipe_try_format()
205 switch (pad) { ipipe_try_format()
239 * @cfg : V4L2 subdev pad config
247 switch (code->pad) { ipipe_enum_mbus_code()
283 ipipe_try_format(ipipe, cfg, fse->pad, &format, fse->which); ipipe_enum_frame_size()
293 ipipe_try_format(ipipe, cfg, fse->pad, &format, fse->which); ipipe_enum_frame_size()
301 * ipipe_get_format - Retrieve the video format on a pad
303 * @cfg: V4L2 subdev pad config
306 * Return 0 on success or -EINVAL if the pad is invalid or doesn't correspond
315 format = __ipipe_get_format(ipipe, cfg, fmt->pad, fmt->which); ipipe_get_format()
324 * ipipe_set_format - Set the video format on a pad
326 * @cfg: V4L2 subdev pad config
329 * Return 0 on success or -EINVAL if the pad is invalid or doesn't correspond
338 format = __ipipe_get_format(ipipe, cfg, fmt->pad, fmt->which); ipipe_set_format()
342 ipipe_try_format(ipipe, cfg, fmt->pad, &fmt->format, fmt->which); ipipe_set_format()
346 if (fmt->pad == IPIPE_PAD_SINK) { ipipe_set_format()
377 * Initialize all pad formats with default values. If fh is not NULL, try
386 format.pad = IPIPE_PAD_SINK; ipipe_init_formats()
391 ipipe_set_format(sd, fh ? fh->pad : NULL, &format); ipipe_init_formats()
401 /* V4L2 subdev pad operations */
413 .pad = &ipipe_v4l2_pad_ops,
179 __ipipe_get_format(struct iss_ipipe_device *ipipe, struct v4l2_subdev_pad_config *cfg, unsigned int pad, enum v4l2_subdev_format_whence which) __ipipe_get_format() argument
196 ipipe_try_format(struct iss_ipipe_device *ipipe, struct v4l2_subdev_pad_config *cfg, unsigned int pad, struct v4l2_mbus_framefmt *fmt, enum v4l2_subdev_format_whence which) ipipe_try_format() argument
H A Diss_ipipeif.c364 struct v4l2_subdev_pad_config *cfg, unsigned int pad, __ipipeif_get_format()
368 return v4l2_subdev_get_try_format(&ipipeif->subdev, cfg, pad); __ipipeif_get_format()
369 return &ipipeif->formats[pad]; __ipipeif_get_format()
373 * ipipeif_try_format - Try video format on a pad
375 * @cfg: V4L2 subdev pad config
376 * @pad: Pad number
381 struct v4l2_subdev_pad_config *cfg, unsigned int pad, ipipeif_try_format()
390 switch (pad) { ipipeif_try_format()
392 /* TODO: If the IPIPEIF output formatter pad is connected ipipeif_try_format()
444 * @cfg : V4L2 subdev pad config
455 switch (code->pad) { ipipeif_enum_mbus_code()
495 ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); ipipeif_enum_frame_size()
505 ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); ipipeif_enum_frame_size()
513 * ipipeif_get_format - Retrieve the video format on a pad
515 * @cfg: V4L2 subdev pad config
518 * Return 0 on success or -EINVAL if the pad is invalid or doesn't correspond
527 format = __ipipeif_get_format(ipipeif, cfg, fmt->pad, fmt->which); ipipeif_get_format()
536 * ipipeif_set_format - Set the video format on a pad
538 * @cfg: V4L2 subdev pad config
541 * Return 0 on success or -EINVAL if the pad is invalid or doesn't correspond
550 format = __ipipeif_get_format(ipipeif, cfg, fmt->pad, fmt->which); ipipeif_set_format()
554 ipipeif_try_format(ipipeif, cfg, fmt->pad, &fmt->format, fmt->which); ipipeif_set_format()
558 if (fmt->pad == IPIPEIF_PAD_SINK) { ipipeif_set_format()
598 * Initialize all pad formats with default values. If fh is not NULL, try
608 format.pad = IPIPEIF_PAD_SINK; ipipeif_init_formats()
613 ipipeif_set_format(sd, fh ? fh->pad : NULL, &format); ipipeif_init_formats()
623 /* V4L2 subdev pad operations */
635 .pad = &ipipeif_v4l2_pad_ops,
363 __ipipeif_get_format(struct iss_ipipeif_device *ipipeif, struct v4l2_subdev_pad_config *cfg, unsigned int pad, enum v4l2_subdev_format_whence which) __ipipeif_get_format() argument
380 ipipeif_try_format(struct iss_ipipeif_device *ipipeif, struct v4l2_subdev_pad_config *cfg, unsigned int pad, struct v4l2_mbus_framefmt *fmt, enum v4l2_subdev_format_whence which) ipipeif_try_format() argument
H A Diss_resizer.c423 struct v4l2_subdev_pad_config *cfg, unsigned int pad, __resizer_get_format()
427 return v4l2_subdev_get_try_format(&resizer->subdev, cfg, pad); __resizer_get_format()
428 return &resizer->formats[pad]; __resizer_get_format()
432 * resizer_try_format - Try video format on a pad
434 * @cfg: V4L2 subdev pad config
435 * @pad: Pad number
440 struct v4l2_subdev_pad_config *cfg, unsigned int pad, resizer_try_format()
450 switch (pad) { resizer_try_format()
495 * @cfg: V4L2 subdev pad config
506 switch (code->pad) { resizer_enum_mbus_code()
557 resizer_try_format(resizer, cfg, fse->pad, &format, fse->which); resizer_enum_frame_size()
567 resizer_try_format(resizer, cfg, fse->pad, &format, fse->which); resizer_enum_frame_size()
575 * resizer_get_format - Retrieve the video format on a pad
577 * @cfg: V4L2 subdev pad config
580 * Return 0 on success or -EINVAL if the pad is invalid or doesn't correspond
589 format = __resizer_get_format(resizer, cfg, fmt->pad, fmt->which); resizer_get_format()
598 * resizer_set_format - Set the video format on a pad
600 * @cfg: V4L2 subdev pad config
603 * Return 0 on success or -EINVAL if the pad is invalid or doesn't correspond
612 format = __resizer_get_format(resizer, cfg, fmt->pad, fmt->which); resizer_set_format()
616 resizer_try_format(resizer, cfg, fmt->pad, &fmt->format, fmt->which); resizer_set_format()
620 if (fmt->pad == RESIZER_PAD_SINK) { resizer_set_format()
653 * Initialize all pad formats with default values. If fh is not NULL, try
663 format.pad = RESIZER_PAD_SINK; resizer_init_formats()
668 resizer_set_format(sd, fh ? fh->pad : NULL, &format); resizer_init_formats()
678 /* V4L2 subdev pad operations */
690 .pad = &resizer_v4l2_pad_ops,
422 __resizer_get_format(struct iss_resizer_device *resizer, struct v4l2_subdev_pad_config *cfg, unsigned int pad, enum v4l2_subdev_format_whence which) __resizer_get_format() argument
439 resizer_try_format(struct iss_resizer_device *resizer, struct v4l2_subdev_pad_config *cfg, unsigned int pad, struct v4l2_mbus_framefmt *fmt, enum v4l2_subdev_format_whence which) resizer_try_format() argument
H A Diss.c143 fmt.pad = link->source->index; omap4iss_get_external_info()
146 pad, get_fmt, NULL, &fmt); omap4iss_get_external_info()
581 struct media_pad *pad; iss_pipeline_disable() local
588 pad = &entity->pads[0]; iss_pipeline_disable()
589 if (!(pad->flags & MEDIA_PAD_FL_SINK)) iss_pipeline_disable()
592 pad = media_entity_remote_pad(pad); iss_pipeline_disable()
593 if (pad == NULL || iss_pipeline_disable()
594 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) iss_pipeline_disable()
597 entity = pad->entity; iss_pipeline_disable()
634 struct media_pad *pad; iss_pipeline_enable() local
656 pad = &entity->pads[0]; iss_pipeline_enable()
657 if (!(pad->flags & MEDIA_PAD_FL_SINK)) iss_pipeline_enable()
660 pad = media_entity_remote_pad(pad); iss_pipeline_enable()
661 if (pad == NULL || iss_pipeline_enable()
662 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) iss_pipeline_enable()
665 entity = pad->entity; iss_pipeline_enable()
740 struct media_pad *pad; iss_pipeline_is_last() local
747 pad = media_entity_remote_pad(&pipe->output->pad); iss_pipeline_is_last()
748 return pad->entity == me; iss_pipeline_is_last()
1228 unsigned int pad; iss_register_entities() local
1243 pad = CSI2_PAD_SINK; iss_register_entities()
1250 pad = CSI2_PAD_SINK; iss_register_entities()
1262 ret = media_entity_create_link(&sensor->entity, 0, input, pad, iss_register_entities()
H A Diss_csi2.c534 struct media_pad *pad; csi2_configure() local
545 pad = media_entity_remote_pad(&csi2->pads[CSI2_PAD_SINK]); csi2_configure()
546 sensor = media_entity_to_v4l2_subdev(pad->entity); csi2_configure()
832 unsigned int pad, enum v4l2_subdev_format_whence which) __csi2_get_format()
835 return v4l2_subdev_get_try_format(&csi2->subdev, cfg, pad); __csi2_get_format()
837 return &csi2->formats[pad]; __csi2_get_format()
842 unsigned int pad, struct v4l2_mbus_framefmt *fmt, csi2_try_format()
850 switch (pad) { csi2_try_format()
892 * @cfg : V4L2 subdev pad config
904 if (code->pad == CSI2_PAD_SINK) { csi2_enum_mbus_code()
914 /* Passthrough sink pad code */ csi2_enum_mbus_code()
946 csi2_try_format(csi2, cfg, fse->pad, &format, fse->which); csi2_enum_frame_size()
956 csi2_try_format(csi2, cfg, fse->pad, &format, fse->which); csi2_enum_frame_size()
966 * @cfg: V4L2 subdev pad config
976 format = __csi2_get_format(csi2, cfg, fmt->pad, fmt->which); csi2_get_format()
987 * @cfg: V4L2 subdev pad config
997 format = __csi2_get_format(csi2, cfg, fmt->pad, fmt->which); csi2_set_format()
1001 csi2_try_format(csi2, cfg, fmt->pad, &fmt->format, fmt->which); csi2_set_format()
1005 if (fmt->pad == CSI2_PAD_SINK) { csi2_set_format()
1037 * Initialize all pad formats with default values. If fh is not NULL, try
1046 format.pad = CSI2_PAD_SINK; csi2_init_formats()
1051 csi2_set_format(sd, fh ? fh->pad : NULL, &format); csi2_init_formats()
1128 /* subdev pad operations */
1140 .pad = &csi2_pad_ops,
1155 * @local : Pointer to local pad array
1156 * @remote : Pointer to remote pad array
831 __csi2_get_format(struct iss_csi2_device *csi2, struct v4l2_subdev_pad_config *cfg, unsigned int pad, enum v4l2_subdev_format_whence which) __csi2_get_format() argument
841 csi2_try_format(struct iss_csi2_device *csi2, struct v4l2_subdev_pad_config *cfg, unsigned int pad, struct v4l2_mbus_framefmt *fmt, enum v4l2_subdev_format_whence which) csi2_try_format() argument
H A Diss_video.c188 iss_video_remote_subdev(struct iss_video *video, u32 *pad) iss_video_remote_subdev() argument
192 remote = media_entity_remote_pad(&video->pad); iss_video_remote_subdev()
198 if (pad) iss_video_remote_subdev()
199 *pad = remote->index; iss_video_remote_subdev()
240 u32 pad; __iss_video_get_format() local
243 subdev = iss_video_remote_subdev(video, &pad); __iss_video_get_format()
248 fmt.pad = pad; __iss_video_get_format()
252 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt); __iss_video_get_format()
620 u32 pad; iss_video_try_format() local
626 subdev = iss_video_remote_subdev(video, &pad); iss_video_try_format()
632 fmt.pad = pad; iss_video_try_format()
634 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt); iss_video_try_format()
666 u32 pad; iss_video_get_crop() local
669 subdev = iss_video_remote_subdev(video, &pad); iss_video_get_crop()
680 format.pad = pad; iss_video_get_crop()
682 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &format); iss_video_get_crop()
1169 video->pad.flags = MEDIA_PAD_FL_SINK; omap4iss_video_init()
1173 video->pad.flags = MEDIA_PAD_FL_SOURCE; omap4iss_video_init()
1180 ret = media_entity_init(&video->video.entity, 1, &video->pad, 0); omap4iss_video_init()
/linux-4.1.27/drivers/net/wireless/mwifiex/
H A D11n_aggr.c48 struct sk_buff *skb_src, int *pad) mwifiex_11n_form_amsdu_pkt()
87 *pad = (4 - ((unsigned long)skb_aggr->tail & 0x3)) % 4; mwifiex_11n_form_amsdu_pkt()
89 return skb_aggr->len + *pad; mwifiex_11n_form_amsdu_pkt()
104 unsigned int pad; mwifiex_11n_form_amsdu_txpd() local
108 pad = ((void *)skb->data - sizeof(*local_tx_pd) - mwifiex_11n_form_amsdu_txpd()
110 skb_push(skb, pad); mwifiex_11n_form_amsdu_txpd()
125 pad); mwifiex_11n_form_amsdu_txpd()
129 pad); mwifiex_11n_form_amsdu_txpd()
173 int pad = 0, aggr_num = 0, ret; variable
221 mwifiex_11n_form_amsdu_pkt(skb_aggr, skb_src, &pad);
233 if (skb_tailroom(skb_aggr) < pad) {
234 pad = 0;
237 skb_put(skb_aggr, pad);
246 skb_trim(skb_aggr, skb_aggr->len - pad);
47 mwifiex_11n_form_amsdu_pkt(struct sk_buff *skb_aggr, struct sk_buff *skb_src, int *pad) mwifiex_11n_form_amsdu_pkt() argument
H A Dsta_tx.c50 unsigned int pad; mwifiex_process_sta_txpd() local
65 pad = ((void *)skb->data - (sizeof(*local_tx_pd) + hroom)- mwifiex_process_sta_txpd()
67 skb_push(skb, sizeof(*local_tx_pd) + pad); mwifiex_process_sta_txpd()
75 pad))); mwifiex_process_sta_txpd()
109 pkt_offset = sizeof(struct txpd) + pad; mwifiex_process_sta_txpd()
/linux-4.1.27/drivers/net/wan/
H A Dhdlc_raw_eth.c30 int pad = ETH_ZLEN - skb->len; eth_tx() local
31 if (pad > 0) { /* Pad the frame with zeros */ eth_tx()
33 if (skb_tailroom(skb) < pad) eth_tx()
34 if (pskb_expand_head(skb, 0, pad, GFP_ATOMIC)) { eth_tx()
39 skb_put(skb, pad); eth_tx()
40 memset(skb->data + len, 0, pad); eth_tx()
/linux-4.1.27/arch/sh/kernel/vsyscall/
H A Dvsyscall-note.S20 3: .balign 4; /* pad out section */ \
/linux-4.1.27/arch/mips/include/asm/mips-boards/
H A Dlaunch.h12 unsigned long _pad[3]; /* pad to cache line size to avoid thrashing */
/linux-4.1.27/arch/powerpc/kernel/vdso32/
H A Dnote.S20 3: .balign 4; /* pad out section */ \
/linux-4.1.27/drivers/media/i2c/
H A Ds5k6a3.c51 * @pad: subdev media source pad
55 * @format: media bus format at the sensor's source pad
60 struct media_pad pad; member in struct:s5k6a3
127 u32 pad, enum v4l2_subdev_format_whence which) __s5k6a3_get_format()
130 return cfg ? v4l2_subdev_get_try_format(&sensor->subdev, cfg, pad) : NULL; __s5k6a3_get_format()
144 mf = __s5k6a3_get_format(sensor, cfg, fmt->pad, fmt->which); s5k6a3_set_fmt()
161 mf = __s5k6a3_get_format(sensor, cfg, fmt->pad, fmt->which); s5k6a3_get_fmt()
177 struct v4l2_mbus_framefmt *format = v4l2_subdev_get_try_format(sd, fh->pad, 0); s5k6a3_open()
276 .pad = &s5k6a3_pad_ops,
335 sensor->pad.flags = MEDIA_PAD_FL_SOURCE; s5k6a3_probe()
336 ret = media_entity_init(&sd->entity, 1, &sensor->pad, 0); s5k6a3_probe()
125 __s5k6a3_get_format( struct s5k6a3 *sensor, struct v4l2_subdev_pad_config *cfg, u32 pad, enum v4l2_subdev_format_whence which) __s5k6a3_get_format() argument
H A Dmt9t001.c120 struct media_pad pad; member in struct:mt9t001
248 unsigned int pad, enum v4l2_subdev_format_whence which) __mt9t001_get_pad_format()
252 return v4l2_subdev_get_try_format(&mt9t001->subdev, cfg, pad); __mt9t001_get_pad_format()
262 unsigned int pad, enum v4l2_subdev_format_whence which) __mt9t001_get_pad_crop()
266 return v4l2_subdev_get_try_crop(&mt9t001->subdev, cfg, pad); __mt9t001_get_pad_crop()
361 format->format = *__mt9t001_get_pad_format(mt9t001, cfg, format->pad, mt9t001_get_format()
378 __crop = __mt9t001_get_pad_crop(mt9t001, cfg, format->pad, mt9t001_set_format()
394 __format = __mt9t001_get_pad_format(mt9t001, cfg, format->pad, mt9t001_set_format()
413 sel->r = *__mt9t001_get_pad_crop(mt9t001, cfg, sel->pad, sel->which); mt9t001_get_selection()
450 __crop = __mt9t001_get_pad_crop(mt9t001, cfg, sel->pad, sel->which); mt9t001_set_selection()
456 __format = __mt9t001_get_pad_format(mt9t001, cfg, sel->pad, mt9t001_set_selection()
793 crop = v4l2_subdev_get_try_crop(subdev, fh->pad, 0); mt9t001_open()
799 format = v4l2_subdev_get_try_format(subdev, fh->pad, 0); mt9t001_open()
834 .pad = &mt9t001_subdev_pad_ops,
935 mt9t001->pad.flags = MEDIA_PAD_FL_SOURCE; mt9t001_probe()
936 ret = media_entity_init(&mt9t001->subdev.entity, 1, &mt9t001->pad, 0); mt9t001_probe()
247 __mt9t001_get_pad_format(struct mt9t001 *mt9t001, struct v4l2_subdev_pad_config *cfg, unsigned int pad, enum v4l2_subdev_format_whence which) __mt9t001_get_pad_format() argument
261 __mt9t001_get_pad_crop(struct mt9t001 *mt9t001, struct v4l2_subdev_pad_config *cfg, unsigned int pad, enum v4l2_subdev_format_whence which) __mt9t001_get_pad_crop() argument
H A Ds5k5baf.c1184 * V4L2 subdev pad level and video operations
1191 fie->pad != PAD_CIS) s5k5baf_enum_frame_interval()
1209 if (code->pad == PAD_CIS) { s5k5baf_enum_mbus_code()
1232 if (fse->pad == PAD_CIS) { s5k5baf_enum_frame_size()
1289 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); s5k5baf_get_fmt()
1295 if (fmt->pad == PAD_CIS) { s5k5baf_get_fmt()
1322 *v4l2_subdev_get_try_format(sd, cfg, fmt->pad) = *mf; s5k5baf_set_fmt()
1326 if (fmt->pad == PAD_CIS) { s5k5baf_set_fmt()
1351 static enum selection_rect s5k5baf_get_sel_rect(u32 pad, u32 target) s5k5baf_get_sel_rect() argument
1355 return pad ? R_COMPOSE : R_CIS; s5k5baf_get_sel_rect()
1357 return pad ? R_CROP_SOURCE : R_CROP_SINK; s5k5baf_get_sel_rect()
1359 return pad ? R_INVALID : R_CROP_SINK; s5k5baf_get_sel_rect()
1361 return pad ? R_INVALID : R_COMPOSE; s5k5baf_get_sel_rect()
1380 rtype = s5k5baf_get_sel_rect(sel->pad, sel->target); s5k5baf_get_selection()
1394 sel->r = *v4l2_subdev_get_try_compose(sd, cfg, sel->pad); s5k5baf_get_selection()
1396 sel->r = *v4l2_subdev_get_try_crop(sd, cfg, sel->pad); s5k5baf_get_selection()
1473 rtype = s5k5baf_get_sel_rect(sel->pad, sel->target); s5k5baf_set_selection()
1706 mf = v4l2_subdev_get_try_format(sd, fh->pad, PAD_CIS); s5k5baf_open()
1712 mf = v4l2_subdev_get_try_format(sd, fh->pad, PAD_OUT); s5k5baf_open()
1719 *v4l2_subdev_get_try_crop(sd, fh->pad, PAD_CIS) = s5k5baf_cis_rect; s5k5baf_open()
1720 *v4l2_subdev_get_try_compose(sd, fh->pad, PAD_CIS) = s5k5baf_cis_rect; s5k5baf_open()
1721 *v4l2_subdev_get_try_crop(sd, fh->pad, PAD_OUT) = s5k5baf_cis_rect; s5k5baf_open()
1773 .pad = &s5k5baf_cis_pad_ops,
1793 .pad = &s5k5baf_pad_ops,
H A Dmt9p031.c124 struct media_pad pad; member in struct:mt9p031
482 if (code->pad || code->index) mt9p031_enum_mbus_code()
509 unsigned int pad, u32 which) __mt9p031_get_pad_format()
513 return v4l2_subdev_get_try_format(&mt9p031->subdev, cfg, pad); __mt9p031_get_pad_format()
523 unsigned int pad, u32 which) __mt9p031_get_pad_crop()
527 return v4l2_subdev_get_try_crop(&mt9p031->subdev, cfg, pad); __mt9p031_get_pad_crop()
541 fmt->format = *__mt9p031_get_pad_format(mt9p031, cfg, fmt->pad, mt9p031_get_format()
558 __crop = __mt9p031_get_pad_crop(mt9p031, cfg, format->pad, mt9p031_set_format()
574 __format = __mt9p031_get_pad_format(mt9p031, cfg, format->pad, mt9p031_set_format()
593 sel->r = *__mt9p031_get_pad_crop(mt9p031, cfg, sel->pad, sel->which); mt9p031_get_selection()
628 __crop = __mt9p031_get_pad_crop(mt9p031, cfg, sel->pad, sel->which); mt9p031_set_selection()
634 __format = __mt9p031_get_pad_format(mt9p031, cfg, sel->pad, mt9p031_set_selection()
949 crop = v4l2_subdev_get_try_crop(subdev, fh->pad, 0); mt9p031_open()
955 format = v4l2_subdev_get_try_format(subdev, fh->pad, 0); mt9p031_open()
995 .pad = &mt9p031_subdev_pad_ops,
1114 mt9p031->pad.flags = MEDIA_PAD_FL_SOURCE; mt9p031_probe()
1115 ret = media_entity_init(&mt9p031->subdev.entity, 1, &mt9p031->pad, 0); mt9p031_probe()
508 __mt9p031_get_pad_format(struct mt9p031 *mt9p031, struct v4l2_subdev_pad_config *cfg, unsigned int pad, u32 which) __mt9p031_get_pad_format() argument
522 __mt9p031_get_pad_crop(struct mt9p031 *mt9p031, struct v4l2_subdev_pad_config *cfg, unsigned int pad, u32 which) __mt9p031_get_pad_crop() argument
H A Dmt9v032.c236 struct media_pad pad; member in struct:mt9v032
378 unsigned int pad, enum v4l2_subdev_format_whence which) __mt9v032_get_pad_format()
382 return v4l2_subdev_get_try_format(&mt9v032->subdev, cfg, pad); __mt9v032_get_pad_format()
392 unsigned int pad, enum v4l2_subdev_format_whence which) __mt9v032_get_pad_crop()
396 return v4l2_subdev_get_try_crop(&mt9v032->subdev, cfg, pad); __mt9v032_get_pad_crop()
485 format->format = *__mt9v032_get_pad_format(mt9v032, cfg, format->pad, mt9v032_get_format()
526 __crop = __mt9v032_get_pad_crop(mt9v032, cfg, format->pad, mt9v032_set_format()
542 __format = __mt9v032_get_pad_format(mt9v032, cfg, format->pad, mt9v032_set_format()
567 sel->r = *__mt9v032_get_pad_crop(mt9v032, cfg, sel->pad, sel->which); mt9v032_get_selection()
604 __crop = __mt9v032_get_pad_crop(mt9v032, cfg, sel->pad, sel->which); mt9v032_set_selection()
610 __format = __mt9v032_get_pad_format(mt9v032, cfg, sel->pad, mt9v032_set_selection()
816 crop = v4l2_subdev_get_try_crop(subdev, fh->pad, 0); mt9v032_open()
822 format = v4l2_subdev_get_try_format(subdev, fh->pad, 0); mt9v032_open()
862 .pad = &mt9v032_subdev_pad_ops,
1048 mt9v032->pad.flags = MEDIA_PAD_FL_SOURCE; mt9v032_probe()
1049 ret = media_entity_init(&mt9v032->subdev.entity, 1, &mt9v032->pad, 0); mt9v032_probe()
377 __mt9v032_get_pad_format(struct mt9v032 *mt9v032, struct v4l2_subdev_pad_config *cfg, unsigned int pad, enum v4l2_subdev_format_whence which) __mt9v032_get_pad_format() argument
391 __mt9v032_get_pad_crop(struct mt9v032 *mt9v032, struct v4l2_subdev_pad_config *cfg, unsigned int pad, enum v4l2_subdev_format_whence which) __mt9v032_get_pad_crop() argument
H A Dtvp514x.c127 struct media_pad pad; member in struct:tvp514x_decoder
926 * @cfg: pad configuration
935 u32 pad = code->pad; tvp514x_enum_mbus_code() local
940 code->pad = pad; tvp514x_enum_mbus_code()
951 * tvp514x_get_pad_format() - V4L2 decoder interface handler for get pad format
953 * @cfg: pad configuration
956 * Retrieves pad format which is active or tried based on requirement
980 * tvp514x_set_pad_format() - V4L2 decoder interface handler for set pad format
982 * @cfg: pad configuration
985 * Set pad format for the output pad
1037 .pad = &tvp514x_pad_ops,
1156 decoder->pad.flags = MEDIA_PAD_FL_SOURCE; tvp514x_probe()
1160 ret = media_entity_init(&decoder->sd.entity, 1, &decoder->pad, 0); tvp514x_probe()
H A Dtvp7002.c428 struct media_pad pad; member in struct:tvp7002
831 if (timings->pad != 0) tvp7002_enum_dv_timings()
847 * tvp7002_enum_mbus_code() - Enum supported digital video format on pad
849 * @cfg: pad configuration
852 * Enumerate supported digital video formats for pad.
868 * tvp7002_get_pad_format() - get video format on pad
870 * @cfg: pad configuration
873 * get video format for pad.
891 * tvp7002_set_pad_format() - set video format on pad
893 * @cfg: pad configuration
896 * set video format for pad.
933 /* media pad related operation handlers */
945 .pad = &tvp7002_pad_ops,
1068 device->pad.flags = MEDIA_PAD_FL_SOURCE; tvp7002_probe()
1072 error = media_entity_init(&device->sd.entity, 1, &device->pad, 0); tvp7002_probe()
/linux-4.1.27/arch/x86/include/uapi/asm/
H A Dkvm_para.h48 __u32 pad[12]; member in struct:kvm_steal_time
68 __u32 pad; member in struct:kvm_mmu_op_header
91 __u8 pad[60]; member in struct:kvm_vcpu_pv_apf_data
H A Dmce.h18 __u16 pad; member in struct:mce
H A Dkvm.h85 __u32 pad; member in struct:kvm_ioapic_state
178 __u32 pad; member in struct:kvm_msrs
247 __u32 pad; member in struct:kvm_debug_exit_arch
295 __u8 pad; member in struct:kvm_vcpu_events::__anon3103
308 __u8 pad; member in struct:kvm_vcpu_events::__anon3105
/linux-4.1.27/drivers/pinctrl/spear/
H A Dpinctrl-spear1340.c33 /* In SPEAr1340 there are two levels of pad muxing */
330 /* pad multiplexing for fsmc_pnor device */
369 /* pad multiplexing for keyboard rows-cols device */
399 /* pad multiplexing for keyboard col5 device */
436 /* pad multiplexing for spdif_in device */
468 /* pad multiplexing for spdif_out device */
504 /* pad multiplexing for gpt_0_1 device */
544 /* pad multiplexing for pwm0 device */
573 /* pad multiplexing for pwm1 device */
602 /* pad multiplexing for pwm2 device */
631 /* pad multiplexing for pwm3 device */
668 /* pad multiplexing for vip_mux device */
693 /* pad multiplexing for vip_mux_cam0 (disables cam0) device */
723 /* pad multiplexing for vip_mux_cam1 (disables cam1) device */
757 /* pad multiplexing for vip_mux_cam2 (disables cam2) device */
787 /* pad multiplexing for vip_mux_cam3 (disables cam3) device */
829 /* pad multiplexing for cam0 device */
866 /* pad multiplexing for cam1 device */
907 /* pad multiplexing for cam2 device */
944 /* pad multiplexing for cam3 device */
985 /* pad multiplexing for smi device */
1017 /* pad multiplexing for ssp0 device */
1042 /* pad multiplexing for ssp0_cs1 device */
1071 /* pad multiplexing for ssp0_cs2 device */
1100 /* pad multiplexing for ssp0_cs3 device */
1133 /* pad multiplexing for uart0 device */
1158 /* pad multiplexing for uart0_enh device */
1194 /* pad multiplexing for uart1 device */
1226 /* pad multiplexing for i2s_in device */
1255 /* pad multiplexing for i2s_out device */
1287 /* pad multiplexing for gmac device */
1302 /* pad multiplexing for gmii device */
1327 /* pad multiplexing for rgmii device */
1352 /* pad multiplexing for rmii device */
1377 /* pad multiplexing for sgmii device */
1410 /* pad multiplexing for i2c0 device */
1442 /* pad multiplexing for i2c1 device */
1474 /* pad multiplexing for cec0 device */
1506 /* pad multiplexing for cec1 device */
1538 /* pad multiplexing for mcif devices */
1654 /* pad multiplexing for clcd device */
1738 /* pad multiplexing for arm_trace device */
1785 /* pad multiplexing for miphy_dbg device */
1823 /* pad multiplexing for pcie device */
1855 /* pad multiplexing for sata device */
H A Dpinctrl-spear3xx.h17 /* pad mux declarations */
/linux-4.1.27/arch/arc/include/asm/
H A Darcregs.h215 unsigned int pad:8, x1616:8, dsp:4, cycles:2, type:2, ver:8; member in struct:bcr_mpy
217 unsigned int ver:8, type:2, cycles:2, dsp:4, x1616:8, pad:8;
231 unsigned int start:8, pad2:8, sz:8, pad:8; member in struct:bcr_perip
233 unsigned int pad:8, sz:8, pad2:8, start:8;
239 unsigned int base:16, pad:5, sz:3, ver:8; member in struct:bcr_iccm
241 unsigned int ver:8, sz:3, pad:5, base:16;
282 unsigned int pad2:19, fam:1, pad:2, ent:2, ver:8; member in struct:bcr_bpu_arcompact
284 unsigned int ver:8, ent:2, pad:2, fam:1, pad2:19;
290 unsigned int pad:24, ver:8; member in struct:bcr_generic
292 unsigned int ver:8, pad:24;
306 unsigned int sz_k:8, line_len:8, assoc:4, ver:4, alias:1, vipt:1, pad:6; member in struct:cpuinfo_arc_cache
/linux-4.1.27/include/uapi/drm/
H A Dtegra_drm.h39 __u32 pad; member in struct:drm_tegra_gem_mmap
50 __u32 pad; member in struct:drm_tegra_syncpt_incr
64 __u32 pad; member in struct:drm_tegra_open_channel
93 __u32 pad; member in struct:drm_tegra_cmdbuf
106 __u32 pad; member in struct:drm_tegra_reloc
142 __u32 pad; member in struct:drm_tegra_gem_set_tiling
151 __u32 pad; member in struct:drm_tegra_gem_get_tiling
H A Dqxl_drm.h58 uint32_t pad; member in struct:drm_qxl_map
76 uint32_t pad; member in struct:drm_qxl_reloc
85 uint32_t pad; member in struct:drm_qxl_command
101 uint32_t pad; member in struct:drm_qxl_update_area
114 uint32_t pad; member in struct:drm_qxl_clientcap
123 uint32_t pad; member in struct:drm_qxl_alloc_surf
H A Darmada_drm.h28 uint32_t pad; member in struct:drm_armada_gem_mmap
/linux-4.1.27/arch/alpha/boot/tools/
H A Dobjstrip.c54 size_t nwritten, tocopy, n, mem_size, fil_size, pad = 0; main() local
75 pad = BLOCK_SIZE; main()
258 if (pad) { main()
259 mem_size = ((mem_size + pad - 1) / pad) * pad; main()
266 prog_name, pad, (unsigned long) tocopy); main()
/linux-4.1.27/net/ceph/
H A Dcrypto.c175 char pad[16]; ceph_aes_encrypt() local
180 memset(pad, zero_padding, zero_padding); ceph_aes_encrypt()
186 sg_set_buf(&sg_in[1], pad, zero_padding); ceph_aes_encrypt()
201 print_hex_dump(KERN_ERR, "enc pad: ", DUMP_PREFIX_NONE, 16, 1, ceph_aes_encrypt()
202 pad, zero_padding, 1); ceph_aes_encrypt()
235 char pad[16]; ceph_aes_encrypt2() local
240 memset(pad, zero_padding, zero_padding); ceph_aes_encrypt2()
247 sg_set_buf(&sg_in[2], pad, zero_padding); ceph_aes_encrypt2()
264 print_hex_dump(KERN_ERR, "enc pad: ", DUMP_PREFIX_NONE, 16, 1, ceph_aes_encrypt2()
265 pad, zero_padding, 1); ceph_aes_encrypt2()
293 char pad[16]; ceph_aes_decrypt() local
304 sg_set_buf(&sg_out[1], pad, sizeof(pad)); ceph_aes_decrypt()
329 last_byte = pad[src_len - *dst_len - 1]; ceph_aes_decrypt()
358 char pad[16]; ceph_aes_decrypt2() local
370 sg_set_buf(&sg_out[2], pad, sizeof(pad)); ceph_aes_decrypt2()
397 last_byte = pad[src_len - *dst1_len - *dst2_len - 1]; ceph_aes_decrypt2()
/linux-4.1.27/drivers/media/platform/xilinx/
H A Dxilinx-vip.c240 * @cfg: V4L2 subdev pad configuration
244 * pad format code. This function only works for subdevices with fixed format
266 format = v4l2_subdev_get_try_format(subdev, cfg, code->pad); xvip_enum_mbus_code()
277 * @cfg: V4L2 subdev pad configuration
280 * This function is a drop-in implementation of the subdev enum_frame_size pad
281 * operation. It assumes that the subdevice has one sink pad and one source
282 * pad, and that the format on the source pad is always identical to the
283 * format on the sink pad. Entities with different requirements need to
301 format = v4l2_subdev_get_try_format(subdev, cfg, fse->pad); xvip_enum_frame_size()
306 if (fse->pad == XVIP_PAD_SINK) { xvip_enum_frame_size()
312 /* The size on the source pad is fixed and always identical to xvip_enum_frame_size()
313 * the size on the sink pad. xvip_enum_frame_size()
H A Dxilinx-tpg.c78 * @has_input: whether an input is connected to the sink pad
79 * @formats: active V4L2 media bus format for each pad
140 * If the TPG has no sink pad or no input connected to its sink pad __xtpg_update_pattern_control()
258 unsigned int pad, u32 which) __xtpg_get_pad_format()
262 return v4l2_subdev_get_try_format(&xtpg->xvip.subdev, cfg, pad); __xtpg_get_pad_format()
264 return &xtpg->formats[pad]; __xtpg_get_pad_format()
276 fmt->format = *__xtpg_get_pad_format(xtpg, cfg, fmt->pad, fmt->which); xtpg_get_format()
289 __format = __xtpg_get_pad_format(xtpg, cfg, fmt->pad, fmt->which); xtpg_set_format()
291 /* In two pads mode the source pad format is always identical to the xtpg_set_format()
292 * sink pad format. xtpg_set_format()
294 if (xtpg->npads == 2 && fmt->pad == 1) { xtpg_set_format()
310 /* Propagate the format to the source pad. */ xtpg_set_format()
329 format = v4l2_subdev_get_try_format(subdev, cfg, fse->pad); xtpg_enum_frame_size()
334 /* Min / max values for pad 0 is always fixed in both one and two pads xtpg_enum_frame_size()
335 * modes. In two pads mode, the source pad(= 1) size is identical to xtpg_enum_frame_size()
336 * the sink pad size */ xtpg_enum_frame_size()
337 if (fse->pad == 0) { xtpg_enum_frame_size()
357 format = v4l2_subdev_get_try_format(subdev, fh->pad, 0); xtpg_open()
361 format = v4l2_subdev_get_try_format(subdev, fh->pad, 1); xtpg_open()
480 .pad = &xtpg_pad_ops,
256 __xtpg_get_pad_format(struct xtpg_device *xtpg, struct v4l2_subdev_pad_config *cfg, unsigned int pad, u32 which) __xtpg_get_pad_format() argument
H A Dxilinx-dma.h60 * @pad: media pad for the video device entity
80 struct media_pad pad; member in struct:xvip_dma
H A Dxilinx-dma.c47 xvip_dma_remote_subdev(struct media_pad *local, u32 *pad) xvip_dma_remote_subdev() argument
56 if (pad) xvip_dma_remote_subdev()
57 *pad = remote->index; xvip_dma_remote_subdev()
68 subdev = xvip_dma_remote_subdev(&dma->pad, &fmt.pad); xvip_dma_verify_format()
73 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt); xvip_dma_verify_format()
105 struct media_pad *pad; xvip_pipeline_start_stop() local
111 pad = &entity->pads[0]; xvip_pipeline_start_stop()
112 if (!(pad->flags & MEDIA_PAD_FL_SINK)) xvip_pipeline_start_stop()
115 pad = media_entity_remote_pad(pad); xvip_pipeline_start_stop()
116 if (pad == NULL || xvip_pipeline_start_stop()
117 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) xvip_pipeline_start_stop()
120 entity = pad->entity; xvip_pipeline_start_stop()
201 if (dma->pad.flags & MEDIA_PAD_FL_SINK) { xvip_pipeline_validate()
676 dma->pad.flags = type == V4L2_BUF_TYPE_VIDEO_CAPTURE xvip_dma_init()
679 ret = media_entity_init(&dma->video.entity, 1, &dma->pad, 0); xvip_dma_init()
/linux-4.1.27/arch/s390/include/uapi/asm/
H A Dkvm.h43 __u8 pad; member in struct:kvm_s390_io_adapter
79 __u8 pad[6]; member in struct:kvm_s390_vm_cpu_processor
88 __u8 pad[4]; member in struct:kvm_s390_vm_cpu_machine
126 __u8 pad[7]; /* Should be set to 0 */ member in struct:kvm_debug_exit_arch
134 __u8 pad[7]; /* Should be set to 0 */ member in struct:kvm_hw_breakpoint
140 __u32 pad; /* Should be set to 0 */ member in struct:kvm_guest_debug_arch
H A Dsigcontext.h56 unsigned int pad; member in struct:__anon2505
/linux-4.1.27/net/dsa/
H A Dtag_trailer.c28 * last 4 bytes of the packet. This means that we have to pad trailer_xmit()
50 u8 *pad = skb_put(nskb, padlen); trailer_xmit() local
51 memset(pad, 0, padlen); trailer_xmit()
/linux-4.1.27/drivers/staging/media/davinci_vpfe/
H A Ddm365_resizer.c1291 * @cfg: V4L2 subdev pad config
1292 * @pad: pad number.
1298 unsigned int pad, enum v4l2_subdev_format_whence which) __resizer_get_format()
1303 return v4l2_subdev_get_try_format(sd, cfg, pad); __resizer_get_format()
1305 return &resizer->crop_resizer.formats[pad]; __resizer_get_format()
1307 return &resizer->resizer_a.formats[pad]; __resizer_get_format()
1309 return &resizer->resizer_b.formats[pad]; __resizer_get_format()
1314 * resizer_try_format() - Handle try format by pad subdev method
1316 * @cfg: V4L2 subdev pad config
1317 * @pad: pad num.
1323 unsigned int pad, struct v4l2_mbus_framefmt *fmt, resizer_try_format()
1331 if ((&resizer->resizer_a.subdev == sd && pad == RESIZER_PAD_SINK) || resizer_try_format()
1332 (&resizer->resizer_b.subdev == sd && pad == RESIZER_PAD_SINK) || resizer_try_format()
1334 (pad == RESIZER_CROP_PAD_SOURCE || resizer_try_format()
1335 pad == RESIZER_CROP_PAD_SOURCE2 || pad == RESIZER_CROP_PAD_SINK))) { resizer_try_format()
1349 pad == RESIZER_PAD_SOURCE) { resizer_try_format()
1367 pad == RESIZER_PAD_SOURCE) { resizer_try_format()
1390 * @cfg: V4L2 subdev pad config
1400 format = __resizer_get_format(sd, cfg, fmt->pad, fmt->which); resizer_set_format()
1404 resizer_try_format(sd, cfg, fmt->pad, &fmt->format, fmt->which); resizer_set_format()
1411 if (fmt->pad == RESIZER_CROP_PAD_SINK) { resizer_set_format()
1412 resizer->crop_resizer.formats[fmt->pad] = fmt->format; resizer_set_format()
1413 } else if (fmt->pad == RESIZER_CROP_PAD_SOURCE && resizer_set_format()
1415 resizer->crop_resizer.formats[fmt->pad] = fmt->format; resizer_set_format()
1418 } else if (fmt->pad == RESIZER_CROP_PAD_SOURCE2 && resizer_set_format()
1420 resizer->crop_resizer.formats[fmt->pad] = fmt->format; resizer_set_format()
1427 if (fmt->pad == RESIZER_PAD_SINK) resizer_set_format()
1428 resizer->resizer_a.formats[fmt->pad] = fmt->format; resizer_set_format()
1429 else if (fmt->pad == RESIZER_PAD_SOURCE) resizer_set_format()
1430 resizer->resizer_a.formats[fmt->pad] = fmt->format; resizer_set_format()
1434 if (fmt->pad == RESIZER_PAD_SINK) resizer_set_format()
1435 resizer->resizer_b.formats[fmt->pad] = fmt->format; resizer_set_format()
1436 else if (fmt->pad == RESIZER_PAD_SOURCE) resizer_set_format()
1437 resizer->resizer_b.formats[fmt->pad] = fmt->format; resizer_set_format()
1448 * resizer_get_format() - Retrieve the video format on a pad
1450 * @cfg: V4L2 subdev pad config
1459 format = __resizer_get_format(sd, cfg, fmt->pad, fmt->which); resizer_get_format()
1471 * @cfg: V4L2 subdev pad config
1486 resizer_try_format(sd, cfg, fse->pad, &format, fse->which); resizer_enum_frame_size()
1496 resizer_try_format(sd, cfg, fse->pad, &format, fse->which); resizer_enum_frame_size()
1506 * @cfg: V4L2 subdev pad config
1513 if (code->pad == RESIZER_PAD_SINK) { resizer_enum_mbus_code()
1518 } else if (code->pad == RESIZER_PAD_SOURCE) { resizer_enum_mbus_code()
1533 * Initialize all pad formats with default values. Try formats are
1545 format.pad = RESIZER_CROP_PAD_SINK; resizer_init_formats()
1550 resizer_set_format(sd, fh->pad, &format); resizer_init_formats()
1553 format.pad = RESIZER_CROP_PAD_SOURCE; resizer_init_formats()
1558 resizer_set_format(sd, fh->pad, &format); resizer_init_formats()
1561 format.pad = RESIZER_CROP_PAD_SOURCE2; resizer_init_formats()
1566 resizer_set_format(sd, fh->pad, &format); resizer_init_formats()
1569 format.pad = RESIZER_PAD_SINK; resizer_init_formats()
1574 resizer_set_format(sd, fh->pad, &format); resizer_init_formats()
1577 format.pad = RESIZER_PAD_SOURCE; resizer_init_formats()
1582 resizer_set_format(sd, fh->pad, &format); resizer_init_formats()
1585 format.pad = RESIZER_PAD_SINK; resizer_init_formats()
1590 resizer_set_format(sd, fh->pad, &format); resizer_init_formats()
1593 format.pad = RESIZER_PAD_SOURCE; resizer_init_formats()
1598 resizer_set_format(sd, fh->pad, &format); resizer_init_formats()
1619 /* subdev pad operations */
1631 .pad = &resizer_v4l2_pad_ops,
1641 * @local: Pointer to local pad array
1642 * @remote: Pointer to remote pad array
1297 __resizer_get_format(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, unsigned int pad, enum v4l2_subdev_format_whence which) __resizer_get_format() argument
1322 resizer_try_format(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg, unsigned int pad, struct v4l2_mbus_framefmt *fmt, enum v4l2_subdev_format_whence which) resizer_try_format() argument
H A Ddm365_ipipeif.c547 * @cfg: V4L2 subdev pad config
555 switch (code->pad) { ipipeif_enum_mbus_code()
580 * @cfg: V4L2 subdev pad config
590 fmt->format = ipipeif->formats[fmt->pad]; ipipeif_get_format()
592 fmt->format = *(v4l2_subdev_get_try_format(sd, cfg, fmt->pad)); ipipeif_get_format()
601 * ipipeif_try_format() - Handle try format by pad subdev method
603 * @cfg: V4L2 subdev pad config
604 * @pad: pad num.
610 struct v4l2_subdev_pad_config *cfg, unsigned int pad, ipipeif_try_format()
621 if (pad == IPIPEIF_PAD_SINK) { ipipeif_try_format()
629 } else if (pad == IPIPEIF_PAD_SOURCE) { ipipeif_try_format()
656 ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); ipipeif_enum_frame_size()
666 ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); ipipeif_enum_frame_size()
676 * @cfg: V4L2 subdev pad config
677 * @pad: pad number.
683 struct v4l2_subdev_pad_config *cfg, unsigned int pad, __ipipeif_get_format()
687 return v4l2_subdev_get_try_format(&ipipeif->subdev, cfg, pad); __ipipeif_get_format()
689 return &ipipeif->formats[pad]; __ipipeif_get_format()
695 * @cfg: V4L2 subdev pad config
706 format = __ipipeif_get_format(ipipeif, cfg, fmt->pad, fmt->which); ipipeif_set_format()
710 ipipeif_try_format(ipipeif, cfg, fmt->pad, &fmt->format, fmt->which); ipipeif_set_format()
716 if (fmt->pad == IPIPEIF_PAD_SINK && ipipeif_set_format()
718 ipipeif->formats[fmt->pad] = fmt->format; ipipeif_set_format()
719 else if (fmt->pad == IPIPEIF_PAD_SOURCE && ipipeif_set_format()
721 ipipeif->formats[fmt->pad] = fmt->format; ipipeif_set_format()
757 * Initialize all pad formats with default values. Try formats are initialized
767 format.pad = IPIPEIF_PAD_SINK; ipipeif_init_formats()
772 ipipeif_set_format(sd, fh->pad, &format); ipipeif_init_formats()
775 format.pad = IPIPEIF_PAD_SOURCE; ipipeif_init_formats()
780 ipipeif_set_format(sd, fh->pad, &format); ipipeif_init_formats()
862 /* subdev pad operations */
874 .pad = &ipipeif_v4l2_pad_ops,
609 ipipeif_try_format(struct vpfe_ipipeif_device *ipipeif, struct v4l2_subdev_pad_config *cfg, unsigned int pad, struct v4l2_mbus_framefmt *fmt, enum v4l2_subdev_format_whence which) ipipeif_try_format() argument
682 __ipipeif_get_format(struct vpfe_ipipeif_device *ipipeif, struct v4l2_subdev_pad_config *cfg, unsigned int pad, enum v4l2_subdev_format_whence which) __ipipeif_get_format() argument
H A Ddm365_isif.c227 isif_config_format(struct vpfe_device *vpfe_dev, unsigned int pad) isif_config_format() argument
234 v4l2_fill_pix_format(&format, &vpfe_dev->vpfe_isif.formats[pad]); isif_config_format()
235 mbus_to_pix(&vpfe_dev->vpfe_isif.formats[pad], &format); isif_config_format()
252 switch (vpfe_dev->vpfe_isif.formats[pad].field) { isif_config_format()
279 * isif_try_format() - Try video format on a pad
281 * @cfg: V4L2 subdev pad config
310 if (fmt->pad == ISIF_PAD_SOURCE) isif_try_format()
1396 * @pad: pad number.
1397 * @cfg: V4L2 subdev pad config
1402 unsigned int pad, enum v4l2_subdev_format_whence which) __isif_get_format()
1407 fmt.pad = pad; __isif_get_format()
1410 return v4l2_subdev_get_try_format(&isif->subdev, cfg, pad); __isif_get_format()
1412 return &isif->formats[pad]; __isif_get_format()
1416 * isif_set_format() - set format on pad
1418 * @cfg : V4L2 subdev pad config
1421 * Return 0 on success or -EINVAL if format or pad is invalid
1431 format = __isif_get_format(isif, cfg, fmt->pad, fmt->which); isif_set_format()
1441 if (fmt->pad == ISIF_PAD_SOURCE) isif_set_format()
1442 return isif_config_format(vpfe_dev, fmt->pad); isif_set_format()
1448 * isif_get_format() - Retrieve the video format on a pad
1450 * @cfg: V4L2 subdev pad config
1453 * Return 0 on success or -EINVAL if the pad is invalid or doesn't correspond
1463 format = __isif_get_format(vpfe_isif, cfg, fmt->pad, fmt->which); isif_get_format()
1475 * @cfg: V4L2 subdev pad config
1488 format.pad = fse->pad; isif_enum_frame_size()
1500 format.pad = fse->pad; isif_enum_frame_size()
1515 * @cfg: V4L2 subdev pad config
1522 switch (code->pad) { isif_enum_mbus_code()
1538 * isif_pad_set_selection() - set crop rectangle on pad
1540 * @cfg: V4L2 subdev pad config
1543 * Return 0 on success, -EINVAL if pad is invalid
1553 /* check whether it's a valid pad and target */ isif_pad_set_selection()
1554 if (sel->pad != ISIF_PAD_SINK || sel->target != V4L2_SEL_TGT_CROP) isif_pad_set_selection()
1557 format = __isif_get_format(vpfe_isif, cfg, sel->pad, sel->which); isif_pad_set_selection()
1587 * isif_pad_get_selection() - get crop rectangle on pad
1589 * @cfg: V4L2 subdev pad config
1592 * Return 0 on success, -EINVAL if pad is invalid
1601 /* check whether it's a valid pad and target */ isif_pad_get_selection()
1602 if (sel->pad != ISIF_PAD_SINK || sel->target != V4L2_SEL_TGT_CROP) isif_pad_get_selection()
1622 * Initialize all pad formats with default values. Try formats are initialized
1633 format.pad = ISIF_PAD_SINK; isif_init_formats()
1638 isif_set_format(sd, fh->pad, &format); isif_init_formats()
1641 format.pad = ISIF_PAD_SOURCE; isif_init_formats()
1646 isif_set_format(sd, fh->pad, &format); isif_init_formats()
1649 sel.pad = ISIF_PAD_SINK; isif_init_formats()
1654 isif_pad_set_selection(sd, fh->pad, &sel); isif_init_formats()
1674 /* subdev pad operations */
1688 .pad = &isif_v4l2_pad_ops,
1401 __isif_get_format(struct vpfe_isif_device *isif, struct v4l2_subdev_pad_config *cfg, unsigned int pad, enum v4l2_subdev_format_whence which) __isif_get_format() argument
H A Dvpfe_video.c90 vpfe_video_remote_subdev(struct vpfe_video_device *video, u32 *pad) vpfe_video_remote_subdev() argument
92 struct media_pad *remote = media_entity_remote_pad(&video->pad); vpfe_video_remote_subdev()
96 if (pad) vpfe_video_remote_subdev()
97 *pad = remote->index; vpfe_video_remote_subdev()
101 /* get the format set at output pad of the adjacent subdev */
109 u32 pad; __vpfe_video_get_format() local
112 subdev = vpfe_video_remote_subdev(video, &pad); __vpfe_video_get_format()
117 remote = media_entity_remote_pad(&video->pad); __vpfe_video_get_format()
118 fmt.pad = remote->index; __vpfe_video_get_format()
120 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt); __vpfe_video_get_format()
220 struct media_pad *pad; vpfe_video_validate_pipeline() local
227 * format of the connected pad. vpfe_video_validate_pipeline()
235 pad = &subdev->entity.pads[0]; vpfe_video_validate_pipeline()
236 if (!(pad->flags & MEDIA_PAD_FL_SINK)) vpfe_video_validate_pipeline()
240 fmt_sink.pad = pad->index; vpfe_video_validate_pipeline()
241 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, vpfe_video_validate_pipeline()
248 pad = media_entity_remote_pad(pad); vpfe_video_validate_pipeline()
249 if (pad == NULL || vpfe_video_validate_pipeline()
250 pad->entity->type != MEDIA_ENT_T_V4L2_SUBDEV) vpfe_video_validate_pipeline()
253 subdev = media_entity_to_v4l2_subdev(pad->entity); vpfe_video_validate_pipeline()
256 fmt_source.pad = pad->index; vpfe_video_validate_pipeline()
257 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt_source); vpfe_video_validate_pipeline()
662 /* since already subdev pad format is set, vpfe_enum_fmt()
668 /* get the remote pad */ vpfe_enum_fmt()
669 remote = media_entity_remote_pad(&video->pad); vpfe_enum_fmt()
672 "invalid remote pad for video node\n"); vpfe_enum_fmt()
682 sd_fmt.pad = remote->index; vpfe_enum_fmt()
685 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &sd_fmt); vpfe_enum_fmt()
724 /* get adjacent subdev's output pad format */ vpfe_s_fmt()
753 /* get adjacent subdev's output pad format */ vpfe_try_fmt()
989 timings->pad = 0; vpfe_enum_dv_timings()
992 return v4l2_subdev_call(subdev, pad, enum_dv_timings, timings); vpfe_enum_dv_timings()
1579 video->pad.flags = MEDIA_PAD_FL_SINK; vpfe_video_init()
1585 video->pad.flags = MEDIA_PAD_FL_SOURCE; vpfe_video_init()
1605 1, &video->pad, 0); vpfe_video_init()
H A Ddm365_ipipe.c1416 * @pad: pad number.
1417 * @cfg: V4L2 subdev pad config
1423 struct v4l2_subdev_pad_config *cfg, unsigned int pad, __ipipe_get_format()
1427 return v4l2_subdev_get_try_format(&ipipe->subdev, cfg, pad); __ipipe_get_format()
1429 return &ipipe->formats[pad]; __ipipe_get_format()
1433 * ipipe_try_format() - Handle try format by pad subdev method
1435 * @cfg: V4L2 subdev pad config
1436 * @pad: pad num.
1442 struct v4l2_subdev_pad_config *cfg, unsigned int pad, ipipe_try_format()
1453 if (pad == IPIPE_PAD_SINK) { ipipe_try_format()
1461 } else if (pad == IPIPE_PAD_SOURCE) { ipipe_try_format()
1478 * @cfg: V4L2 subdev pad config
1489 format = __ipipe_get_format(ipipe, cfg, fmt->pad, fmt->which); ipipe_set_format()
1493 ipipe_try_format(ipipe, cfg, fmt->pad, &fmt->format, fmt->which); ipipe_set_format()
1499 if (fmt->pad == IPIPE_PAD_SINK && ipipe_set_format()
1502 ipipe->formats[fmt->pad] = fmt->format; ipipe_set_format()
1503 else if (fmt->pad == IPIPE_PAD_SOURCE && ipipe_set_format()
1505 ipipe->formats[fmt->pad] = fmt->format; ipipe_set_format()
1515 * @cfg: V4L2 subdev pad config
1525 fmt->format = ipipe->formats[fmt->pad]; ipipe_get_format()
1527 fmt->format = *(v4l2_subdev_get_try_format(sd, cfg, fmt->pad)); ipipe_get_format()
1535 * @cfg: V4L2 subdev pad config
1551 ipipe_try_format(ipipe, cfg, fse->pad, &format, fse->which); ipipe_enum_frame_size()
1561 ipipe_try_format(ipipe, cfg, fse->pad, &format, fse->which); ipipe_enum_frame_size()
1571 * @cfg: V4L2 subdev pad config
1578 switch (code->pad) { ipipe_enum_mbus_code()
1631 * Initialize all pad formats with default values. Try formats are initialized
1640 format.pad = IPIPE_PAD_SINK; ipipe_init_formats()
1645 ipipe_set_format(sd, fh->pad, &format); ipipe_init_formats()
1648 format.pad = IPIPE_PAD_SOURCE; ipipe_init_formats()
1653 ipipe_set_format(sd, fh->pad, &format); ipipe_init_formats()
1677 /* subdev pad operations */
1689 .pad = &ipipe_v4l2_pad_ops,
1422 __ipipe_get_format(struct vpfe_ipipe_device *ipipe, struct v4l2_subdev_pad_config *cfg, unsigned int pad, enum v4l2_subdev_format_whence which) __ipipe_get_format() argument
1441 ipipe_try_format(struct vpfe_ipipe_device *ipipe, struct v4l2_subdev_pad_config *cfg, unsigned int pad, struct v4l2_mbus_framefmt *fmt, enum v4l2_subdev_format_whence which) ipipe_try_format() argument
H A Dvpfe_video.h84 /* media pad of video entity */
85 struct media_pad pad; member in struct:vpfe_video_device
/linux-4.1.27/drivers/infiniband/hw/ocrdma/
H A Docrdma_abi.h63 u32 rsvd; /* pad */
88 u32 rsvd1; /* pad */
95 u16 resv0; /* pad */
116 u16 resv0; /* pad */
/linux-4.1.27/arch/mips/include/asm/
H A Dm48t37.h12 volatile u8 pad[0x7ff0]; /* NVRAM */ member in struct:m48t37_rtc
/linux-4.1.27/include/uapi/asm-generic/
H A Dipcbuf.h26 /* pad if mode_t is u16: */
/linux-4.1.27/drivers/input/mouse/
H A Dsentelic.c344 /* Enable on-pad command tag output */ fsp_opc_tag_enable()
377 struct fsp_data *pad = psmouse->private; fsp_onpad_vscr() local
383 pad->vscroll = enable; fsp_onpad_vscr()
398 struct fsp_data *pad = psmouse->private; fsp_onpad_hscr() local
407 pad->hscroll = enable; fsp_onpad_hscr()
465 struct fsp_data *pad = psmouse->private; fsp_attr_show_getreg() local
467 return sprintf(buf, "%02x%02x\n", pad->last_reg, pad->last_val); fsp_attr_show_getreg()
478 struct fsp_data *pad = psmouse->private; fsp_attr_set_getreg() local
491 pad->last_reg = reg; fsp_attr_set_getreg()
492 pad->last_val = val; fsp_attr_set_getreg()
535 struct fsp_data *pad = psmouse->private; fsp_attr_show_vscroll() local
537 return sprintf(buf, "%d\n", pad->vscroll); fsp_attr_show_vscroll()
564 struct fsp_data *pad = psmouse->private; fsp_attr_show_hscroll() local
566 return sprintf(buf, "%d\n", pad->hscroll); fsp_attr_show_hscroll()
593 struct fsp_data *pad = psmouse->private; fsp_attr_show_flags() local
596 pad->flags & FSPDRV_FLAG_EN_OPC ? 'C' : 'c'); fsp_attr_show_flags()
602 struct fsp_data *pad = psmouse->private; fsp_attr_set_flags() local
608 pad->flags |= FSPDRV_FLAG_EN_OPC; fsp_attr_set_flags()
611 pad->flags &= ~FSPDRV_FLAG_EN_OPC; fsp_attr_set_flags()
741 * pad fsp_process_byte()
778 /* On-pad click in SFAC mode should be handled fsp_process_byte()
779 * by userspace. On-pad clicks in MFMC mode fsp_process_byte()
806 /* on-pad click, filter it if necessary */ fsp_process_byte()
813 /* special packet data translation from on-pad packets */ fsp_process_byte()
860 struct fsp_data *pad = psmouse->private; fsp_activate_protocol() local
883 if (pad->ver < FSP_VER_STL3888_C0) { fsp_activate_protocol()
891 if (fsp_get_buttons(psmouse, &pad->buttons)) { fsp_activate_protocol()
900 if (pad->buttons == 0x06) { fsp_activate_protocol()
913 * between on-pad and real button click fsp_activate_protocol()
918 /* enable on-pad click by default */ fsp_activate_protocol()
919 pad->flags |= FSPDRV_FLAG_EN_OPC; fsp_activate_protocol()
921 /* Enable on-pad vertical and horizontal scrolling */ fsp_activate_protocol()
943 struct fsp_data *pad = psmouse->private; fsp_set_input_params() local
945 if (pad->ver < FSP_VER_STL3888_C0) { fsp_set_input_params()
/linux-4.1.27/drivers/media/platform/omap3isp/
H A Dispccp2.c352 struct media_pad *pad; ccp2_if_configure() local
359 pad = media_entity_remote_pad(&ccp2->pads[CCP2_PAD_SINK]); ccp2_if_configure()
360 sensor = media_entity_to_v4l2_subdev(pad->entity); ccp2_if_configure()
614 * @cfg: V4L2 subdev pad configuration
615 * @pad : pad number
621 unsigned int pad, enum v4l2_subdev_format_whence which) __ccp2_get_format()
624 return v4l2_subdev_get_try_format(&ccp2->subdev, cfg, pad); __ccp2_get_format()
626 return &ccp2->formats[pad]; __ccp2_get_format()
630 * ccp2_try_format - Handle try format by pad subdev method
632 * @cfg: V4L2 subdev pad configuration
633 * @pad : pad num
638 struct v4l2_subdev_pad_config *cfg, unsigned int pad, ccp2_try_format()
644 switch (pad) { ccp2_try_format()
685 * @cfg: V4L2 subdev pad configuration
696 if (code->pad == CCP2_PAD_SINK) { ccp2_enum_mbus_code()
726 ccp2_try_format(ccp2, cfg, fse->pad, &format, fse->which); ccp2_enum_frame_size()
736 ccp2_try_format(ccp2, cfg, fse->pad, &format, fse->which); ccp2_enum_frame_size()
746 * @cfg: V4L2 subdev pad configuration
756 format = __ccp2_get_format(ccp2, cfg, fmt->pad, fmt->which); ccp2_get_format()
767 * @cfg: V4L2 subdev pad configuration
777 format = __ccp2_get_format(ccp2, cfg, fmt->pad, fmt->which); ccp2_set_format()
781 ccp2_try_format(ccp2, cfg, fmt->pad, &fmt->format, fmt->which); ccp2_set_format()
785 if (fmt->pad == CCP2_PAD_SINK) { ccp2_set_format()
800 * Initialize all pad formats with default values. If fh is not NULL, try
809 format.pad = CCP2_PAD_SINK; ccp2_init_formats()
814 ccp2_set_format(sd, fh ? fh->pad : NULL, &format); ccp2_init_formats()
900 /* subdev pad operations */
911 .pad = &ccp2_sd_pad_ops,
948 * @local : Pointer to local pad array
949 * @remote : Pointer to remote pad array
620 __ccp2_get_format(struct isp_ccp2_device *ccp2, struct v4l2_subdev_pad_config *cfg, unsigned int pad, enum v4l2_subdev_format_whence which) __ccp2_get_format() argument
637 ccp2_try_format(struct isp_ccp2_device *ccp2, struct v4l2_subdev_pad_config *cfg, unsigned int pad, struct v4l2_mbus_framefmt *fmt, enum v4l2_subdev_format_whence which) ccp2_try_format() argument
H A Dispcsi2.c556 struct media_pad *pad; csi2_configure() local
567 pad = media_entity_remote_pad(&csi2->pads[CSI2_PAD_SINK]); csi2_configure()
568 sensor = media_entity_to_v4l2_subdev(pad->entity); csi2_configure()
839 unsigned int pad, enum v4l2_subdev_format_whence which) __csi2_get_format()
842 return v4l2_subdev_get_try_format(&csi2->subdev, cfg, pad); __csi2_get_format()
844 return &csi2->formats[pad]; __csi2_get_format()
849 unsigned int pad, struct v4l2_mbus_framefmt *fmt, csi2_try_format()
857 switch (pad) { csi2_try_format()
899 * @cfg: V4L2 subdev pad configuration
911 if (code->pad == CSI2_PAD_SINK) { csi2_enum_mbus_code()
921 /* Passthrough sink pad code */ csi2_enum_mbus_code()
953 csi2_try_format(csi2, cfg, fse->pad, &format, fse->which); csi2_enum_frame_size()
963 csi2_try_format(csi2, cfg, fse->pad, &format, fse->which); csi2_enum_frame_size()
973 * @cfg: V4L2 subdev pad configuration
983 format = __csi2_get_format(csi2, cfg, fmt->pad, fmt->which); csi2_get_format()
994 * @cfg: V4L2 subdev pad configuration
1004 format = __csi2_get_format(csi2, cfg, fmt->pad, fmt->which); csi2_set_format()
1008 csi2_try_format(csi2, cfg, fmt->pad, &fmt->format, fmt->which); csi2_set_format()
1012 if (fmt->pad == CSI2_PAD_SINK) { csi2_set_format()
1027 * Initialize all pad formats with default values. If fh is not NULL, try
1036 format.pad = CSI2_PAD_SINK; csi2_init_formats()
1041 csi2_set_format(sd, fh ? fh->pad : NULL, &format); csi2_init_formats()
1109 /* subdev pad operations */
1120 .pad = &csi2_pad_ops,
1135 * @local : Pointer to local pad array
1136 * @remote : Pointer to remote pad array
838 __csi2_get_format(struct isp_csi2_device *csi2, struct v4l2_subdev_pad_config *cfg, unsigned int pad, enum v4l2_subdev_format_whence which) __csi2_get_format() argument
848 csi2_try_format(struct isp_csi2_device *csi2, struct v4l2_subdev_pad_config *cfg, unsigned int pad, struct v4l2_mbus_framefmt *fmt, enum v4l2_subdev_format_whence which) csi2_try_format() argument
H A Dispresizer.c114 * @pad : pad number
115 * @cfg: V4L2 subdev pad configuration
121 unsigned int pad, enum v4l2_subdev_format_whence which) __resizer_get_format()
124 return v4l2_subdev_get_try_format(&res->subdev, cfg, pad); __resizer_get_format()
126 return &res->formats[pad]; __resizer_get_format()
132 * @cfg: V4L2 subdev pad configuration
907 * @input : format on sink pad
908 * @output : format on source pad
1216 * resizer_get_selection - Retrieve a selection rectangle on a pad
1218 * @cfg: V4L2 subdev pad configuration
1221 * The only supported rectangles are the crop rectangles on the sink pad.
1234 if (sel->pad != RESZ_PAD_SINK) resizer_get_selection()
1266 * resizer_set_selection - Set a selection rectangle on a pad
1268 * @cfg: V4L2 subdev pad configuration
1271 * The only supported rectangle is the actual crop rectangle on the sink pad.
1290 sel->pad != RESZ_PAD_SINK) resizer_set_selection()
1369 * resizer_try_format - Handle try format by pad subdev method
1371 * @cfg: V4L2 subdev pad configuration
1372 * @pad : pad num
1377 struct v4l2_subdev_pad_config *cfg, unsigned int pad, resizer_try_format()
1385 switch (pad) { resizer_try_format()
1413 * @cfg: V4L2 subdev pad configuration
1424 if (code->pad == RESZ_PAD_SINK) { resizer_enum_mbus_code()
1454 resizer_try_format(res, cfg, fse->pad, &format, fse->which); resizer_enum_frame_size()
1464 resizer_try_format(res, cfg, fse->pad, &format, fse->which); resizer_enum_frame_size()
1474 * @cfg: V4L2 subdev pad configuration
1484 format = __resizer_get_format(res, cfg, fmt->pad, fmt->which); resizer_get_format()
1495 * @cfg: V4L2 subdev pad configuration
1506 format = __resizer_get_format(res, cfg, fmt->pad, fmt->which); resizer_set_format()
1510 resizer_try_format(res, cfg, fmt->pad, &fmt->format, fmt->which); resizer_set_format()
1513 if (fmt->pad == RESZ_PAD_SINK) { resizer_set_format()
1531 * ratios. format already points to the source pad active resizer_set_format()
1561 * Initialize all pad formats with default values. If fh is not NULL, try
1571 format.pad = RESZ_PAD_SINK; resizer_init_formats()
1576 resizer_set_format(sd, fh ? fh->pad : NULL, &format); resizer_init_formats()
1586 /* subdev pad operations */
1600 .pad = &resizer_v4l2_pad_ops,
1615 * @local : Pointer to local pad array
1616 * @remote : Pointer to remote pad array
120 __resizer_get_format(struct isp_res_device *res, struct v4l2_subdev_pad_config *cfg, unsigned int pad, enum v4l2_subdev_format_whence which) __resizer_get_format() argument
1376 resizer_try_format(struct isp_res_device *res, struct v4l2_subdev_pad_config *cfg, unsigned int pad, struct v4l2_mbus_framefmt *fmt, enum v4l2_subdev_format_whence which) resizer_try_format() argument
H A Disppreview.c1005 * @info: Sink pad format information
1063 * enabled when reporting source pad formats to userspace. If this assumption is
1690 unsigned int pad, enum v4l2_subdev_format_whence which) __preview_get_format()
1693 return v4l2_subdev_get_try_format(&prev->subdev, cfg, pad); __preview_get_format()
1695 return &prev->formats[pad]; __preview_get_format()
1730 * @cfg: V4L2 subdev pad configuration
1731 * @pad: pad number
1735 * Validate and adjust the given format for the given pad based on the preview
1739 struct v4l2_subdev_pad_config *cfg, unsigned int pad, preview_try_format()
1747 switch (pad) { preview_try_format()
1750 * been mangled by the CCDC output pad so it can be accepted preview_try_format()
1812 * @sink: format on the sink pad
1867 * @cfg: V4L2 subdev pad configuration
1875 switch (code->pad) { preview_enum_mbus_code()
1908 preview_try_format(prev, cfg, fse->pad, &format, fse->which); preview_enum_frame_size()
1918 preview_try_format(prev, cfg, fse->pad, &format, fse->which); preview_enum_frame_size()
1926 * preview_get_selection - Retrieve a selection rectangle on a pad
1928 * @cfg: V4L2 subdev pad configuration
1931 * The only supported rectangles are the crop rectangles on the sink pad.
1942 if (sel->pad != PREV_PAD_SINK) preview_get_selection()
1969 * preview_set_selection - Set a selection rectangle on a pad
1971 * @cfg: V4L2 subdev pad configuration
1974 * The only supported rectangle is the actual crop rectangle on the sink pad.
1986 sel->pad != PREV_PAD_SINK) preview_set_selection()
1994 * pad. If the KEEP_CONFIG flag is set, just return the current crop preview_set_selection()
2016 * @cfg: V4L2 subdev pad configuration
2026 format = __preview_get_format(prev, cfg, fmt->pad, fmt->which); preview_get_format()
2037 * @cfg: V4L2 subdev pad configuration
2048 format = __preview_get_format(prev, cfg, fmt->pad, fmt->which); preview_set_format()
2052 preview_try_format(prev, cfg, fmt->pad, &fmt->format, fmt->which); preview_set_format()
2056 if (fmt->pad == PREV_PAD_SINK) { preview_set_format()
2081 * Initialize all pad formats with default values. If fh is not NULL, try
2091 format.pad = PREV_PAD_SINK; preview_init_formats()
2096 preview_set_format(sd, fh ? fh->pad : NULL, &format); preview_init_formats()
2111 /* subdev pad operations */
2125 .pad = &preview_v4l2_pad_ops,
2140 * @local : Pointer to local pad array
2141 * @remote : Pointer to remote pad array
1689 __preview_get_format(struct isp_prev_device *prev, struct v4l2_subdev_pad_config *cfg, unsigned int pad, enum v4l2_subdev_format_whence which) __preview_get_format() argument
1738 preview_try_format(struct isp_prev_device *prev, struct v4l2_subdev_pad_config *cfg, unsigned int pad, struct v4l2_mbus_framefmt *fmt, enum v4l2_subdev_format_whence which) preview_try_format() argument
H A Dispvideo.c207 isp_video_remote_subdev(struct isp_video *video, u32 *pad) isp_video_remote_subdev() argument
211 remote = media_entity_remote_pad(&video->pad); isp_video_remote_subdev()
217 if (pad) isp_video_remote_subdev()
218 *pad = remote->index; isp_video_remote_subdev()
275 u32 pad; __isp_video_get_format() local
278 subdev = isp_video_remote_subdev(video, &pad); __isp_video_get_format()
282 fmt.pad = pad; __isp_video_get_format()
286 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt); __isp_video_get_format()
692 u32 pad; isp_video_try_format() local
698 subdev = isp_video_remote_subdev(video, &pad); isp_video_try_format()
704 fmt.pad = pad; isp_video_try_format()
706 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt); isp_video_try_format()
738 u32 pad; isp_video_get_crop() local
741 subdev = isp_video_remote_subdev(video, &pad); isp_video_get_crop()
752 format.pad = pad; isp_video_get_crop()
754 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &format); isp_video_get_crop()
904 /* ISP entities have always sink pad == 0. Find source. */ isp_video_check_external_subdevs()
924 fmt.pad = source_pad->index; isp_video_check_external_subdevs()
927 pad, get_fmt, NULL, &fmt); isp_video_check_external_subdevs()
1353 video->pad.flags = MEDIA_PAD_FL_SINK omap3isp_video_init()
1358 video->pad.flags = MEDIA_PAD_FL_SOURCE omap3isp_video_init()
1371 ret = media_entity_init(&video->video.entity, 1, &video->pad, 0); omap3isp_video_init()
H A Dispccdc.c36 unsigned int pad, enum v4l2_subdev_format_whence which);
1126 struct media_pad *pad; ccdc_configure() local
1138 pad = media_entity_remote_pad(&ccdc->pads[CCDC_PAD_SINK]); ccdc_configure()
1139 sensor = media_entity_to_v4l2_subdev(pad->entity); ccdc_configure()
1158 fmt_src.pad = pad->index; ccdc_configure()
1160 if (!v4l2_subdev_call(sensor, pad, get_fmt, NULL, &fmt_src)) { ccdc_configure()
1278 * explicitly as the driver reports 1X16 instead of 2X8 at the OF pad ccdc_configure()
1939 unsigned int pad, enum v4l2_subdev_format_whence which) __ccdc_get_format()
1942 return v4l2_subdev_get_try_format(&ccdc->subdev, cfg, pad); __ccdc_get_format()
1944 return &ccdc->formats[pad]; __ccdc_get_format()
1958 * ccdc_try_format - Try video format on a pad
1960 * @cfg : V4L2 subdev pad configuration
1961 * @pad: Pad number
1966 unsigned int pad, struct v4l2_mbus_framefmt *fmt, ccdc_try_format()
1977 switch (pad) { ccdc_try_format()
2072 * @sink: format on the sink pad
2115 * @cfg : V4L2 subdev pad configuration
2126 switch (code->pad) { ccdc_enum_mbus_code()
2135 format = __ccdc_get_format(ccdc, cfg, code->pad, ccdc_enum_mbus_code()
2166 format = __ccdc_get_format(ccdc, cfg, code->pad, ccdc_enum_mbus_code()
2198 ccdc_try_format(ccdc, cfg, fse->pad, &format, fse->which); ccdc_enum_frame_size()
2208 ccdc_try_format(ccdc, cfg, fse->pad, &format, fse->which); ccdc_enum_frame_size()
2216 * ccdc_get_selection - Retrieve a selection rectangle on a pad
2218 * @cfg: V4L2 subdev pad configuration
2222 * source pad.
2232 if (sel->pad != CCDC_PAD_SOURCE_OF) ccdc_get_selection()
2258 * ccdc_set_selection - Set a selection rectangle on a pad
2260 * @cfg: V4L2 subdev pad configuration
2264 * formatter source pad.
2275 sel->pad != CCDC_PAD_SOURCE_OF) ccdc_set_selection()
2283 * pad. If the KEEP_CONFIG flag is set, just return the current crop ccdc_set_selection()
2303 * ccdc_get_format - Retrieve the video format on a pad
2305 * @cfg: V4L2 subdev pad configuration
2308 * Return 0 on success or -EINVAL if the pad is invalid or doesn't correspond
2317 format = __ccdc_get_format(ccdc, cfg, fmt->pad, fmt->which); ccdc_get_format()
2326 * ccdc_set_format - Set the video format on a pad
2328 * @cfg: V4L2 subdev pad configuration
2331 * Return 0 on success or -EINVAL if the pad is invalid or doesn't correspond
2341 format = __ccdc_get_format(ccdc, cfg, fmt->pad, fmt->which); ccdc_set_format()
2345 ccdc_try_format(ccdc, cfg, fmt->pad, &fmt->format, fmt->which); ccdc_set_format()
2349 if (fmt->pad == CCDC_PAD_SINK) { ccdc_set_format()
2429 /* Lane shifter may be used to drop bits on CCDC sink pad */ ccdc_link_validate()
2442 * Initialize all pad formats with default values. If fh is not NULL, try
2451 format.pad = CCDC_PAD_SINK; ccdc_init_formats()
2456 ccdc_set_format(sd, fh ? fh->pad : NULL, &format); ccdc_init_formats()
2473 /* V4L2 subdev pad operations */
2488 .pad = &ccdc_v4l2_pad_ops,
1938 __ccdc_get_format(struct isp_ccdc_device *ccdc, struct v4l2_subdev_pad_config *cfg, unsigned int pad, enum v4l2_subdev_format_whence which) __ccdc_get_format() argument
1965 ccdc_try_format(struct isp_ccdc_device *ccdc, struct v4l2_subdev_pad_config *cfg, unsigned int pad, struct v4l2_mbus_framefmt *fmt, enum v4l2_subdev_format_whence which) ccdc_try_format() argument
H A Disp.c876 struct media_pad *pad; isp_pipeline_enable() local
897 pad = &entity->pads[0]; isp_pipeline_enable()
898 if (!(pad->flags & MEDIA_PAD_FL_SINK)) isp_pipeline_enable()
901 pad = media_entity_remote_pad(pad); isp_pipeline_enable()
902 if (pad == NULL || isp_pipeline_enable()
903 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) isp_pipeline_enable()
906 entity = pad->entity; isp_pipeline_enable()
976 struct media_pad *pad; isp_pipeline_disable() local
987 pad = &entity->pads[0]; isp_pipeline_disable()
988 if (!(pad->flags & MEDIA_PAD_FL_SINK)) isp_pipeline_disable()
991 pad = media_entity_remote_pad(pad); isp_pipeline_disable()
992 if (pad == NULL || isp_pipeline_disable()
993 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) isp_pipeline_disable()
996 entity = pad->entity; isp_pipeline_disable()
1125 struct media_pad *pad; isp_pipeline_is_last() local
1132 pad = media_entity_remote_pad(&pipe->output->pad); isp_pipeline_is_last()
1133 return pad->entity == me; isp_pipeline_is_last()
1846 unsigned int pad; isp_link_entity() local
1857 pad = CCDC_PAD_SINK; isp_link_entity()
1863 pad = CSI2_PAD_SINK; isp_link_entity()
1870 pad = CCP2_PAD_SINK; isp_link_entity()
1876 pad = CSI2_PAD_SINK; isp_link_entity()
1903 dev_err(isp->dev, "%s: no source pad in external entity\n", isp_link_entity()
1908 return media_entity_create_link(entity, i, input, pad, flags); isp_link_entity()
H A Disppreview.h109 * @formats: Active formats at the subdev pad
111 * @input: Module currently connected to the input pad
H A Dispstat.h89 struct media_pad pad; /* sink pad */ member in struct:ispstat
/linux-4.1.27/drivers/net/wireless/libertas/
H A Dif_usb.h28 uint8_t pad[11]; member in struct:bootcmd
40 uint8_t pad[2]; member in struct:bootcmdresp
/linux-4.1.27/drivers/net/wireless/libertas_tf/
H A Dif_usb.h31 uint8_t pad[11]; member in struct:bootcmd
41 uint8_t pad[2]; member in struct:bootcmdresp
/linux-4.1.27/drivers/staging/unisys/common-spar/include/
H A Dvbusdeviceinfo.h33 u8 reserved[128]; /* pad size to 256 bytes */
157 int nsrc, x, i, pad; vbuschannel_devinfo_to_string() local
184 pad = 15 - x; /* pad device type to be exactly 15 chars */ vbuschannel_devinfo_to_string()
185 for (i = 0; i < pad; i++) vbuschannel_devinfo_to_string()
196 pad = 15 - x; /* pad driver name to be exactly 15 chars */ vbuschannel_devinfo_to_string()
197 for (i = 0; i < pad; i++) vbuschannel_devinfo_to_string()
/linux-4.1.27/arch/arm64/include/uapi/asm/
H A Dptrace.h82 __u32 pad; member in struct:user_hwdebug_state
86 __u32 pad; member in struct:user_hwdebug_state::__anon316
/linux-4.1.27/arch/arc/include/uapi/asm/
H A Dptrace.h25 * The intermediate pad,pad2 are relics of initial layout based on pt_regs
35 long pad; member in struct:user_regs_struct
/linux-4.1.27/tools/power/cpupower/utils/
H A Dcpufreq-set.c69 int power = 0, match_count = 0, i, cp, pad; string_to_frequency() local
105 if (power >= -1) /* not enough => pad */ string_to_frequency()
106 pad = power + 1; string_to_frequency()
108 pad = 0, cp += power + 1; string_to_frequency()
110 if (cp <= 0 || cp + pad > NORM_FREQ_LEN - 1) string_to_frequency()
119 /* and pad */ string_to_frequency()
120 for (; i < cp + pad; i++) string_to_frequency()
126 normalized[i-1] = 0; /* cp > 0 && pad >= 0 ==> i > 0 */ string_to_frequency()
/linux-4.1.27/drivers/media/
H A Dmedia-entity.c258 struct media_pad *pad = link->sink->entity == entity media_entity_pipeline_start() local
261 /* Mark that a pad is connected by a link. */ media_entity_pipeline_start()
262 bitmap_clear(has_no_links, pad->index, 1); media_entity_pipeline_start()
269 if (!(pad->flags & MEDIA_PAD_FL_MUST_CONNECT) || media_entity_pipeline_start()
271 bitmap_set(active, pad->index, 1); media_entity_pipeline_start()
277 if (link->sink != pad || media_entity_pipeline_start()
624 * @source: Source pad
625 * @sink: Sink pad
651 * media_entity_remote_pad - Find the pad at the remote end of a link
652 * @pad: Pad at the local end of the link
654 * Search for a remote pad connected to the given pad by iterating over all
655 * links originating or terminating at that pad until an enabled link is found.
657 * Return a pointer to the pad at the remote end of the first found enabled
660 struct media_pad *media_entity_remote_pad(struct media_pad *pad) media_entity_remote_pad() argument
664 for (i = 0; i < pad->entity->num_links; i++) { media_entity_remote_pad()
665 struct media_link *link = &pad->entity->links[i]; media_entity_remote_pad()
670 if (link->source == pad) media_entity_remote_pad()
673 if (link->sink == pad) media_entity_remote_pad()
H A Dmedia-device.c141 struct media_pad_desc pad; __media_device_enum_links() local
143 memset(&pad, 0, sizeof(pad)); __media_device_enum_links()
144 media_device_kpad_to_upad(&entity->pads[p], &pad); __media_device_enum_links()
145 if (copy_to_user(&links->pads[p], &pad, sizeof(pad))) __media_device_enum_links()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_vgpu.h48 uint32_t rsv1[12]; /* pad to offset 0x40 */
70 uint32_t rsv3[0x200 - 24]; /* pad to half page */
77 uint32_t rsv5[0x200 - 2]; /* pad to one page */
H A Dintel_sdvo_regs.h60 unsigned int pad:1; member in struct:intel_sdvo_caps
110 u8 pad:6; member in struct:intel_sdvo_preferred_input_timing_args
164 unsigned int pad:6; member in struct:intel_sdvo_get_trained_inputs_response
221 unsigned int pad:6; member in struct:intel_sdvo_get_interrupt_event_source_response
234 unsigned int pad:7; member in struct:intel_sdvo_set_target_input_args
372 unsigned int pad:3; member in struct:intel_sdvo_tv_format
403 unsigned int pad:5; member in struct:intel_sdvo_sdtv_resolution_request
428 unsigned int pad:5; member in struct:intel_sdvo_sdtv_resolution_reply
465 unsigned int pad:6; member in struct:intel_sdvo_hdtv_resolution_request
559 unsigned int pad:6; member in struct:sdvo_panel_power_sequencing
582 unsigned int pad:7; member in struct:sdvo_set_ambient_light_reply
/linux-4.1.27/fs/jfs/
H A Djfs_unicode.h53 * UniStrncpy: Copy length limited string with pad
85 * UniStrncpy_to_le: Copy length limited string with pad to little-endian
102 * UniStrncpy_from_le: Copy length limited string with pad from little-endian
H A Djfs_dmap.h154 u8 pad[2]; /* 2: pad to word boundary */ member in struct:dmaptree
165 u8 pad[1672]; /* 1672: pad to 2048 bytes */ member in struct:dmap
182 u8 pad[2714]; /* 2714: pad to 4096 */ member in struct:dmapctl
220 u8 pad[3007]; /* 3007: pad to 4096 */ member in struct:dbmap_disk
H A Djfs_imap.h85 u8 pad[1976]; /* 1976: pad to 2048 bytes */ member in struct:iag
121 u8 pad[2016]; /* 2016: pad to 2048 */ member in struct:dinomap_disk
/linux-4.1.27/drivers/media/i2c/s5c73m3/
H A Ds5c73m3-core.c834 switch (fmt->pad) { s5c73m3_oif_try_format()
870 if (fmt->pad == S5C73M3_ISP_PAD) { s5c73m3_try_format()
886 if (fi->pad != OIF_SOURCE_PAD) s5c73m3_oif_g_frame_interval()
936 if (fi->pad != OIF_SOURCE_PAD) s5c73m3_oif_s_frame_interval()
963 if (fie->pad != OIF_SOURCE_PAD) s5c73m3_oif_enum_frame_interval()
979 static int s5c73m3_oif_get_pad_code(int pad, int index) s5c73m3_oif_get_pad_code() argument
981 if (pad == OIF_SOURCE_PAD) { s5c73m3_oif_get_pad_code()
990 return (pad == OIF_ISP_PAD) ? S5C73M3_ISP_FMT : S5C73M3_JPEG_FMT; s5c73m3_oif_get_pad_code()
1002 fmt->format = *v4l2_subdev_get_try_format(sd, cfg, fmt->pad); s5c73m3_get_fmt()
1008 switch (fmt->pad) { s5c73m3_get_fmt()
1036 fmt->format = *v4l2_subdev_get_try_format(sd, cfg, fmt->pad); s5c73m3_oif_get_fmt()
1042 switch (fmt->pad) { s5c73m3_oif_get_fmt()
1079 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); s5c73m3_set_fmt()
1082 switch (fmt->pad) { s5c73m3_set_fmt()
1118 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); s5c73m3_oif_set_fmt()
1120 if (fmt->pad == OIF_ISP_PAD) { s5c73m3_oif_set_fmt()
1126 switch (fmt->pad) { s5c73m3_oif_set_fmt()
1151 static int s5c73m3_oif_get_frame_desc(struct v4l2_subdev *sd, unsigned int pad, s5c73m3_oif_get_frame_desc() argument
1157 if (pad != OIF_SOURCE_PAD || fd == NULL) s5c73m3_oif_get_frame_desc()
1169 static int s5c73m3_oif_set_frame_desc(struct v4l2_subdev *sd, unsigned int pad, s5c73m3_oif_set_frame_desc() argument
1176 if (pad != OIF_SOURCE_PAD || fd == NULL) s5c73m3_oif_set_frame_desc()
1200 if (code->index > 0 || code->pad >= S5C73M3_NUM_PADS) s5c73m3_enum_mbus_code()
1203 code->code = codes[code->pad]; s5c73m3_enum_mbus_code()
1214 ret = s5c73m3_oif_get_pad_code(code->pad, code->index); s5c73m3_oif_enum_mbus_code()
1229 if (fse->pad == S5C73M3_ISP_PAD) { s5c73m3_enum_frame_size()
1257 if (fse->pad == OIF_SOURCE_PAD) { s5c73m3_oif_enum_frame_size()
1290 if (fse->code != s5c73m3_oif_get_pad_code(fse->pad, 0)) s5c73m3_oif_enum_frame_size()
1293 if (fse->pad == OIF_JPEG_PAD) s5c73m3_oif_enum_frame_size()
1325 mf = v4l2_subdev_get_try_format(sd, fh->pad, S5C73M3_ISP_PAD); s5c73m3_open()
1329 mf = v4l2_subdev_get_try_format(sd, fh->pad, S5C73M3_JPEG_PAD); s5c73m3_open()
1340 mf = v4l2_subdev_get_try_format(sd, fh->pad, OIF_ISP_PAD); s5c73m3_oif_open()
1344 mf = v4l2_subdev_get_try_format(sd, fh->pad, OIF_JPEG_PAD); s5c73m3_oif_open()
1348 mf = v4l2_subdev_get_try_format(sd, fh->pad, OIF_SOURCE_PAD); s5c73m3_oif_open()
1514 .pad = &s5c73m3_pad_ops,
1546 .pad = &s5c73m3_oif_pad_ops,
/linux-4.1.27/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_opr.c53 mfc_debug(3, "Allocated addr %p %pad\n", b->virt, &b->dma); s5p_mfc_alloc_priv_buf()
/linux-4.1.27/arch/tile/include/uapi/asm/
H A Dsigcontext.h40 __uint_reg_t pad[5]; member in struct:sigcontext
H A Dptrace.h73 pt_reg_t pad[3]; member in struct:pt_regs
76 pt_reg_t pad[2]; member in struct:pt_regs
/linux-4.1.27/drivers/gpu/host1x/
H A Djob.h34 u32 pad; member in struct:host1x_cmdbuf
/linux-4.1.27/include/net/tc_act/
H A Dtc_skbedit.h30 /* XXX: 16-bit pad here? */
/linux-4.1.27/include/media/
H A Dmedia-entity.h35 struct media_pad *source; /* Source pad */
36 struct media_pad *sink; /* Sink pad */
42 struct media_entity *entity; /* Entity this pad belongs to */
142 struct media_pad *media_entity_remote_pad(struct media_pad *pad);
/linux-4.1.27/include/xen/interface/
H A Dnmi.h41 unsigned long pad; member in struct:xennmi_callback
/linux-4.1.27/arch/s390/crypto/
H A Dsha_common.c78 /* start pad with 1 */ s390_sha_final()
82 /* pad with zeros */ s390_sha_final()
/linux-4.1.27/include/linux/
H A Dif_frad.h37 unsigned char pad; member in struct:frhdr
43 #define IP_NLPID pad
H A Dipmi-fru.h33 uint8_t pad; /* must be 0 */ member in struct:fru_common_header
64 * 0x00 pad to a multiple of 8 bytes - 1
H A Defs_vh.h35 char pad[48]; /* device param space */ member in struct:volume_header
/linux-4.1.27/drivers/infiniband/hw/ipath/
H A Dipath_uc.c247 u32 pad; ipath_uc_rcv() local
394 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3;
397 if (unlikely(tlen < (hdrsize + pad + 4))) {
403 tlen -= (hdrsize + pad + 4);
496 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3;
499 if (unlikely(tlen < (hdrsize + pad + 4))) {
504 tlen -= (hdrsize + pad + 4);
522 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3;
525 if (unlikely(tlen < (hdrsize + pad + 4))) {
530 tlen -= (hdrsize + pad + 4);
/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_uc.c249 u32 pad; qib_uc_rcv() local
391 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; qib_uc_rcv()
394 if (unlikely(tlen < (hdrsize + pad + 4))) qib_uc_rcv()
397 tlen -= (hdrsize + pad + 4); qib_uc_rcv()
477 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3;
480 if (unlikely(tlen < (hdrsize + pad + 4)))
483 tlen -= (hdrsize + pad + 4);
504 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3;
507 if (unlikely(tlen < (hdrsize + pad + 4)))
510 tlen -= (hdrsize + pad + 4);
/linux-4.1.27/arch/x86/kernel/cpu/
H A Dperf_event_intel_bts.c81 int pg, nbuf, pad; bts_buffer_setup_aux() local
108 for (pg = 0, nbuf = 0, offset = 0, pad = 0; nbuf < buf->nr_bufs; nbuf++) { bts_buffer_setup_aux()
115 buf->buf[nbuf].displacement = (pad ? BTS_RECORD_SIZE - pad : 0); bts_buffer_setup_aux()
117 pad = buf->buf[nbuf].size % BTS_RECORD_SIZE; bts_buffer_setup_aux()
118 buf->buf[nbuf].size -= pad; bts_buffer_setup_aux()
304 unsigned long head, space, next_space, pad, gap, skip, wakeup; bts_buffer_reset() local
318 pad = space; bts_buffer_reset()
331 skip = pad + gap; bts_buffer_reset()
339 if (pad) bts_buffer_reset()
/linux-4.1.27/drivers/video/fbdev/
H A Dsticore.h124 u32 pad : 14; /* pad to word boundary */ member in struct:sti_init_flags
130 u8 pad[1]; /* pad to word boundary */ member in struct:sti_init_inptr_ext
153 u32 pad : 31; /* pad to word boundary */ member in struct:sti_conf_flags
272 u32 pad : 30; /* pad to word boundary */ member in struct:sti_font_flags
288 u32 pad : 28; /* pad to word boundary */ member in struct:sti_blkmv_flags
/linux-4.1.27/drivers/media/platform/s3c-camif/
H A Dcamif-capture.c283 pr_debug("DMA address: y: %pad cb: %pad cr: %pad\n", camif_prepare_addr()
832 struct media_pad *pad; camif_pipeline_validate() local
835 /* Retrieve format at the sensor subdev source pad */ camif_pipeline_validate()
836 pad = media_entity_remote_pad(&camif->pads[0]); camif_pipeline_validate()
837 if (!pad || media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) camif_pipeline_validate()
840 src_fmt.pad = pad->index; camif_pipeline_validate()
842 ret = v4l2_subdev_call(camif->sensor.sd, pad, get_fmt, NULL, &src_fmt); camif_pipeline_validate()
1158 vp->pad.flags = MEDIA_PAD_FL_SINK; s3c_camif_register_video_node()
1159 ret = media_entity_init(&vfd->entity, 1, &vp->pad, 0); s3c_camif_register_video_node()
1240 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); s3c_camif_subdev_get_fmt()
1247 switch (fmt->pad) { s3c_camif_subdev_get_fmt()
1268 struct v4l2_mbus_framefmt *mf, int pad) __camif_subdev_try_format()
1283 if (pad == CAMIF_SD_PAD_SINK) { __camif_subdev_try_format()
1308 v4l2_dbg(1, debug, sd, "pad%d: code: 0x%x, %ux%u\n", s3c_camif_subdev_set_fmt()
1309 fmt->pad, mf->code, mf->width, mf->height); s3c_camif_subdev_set_fmt()
1325 __camif_subdev_try_format(camif, mf, fmt->pad); s3c_camif_subdev_set_fmt()
1328 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); s3c_camif_subdev_set_fmt()
1334 switch (fmt->pad) { s3c_camif_subdev_set_fmt()
1355 /* Pixel format can be only changed on the sink pad. */ s3c_camif_subdev_set_fmt()
1376 sel->pad != CAMIF_SD_PAD_SINK) s3c_camif_subdev_get_selection()
1380 sel->r = *v4l2_subdev_get_try_crop(sd, cfg, sel->pad); s3c_camif_subdev_get_selection()
1461 if (sel->target != V4L2_SEL_TGT_CROP || sel->pad != CAMIF_SD_PAD_SINK) s3c_camif_subdev_set_selection()
1468 *v4l2_subdev_get_try_crop(sd, cfg, sel->pad) = sel->r; s3c_camif_subdev_set_selection()
1505 .pad = &s3c_camif_subdev_pad_ops,
1267 __camif_subdev_try_format(struct camif_dev *camif, struct v4l2_mbus_framefmt *mf, int pad) __camif_subdev_try_format() argument
/linux-4.1.27/drivers/staging/fbtft/
H A Dfbtft-bus.c81 int pad = 0; define_fbtft_write_reg() local
96 /* we're emulating 9-bit, pad start of buffer with no-ops define_fbtft_write_reg()
98 pad = (len % 4) ? 4 - (len % 4) : 0; define_fbtft_write_reg()
99 for (i = 0; i < pad; i++) define_fbtft_write_reg()
111 ret = par->fbtftops.write(par, par->buf, (len + pad) * sizeof(u16)); define_fbtft_write_reg()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dfirmware.c203 u32 pad; brcmf_fw_nvram_strip() local
215 pad = nvp.nvram_len; brcmf_fw_nvram_strip()
217 while (pad != *new_length) { brcmf_fw_nvram_strip()
218 nvp.nvram[pad] = 0; brcmf_fw_nvram_strip()
219 pad++; brcmf_fw_nvram_strip()
/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_protocol.h106 u32 pad; member in struct:p_header100
151 u32 pad; /* to multiple of 8 Byte */ member in struct:p_block_req
180 u32 pad; /* to multiple of 8 Byte */ member in struct:p_barrier
273 u32 pad; /* to multiple of 8 Byte */ member in struct:p_block_desc
289 * used to pad up to head.length bytes
/linux-4.1.27/arch/mips/lantiq/falcon/
H A Dsysctrl.c256 clkdev_add_sys("1db01000.pad", SYSCTL_SYSETH, ACTS_PADCTRL0); ltq_soc_init()
257 clkdev_add_sys("1db02000.pad", SYSCTL_SYSETH, ACTS_PADCTRL2); ltq_soc_init()
258 clkdev_add_sys("1e800400.pad", SYSCTL_SYS1, ACTS_PADCTRL1); ltq_soc_init()
259 clkdev_add_sys("1e800500.pad", SYSCTL_SYS1, ACTS_PADCTRL3); ltq_soc_init()
260 clkdev_add_sys("1e800600.pad", SYSCTL_SYS1, ACTS_PADCTRL4); ltq_soc_init()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Dhtc_hst.h71 u8 pad; member in struct:htc_ready_msg
181 u8 pad; member in struct:htc_conn_svc_msg
198 u8 pad; member in struct:htc_conn_svc_rspmsg
H A Dar9003_mac.h96 u32 pad[8]; /* pad to cache line (128 bytes/32 dwords) */ member in struct:ar9003_txc
H A Dhtc.h82 u8 pad; member in struct:tx_frame_hdr
93 u8 pad; member in struct:tx_mgmt_hdr
110 u8 pad; member in struct:ath9k_htc_cap_target
119 u8 pad; member in struct:ath9k_htc_target_vif
131 u8 pad; member in struct:ath9k_htc_target_sta
170 u16 pad; member in struct:ath9k_htc_target_rate_mask
/linux-4.1.27/drivers/media/platform/exynos-gsc/
H A Dgsc-regs.c93 pr_debug("src_buf[%d]: %pad, cb: %pad, cr: %pad", index, gsc_hw_set_input_addr()
104 pr_debug("dst_buf[%d]: %pad, cb: %pad, cr: %pad", gsc_hw_set_output_addr()
/linux-4.1.27/drivers/net/ethernet/amd/
H A Dau1000_eth.h60 u32 pad; member in struct:tx_dma
66 u32 pad[2]; member in struct:rx_dma
/linux-4.1.27/fs/notify/
H A Dfdinfo.c44 u8 pad[MAX_HANDLE_SZ]; show_mark_fhandle() member in struct:__anon11129
48 f.handle.handle_bytes = sizeof(f.pad); show_mark_fhandle()
/linux-4.1.27/drivers/pinctrl/
H A Dpinctrl-lantiq.h69 /* we need to manage up to 5 pad controllers */
97 /* the pad controller can have a irq mapping */
/linux-4.1.27/include/xen/interface/io/
H A Dkbdif.h75 char pad[XENKBD_IN_EVENT_SIZE]; member in union:xenkbd_in_event
90 char pad[XENKBD_OUT_EVENT_SIZE]; member in union:xenkbd_out_event
H A Dtpmif.h46 uint8_t pad; member in struct:vtpm_shared_page
H A Dfbif.h73 char pad[XENFB_OUT_EVENT_SIZE]; member in union:xenfb_out_event
87 char pad[XENFB_IN_EVENT_SIZE]; member in union:xenfb_in_event
/linux-4.1.27/arch/arc/plat-arcfpga/include/plat/
H A Dsmp.h35 unsigned int mp_arch:16, pad:5, sdu:1, idu:1, scu:1, ver:8; member in struct:bcr_mp
37 unsigned int ver:8, scu:1, idu:1, sdu:1, pad:5, mp_arch:16;
/linux-4.1.27/drivers/gpu/drm/gma500/
H A Dpsb_intel_sdvo_regs.h60 unsigned int pad:1; member in struct:psb_intel_sdvo_caps
105 u8 pad:6; member in struct:psb_intel_sdvo_preferred_input_timing_args
159 unsigned int pad:6; member in struct:psb_intel_sdvo_get_trained_inputs_response
216 unsigned int pad:6; member in struct:intel_sdvo_get_interrupt_event_source_response
229 unsigned int pad:7; member in struct:psb_intel_sdvo_set_target_input_args
367 unsigned int pad:3; member in struct:psb_intel_sdvo_tv_format
398 unsigned int pad:5; member in struct:psb_intel_sdvo_sdtv_resolution_request
423 unsigned int pad:5; member in struct:psb_intel_sdvo_sdtv_resolution_reply
460 unsigned int pad:6; member in struct:psb_intel_sdvo_hdtv_resolution_request
554 unsigned int pad:6; member in struct:psb_sdvo_panel_power_sequencing
577 unsigned int pad:7; member in struct:sdvo_set_ambient_light_reply
/linux-4.1.27/ipc/
H A Dcompat.c238 static long do_compat_semctl(int first, int second, int third, u32 pad) do_compat_semctl() argument
250 fourth = (unsigned long)pad << 32; do_compat_semctl()
252 fourth = pad; do_compat_semctl()
255 fourth = (unsigned long)compat_ptr(pad); do_compat_semctl()
280 err2 = put_compat_semid64_ds(&sem64, compat_ptr(pad)); do_compat_semctl()
282 err2 = put_compat_semid_ds(&sem64, compat_ptr(pad)); do_compat_semctl()
289 err = get_compat_semid64_ds(&sem64, compat_ptr(pad)); do_compat_semctl()
291 err = get_compat_semid_ds(&sem64, compat_ptr(pad)); do_compat_semctl()
333 u32 pad; COMPAT_SYSCALL_DEFINE6() local
350 if (get_user(pad, (u32 __user *) compat_ptr(ptr))) COMPAT_SYSCALL_DEFINE6()
352 return do_compat_semctl(first, second, third, pad); COMPAT_SYSCALL_DEFINE6()
/linux-4.1.27/net/rxrpc/
H A Dar-output.c639 size_t pad; rxrpc_send_data() local
641 /* pad out if we're using security */ rxrpc_send_data()
643 pad = conn->security_size + skb->mark; rxrpc_send_data()
644 pad = conn->size_align - pad; rxrpc_send_data()
645 pad &= conn->size_align - 1; rxrpc_send_data()
646 _debug("pad %zu", pad); rxrpc_send_data()
647 if (pad) rxrpc_send_data()
648 memset(skb_put(skb, pad), 0, pad); rxrpc_send_data() local
/linux-4.1.27/drivers/atm/
H A Dfore200e.h145 u32 pad; /* reserved */ member in struct:tpd
205 u32 pad : 1, /* reserved */
272 u32 pad : 8 /* reserved */
284 u32 pad : 8 /* reserved */
304 u32 pad : 24 /* reserved */
353 __be32 pad[ 2 ]; /* i960 padding */ member in struct:stats_phy
367 __be32 pad[ 1 ]; /* i960 padding */ member in struct:stats_oc3
380 __be32 pad[ 2 ]; /* i960 padding */ member in struct:stats_atm
389 __be32 pad[ 1 ]; /* i960 padding */ member in struct:stats_aal0
405 __be32 pad[ 3 ]; /* i960 padding */ member in struct:stats_aal34
421 __be32 pad[ 3 ]; /* i960 padding */ member in struct:stats_aal5
434 __be32 pad[ 2 ]; /* i960 padding */ member in struct:stats_aux
456 u32 pad : 24 /* reserved */
483 u32 pad : 24 /* reserved */
505 u32 pad[ 4 ]; /* i960 padding */ member in union:cmd
514 u32 pad[ 3 ]; /* i960 padding */ member in struct:cp_cmdq_entry
678 u32 pad[ 2 ]; /* force quad alignment */ member in struct:init_block
/linux-4.1.27/fs/ubifs/
H A Dio.c303 * ubifs_pad - pad flash space.
306 * @pad: how many bytes to pad
310 * pad it to the next minimal I/O unit's boundary. Padding nodes help when the
318 void ubifs_pad(const struct ubifs_info *c, void *buf, int pad) ubifs_pad() argument
322 ubifs_assert(pad >= 0 && !(pad & 7)); ubifs_pad()
324 if (pad >= UBIFS_PAD_NODE_SZ) { ubifs_pad()
334 pad -= UBIFS_PAD_NODE_SZ; ubifs_pad()
335 pad_node->pad_len = cpu_to_le32(pad); ubifs_pad()
338 memset(buf + UBIFS_PAD_NODE_SZ, 0, pad); ubifs_pad()
339 } else if (pad > 0) ubifs_pad()
341 memset(buf, UBIFS_PADDING_BYTE, pad); ubifs_pad()
371 * @node: the node to pad
373 * @pad: if the buffer has to be padded
377 * the next minimum I/O unit if @pad is not zero.
379 void ubifs_prepare_node(struct ubifs_info *c, void *node, int len, int pad) ubifs_prepare_node() argument
395 if (pad) { ubifs_prepare_node()
397 pad = ALIGN(len, c->min_io_size) - len; ubifs_prepare_node()
398 ubifs_pad(c, node + len, pad); ubifs_prepare_node()
405 * @node: the node to pad
/linux-4.1.27/drivers/misc/mic/common/
H A Dmic_dev.h38 * Scratch pad register offsets used by the host to communicate
/linux-4.1.27/drivers/scsi/fnic/
H A Dvnic_resource.h56 u8 pad[2]; member in struct:vnic_resource
/linux-4.1.27/drivers/net/wireless/ti/wl1251/
H A Dacx.h172 u8 pad[2]; member in struct:acx_data_path_params_resp
319 u8 pad[3]; member in struct:acx_tx_queue_qos_config
361 u8 pad[2]; member in struct:acx_dot11_grp_addr_tbl
399 u8 pad[2]; member in struct:acx_rts_threshold
458 u8 pad[2]; member in struct:acx_beacon_filter_option
503 u8 pad[3]; member in struct:acx_beacon_filter_ie_table
537 u8 pad[3]; member in struct:acx_bt_wlan_coex
703 u8 pad; member in struct:acx_energy_detection
722 u8 pad[2]; member in struct:acx_beacon_broadcast
780 u8 pad[2]; member in struct:acx_dot11_station_id
801 u8 pad[3]; member in struct:acx_dot11_default_key
812 u8 pad[3]; member in struct:acx_tsf_info
828 u8 pad[2]; member in struct:acx_wake_up_condition
838 u8 pad[2]; member in struct:acx_aid
1134 u8 pad; member in struct:wl1251_acx_rx_queue_config
1145 u8 pad[2]; member in struct:wl1251_acx_tx_queue_config
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/
H A Dphytbl_lcn.h45 unsigned char pad; member in struct:lcnphy_tx_gain_tbl_entry
/linux-4.1.27/fs/nilfs2/
H A Ddirect.h38 __u8 pad[7]; member in struct:nilfs_direct_node
/linux-4.1.27/arch/blackfin/lib/
H A Dstrncpy.S44 /* if src is shorter than n, we need to null pad bytes in dest
/linux-4.1.27/arch/arm/mach-pxa/include/mach/
H A Dpalmz72.h75 u32 pad[11]; /* 0xc..0x37 */ member in struct:palmz72_resume_info
/linux-4.1.27/arch/arm/boot/compressed/
H A Dvmlinux.lds.S65 .pad : { BYTE(0); . = ALIGN(8); }
/linux-4.1.27/drivers/net/usb/
H A Ddm9601.c475 int len, pad; dm9601_tx_fixup() local
494 pad = len - skb->len; dm9601_tx_fixup()
496 if (skb_headroom(skb) < DM_TX_OVERHEAD || skb_tailroom(skb) < pad) { dm9601_tx_fixup()
499 skb2 = skb_copy_expand(skb, DM_TX_OVERHEAD, pad, flags); dm9601_tx_fixup()
508 if (pad) { dm9601_tx_fixup()
509 memset(skb->data + skb->len, 0, pad); dm9601_tx_fixup()
510 __skb_put(skb, pad); dm9601_tx_fixup()
/linux-4.1.27/drivers/net/hippi/
H A Drrunner.h562 u8 pad; member in struct:tx_desc
566 u8 pad; member in struct:tx_desc
584 u8 pad; member in struct:rx_desc
588 u8 pad; member in struct:rx_desc
767 u8 pad; member in struct:ring_ctrl
773 u8 pad; member in struct:ring_ctrl
788 u8 pad[464]; member in struct:rr_info
/linux-4.1.27/arch/mips/boot/
H A Delf2ecoff.c97 * Combine two segments, which must be contiguous. If pad is true, it's
100 static void combine(struct sect *base, struct sect *new, int pad) combine() argument
106 if (pad) combine()
271 int i, pad; main() local
546 pad = (sizeof(efh) + sizeof(eah) + nosecs * sizeof(struct scnhdr)) & 15; main()
547 if (pad) { main()
548 pad = 16 - pad; main()
549 i = write(outfile, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0", pad); main()
554 fprintf(stderr, "wrote %d byte pad.\n", i); main()
/linux-4.1.27/arch/mips/include/asm/octeon/
H A Dcvmx-fau.h318 * @scraddr: Scratch pad byte address to write to. Must be 8 byte aligned
361 * Returns Placed in the scratch pad register
381 * Returns Placed in the scratch pad register
400 * Returns Placed in the scratch pad register
418 * Returns Placed in the scratch pad register
441 * Returns Placed in the scratch pad register
464 * Returns Placed in the scratch pad register
487 * Returns Placed in the scratch pad register
509 * Returns Placed in the scratch pad register
/linux-4.1.27/net/sunrpc/auth_gss/
H A Dgss_krb5_wrap.c69 u8 pad; gss_krb5_remove_padding() local
73 pad = *(u8 *)(buf->head[0].iov_base + len - 1); gss_krb5_remove_padding()
74 if (pad > buf->head[0].iov_len) gss_krb5_remove_padding()
76 buf->head[0].iov_len -= pad; gss_krb5_remove_padding()
86 pad = *(ptr + offset); gss_krb5_remove_padding()
92 pad = *(u8 *)(buf->tail[0].iov_base + len - 1); gss_krb5_remove_padding()
107 if (pad > blocksize) gss_krb5_remove_padding()
109 if (buf->len > pad) gss_krb5_remove_padding()
110 buf->len -= pad; gss_krb5_remove_padding()
/linux-4.1.27/arch/tile/gxio/
H A Dmpipe.c276 unsigned int pad = 0; gxio_mpipe_rules_begin() local
277 while (((head + pad) % __alignof__(gxio_mpipe_rules_rule_t)) != 0) gxio_mpipe_rules_begin()
278 pad++; gxio_mpipe_rules_begin()
284 if (head + pad + sizeof(*rule) >= sizeof(list->rules)) gxio_mpipe_rules_begin()
292 rule->size += pad; gxio_mpipe_rules_begin()
295 list->head = head + pad; gxio_mpipe_rules_begin()
/linux-4.1.27/scripts/kconfig/
H A Dnconf.gui.c556 WINDOW *pad; show_scroll_win() local
569 /* create the pad */ show_scroll_win()
570 pad = newpad(total_lines+10, total_cols+10); show_scroll_win()
571 (void) wattrset(pad, attributes[SCROLLWIN_TEXT]); show_scroll_win()
572 fill_window(pad, text); show_scroll_win()
595 copywin(pad, win, start_y, start_x, 2, 2, text_lines, show_scroll_win()
/linux-4.1.27/drivers/infiniband/hw/amso1100/
H A Dc2_wr.h290 u32 pad; member in struct:c2wr_hdr
409 /* variable data and pad. See c2_netaddr and c2_route */
726 u16 pad; member in struct:c2wr_qp_connect_req
766 u8 pad; member in struct:c2wr_nsmr_register_req
816 u8 pad[3]; member in struct:c2wr_mr_query_rep
836 u8 pad[3]; member in struct:c2wr_mw_query_rep
868 u8 pad; member in struct:c2wr_nsmr_reregister_req
898 u8 pad; member in struct:c2wr_smr_register_req
1028 u8 pad[3]; member in struct:c2wr_mw_bind_req
1044 u8 pad[3]; member in struct:c2wr_nsmr_fastreg_req
1062 u8 pad[3]; member in struct:c2wr_stag_invalidate_req
1281 u16 pad; member in struct:c2wr_ep_listen_create_req
1289 u16 pad; member in struct:c2wr_ep_listen_create_rep
/linux-4.1.27/net/sunrpc/xprtrdma/
H A Drpc_rdma.c127 * xdr pad bytes, saving the server an RDMA operation. */ rpcrdma_convert_iovs()
304 rpcrdma_inline_pullup(struct rpc_rqst *rqst, int pad) rpcrdma_inline_pullup() argument
320 pad -= (curlen + 36/*sizeof(struct rpcrdma_msg_padded)*/); rpcrdma_inline_pullup()
321 if (pad < 0 || rqst->rq_slen - curlen < RPCRDMA_INLINE_PAD_THRESH) rpcrdma_inline_pullup()
322 pad = 0; /* don't pad this request */ rpcrdma_inline_pullup()
324 dprintk("RPC: %s: pad %d destp 0x%p len %d hdrlen %d\n", rpcrdma_inline_pullup()
325 __func__, pad, destp, rqst->rq_slen, curlen); rpcrdma_inline_pullup()
361 return pad; rpcrdma_inline_pullup()
532 * then use a preregistered (and zeroed) pad buffer between the RPC rpcrdma_marshal_req()
611 rpcrdma_inline_fixup(struct rpc_rqst *rqst, char *srcp, int copy_len, int pad) rpcrdma_inline_fixup() argument
674 if (pad) { rpcrdma_inline_fixup()
677 while (pad--) rpcrdma_inline_fixup()
/linux-4.1.27/drivers/infiniband/core/
H A Dmad_rmpp.c433 int hdr_size, data_size, pad; get_mad_len() local
439 pad = IB_MGMT_RMPP_DATA - be32_to_cpu(rmpp_mad->rmpp_hdr.paylen_newwin); get_mad_len()
440 if (pad > IB_MGMT_RMPP_DATA || pad < 0) get_mad_len()
441 pad = 0; get_mad_len()
443 return hdr_size + rmpp_recv->seg_num * data_size - pad; get_mad_len()
574 mad_send_wr->pad; send_next_seg()
579 paylen = IB_MGMT_RMPP_DATA - mad_send_wr->pad; send_next_seg()
/linux-4.1.27/drivers/media/rc/keymaps/
H A Drc-ati-x10.c41 /* keyboard - Above the cursor pad */
52 /* Mouse emulation pad goes here, handled by driver separately */
/linux-4.1.27/arch/xtensa/variants/dc232b/include/variant/
H A Dtie.h69 * (not including any pad bytes required to galign this or next reg)
75 * (padsz = pad bits at end [TIE regfile] or at msbits [ur,sr] of asize)
/linux-4.1.27/drivers/hid/
H A Dhid-saitek.c6 * clearing the constant bit on the input reports for buttons and d-pad.
89 /* clear constant bit on buttons and d-pad */ saitek_report_fixup()
/linux-4.1.27/drivers/video/fbdev/aty/
H A Dmach64_cursor.c180 * we must pad it with transparent pattern (0xaaaa). atyfb_cursor()
217 info->sprite.scan_align = 16; /* Scratch pad 64 bytes wide */ aty_init_cursor()
/linux-4.1.27/arch/arc/kernel/
H A Dptrace.c49 REG_O_ZERO(pad); genregs_get()
99 REG_IGNORE_ONE(pad); genregs_set()

Completed in 4215 milliseconds

12345