Lines Matching defs:pgop
1241 struct iop_pgop *pgop;
1245 pgop = malloc(sizeof(*pgop), M_DEVBUF, M_WAITOK);
1246 im->im_dvcontext = pgop;
1255 pgop->olh.count = htole16(1);
1256 pgop->olh.reserved = htole16(0);
1257 pgop->oat.operation = htole16(I2O_PARAMS_OP_FIELD_GET);
1258 pgop->oat.fieldcount = htole16(0xffff);
1259 pgop->oat.group = htole16(group);
1262 iop_msg_map(sc, im, mb, pgop, sizeof(*pgop), 1, NULL);
1282 free(pgop, M_DEVBUF);
1297 struct iop_pgop *pgop;
1301 totsize = sizeof(*pgop) + size;
1304 pgop = malloc(totsize, M_DEVBUF, M_WAITOK);
1312 pgop->olh.count = htole16(1);
1313 pgop->olh.reserved = htole16(0);
1314 pgop->oat.operation = htole16(I2O_PARAMS_OP_FIELD_SET);
1315 pgop->oat.fieldcount = htole16(1);
1316 pgop->oat.group = htole16(group);
1317 pgop->oat.fields[0] = htole16(field);
1318 memcpy(pgop + 1, buf, size);
1320 iop_msg_map(sc, im, mb, pgop, totsize, 1, NULL);
1328 free(pgop, M_DEVBUF);
1340 struct iop_pgop pgop;
1353 pgop.olh.count = htole16(1);
1354 pgop.olh.reserved = htole16(0);
1355 pgop.oat.operation = htole16(I2O_PARAMS_OP_TABLE_CLEAR);
1356 pgop.oat.fieldcount = htole16(0);
1357 pgop.oat.group = htole16(group);
1358 pgop.oat.fields[0] = htole16(0);
1360 iop_msg_map(sc, im, mb, &pgop, sizeof(pgop), 1, NULL);
1381 struct iop_pgop *pgop;
1385 totsize = sizeof(*pgop) + sizeof(u_int16_t) * 2 + size;
1388 pgop = malloc(totsize, M_DEVBUF, M_WAITOK);
1396 pgop->olh.count = htole16(1);
1397 pgop->olh.reserved = htole16(0);
1398 pgop->oat.operation = htole16(I2O_PARAMS_OP_ROW_ADD);
1399 pgop->oat.fieldcount = htole16(1);
1400 pgop->oat.group = htole16(group);
1401 pgop->oat.fields[0] = htole16(0); /* FieldIdx */
1402 pgop->oat.fields[1] = htole16(1); /* RowCount */
1403 pgop->oat.fields[2] = htole16(row); /* KeyValue */
1404 memcpy(&pgop->oat.fields[3], buf, size);
1406 iop_msg_map(sc, im, mb, pgop, totsize, 1, NULL);
1414 free(pgop, M_DEVBUF);